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.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4117 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2009-08-24 12:39:13 +00:00
parent 330e6aae6b
commit e02b7a3864
5 changed files with 25 additions and 11 deletions

View File

@ -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> 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.h, src/build.c, src/keybindings.c, src/filetypes.c * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c

View File

@ -115,6 +115,12 @@ struct GeanyFiletype
gchar *comment_open; gchar *comment_open;
gchar *comment_close; gchar *comment_close;
gboolean comment_use_indent; 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 *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 *ftdefcmds; /* filetype dependent defaults for non_ft commands */
GeanyBuildCommand *execcmds; GeanyBuildCommand *execcmds;
@ -122,12 +128,8 @@ struct GeanyFiletype
GeanyBuildCommand *homeexeccmds; GeanyBuildCommand *homeexeccmds;
GeanyBuildCommand *projfilecmds; GeanyBuildCommand *projfilecmds;
gint project_list_entry; gint project_list_entry;
GeanyFiletypeGroupID group;
gchar *error_regex_string;
gchar *projerror_regex_string; gchar *projerror_regex_string;
gchar *homeerror_regex_string; gchar *homeerror_regex_string;
struct GeanyFiletypePrivate *priv; /* must be last, append fields before this item */
}; };
extern GPtrArray *filetypes_array; extern GPtrArray *filetypes_array;

View File

@ -50,13 +50,13 @@
enum { enum {
/** The Application Programming Interface (API) version, incremented /** The Application Programming Interface (API) version, incremented
* whenever any plugin data types are modified or appended to. */ * 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 /** The Application Binary Interface (ABI) version, incremented whenever
* existing fields in the plugin data types have to be changed or reordered. */ * 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 /* This should usually stay the same if fields are only appended, assuming only pointers to
* structs and not structs themselves are declared by plugins. */ * 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. /** Check the plugin can be loaded by Geany.

View File

@ -39,9 +39,11 @@ typedef struct GeanyProject
* by a plugin. */ * by a plugin. */
gint type; gint type;
gchar **file_patterns; /**< Array of filename extension patterns. */ 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 */ 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; GeanyProject;