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>
* 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.

View File

@ -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

View File

@ -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 @@ 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;
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;

View File

@ -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.

View File

@ -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;