SF.net SVN: geany:[4117] branches/build-system

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Aug 24 12:39:13 UTC 2009


Revision: 4117
          http://geany.svn.sourceforge.net/geany/?rev=4117&view=rev
Author:   ntrel
Date:     2009-08-24 12:39:13 +0000 (Mon, 24 Aug 2009)

Log Message:
-----------
Don't generate build.h API docs until everything is approved and
functions are actually in geany_functions.
Move new GeanyFiletype and GeanyProject field(s) to end of struct
as they may be changed or made private later.
Break ABI for fields removed.

Modified Paths:
--------------
    branches/build-system/ChangeLog
    branches/build-system/src/build.h
    branches/build-system/src/filetypes.h
    branches/build-system/src/plugindata.h
    branches/build-system/src/project.h

Modified: branches/build-system/ChangeLog
===================================================================
--- branches/build-system/ChangeLog	2009-08-24 12:00:26 UTC (rev 4116)
+++ branches/build-system/ChangeLog	2009-08-24 12:39:13 UTC (rev 4117)
@@ -1,3 +1,13 @@
+2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
+   Don't generate build.h API docs until everything is approved and
+   functions are actually in geany_functions.
+   Move new GeanyFiletype and GeanyProject field(s) to end of struct
+   as they may be changed or made private later.
+   Break ABI for fields removed.
+
+
 2009-07-30  Lex Trotman  <elextr(at)gmail(dot)com>
 
  * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
@@ -16,7 +26,7 @@
 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
 
  * src/project.h, src/project.c
-   Removed unused project_get_make_dir function, this is now per 
+   Removed unused project_get_make_dir function, this is now per
    command.
 
 

Modified: branches/build-system/src/build.h
===================================================================
--- branches/build-system/src/build.h	2009-08-24 12:00:26 UTC (rev 4116)
+++ branches/build-system/src/build.h	2009-08-24 12:39:13 UTC (rev 4117)
@@ -21,7 +21,7 @@
  * $Id$
  */
 
-/** @file build.h Interface to the Build menu functionality. */
+/* * @file build.h Interface to the Build menu functionality. */
 
 #ifndef GEANY_BUILD_H
 #define GEANY_BUILD_H 1

Modified: branches/build-system/src/filetypes.h
===================================================================
--- branches/build-system/src/filetypes.h	2009-08-24 12:00:26 UTC (rev 4116)
+++ branches/build-system/src/filetypes.h	2009-08-24 12:39:13 UTC (rev 4117)
@@ -32,7 +32,7 @@
 
 typedef enum
 {
-	GEANY_FILETYPES_NONE = 0,	/* first filetype is always None & must be 0*/
+	GEANY_FILETYPES_NONE = 0,	/* first filetype is always None & must be 0 */
 
 	GEANY_FILETYPES_PHP,
 	GEANY_FILETYPES_BASIC,	/* FreeBasic */
@@ -115,19 +115,21 @@
 	gchar			 *comment_open;
 	gchar			 *comment_close;
 	gboolean		  comment_use_indent;
+	GeanyFiletypeGroupID group;
+	gchar			 *error_regex_string;
+
+	struct GeanyFiletypePrivate	*priv;	/* must be last, append fields before this item */
+
+	/* Do not use following fields in plugins */
 	GeanyBuildCommand *filecmds;	/* these need to be visible since used in build.c so not in private part */
 	GeanyBuildCommand *ftdefcmds;	/* filetype dependent defaults for non_ft commands */
 	GeanyBuildCommand *execcmds;
 	GeanyBuildCommand *homefilecmds;
 	GeanyBuildCommand *homeexeccmds;
 	GeanyBuildCommand *projfilecmds;
-	gint			   project_list_entry;
-	GeanyFiletypeGroupID	group;
-	gchar			 *error_regex_string;
+	gint			 project_list_entry;
 	gchar			 *projerror_regex_string;
 	gchar			 *homeerror_regex_string;
-
-	struct GeanyFiletypePrivate	*priv;	/* must be last, append fields before this item */
 };
 
 extern GPtrArray *filetypes_array;

Modified: branches/build-system/src/plugindata.h
===================================================================
--- branches/build-system/src/plugindata.h	2009-08-24 12:00:26 UTC (rev 4116)
+++ branches/build-system/src/plugindata.h	2009-08-24 12:39:13 UTC (rev 4117)
@@ -50,13 +50,13 @@
 enum {
 	/** The Application Programming Interface (API) version, incremented
 	 * whenever any plugin data types are modified or appended to. */
-	GEANY_API_VERSION = 151,
+	GEANY_API_VERSION = 152,
 
 	/** The Application Binary Interface (ABI) version, incremented whenever
 	 * existing fields in the plugin data types have to be changed or reordered. */
 	/* This should usually stay the same if fields are only appended, assuming only pointers to
 	 * structs and not structs themselves are declared by plugins. */
-	GEANY_ABI_VERSION = 64
+	GEANY_ABI_VERSION = 65
 };
 
 /** Check the plugin can be loaded by Geany.

Modified: branches/build-system/src/project.h
===================================================================
--- branches/build-system/src/project.h	2009-08-24 12:00:26 UTC (rev 4116)
+++ branches/build-system/src/project.h	2009-08-24 12:39:13 UTC (rev 4117)
@@ -39,9 +39,11 @@
 	 * by a plugin. */
 	gint type;
 	gchar **file_patterns;	/**< Array of filename extension patterns. */
-	GPtrArray *build_filetypes_list; /**< Project has custom filetype builds for these. */
 
 	struct GeanyProjectPrivate	*priv;	/* must be last, append fields before this item */
+
+	/* Do not use following fields in plugins */
+	GPtrArray *build_filetypes_list; /* *< Project has custom filetype builds for these. */
 }
 GeanyProject;
 


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