Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Wed, 29 Jun 2016 15:44:56 UTC
Commit: b1267cc82cc271684f3d19b024469743aed93c7f
https://github.com/geany/geany/commit/b1267cc82cc271684f3d19b024469743aed93…
Log Message:
-----------
api: Annotate element type for TMSourceFile::tags_array
Modified Paths:
--------------
tagmanager/src/tm_source_file.h
Modified: tagmanager/src/tm_source_file.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -33,7 +33,7 @@ typedef struct TMSourceFile
TMParserType lang; /* Programming language used */
char *file_name; /**< Full file name (inc. path) */
char *short_name; /**< Just the name of the file (without the path) */
- GPtrArray *tags_array; /**< Sorted tag array obtained by parsing the object */
+ GPtrArray *tags_array; /**< Sorted tag array obtained by parsing the object. @elementtype{TMTag} */
} TMSourceFile;
GType tm_source_file_get_type(void);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Thomas Martitz <kugel(a)rockbox.org>
Committer: Thomas Martitz <kugel(a)rockbox.org>
Date: Tue, 28 Jun 2016 20:52:47 UTC
Commit: 659b277ef6861ea1b55e996e62ece24f9134a94b
https://github.com/geany/geany/commit/659b277ef6861ea1b55e996e62ece24f9134a…
Log Message:
-----------
api: annotate element types in the TMWorkspace arrays
This allows GI-based plugins to traverse/inspect the array and consequently
Geany loaded tags.
Modified Paths:
--------------
tagmanager/src/tm_workspace.h
Modified: tagmanager/src/tm_workspace.h
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -25,10 +25,10 @@ G_BEGIN_DECLS
**/
typedef struct TMWorkspace
{
- GPtrArray *global_tags; /**< Global tags loaded at startup */
- GPtrArray *source_files; /**< An array of TMSourceFile pointers */
- GPtrArray *tags_array; /**< Sorted tags from all source files
- (just pointers to source file tags, the tag objects are owned by the source files) */
+ GPtrArray *global_tags; /**< Global tags loaded at startup. @elementtype{TMTag} */
+ GPtrArray *source_files; /**< An array of TMSourceFile pointers. @elementtype{TMSourceFile} */
+ GPtrArray *tags_array; /**< Sorted tags from all source files
+ (just pointers to source file tags, the tag objects are owned by the source files). @elementtype{TMTag} */
GPtrArray *typename_array; /* Typename tags for syntax highlighting (pointers owned by source files) */
GPtrArray *global_typename_array; /* Like above for global tags */
} TMWorkspace;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Thomas Martitz <kugel(a)rockbox.org>
Committer: Thomas Martitz <kugel(a)rockbox.org>
Date: Tue, 28 Jun 2016 20:51:08 UTC
Commit: 989af29bb14853f9eb793f8ea4a664188d447384
https://github.com/geany/geany/commit/989af29bb14853f9eb793f8ea4a664188d447…
Log Message:
-----------
api: formally put struct TMTag into the API
It's members are already documented so it's kind of half-exported anyway.
Since geanygendoc already uses the structure (and I plan on writing a plugin
that requires it too) just make it official.
Modified Paths:
--------------
tagmanager/src/tm_tag.h
Modified: tagmanager/src/tm_tag.h
5 lines changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -80,7 +80,10 @@ typedef enum
#define TAG_IMPL_VIRTUAL 'v' /**< Virtual implementation */
#define TAG_IMPL_UNKNOWN 'x' /**< Unknown implementation */
-typedef struct _TMTag
+/**
+ * The TMTag structure represents a single tag in the tag manager.
+ **/
+typedef struct TMTag
{
char *name; /**< Name of tag */
TMTagType type; /**< Tag Type */
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).