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:
parent
330e6aae6b
commit
e02b7a3864
10
ChangeLog
10
ChangeLog
@ -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
|
||||
|
@ -115,6 +115,12 @@ struct GeanyFiletype
|
||||
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;
|
||||
@ -122,12 +128,8 @@ struct GeanyFiletype
|
||||
GeanyBuildCommand *homeexeccmds;
|
||||
GeanyBuildCommand *projfilecmds;
|
||||
gint project_list_entry;
|
||||
GeanyFiletypeGroupID group;
|
||||
gchar *error_regex_string;
|
||||
gchar *projerror_regex_string;
|
||||
gchar *homeerror_regex_string;
|
||||
|
||||
struct GeanyFiletypePrivate *priv; /* must be last, append fields before this item */
|
||||
};
|
||||
|
||||
extern GPtrArray *filetypes_array;
|
||||
|
@ -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.
|
||||
|
@ -39,9 +39,11 @@ typedef struct GeanyProject
|
||||
* 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user