SF.net SVN: geany:[3323] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Dec 5 16:29:32 UTC 2008


Revision: 3323
          http://geany.svn.sourceforge.net/geany/?rev=3323&view=rev
Author:   ntrel
Date:     2008-12-05 16:29:32 +0000 (Fri, 05 Dec 2008)

Log Message:
-----------
Add GeanyFunctions::p_msgwin to fix the prefix for generated macros.
Deprecate GeanyFunctions::p_msgwindow.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/plugindata.h
    trunk/src/plugins.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-12-05 12:34:20 UTC (rev 3322)
+++ trunk/ChangeLog	2008-12-05 16:29:32 UTC (rev 3323)
@@ -5,6 +5,9 @@
    plugins/geanyfunctions.h:
    Rename sci_cmd() to sci_send_command() to match the plugin API and
    fix the generated macro name.
+ * src/plugindata.h, src/plugins.c:
+   Add GeanyFunctions::p_msgwin to fix the prefix for generated macros.
+   Deprecate GeanyFunctions::p_msgwindow.
 
 
 2008-12-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h	2008-12-05 12:34:20 UTC (rev 3322)
+++ trunk/src/plugindata.h	2008-12-05 16:29:32 UTC (rev 3323)
@@ -45,7 +45,7 @@
 enum {
 	/** The Application Programming Interface (API) version, incremented
 	 * whenever any plugin data types are modified or appended to. */
-	GEANY_API_VERSION = 116,
+	GEANY_API_VERSION = 117,
 
 	/** The Application Binary Interface (ABI) version, incremented whenever
 	 * existing fields in the plugin data types have to be changed or reordered. */
@@ -207,7 +207,8 @@
 	/** @deprecated Use ui_lookup_widget() instead. */
 	struct SupportFuncs			*p_support;
 	struct DialogFuncs			*p_dialogs;			/**< See dialogs.h */
-	struct MsgWinFuncs			*p_msgwindow;		/**< See msgwindow.h */
+	/** @deprecated Use @ref GeanyFunctions::p_msgwin instead. */
+	struct MsgWinFuncs			*p_msgwindow;
 	struct EncodingFuncs		*p_encodings;		/**< See encodings.h */
 	struct KeybindingFuncs		*p_keybindings;		/**< See keybindings.h */
 	struct TagManagerFuncs		*p_tm;				/**< See tagmanager/include */
@@ -218,8 +219,8 @@
 	struct EditorFuncs        	*p_editor;			/**< See editor.h */
 	struct MainFuncs        	*p_main;			/**< See main.h */
 	struct PluginFuncs        	*p_plugin;			/**< See plugins.c */
-	/** See http://scintilla.org for the documentation. */
-	struct ScintillaFuncs		*p_scintilla;
+	struct ScintillaFuncs		*p_scintilla;		/**< See ScintillaFuncs */
+	struct MsgWinFuncs			*p_msgwin;			/**< See msgwindow.h */
 }
 GeanyFunctions;
 
@@ -255,7 +256,7 @@
 
 struct _ScintillaObject;
 
-/** See http://scintilla.org for the documentation. */
+/** See http://scintilla.org for the full documentation. */
 typedef struct ScintillaFuncs
 {
 	/** Send Scintilla a message. */

Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c	2008-12-05 12:34:20 UTC (rev 3322)
+++ trunk/src/plugins.c	2008-12-05 16:29:32 UTC (rev 3323)
@@ -306,7 +306,8 @@
 	&editor_funcs,
 	&main_funcs,
 	&plugin_funcs,
-	&scintilla_funcs
+	&scintilla_funcs,
+	&msgwin_funcs
 };
 
 static GeanyData geany_data;


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