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
12
ChangeLog
12
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>
|
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
|
||||||
@ -16,7 +26,7 @@
|
|||||||
2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
|
2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
|
||||||
|
|
||||||
* src/project.h, src/project.c
|
* 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.
|
command.
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @file build.h Interface to the Build menu functionality. */
|
/* * @file build.h Interface to the Build menu functionality. */
|
||||||
|
|
||||||
#ifndef GEANY_BUILD_H
|
#ifndef GEANY_BUILD_H
|
||||||
#define GEANY_BUILD_H 1
|
#define GEANY_BUILD_H 1
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
typedef enum
|
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_PHP,
|
||||||
GEANY_FILETYPES_BASIC, /* FreeBasic */
|
GEANY_FILETYPES_BASIC, /* FreeBasic */
|
||||||
@ -115,19 +115,21 @@ 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;
|
||||||
GeanyBuildCommand *homefilecmds;
|
GeanyBuildCommand *homefilecmds;
|
||||||
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;
|
||||||
|
@ -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.
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user