Branch: refs/heads/master
Author: Jiří Techet <techet(a)gmail.com>
Committer: Jiří Techet <techet(a)gmail.com>
Date: Thu, 18 Feb 2016 22:02:38 UTC
Commit: 050199a7e14d7c04415e6f8a0bbad605de01588d
https://github.com/geany/geany-plugins/commit/050199a7e14d7c04415e6f8a0bbad…
Log Message:
-----------
projectorganizer: Fix documentation regarding the number of auto-parsed files
Modified Paths:
--------------
projectorganizer/README
Modified: projectorganizer/README
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -95,7 +95,7 @@ files and VCS or hidden directories.
Finally, you can specify whether all the project files should be indexed or not.
The default settings is Auto which means that if the total number
-of project (and external directory) files is less than 500, indexing is performed.
+of project (and external directory) files is less than 300, indexing is performed.
This is a rather conservative number, at least for an SSD disk - Project Organizer
was tested with tens of thousands project files and even though the initial scanning
may take some time (for the linux kernel with 35000 files and 2300000 symbols it takes
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Jiří Techet <techet(a)gmail.com>
Committer: Jiří Techet <techet(a)gmail.com>
Date: Wed, 17 Feb 2016 23:31:06 UTC
Commit: 9d65e1f0642ee02dab89847ac38408f7f5eba771
https://github.com/geany/geany-plugins/commit/9d65e1f0642ee02dab89847ac3840…
Log Message:
-----------
projectorganizer: Use the word "symbol" instead of "tag"
Modified Paths:
--------------
projectorganizer/README
projectorganizer/src/prjorg-menu.c
projectorganizer/src/prjorg-project.c
projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/README
32 lines changed, 16 insertions(+), 16 deletions(-)
===================================================================
@@ -9,7 +9,7 @@ About
Project Organizer is an extension of Geany's project management displaying a tree of
files belonging to the project in the sidebar. In addition, it enables complete indexing
-of the project files (and having code completion, syntax highlighting and tag
+of the project files (and having code completion, syntax highlighting and symbol
definition/declaration jumps for the whole project) quick swapping between header
and source files, improved opening of includes, searching project files by name
and more. External directories can be attached to the project to extend the plugin's
@@ -93,12 +93,12 @@ In addition, you can define patterns for files and directories that should be ig
searching for files belonging to the project. These will typically be various binary
files and VCS or hidden directories.
-Finally, you can specify whether the tag manager should be used to index all the project
-files or not. The default settings is Auto which means that if the total number
-of project (and external directory) files is less than 500, tags are generated.
+Finally, you can specify whether all the project files should be indexed or not.
+The default settings is Auto which means that if the total number
+of project (and external directory) files is less than 500, indexing is performed.
This is a rather conservative number, at least for an SSD disk - Project Organizer
was tested with tens of thousands project files and even though the initial scanning
-may take some time (for the linux kernel with 35000 files and 2300000 tags it takes
+may take some time (for the linux kernel with 35000 files and 2300000 symbols it takes
about 20s with an SSD disk), the work with the project is completely normal afterwards.
However, with ordinary HDD expect only around 100 scanned files per second because
of slow random access time.
@@ -116,21 +116,21 @@ files. When a sidebar item is right-clicked, a context menu appears:
to the clicked directory
* Find file - opens the Find file dialog and sets the search directory to the
clicked directory
-* Find tag - opens the Find tag dialog and sets the search directory to the
+* Find symbol - opens the Find symbol dialog and sets the search directory to the
clicked directory
* Remove external directory - removes a previously added external directory from
the project
The following actions can be invoked from the sidebar's toolbar:
-* Reload all - reloads the project file tree and reindexes the files (if tag generation
+* Reload all - reloads the project file tree and reindexes the files (if symbol generation
enabled). This is useful when files were added, modified externally or removed from
the project.
* Add external directory - adds an additional directory related to the project (e.g.
it is useful to have the geany project as an external directory for the geany-plugins
- project). External directories are indexed using the tag manager, and basically
+ project). External directories are indexed, and basically
all Project Organizer features work with external directories too (find file or
- find in files from the context menu, swap header/source, open selected file, tag
+ find in files from the context menu, swap header/source, open selected file, symbol
definition/declaration jumps, and active editor following). Apart from adding related
projects, one of the possible uses is the addition of system header directories,
e.g. /usr/include/gtk-2.0, and having them indexed for code completion and syntax
@@ -150,7 +150,7 @@ Project Organizer adds some extra entries under the Project menu:
to the base directory of the project
* Find Project File - opens the Find file dialog which can be used to find files
within the project or external directories
-* Find Project Tag - opens the Find tag dialog which can be used to find tags
+* Find Project Symbol - opens the Find symbol dialog which can be used to find symbols
within the project or external directories
* Swap Header/Source - if the current file matches one of the source patterns from
the properties, it opens a project file with the same base name (without extension)
@@ -172,18 +172,18 @@ The following search properties are configurable:
* Search in full path - when not checked, the search is performed in the file
name only (excluding path); when checked, the search is performed in the full path
-Find tag dialog
+Find symbol dialog
----------------
-The Find tag dialog can be invoked either from the Project menu or from the
+The Find symbol dialog can be invoked either from the Project menu or from the
sidebar's context menu. Searches are performed within the "Search inside" directory.
There are several search types:
-* prefix (default) - finds all tags with the specified prefix
-* exact - finds all tags matching the name exactly
-* pattern - finds all tags matching the provided glob pattern
+* prefix (default) - finds all symbols with the specified prefix
+* exact - finds all symbols matching the name exactly
+* pattern - finds all symbols matching the provided glob pattern
-By default, tag definitions are searched; to search tag declarations, select the
+By default, symbol definitions are searched; to search symbol declarations, select the
Declaration option.
Editor context menu
Modified: projectorganizer/src/prjorg-menu.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -403,13 +403,13 @@ void prjorg_menu_init(void)
image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU);
gtk_widget_show(image);
- s_ft_item = gtk_image_menu_item_new_with_mnemonic(_("Find Project Tag..."));
+ s_ft_item = gtk_image_menu_item_new_with_mnemonic(_("Find Project Symbol..."));
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(s_ft_item), image);
gtk_widget_show(s_ft_item);
gtk_container_add(GTK_CONTAINER(geany->main_widgets->project_menu), s_ft_item);
g_signal_connect((gpointer) s_ft_item, "activate", G_CALLBACK(on_find_tag), NULL);
keybindings_set_item(key_group, KB_FIND_TAG, NULL,
- 0, 0, "find_tag", _("Find project tag"), s_ft_item);
+ 0, 0, "find_tag", _("Find project symbol"), s_ft_item);
s_shs_item = gtk_menu_item_new_with_mnemonic(_("Swap Header/Source"));
gtk_widget_show(s_shs_item);
Modified: projectorganizer/src/prjorg-project.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -620,16 +620,16 @@ gint prjorg_project_add_properties_tab(GtkWidget *notebook)
gtk_entry_set_text(GTK_ENTRY(e->ignored_dirs_patterns), str);
g_free(str);
- label = gtk_label_new(_("Generate tags for all project files:"));
+ label = gtk_label_new(_("Index all project files:"));
gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
e->generate_tag_prefs = gtk_combo_box_text_new();
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->generate_tag_prefs), _("Auto (generate if less than 300 files)"));
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->generate_tag_prefs), _("Auto (index if less than 300 files)"));
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->generate_tag_prefs), _("Yes"));
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->generate_tag_prefs), _("No"));
gtk_combo_box_set_active(GTK_COMBO_BOX(e->generate_tag_prefs), prj_org->generate_tag_prefs);
ui_table_add_row(GTK_TABLE(table), 4, label, e->generate_tag_prefs, NULL);
ui_widget_set_tooltip_text(e->generate_tag_prefs,
- _("Generate tag list for all project files instead of only for the currently opened files. "
+ _("Generate symbol list for all project files instead of only for the currently opened files. "
"Might be slow for big projects."));
gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 6);
Modified: projectorganizer/src/prjorg-sidebar.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -440,7 +440,7 @@ static void create_dialog_find_tag(void)
return;
s_ft_dialog.widget = gtk_dialog_new_with_buttons(
- _("Find Tag"), GTK_WINDOW(geany->main_widgets->window),
+ _("Find Symbol"), GTK_WINDOW(geany->main_widgets->window),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
gtk_dialog_add_button(GTK_DIALOG(s_ft_dialog.widget), "gtk-find", GTK_RESPONSE_ACCEPT);
@@ -1389,7 +1389,7 @@ void prjorg_sidebar_init(void)
image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU);
gtk_widget_show(image);
- item = gtk_image_menu_item_new_with_mnemonic(_("Find Tag..."));
+ item = gtk_image_menu_item_new_with_mnemonic(_("Find Symbol..."));
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), image);
gtk_widget_show(item);
gtk_container_add(GTK_CONTAINER(s_popup_menu.widget), item);
--------------
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: Sat, 13 Feb 2016 10:26:48 UTC
Commit: 0025b27abfc6570a1f0e208999b4ee02a1573f7d
https://github.com/geany/geany-plugins/commit/0025b27abfc6570a1f0e208999b4e…
Log Message:
-----------
Revert "Updated translations"
This reverts commit 359b737af5cd32aa3021c605d5f8162b7aeba685 as it introduced broken syntax
Modified Paths:
--------------
po/pt.po
Modified: po/pt.po
1159 lines changed, 213 insertions(+), 946 deletions(-)
===================================================================
No diff available, check online
--------------
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: Tue, 09 Feb 2016 19:27:16 UTC
Commit: 80428ad33a8b59d687e23ca6dccd9edbf7d6155c
https://github.com/geany/geany-plugins/commit/80428ad33a8b59d687e23ca6dccd9…
Log Message:
-----------
debugger: Fix toggling breakpoints for unknown locations
Apparently unknown locations are reported by GDB with quotes around the
file name, so account for them when checking the file name.
Modified Paths:
--------------
debugger/src/dbm_gdb.c
Modified: debugger/src/dbm_gdb.c
10 lines changed, 7 insertions(+), 3 deletions(-)
===================================================================
@@ -943,9 +943,13 @@ static int get_break_number(char* file, int line)
colon = strrchr(location, ':');
if (colon && atoi(colon + 1) == line)
{
- gchar *fname = g_strndup(location, colon - location);
- /* FIXME: the check used to be made against \"file\" (e.g. file surrounded
- * by backslash-quote), but that's not at least how GDB 7.7 does it */
+ gchar *fname;
+
+ /* quotes around filename (location not found or something?) */
+ if (*location == '"' && colon - location > 2)
+ fname = g_strndup(location + 1, colon - location - 2);
+ else
+ fname = g_strndup(location, colon - location);
break_found = strcmp(fname, file) == 0;
g_free(fname);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).