[geany/geany] c6294e: Grab uctags ctags.h and add repoinfo.c/h
Jiří Techet
git-noreply at xxxxx
Mon Dec 17 21:05:35 UTC 2018
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Sat, 08 Oct 2016 12:12:45 UTC
Commit: c6294e37c9e511228bd31819548f809537980156
https://github.com/geany/geany/commit/c6294e37c9e511228bd31819548f809537980156
Log Message:
-----------
Grab uctags ctags.h and add repoinfo.c/h
Modified Paths:
--------------
ctags/Makefile.am
ctags/main/ctags.h
ctags/main/entry.c
ctags/main/repoinfo.c
ctags/main/repoinfo.h
Modified: ctags/Makefile.am
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -83,6 +83,8 @@ libctags_la_SOURCES = \
main/ptrarray.h \
main/read.c \
main/read.h \
+ main/repoinfo.c \
+ main/repoinfo.h \
main/routines.c \
main/routines.h \
main/sort.c \
Modified: ctags/main/ctags.h
21 lines changed, 15 insertions(+), 6 deletions(-)
===================================================================
@@ -14,12 +14,21 @@
/*
* MACROS
*/
-#ifndef PROGRAM_VERSION
-# define PROGRAM_VERSION "5.0.1"
+#if defined (HAVE_CONFIG_H)
+# define PROGRAM_VERSION PACKAGE_VERSION
+#else
+# define PROGRAM_VERSION "0.0.0"
#endif
-#define PROGRAM_NAME "Exuberant Ctags"
-#define PROGRAM_URL "http://ctags.sourceforge.net"
-#define AUTHOR_NAME "Darren Hiebert"
-#define AUTHOR_EMAIL "darren at hiebert.com"
+#define PROGRAM_NAME "Universal Ctags"
+#define PROGRAM_URL "https://ctags.io/"
+#define PROGRAM_COPYRIGHT "Copyright (C) 2015"
+#define AUTHOR_NAME "Universal Ctags Team"
+
+/*
+ * Constant
+ */
+extern const char* ctags_repoinfo;
+#define CTAGS_FIELD_PREFIX "UCTAGS"
+
#endif /* CTAGS_MAIN_CTAGS_H */
Modified: ctags/main/entry.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -149,7 +149,7 @@ static void addPseudoTags (void)
writePseudoTag ("TAG_FILE_FORMAT", format, formatComment);
writePseudoTag ("TAG_FILE_SORTED", Option.sorted ? "1":"0",
"0=unsorted, 1=sorted");
- writePseudoTag ("TAG_PROGRAM_AUTHOR", AUTHOR_NAME, AUTHOR_EMAIL);
+ writePseudoTag ("TAG_PROGRAM_AUTHOR", AUTHOR_NAME, "");
writePseudoTag ("TAG_PROGRAM_NAME", PROGRAM_NAME, "");
writePseudoTag ("TAG_PROGRAM_URL", PROGRAM_URL, "official site");
writePseudoTag ("TAG_PROGRAM_VERSION", PROGRAM_VERSION, "");
Modified: ctags/main/repoinfo.c
12 lines changed, 12 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,12 @@
+#include "general.h"
+#include "ctags.h"
+
+#ifdef HAVE_REPOINFO_H
+#include "main/repoinfo.h"
+#endif
+
+#ifndef CTAGS_REPOINFO
+#define CTAGS_REPOINFO ((char*)0)
+#endif
+
+const char* ctags_repoinfo = CTAGS_REPOINFO;
Modified: ctags/main/repoinfo.h
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1 @@
+#define CTAGS_REPOINFO "ff6491f"
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list