Revision: 2396
http://geany.svn.sourceforge.net/geany/?rev=2396&view=rev
Author: ntrel
Date: 2008-03-24 09:11:52 -0700 (Mon, 24 Mar 2008)
Log Message:
-----------
Redo ABI change (it was for r2389 editor.h change, oops).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/plugindata.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-03-24 13:40:01 UTC (rev 2395)
+++ trunk/ChangeLog 2008-03-24 16:11:52 UTC (rev 2396)
@@ -6,6 +6,8 @@
Add note about allowing appending of keybindings to groups without
breaking the API.
Undo unnecessary ABI change.
+ * src/plugindata.h:
+ Redo ABI change (it was for r2389 editor.h change, oops).
2008-03-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h 2008-03-24 13:40:01 UTC (rev 2395)
+++ trunk/src/plugindata.h 2008-03-24 16:11:52 UTC (rev 2396)
@@ -40,7 +40,7 @@
/* The ABI version should be incremented whenever existing fields in the plugin
* data types below have to be changed or reordered. It should stay the same if fields
* are only appended, as this doesn't affect existing fields. */
-static const gint abi_version = 22;
+static const gint abi_version = 23;
/** This performs runtime checks that try to ensure:
* 1. Geany ABI data types are compatible with this plugin.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2395
http://geany.svn.sourceforge.net/geany/?rev=2395&view=rev
Author: ntrel
Date: 2008-03-24 06:40:01 -0700 (Mon, 24 Mar 2008)
Log Message:
-----------
Add note about allowing appending of keybindings to groups without
breaking the API.
Undo unnecessary ABI change.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/keybindings.h
trunk/src/plugindata.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-03-24 13:30:09 UTC (rev 2394)
+++ trunk/ChangeLog 2008-03-24 13:40:01 UTC (rev 2395)
@@ -2,6 +2,10 @@
* src/editor.c:
Fix Python auto-indentation when line endings are set to CR/LF.
+ * src/keybindings.h, src/plugindata.h:
+ Add note about allowing appending of keybindings to groups without
+ breaking the API.
+ Undo unnecessary ABI change.
2008-03-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/keybindings.h
===================================================================
--- trunk/src/keybindings.h 2008-03-24 13:30:09 UTC (rev 2394)
+++ trunk/src/keybindings.h 2008-03-24 13:40:01 UTC (rev 2395)
@@ -71,6 +71,9 @@
extern const gchar keybindings_keyfile_group_name[];
+/* Note: keybinding_groups is not in the API, so we don't need to increment the ABI when
+ * appending keybindings or keygroups, as the _COUNT item shouldn't be used by plugins. */
+
/** Keybinding group IDs */
enum
{
Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h 2008-03-24 13:30:09 UTC (rev 2394)
+++ trunk/src/plugindata.h 2008-03-24 13:40:01 UTC (rev 2395)
@@ -40,7 +40,7 @@
/* The ABI version should be incremented whenever existing fields in the plugin
* data types below have to be changed or reordered. It should stay the same if fields
* are only appended, as this doesn't affect existing fields. */
-static const gint abi_version = 23;
+static const gint abi_version = 22;
/** This performs runtime checks that try to ensure:
* 1. Geany ABI data types are compatible with this plugin.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2394
http://geany.svn.sourceforge.net/geany/?rev=2394&view=rev
Author: ntrel
Date: 2008-03-24 06:30:09 -0700 (Mon, 24 Mar 2008)
Log Message:
-----------
Add Doxyfile, reference to svn:ignore.
Property Changed:
----------------
trunk/doc/
Property changes on: trunk/doc
___________________________________________________________________
Name: svn:ignore
- Makefile
Makefile.in
*.pdf
geany.1
+ Makefile
Makefile.in
*.pdf
geany.1
Doxyfile
reference
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2393
http://geany.svn.sourceforge.net/geany/?rev=2393&view=rev
Author: ntrel
Date: 2008-03-24 06:23:01 -0700 (Mon, 24 Mar 2008)
Log Message:
-----------
Fix comparison always true warning, use doc_array->len instead of number of notebook tabs.
Modified Paths:
--------------
trunk/src/ui_utils.c
Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c 2008-03-24 13:09:29 UTC (rev 2392)
+++ trunk/src/ui_utils.c 2008-03-24 13:23:01 UTC (rev 2393)
@@ -534,11 +534,11 @@
gtk_widget_set_sensitive(ui_widgets.save_buttons[1], enable);
/* save all menu item and tool button */
- for (i = 0; i < (guint) gtk_notebook_get_n_pages(GTK_NOTEBOOK(app->notebook)); i++)
+ for (i = 0; i < doc_array->len; i++)
{
/* check whether there are files where changes were made and if there are some,
* we need the save all button / item */
- if (DOC_IDX_VALID(i) && doc_list[i].changed)
+ if (doc_list[i].is_valid && doc_list[i].changed)
{
dirty_tabs = TRUE;
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.