Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Fri, 30 Nov 2018 16:47:30 UTC
Commit: 2fdf45730aad2f1e425f36543d6deb717e99f672
https://github.com/geany/geany/commit/2fdf45730aad2f1e425f36543d6deb717e99f…
Log Message:
-----------
Update NEWS for upcoming release
Modified Paths:
--------------
NEWS
Modified: NEWS
37 lines changed, 37 insertions(+), 0 deletions(-)
===================================================================
@@ -1,5 +1,42 @@
Geany 1.34 (unreleased)
+ General
+ * Process files in the order they appear on the command line when
+ generating tags files (Issue#1989, PR#1991).
+
+ Bug fixes
+ * Fix high CPU usage with the Scope plugin (Dimitar Zhekov, Issue#1461).
+ * Fix loading some tags files with format specifier (Issue#1814, PR#1817).
+ * Fix Plugin Manager buttons sometimes getting out of sync, possibly
+ leading to a crash (Issue#1781, PR#1799).
+ * Fix horizontal and page scrolling under GTK3 (PR#1843).
+
+ Interface
+ * Always show icons in the go to symbol popup (PR#1997).
+ * Add a keybinding for "Strip Trailing Spaces" (LarsGit223, Issue#395,
+ PR#1806).
+
+ Editor
+ * Update Scintilla to version 3.10.0 (Issue#1421, PR#1914).
+ * Fix line breaking with multi-byte characters (Issue#1958, PR#1960).
+ * Don't beep when trying to go to the next cursor location in a snippet and
+ there is none (see Issue#1554).
+
+ Filetypes
+ * Markdown: Display bold and italics as such (FMuro, PR#1837).
+ * Python: Update keywords to Python 3.7 (Miro Hrončok, Issue#1351, PR#1894).
+ * PHP: Update tags for PHP 7.2 (Dominic Hopf, PR#1970).
+ * Batch: Use REM as single-line comment marker (Issue#1912, PR#1932).
+
+ Windows
+ * Fix display issues on HiDPI displays (Issue#692, PR#1992).
+
+ API
+ * Add `msgwin_compiler_add_string()`, `msgwin_msg_add_string()`,
+ `msgwin_status_add_string()` (Thomas Martitz, PR#1748).
+ * Add `GeanyObject::key-press` signal allowing plugins to intercept key
+ presses before Geany (Jiří Techet, PR#1829).
+
Internationalization
* Updated translations: de, dk, hu, it, ja, pt, sv, uk, ru, zh_CN, zh_TW
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 26 Nov 2018 14:32:26 UTC
Commit: 8e6e3037ba8cec0944fdbb300eb8e6aedf37110e
https://github.com/geany/geany/commit/8e6e3037ba8cec0944fdbb300eb8e6aedf371…
Log Message:
-----------
Always show icons in the go to symbol popup
This uses a menu and is thus subject to the menu icons visibility
setting, but here it should reflect the view from the symbols list,
and thus show the icon in all cases.
Modified Paths:
--------------
src/symbols.c
Modified: src/symbols.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1953,7 +1953,7 @@ static void show_goto_popup(GeanyDocument *doc, GPtrArray *tags, gboolean have_b
image = gtk_image_new_from_pixbuf(symbols_icons[get_tag_class(tmtag)].pixbuf);
label = g_object_new(GTK_TYPE_LABEL, "label", text, "use-markup", TRUE, "xalign", 0.0, NULL);
- item = g_object_new(GTK_TYPE_IMAGE_MENU_ITEM, "image", image, "child", label, NULL);
+ item = g_object_new(GTK_TYPE_IMAGE_MENU_ITEM, "image", image, "child", label, "always-show-image", TRUE, NULL);
g_signal_connect_data(item, "activate", G_CALLBACK(on_goto_popup_item_activate),
tm_tag_ref(tmtag), (GClosureNotify) tm_tag_unref, 0);
gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger(a)uvena.de>
Committer: Enrico Tröger <enrico.troeger(a)uvena.de>
Date: Sun, 26 Aug 2018 10:48:17 UTC
Commit: 9ecabc20f0e51e33bf6a46d13bc1a0b47dcc437d
https://github.com/geany/geany/commit/9ecabc20f0e51e33bf6a46d13bc1a0b47dcc4…
Log Message:
-----------
Use REM as single comment marker for Batch files
REM seems to be the standard comment marker while "::" is rather
deprecated.
Closes #1912.
Modified Paths:
--------------
data/filedefs/filetypes.batch
Modified: data/filedefs/filetypes.batch
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -23,7 +23,7 @@ extension=bat
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
-comment_single=::
+comment_single=REM\s
# multiline comments
#comment_open=
#comment_close=
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger(a)uvena.de>
Committer: GitHub <noreply(a)github.com>
Date: Sun, 25 Nov 2018 14:04:57 UTC
Commit: 10252bea6eaa9738b1652fcb8644c55185a74b40
https://github.com/geany/geany/commit/10252bea6eaa9738b1652fcb8644c55185a74…
Log Message:
-----------
Merge pull request #1932 from eht16/issue1912_change_batch_comment_to_rem
Use REM as single comment marker for Batch files
Modified Paths:
--------------
data/filedefs/filetypes.batch
Modified: data/filedefs/filetypes.batch
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -23,7 +23,7 @@ extension=bat
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
-comment_single=::
+comment_single=REM\s
# multiline comments
#comment_open=
#comment_close=
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: elextr <elextr(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: Sun, 18 Nov 2018 09:29:54 UTC
Commit: 653b06e07ae99ac75c4eb56dfc23a237243a5dca
https://github.com/geany/geany/commit/653b06e07ae99ac75c4eb56dfc23a237243a5…
Log Message:
-----------
Fix line breaking with multibyte characters (#1960)
Fixes #1958
Also replace GDK_space with ASCII space, its searching for that, not the keycode (which just happens to have the same value, lucky).
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -556,12 +556,12 @@ static void check_line_breaking(GeanyEditor *editor, gint pos)
return;
/* look for the last space before line_break_column */
- pos = MIN(pos, lstart + get_project_pref(line_break_column));
+ pos = sci_get_position_from_col(sci, lstart, get_project_pref(line_break_column));
while (pos > lstart)
{
c = sci_get_char_at(sci, --pos);
- if (c == GDK_space)
+ if (c == ' ')
{
gint diff, last_pos, last_col;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Wed, 14 Nov 2018 07:03:35 UTC
Commit: e01afc6ce9f022536e0a7e4e4ff419944d4bafdf
https://github.com/geany/geany/commit/e01afc6ce9f022536e0a7e4e4ff419944d4ba…
Log Message:
-----------
Fix typo in Russian translation
Modified Paths:
--------------
po/ru.po
Modified: po/ru.po
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -383,7 +383,7 @@ msgstr ""
#: ../data/geany.glade.h:74
msgid "Store project file inside the project base directory"
-msgstr "Хранить файл проекта внутри основного каталог проекта"
+msgstr "Хранить файл проекта внутри основного каталога проекта"
#: ../data/geany.glade.h:75
msgid ""
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Mon, 12 Nov 2018 09:22:29 UTC
Commit: fc6a9bb9cb780e89cafe62a1a1a9126dca1f48dd
https://github.com/geany/geany/commit/fc6a9bb9cb780e89cafe62a1a1a9126dca1f4…
Log Message:
-----------
tm: Cleanup include lookup
Don't use the files inode as the hash. Although it looks like a good
idea for de-duplicating links as well, it has several issues, including
non-uniqueness of inodes across file systems.
The way it was done hashing the inode but comparing the file name
string pointers also made the hash mostly irrelevant, as it just stored
filenames sharing the same inode in the same hash bucket but without
actually doing any de-duplication, making the whole thing a convoluted
way of converting to a list.
Instead, hash and compare the filenames themselves, which, even though
it doesn't handle links de-duplication, is better than the
non-functional previous code.
Also, directly build the list and only use the hash table as a way for
checking for duplicates, which is both faster and gives a stable
output.
Modified Paths:
--------------
src/tagmanager/tm_workspace.c
Modified: src/tagmanager/tm_workspace.c
35 lines changed, 4 insertions(+), 31 deletions(-)
===================================================================
@@ -370,34 +370,6 @@ gboolean tm_workspace_load_global_tags(const char *tags_file, TMParserType mode)
}
-static guint tm_file_inode_hash(gconstpointer key)
-{
- GStatBuf file_stat;
- const char *filename = (const char*)key;
-
- if (g_stat(filename, &file_stat) == 0)
- {
-#ifdef TM_DEBUG
- g_message ("Hash for '%s' is '%d'\n", filename, file_stat.st_ino);
-#endif
- return g_direct_hash ((gpointer)(intptr_t)file_stat.st_ino);
- }
-
- return 0;
-}
-
-
-static void tm_move_entries_to_g_list(gpointer key, gpointer value, gpointer user_data)
-{
- GList **pp_list = (GList**)user_data;
-
- if (user_data == NULL)
- return;
-
- *pp_list = g_list_prepend(*pp_list, g_strdup(value));
-}
-
-
static gboolean write_includes_file(const gchar *outf, GList *includes_files)
{
FILE *fp = g_fopen(outf, "w");
@@ -470,14 +442,14 @@ static gchar *create_temp_file(const gchar *tpl)
static GList *lookup_includes(const gchar **includes, gint includes_count)
{
GList *includes_files = NULL;
- GHashTable *table;
+ GHashTable *table; /* used for deduping */
gint i;
#ifdef HAVE_GLOB_H
glob_t globbuf;
size_t idx_glob;
#endif
- table = g_hash_table_new_full(tm_file_inode_hash, g_direct_equal, NULL, g_free);
+ table = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL);
#ifdef HAVE_GLOB_H
globbuf.gl_offs = 0;
@@ -515,6 +487,7 @@ static GList *lookup_includes(const gchar **includes, gint includes_count)
{
gchar *file_name_copy = g_strdup(globbuf.gl_pathv[idx_glob]);
+ includes_files = g_list_prepend(includes_files, file_name_copy);
g_hash_table_insert(table, file_name_copy, file_name_copy);
#ifdef TM_DEBUG
g_message ("Added ...\n");
@@ -535,12 +508,12 @@ static GList *lookup_includes(const gchar **includes, gint includes_count)
{
gchar* file_name_copy = g_strdup(includes[i]);
+ includes_files = g_list_prepend(includes_files, file_name_copy);
g_hash_table_insert(table, file_name_copy, file_name_copy);
}
}
}
- g_hash_table_foreach(table, tm_move_entries_to_g_list, &includes_files);
g_hash_table_destroy(table);
return includes_files;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).