[geany/geany-plugins] e73b6e: scope - set panel notebook to scrollable, don't disable "dis" breakpoint on hit

Dimitar Zhekov git-noreply at xxxxx
Sat Aug 31 18:38:32 UTC 2013


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sat, 31 Aug 2013 18:38:32 UTC
Commit:      e73b6e03fb0b70acdbb2af66fea294c9d0bc0d0a
             https://github.com/geany/geany-plugins/commit/e73b6e03fb0b70acdbb2af66fea294c9d0bc0d0a

Log Message:
-----------
scope - set panel notebook to scrollable, don't disable "dis" breakpoint on hit


Modified Paths:
--------------
    scope/ChangeLog
    scope/data/scope.glade
    scope/docs/codes.html
    scope/docs/scope.html
    scope/src/break.c
    scope/src/scope.c

Modified: scope/ChangeLog
12 files changed, 12 insertions(+), 0 deletions(-)
===================================================================
@@ -1,3 +1,15 @@
+2013-08-31  Dimitar Zhekov  <dimitar.zhekov at gmail.com>
+
+ * data/scope.glade:
+   Set Debug Panel tabs to "scrollable", so that the messages window
+   is not extended if it's not wide/tall enough to fit the tab names.
+ * src/break.c:
+   No async break messages only: don't disable a "dis" breakpoint on
+   hit, it may have a count (which is not available ATM).
+ * docs/scope.html, src/scope.c:
+   Increased version to 0.91.4.
+
+
 2013-08-25  Dimitar Zhekov  <dimitar.zhekov at gmail.com>
 
  * docs/codes.html, docs/scope.html, src/inspect.c,


Modified: scope/data/scope.glade
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1558,6 +1558,7 @@
   <object class="GtkNotebook" id="debug_panel">
     <property name="visible">True</property>
     <property name="can_focus">True</property>
+    <property name="scrollable">True</property>
     <child>
       <object class="GtkScrolledWindow" id="program_window">
         <property name="visible">True</property>


Modified: scope/docs/codes.html
8 files changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -31,12 +31,12 @@
 
 <tr><td class="nowrap"> </td><td class="tab"> </td><td class="tab"> </td></tr>
 
-<tr><td class="nowrap">02[01]<scid>-break-disable</td>
-	<td class="tab">un/check break enabled column</td>
+<tr><td class="nowrap">020<scid>-break-enable</td>
+	<td class="tab">check break enabled column</td>
 	<td class="tab">set breakpoint enabled column, remark breakpoint</td></tr>
 
-<tr><td class="nowrap">02[01]<scid>-break-disable</td>
-	<td class="tab">un/check break enabled column</td>
+<tr><td class="nowrap">021<scid>-break-disable</td>
+	<td class="tab">uncheck break enabled column</td>
 	<td class="tab">set breakpoint enabled column, remark breakpoint</td></tr>
 
 <tr><td class="nowrap">022<id>-break-after</td>


Modified: scope/docs/scope.html
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -364,7 +364,7 @@
 invoke <em>Add Break / Add Watch</em> [HRD], which brings up the command dialog.</p>
 
 <div>Only points created with MI commands are kept in the list permanently.<br>
-Due to MI limitations:</div>
+Due to MI limitations and deficiencies:</div>
 <div class="tab">
 - The catchpoints are displayed incompletely<br>
 - Disposition "dis" is ignored, and "del" is saved for breakpoints and tracepoints only<br>
@@ -748,7 +748,7 @@
 
 <b><a name="copyright">Copyright</a></b>
 
-<p>Scope 0.91.3, Copyright (C) 2013 Dimitar Toshkov Zhekov</p>
+<p>Scope 0.91.4, Copyright (C) 2013 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
15 files changed, 2 insertions(+), 13 deletions(-)
===================================================================
@@ -683,20 +683,9 @@ void on_break_stopped(GArray *nodes)
 	if (break_async < TRUE)
 	{
 		const char *id = parse_find_value(nodes, "bkptno");
-		const char *disp = parse_find_value(nodes, "disp");
 
-		if (id && disp)
-		{
-			if (!strcmp(disp, "dis"))
-			{
-				GtkTreeIter iter;
-
-				if (store_find(store, &iter, BREAK_ID, id))
-					break_enable(&iter, FALSE);
-			}
-			else if (!strcmp(disp, "del"))
-				break_remove_all(id, FALSE);
-		}
+		if (id && !g_strcmp0(parse_find_value(nodes, "disp"), "del"))
+			break_remove_all(id, FALSE);
 	}
 
 	on_thread_stopped(nodes);


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"),
-	_("Relatively simple GDB front-end."), "0.91.3" ,
+	_("Relatively simple GDB front-end."), "0.91.4" ,
 	"Dimitar Toshkov Zhekov <dimitar.zhekov at gmail.com>")
 
 /* Keybinding(s) */



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list