lists.geany.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
List overview
Plugins-Commits
December 2012
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
plugins-commits@lists.geany.org
1 participants
25 discussions
Start a n
N
ew thread
[geany/geany-plugins] aa1fc0: addon: fix crash
by Nicolas Bruguier
24 Dec '12
24 Dec '12
Branch: refs/heads/master Author: Nicolas Bruguier <nicolas.bruguier(a)supersonicimagine.fr> Committer: Frank Lanitz <frank(a)frank.uvena.de> Date: Mon, 24 Dec 2012 12:57:30 UTC Commit: aa1fc0f6af65e0f4632a4aecd3c458a875f922db
https://github.com/geany/geany-plugins/commit/aa1fc0f6af65e0f4632a4aecd3c45…
Log Message: ----------- addon: fix crash Modified Paths: -------------- addons/src/ao_wrapwords.c Modified: addons/src/ao_wrapwords.c 3 files changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -86,6 +86,9 @@ gboolean on_key_press (GtkWidget *widget, GdkEventKey *event, gpointer user_data if (!auto_enabled) return FALSE; + if (document_get_current () == NULL) + return FALSE; + sci_obj = document_get_current ()->editor->sci; if (sci_get_selected_text_length (sci_obj) < 2) -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] d88bbe: Merge pull request #76 from sblatnick/master
by Frank Lanitz
24 Dec '12
24 Dec '12
Branch: refs/heads/master Author: Frank Lanitz <frank(a)frank.uvena.de> Committer: Frank Lanitz <frank(a)frank.uvena.de> Date: Mon, 24 Dec 2012 12:53:18 UTC Commit: d88bbeaaa3d5acae8eb4924110f2bf443b8615ed
https://github.com/geany/geany-plugins/commit/d88bbeaaa3d5acae8eb4924110f2b…
Log Message: ----------- Merge pull request #76 from sblatnick/master Treebrowser expand/collapse folders with spacebar Modified Paths: -------------- treebrowser/src/treebrowser.c Modified: treebrowser/src/treebrowser.c 18 files changed, 17 insertions(+), 1 deletions(-) =================================================================== @@ -1422,6 +1422,22 @@ enum static gboolean on_treeview_keypress(GtkWidget *widget, GdkEventKey *event) { + if (event->keyval == GDK_space) + { + GtkTreeIter iter; + GtkTreeModel *model; + GtkTreePath *path; + + if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(widget)), &model, &iter)) + { + path = gtk_tree_model_get_path(model, &iter); + if (gtk_tree_view_row_expanded(GTK_TREE_VIEW(widget), path)) + gtk_tree_view_collapse_row(GTK_TREE_VIEW(widget), path); + else + gtk_tree_view_expand_row(GTK_TREE_VIEW(widget), path, FALSE); + return TRUE; + } + } if (event->keyval == GDK_BackSpace) { on_button_go_up(); @@ -1734,7 +1750,7 @@ enum g_signal_connect(treeview, "row-activated", G_CALLBACK(on_treeview_row_activated), NULL); g_signal_connect(treeview, "row-collapsed", G_CALLBACK(on_treeview_row_collapsed), NULL); g_signal_connect(treeview, "row-expanded", G_CALLBACK(on_treeview_row_expanded), NULL); - g_signal_connect(treeview, "key-release-event", G_CALLBACK(on_treeview_keypress), NULL); + g_signal_connect(treeview, "key-press-event", G_CALLBACK(on_treeview_keypress), NULL); g_signal_connect(addressbar, "activate", G_CALLBACK(on_addressbar_activate), NULL); g_signal_connect(filter, "activate", G_CALLBACK(on_filter_activate), NULL); -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] a8349f: scope - option to keep exec marker and Threads location on resume
by Dimitar Zhekov
23 Dec '12
23 Dec '12
Branch: refs/heads/master Author: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Committer: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Date: Sun, 23 Dec 2012 16:22:36 UTC Commit: a8349f057f3d6359657776256a3aa4cecfb926a6
https://github.com/geany/geany-plugins/commit/a8349f057f3d6359657776256a3aa…
Log Message: ----------- scope - option to keep exec marker and Threads location on resume Modified Paths: -------------- scope/ChangeLog scope/NEWS scope/docs/scope.html scope/src/prefs.c scope/src/prefs.h scope/src/scope.c scope/src/thread.c Modified: scope/ChangeLog 8 files changed, 8 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,11 @@ +2012-12-23 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> + + * docs/scope.html, src/prefs.c, src/prefs.h, src/thread.c: + Added option "keep_exec_point" to keep the execution point marker + and Threads location columns when a thread execution is resumed. + * docs/scope.html, src/scope.c: + Increased version to 0.78. + 2012-12-22 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> * NEWS: Modified: scope/NEWS 5 files changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,8 @@ +Scope 0.78 (2012-12-23) + + * Added option "keep_exec_point" to keep the execution point marker + and Threads location columns when a thread execution is resumed. + Scope 0.77 (2012-12-16) * Support for " and \ in evaluate expressions. Modified: scope/docs/scope.html 7 files changed, 5 insertions(+), 2 deletions(-) =================================================================== @@ -477,7 +477,10 @@ asynchronous break messages. If true, only <tt>=breakpoint-deleted</tt> will be handled.</p> <p><em>auto_view_source</em> - seek in source on single click in threads, breakpoints -and stack. Default = Off</p> +and stack.</p> + +<p><em>keep_exec_point</em> - do not clear the execution point marker and <em>Threads</em> +location columns when a thread execution is resumed.</p> <p><em>visual_beep_length</em> - hundreds of seconds to flash the state label on Scope errors. Default = 25.</p> @@ -670,7 +673,7 @@ <b><a name="copyright">Copyright</a></b> -<p>Scope 0.77, Copyright (C) 2012 Dimitar Toshkov Zhekov</p> +<p>Scope 0.78, Copyright (C) 2012 Dimitar Toshkov Zhekov</p> <p>The menu and toolbar icons are from <a href="
http://netbeans.org
">Netbeans</a>, except for BreakPoint.</p> Modified: scope/src/prefs.c 2 files changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -36,6 +36,7 @@ #endif gboolean pref_auto_view_source; +gboolean pref_keep_exec_point; gint pref_visual_beep_length; #ifdef G_OS_UNIX gboolean pref_debug_console_vte; @@ -271,6 +272,7 @@ void prefs_init(void) stash_group_add_boolean(group, &pref_async_break_bugs, "async_break_bugs", TRUE); #endif stash_group_add_boolean(group, &pref_auto_view_source, "auto_view_source", FALSE); + stash_group_add_boolean(group, &pref_keep_exec_point, "keep_exec_point", FALSE); stash_group_add_integer(group, &pref_visual_beep_length, "visual_beep_length", 25); #ifdef G_OS_UNIX stash_group_add_boolean(group, &pref_debug_console_vte, "debug_console_vte", TRUE); Modified: scope/src/prefs.h 1 files changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -29,6 +29,7 @@ #endif extern gboolean pref_auto_view_source; +extern gboolean pref_keep_exec_point; extern gint pref_visual_beep_length; #ifdef G_OS_UNIX extern gboolean pref_debug_console_vte; Modified: scope/src/scope.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -32,7 +32,7 @@ PLUGIN_VERSION_CHECK(215) PLUGIN_SET_TRANSLATABLE_INFO(LOCALEDIR, GETTEXT_PACKAGE, _("Scope Debugger"), - _("Simple GDB front-end."), "0.77" , "Dimitar Toshkov Zhekov <dimitar.zhekov(a)gmail.com>") + _("Simple GDB front-end."), "0.78" , "Dimitar Toshkov Zhekov <dimitar.zhekov(a)gmail.com>") /* Keybinding(s) */ enum Modified: scope/src/thread.c 24 files changed, 13 insertions(+), 11 deletions(-) =================================================================== @@ -211,17 +211,19 @@ static void thread_iter_unmark(GtkTreeIter *iter, gpointer gdata) gtk_tree_model_get(model, iter, THREAD_FILE, &file, THREAD_LINE, &line, THREAD_STATE, &state, -1); stopped = !strcmp(state, STOPPED); - thread_prompt += gdata ? !stopped : -stopped; - utils_mark(file, line, FALSE, MARKER_EXECUTE); + thread_prompt += gdata ? -stopped : !stopped; + + if (GPOINTER_TO_INT(gdata) != 2) + utils_mark(file, line, FALSE, MARKER_EXECUTE); } static void thread_iter_running(GtkTreeIter *iter, const char *tid) { - thread_iter_unmark(iter, NULL); + thread_iter_unmark(iter, GINT_TO_POINTER(TRUE + pref_keep_exec_point)); - gtk_list_store_set(store, iter, THREAD_FILE, NULL, THREAD_LINE, 0, THREAD_STATE, - RUNNING, THREAD_BASE_NAME, NULL, THREAD_FUNC, NULL, THREAD_ADDR, NULL, - THREAD_CORE, NULL, -1); + gtk_list_store_set(store, iter, THREAD_STATE, RUNNING, pref_keep_exec_point ? -1 : + THREAD_FILE, NULL, THREAD_LINE, 0, THREAD_BASE_NAME, NULL, THREAD_FUNC, NULL, + THREAD_ADDR, NULL, THREAD_CORE, NULL, -1); if (thread_id) { @@ -279,7 +281,7 @@ static void thread_parse_frame(GArray *frame, const char *tid, GtkTreeIter *iter if (!loc.addr) loc.addr = "??"; - thread_iter_unmark(iter, GINT_TO_POINTER(TRUE)); + thread_iter_unmark(iter, NULL); gtk_list_store_set(store, iter, THREAD_FILE, loc.file, THREAD_LINE, loc.line, THREAD_STATE, STOPPED, THREAD_BASE_NAME, loc.base_name, THREAD_FUNC, loc.func, THREAD_ADDR, loc.addr, -1); @@ -467,7 +469,7 @@ void on_thread_exited(GArray *nodes) { gboolean was_selected = !g_strcmp0(tid, thread_id); - thread_iter_unmark(&iter, NULL); + thread_iter_unmark(&iter, GINT_TO_POINTER(TRUE)); gtk_list_store_remove(store, &iter); if (was_selected && thread_select_on_exited) auto_select_thread(); @@ -557,7 +559,7 @@ void threads_mark(GeanyDocument *doc) void threads_clear(void) { - model_foreach(model, (GFunc) thread_iter_unmark, NULL); + model_foreach(model, (GFunc) thread_iter_unmark, GINT_TO_POINTER(TRUE)); array_clear(thread_groups, (GFreeFunc) thread_group_free); gtk_list_store_clear(store); thread_count = 0; @@ -829,8 +831,8 @@ void thread_init(void) GTK_TREE_VIEW_COLUMN(get_object("thread_base_name_column"))); thread_groups = array_new(ThreadGroup, 0x10); - RUNNING = _("running"); - STOPPED = _("stopped"); + RUNNING = _("Running"); + STOPPED = _("Stopped"); g_signal_connect(tree, "key-press-event", G_CALLBACK(on_view_key_press), thread_seek_selected); g_signal_connect(tree, "button-press-event", G_CALLBACK(on_view_button_1_press), -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] 5dacdf: scope - small fixes and changes
by Dimitar Zhekov
22 Dec '12
22 Dec '12
Branch: refs/heads/master Author: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Committer: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Date: Sat, 22 Dec 2012 16:52:51 UTC Commit: 5dacdf29687e64b98788df628f628a7bf2cfed09
https://github.com/geany/geany-plugins/commit/5dacdf29687e64b98788df628f628…
Log Message: ----------- scope - small fixes and changes Modified Paths: -------------- scope/ChangeLog scope/NEWS scope/docs/scope.html scope/src/parse.c scope/src/parse.h scope/src/program.c scope/src/scope.c Modified: scope/ChangeLog 13 files changed, 13 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,16 @@ +2012-12-22 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> + + * NEWS: + Real NEWS. + * docs/scope.html: + Small clarification. + * src/parse.c: + Fixed breakpoint-deleted id format. + * src/parse.h: + Removed parse_lead_locale(), not used. + * src/program.c, src/scope.c: + Unified error message format. + 2012-12-18 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> * build/scope.m4, scope/src/Makefile.am: Modified: scope/NEWS 8 files changed, 7 insertions(+), 1 deletions(-) =================================================================== @@ -1 +1,7 @@ -See "ChangeLog" +Scope 0.77 (2012-12-16) + + * Support for " and \ in evaluate expressions. + +Scope 0.76 (2012-12-13) + + * Per-function display of @entry arguments. Modified: scope/docs/scope.html 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -388,8 +388,8 @@ <p>The function arguments are subject to 8-bit text conversion. Their individual modes may be set via <em>Locals</em>.</p> -<p><em>Show @entry</em> - display any @entry arguments for the current function. Applies to -<em>Locals</em> too.</p> +<p><em>Show @entry</em> - display any @entry arguments reported by gdb for the selected frame +function. Depends on GDB "print entry-values". Applies to <em>Locals</em> too.</p> <p><b><a name="local">Locals</a></b></p> Modified: scope/src/parse.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -63,7 +63,7 @@ static void on_quiet_error(G_GNUC_UNUSED GArray *nodes) { "=thread-group-removed,id=\"", on_thread_group_removed, '\0', '\0', 1 }, { "=breakpoint-created,bkpt={", on_break_created, '\0', '\0', 1 }, { "=breakpoint-modified,bkpt={", on_break_created, '\0', '\0', 1 }, - { "=breakpoint-deleted,id=", on_break_deleted, '\0', '\0', 1 }, + { "=breakpoint-deleted,id=\"", on_break_deleted, '\0', '\0', 1 }, { "^done,bkpt={", on_break_inserted, '\0', '\0', 1 }, { "^done,wpt={", on_break_inserted, '\0', '\0', 1 }, { "^done,hw-awpt={", on_break_inserted, '\0', '\0', 1 }, Modified: scope/src/parse.h 1 files changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -46,7 +46,6 @@ const char *parse_grab_token(GArray *nodes); /* removes from nodes */ #define parse_lead_array(nodes) ((GArray *) ((ParseNode *) nodes->data)->value) #define parse_lead_value(nodes) ((char *) ((ParseNode *) nodes->data)->value) -#define parse_lead_locale(nodes) utils_7bit_to_locale(parse_lead_value((nodes), (name))) gchar *parse_find_error(GArray *nodes); void on_error(GArray *nodes); Modified: scope/src/program.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -236,7 +236,7 @@ static void on_recent_menu_item_activate(G_GNUC_UNUSED GtkMenuItem *menuitem, co } else { - message = g_strdup_printf(_("Could not load debug settings file %s (%s)."), + message = g_strdup_printf(_("Could not load debug settings file %s: %s."), configfile, gerror->message); g_error_free(gerror); } Modified: scope/src/scope.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -489,7 +489,7 @@ void plugin_init(G_GNUC_UNUSED GeanyData *gdata) if (!gtk_builder_add_from_file(builder, gladefile, &gerror)) { - msgwin_status_add(_("Scope: %s: %s."), gladefile, gerror->message); + msgwin_status_add(_("Scope: %s."), gerror->message); g_error_free(gerror); g_object_unref(builder); builder = NULL; -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] bfb932: Merge branch 'master' of github.com:geany/geany-plugins
by Steven Blatnick
20 Dec '12
20 Dec '12
Branch: refs/heads/master Author: Steven Blatnick <
steve8track(at)yahoo.com
> Committer: Steven Blatnick <
steve8track(at)yahoo.com
> Date: Thu, 20 Dec 2012 00:14:02 UTC Commit: bfb932c6019942ab0440d18e7a1cece9c49052ad
https://github.com/geany/geany-plugins/commit/bfb932c6019942ab0440d18e7a1ce…
Log Message: ----------- Merge branch 'master' of github.com:geany/geany-plugins Modified Paths: -------------- build/scope.m4 scope/ChangeLog scope/TODO scope/src/Makefile.am scope/wscript_build Modified: build/scope.m4 7 files changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -7,6 +7,13 @@ AC_DEFUN([GP_CHECK_SCOPE], GP_STATUS_PLUGIN_ADD([Scope], [$enable_scope]) + case "$host_os" in + cygwin* | mingw* | win32*) PTY_LIBS="" ;; + *) PTY_LIBS="-lutil" ;; + esac + + AC_SUBST(PTY_LIBS) + AC_CONFIG_FILES([ scope/Makefile scope/data/Makefile Modified: scope/ChangeLog 5 files changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,8 @@ +2012-12-18 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> + + * build/scope.m4, scope/src/Makefile.am: + No -lutil under win32. + 2012-12-16 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> * src/common.h, src/menu.h: Modified: scope/TODO 2 files changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -1,5 +1,3 @@ -wscript_* - various tests, source code checks etc. ask user for terminate debugging on build actions Modified: scope/src/Makefile.am 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -44,7 +44,7 @@ scope_la_SOURCES = \ watch.c \ watch.h -scope_la_LIBADD = $(COMMONLIBS) $(VTE_LIBS) -lutil +scope_la_LIBADD = $(COMMONLIBS) $(VTE_LIBS) $(PTY_LIBS) scope_la_CFLAGS = $(AM_CFLAGS) $(VTE_CFLAGS) \ -DPLUGINDATADIR=\"$(plugindatadir)\" \ Modified: scope/wscript_build 12 files changed, 8 insertions(+), 4 deletions(-) =================================================================== @@ -25,13 +25,17 @@ from build.wafutils import build_plugin, target_is_win32 name = 'Scope' includes = ['scope/src'] -if not target_is_win32(bld) : + +if target_is_win32(bld): + datadir = '${G_PREFIX}/${GEANYPLUGINS_DATADIR}' + docdir = '${G_PREFIX}/doc/plugins/scope' +else: + datadir = '${GEANYPLUGINS_DATADIR}' + docdir = '${DOCDIR}/scope' libraries = ['VTE', 'UTIL'] -datadir = '${G_PREFIX}/${GEANYPLUGINS_DATADIR}' if is_win32 else '${GEANYPLUGINS_DATADIR}' -docdir = '${G_PREFIX}/doc/plugins/scope' if is_win32 else '${DOCDIR}/scope' htmldocdir = '%s/html' % docdir -defines=[ 'PLUGINDATADIR="' + datadir + '"', 'PLUGINHTMLDOCDIR="' + htmldocdir + '"'] +defines = [ 'PLUGINDATADIR="' + datadir + '"', 'PLUGINHTMLDOCDIR="' + htmldocdir + '"'] build_plugin(bld, name, includes=includes, libraries=libraries, defines=defines) -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] 86fb5e: scope - no -lutil under win32
by Dimitar Zhekov
18 Dec '12
18 Dec '12
Branch: refs/heads/master Author: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Committer: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Date: Tue, 18 Dec 2012 19:23:55 UTC Commit: 86fb5e04290e62db904319a20ddfbbe71b1728eb
https://github.com/geany/geany-plugins/commit/86fb5e04290e62db904319a20ddfb…
Log Message: ----------- scope - no -lutil under win32 Modified Paths: -------------- build/scope.m4 scope/ChangeLog scope/TODO scope/src/Makefile.am scope/wscript_build Modified: build/scope.m4 7 files changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -7,6 +7,13 @@ AC_DEFUN([GP_CHECK_SCOPE], GP_STATUS_PLUGIN_ADD([Scope], [$enable_scope]) + case "$host_os" in + cygwin* | mingw* | win32*) PTY_LIBS="" ;; + *) PTY_LIBS="-lutil" ;; + esac + + AC_SUBST(PTY_LIBS) + AC_CONFIG_FILES([ scope/Makefile scope/data/Makefile Modified: scope/ChangeLog 5 files changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,8 @@ +2012-12-18 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> + + * build/scope.m4, scope/src/Makefile.am: + No -lutil under win32. + 2012-12-16 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> * src/common.h, src/menu.h: Modified: scope/TODO 2 files changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -1,5 +1,3 @@ -wscript_* - various tests, source code checks etc. ask user for terminate debugging on build actions Modified: scope/src/Makefile.am 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -44,7 +44,7 @@ scope_la_SOURCES = \ watch.c \ watch.h -scope_la_LIBADD = $(COMMONLIBS) $(VTE_LIBS) -lutil +scope_la_LIBADD = $(COMMONLIBS) $(VTE_LIBS) $(PTY_LIBS) scope_la_CFLAGS = $(AM_CFLAGS) $(VTE_CFLAGS) \ -DPLUGINDATADIR=\"$(plugindatadir)\" \ Modified: scope/wscript_build 12 files changed, 8 insertions(+), 4 deletions(-) =================================================================== @@ -25,13 +25,17 @@ from build.wafutils import build_plugin, target_is_win32 name = 'Scope' includes = ['scope/src'] -if not target_is_win32(bld) : + +if target_is_win32(bld): + datadir = '${G_PREFIX}/${GEANYPLUGINS_DATADIR}' + docdir = '${G_PREFIX}/doc/plugins/scope' +else: + datadir = '${GEANYPLUGINS_DATADIR}' + docdir = '${DOCDIR}/scope' libraries = ['VTE', 'UTIL'] -datadir = '${G_PREFIX}/${GEANYPLUGINS_DATADIR}' if is_win32 else '${GEANYPLUGINS_DATADIR}' -docdir = '${G_PREFIX}/doc/plugins/scope' if is_win32 else '${DOCDIR}/scope' htmldocdir = '%s/html' % docdir -defines=[ 'PLUGINDATADIR="' + datadir + '"', 'PLUGINHTMLDOCDIR="' + htmldocdir + '"'] +defines = [ 'PLUGINDATADIR="' + datadir + '"', 'PLUGINHTMLDOCDIR="' + htmldocdir + '"'] build_plugin(bld, name, includes=includes, libraries=libraries, defines=defines) -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] 04bf45: Treebrowser expand/collapse with spacebar
by Steven Blatnick
17 Dec '12
17 Dec '12
Branch: refs/heads/master Author: Steven Blatnick <sblatnick(a)proofpoint.com> Committer: Steven Blatnick <sblatnick(a)proofpoint.com> Date: Mon, 17 Dec 2012 22:41:03 UTC Commit: 04bf45f28c9bcffccdebdd9d7f6062e245296d11
https://github.com/geany/geany-plugins/commit/04bf45f28c9bcffccdebdd9d7f606…
Log Message: ----------- Treebrowser expand/collapse with spacebar Modified Paths: -------------- treebrowser/src/treebrowser.c Modified: treebrowser/src/treebrowser.c 18 files changed, 17 insertions(+), 1 deletions(-) =================================================================== @@ -1422,6 +1422,22 @@ enum static gboolean on_treeview_keypress(GtkWidget *widget, GdkEventKey *event) { + if (event->keyval == GDK_space) + { + GtkTreeIter iter; + GtkTreeModel *model; + GtkTreePath *path; + + if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(widget)), &model, &iter)) + { + path = gtk_tree_model_get_path(model, &iter); + if (gtk_tree_view_row_expanded(GTK_TREE_VIEW(widget), path)) + gtk_tree_view_collapse_row(GTK_TREE_VIEW(widget), path); + else + gtk_tree_view_expand_row(GTK_TREE_VIEW(widget), path, FALSE); + return TRUE; + } + } if (event->keyval == GDK_BackSpace) { on_button_go_up(); @@ -1734,7 +1750,7 @@ enum g_signal_connect(treeview, "row-activated", G_CALLBACK(on_treeview_row_activated), NULL); g_signal_connect(treeview, "row-collapsed", G_CALLBACK(on_treeview_row_collapsed), NULL); g_signal_connect(treeview, "row-expanded", G_CALLBACK(on_treeview_row_expanded), NULL); - g_signal_connect(treeview, "key-release-event", G_CALLBACK(on_treeview_keypress), NULL); + g_signal_connect(treeview, "key-press-event", G_CALLBACK(on_treeview_keypress), NULL); g_signal_connect(addressbar, "activate", G_CALLBACK(on_addressbar_activate), NULL); g_signal_connect(filter, "activate", G_CALLBACK(on_filter_activate), NULL); -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] aef9af: scope - evaluate expressions with quotes, small changes and fixes
by Dimitar Zhekov
16 Dec '12
16 Dec '12
Branch: refs/heads/master Author: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Committer: Dimitar Zhekov <dimitar.zhekov(a)gmail.com> Date: Sun, 16 Dec 2012 18:28:42 UTC Commit: aef9af98434a81f081b4cc3e078e958185bee6b0
https://github.com/geany/geany-plugins/commit/aef9af98434a81f081b4cc3e078e9…
Log Message: ----------- scope - evaluate expressions with quotes, small changes and fixes Modified Paths: -------------- scope/ChangeLog scope/TODO scope/docs/scope.html scope/src/break.c scope/src/common.h scope/src/debug.c scope/src/menu.c scope/src/menu.h scope/src/scope.c scope/src/tooltip.c scope/src/tooltip.h scope/src/views.c scope/src/views.h Modified: scope/ChangeLog 18 files changed, 17 insertions(+), 1 deletions(-) =================================================================== @@ -1,4 +1,20 @@ -2011-12-13 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> +2012-12-16 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> + + * src/common.h, src/menu.h: + Fixed forward declarations (though my gcc accepts them). + * src/menu.c, src/tooltip.c, src/views.c, src/views.h: + Clear scid_gen on program exit. No real risk of overflow, + but smaller values look better in Debug Console. + * src/menu.c: + Position cursor in modify dialog after " = ". + * src/tooltip.c: + Reset internal variables on program exit. + * src/debug.c: + Escape "\ in evaluate expressions. + * docs/scope.html, src/scope.c: + Increased version to 0.77. + +2012-12-13 Dimitar Zhekov <dimitar.zhekov(a)gmail.com> * data/scope.glade, src/local.c, src/parse.c, src/parse.h, src/stack.c, src/stack.h: Modified: scope/TODO 2 files changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -1,7 +1,5 @@ wscript_* -evaluate expressions with quotes - various tests, source code checks etc. ask user for terminate debugging on build actions Modified: scope/docs/scope.html 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -670,7 +670,7 @@ <b><a name="copyright">Copyright</a></b> -<p>Scope 0.76, Copyright (C) 2012 Dimitar Toshkov Zhekov</p> +<p>Scope 0.77, Copyright (C) 2012 Dimitar Toshkov Zhekov</p> <p>The menu and toolbar icons are from <a href="
http://netbeans.org
">Netbeans</a>, except for BreakPoint.</p> Modified: scope/src/break.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -237,7 +237,7 @@ static void append_script_command(const ParseNode *node, GString *string) iff (node->type == PT_VALUE, "script: contains array") { gchar *display = utils_get_display_from_7bit((char *) node->value, HB_DEFAULT); - gchar *s; + const gchar *s; if (string->len) g_string_append_c(string, ' '); Modified: scope/src/common.h 1 files changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -24,7 +24,6 @@ extern GeanyFunctions *geany_functions; typedef struct _MenuItem MenuItem; -typedef enum _ViewIndex ViewIndex; #include "break.h" #include "conterm.h" Modified: scope/src/debug.c 14 files changed, 13 insertions(+), 1 deletions(-) =================================================================== @@ -719,7 +719,19 @@ void debug_send_format(gint tf, const char *format, ...) char *debug_send_evaluate(char token, gint scid, const gchar *expr) { char *locale = utils_get_locale_from_utf8(expr); - debug_send_format(F, "0%c%d-data-evaluate-expression \"%s\"", token, scid, locale); + GString *string = g_string_sized_new(strlen(locale)); + const char *s; + + for (s = locale; *s; s++) + { + if (*s == '"' || *s == '\\') + g_string_append_c(string, '\\'); + g_string_append_c(string, *s); + } + + debug_send_format(F, "0%c%d-data-evaluate-expression \"%s\"", token, scid, string->str); + g_string_free(string, TRUE); + return locale; } Modified: scope/src/menu.c 8 files changed, 8 insertions(+), 0 deletions(-) =================================================================== @@ -334,12 +334,15 @@ static void menu_evaluate_modify(const gchar *expr, const char *value, const gch { gchar *display = parse_get_display_from_7bit(value, hb_mode, mr_mode); gchar *text = g_strdup_printf("%s = %s", expr, display ? display : ""); + GtkTextIter iter; g_free(display); gtk_window_set_title(GTK_WINDOW(modify_dialog), title); gtk_widget_grab_focus(modify_value); gtk_text_buffer_set_text(modify_text, text, -1); g_free(text); + gtk_text_buffer_get_iter_at_offset(modify_text, &iter, g_utf8_strlen(expr, -1) + 3); + gtk_text_buffer_place_cursor(modify_text, &iter); modify_dialog_update_state(debug_state()); if (gtk_dialog_run(GTK_DIALOG(modify_dialog)) == GTK_RESPONSE_ACCEPT) @@ -493,6 +496,11 @@ void menu_set_popup_keybindings(guint item) } } +void menu_clear(void) +{ + scid_gen = 0; +} + void menu_update_state(DebugState state) { if (active_menu) Modified: scope/src/menu.h 5 files changed, 3 insertions(+), 2 deletions(-) =================================================================== @@ -19,14 +19,14 @@ #ifndef MENU_H -typedef struct _MenuItem +struct _MenuItem { const char *name; void (*callback)(const MenuItem *menu_item); guint state; GtkWidget *widget; /* automatic */ gpointer gdata; -} MenuItem; +}; typedef struct _MenuInfo { @@ -96,6 +96,7 @@ void menu_mber_button_release(GtkTreeSelection *selection, GtkWidget *item, } MenuKey; void menu_set_popup_keybindings(guint item); +void menu_clear(void); void menu_update_state(DebugState state); void menu_init(void); Modified: scope/src/scope.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -32,7 +32,7 @@ PLUGIN_VERSION_CHECK(215) PLUGIN_SET_TRANSLATABLE_INFO(LOCALEDIR, GETTEXT_PACKAGE, _("Scope Debugger"), - _("Simple GDB front-end."), "0.76" , "Dimitar Toshkov Zhekov <dimitar.zhekov(a)gmail.com>") + _("Simple GDB front-end."), "0.77" , "Dimitar Toshkov Zhekov <dimitar.zhekov(a)gmail.com>") /* Keybinding(s) */ enum Modified: scope/src/tooltip.c 7 files changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -177,6 +177,13 @@ void tooltip_remove(GeanyEditor *editor) } } +void tooltip_clear(void) +{ + scid_gen = 0; + last_pos = -1; + peek_pos = -1; +} + gboolean tooltip_update(void) { if (option_editor_tooltips) Modified: scope/src/tooltip.h 2 files changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -24,6 +24,8 @@ void tooltip_attach(GeanyEditor *editor); void tooltip_remove(GeanyEditor *editor); + +void tooltip_clear(void); gboolean tooltip_update(void); void tooltip_finalize(void); Modified: scope/src/views.c 3 files changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -42,7 +42,8 @@ { FALSE, watches_clear, watches_update, TRUE, DS_DEBUG }, { FALSE, NULL, dc_update, FALSE, DS_DEBUG }, { FALSE, inspects_clear, inspects_update, FALSE, DS_DEBUG }, - { FALSE, NULL, tooltip_update, FALSE, DS_SENDABLE } + { FALSE, tooltip_clear, tooltip_update, FALSE, DS_SENDABLE }, + { FALSE, menu_clear, NULL, FALSE, 0 } }; void view_dirty(ViewIndex index) Modified: scope/src/views.h 1 files changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -30,6 +30,7 @@ VIEW_CONSOLE, VIEW_INSPECT, VIEW_TOOLTIP, + VIEW_POPMENU, VIEW_COUNT } ViewIndex; -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] 595dd1: Treebrowser: Fix issue on old Gtk as GDK_key_* is defined for Gtk3
by Frank Lanitz
16 Dec '12
16 Dec '12
Branch: refs/heads/master Author: Frank Lanitz <frank(a)frank.uvena.de> Committer: Frank Lanitz <frank(a)frank.uvena.de> Date: Sun, 16 Dec 2012 16:48:29 UTC Commit: 595dd15a5ae4f5274cd83147e97b50cf98f54719
https://github.com/geany/geany-plugins/commit/595dd15a5ae4f5274cd83147e97b5…
Log Message: ----------- Treebrowser: Fix issue on old Gtk as GDK_key_* is defined for Gtk3 Modified Paths: -------------- treebrowser/src/treebrowser.c Modified: treebrowser/src/treebrowser.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1422,7 +1422,7 @@ enum static gboolean on_treeview_keypress(GtkWidget *widget, GdkEventKey *event) { - if (event->keyval == GDK_KEY_BackSpace) + if (event->keyval == GDK_BackSpace) { on_button_go_up(); return TRUE; -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
[geany/geany-plugins] f7cfa6: po: Add Scope files in POTFILES.in
by Quentin Glidic
15 Dec '12
15 Dec '12
Branch: refs/heads/master Author: Quentin Glidic <sardemff7+git(a)sardemff7.net> Committer: Frank Lanitz <frank(a)frank.uvena.de> Date: Sat, 15 Dec 2012 18:19:54 UTC Commit: f7cfa66d8a4121bb1be18a296445592fe58f9527
https://github.com/geany/geany-plugins/commit/f7cfa66d8a4121bb1be18a2964455…
Log Message: ----------- po: Add Scope files in POTFILES.in Modified Paths: -------------- po/POTFILES.in Modified: po/POTFILES.in 16 files changed, 16 insertions(+), 0 deletions(-) =================================================================== @@ -217,6 +217,22 @@ pretty-printer/src/PrettyPrinter.c pretty-printer/src/PluginEntry.c pretty-printer/src/ConfigUI.c +# Scope +scope/data/scope.glade +scope/src/break.c +scope/src/conterm.c +scope/src/debug.c +scope/src/inspect.c +scope/src/menu.c +scope/src/parse.c +scope/src/plugme.c +scope/src/prefs.c +scope/src/program.c +scope/src/scope.c +scope/src/thread.c +scope/src/utils.c +scope/src/views.c + # Spell Check spellcheck/src/speller.c spellcheck/src/scplugin.c -------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
1
0
0
0
← Newer
1
2
3
Older →
Jump to page:
1
2
3
Results per page:
10
25
50
100
200