SF.net SVN: geany: [2395] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Mar 24 13:40:01 UTC 2008


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.



More information about the Commits mailing list