This is a rebased #2132. I once again updated ctags main to the latest version so it corresponds to current uctags master, then modified some parsers because in the last 1.5 years there have been some minor changes upstream which had to be addressed in the parsers. I also added the `geany_` prefix to all the parsers as I suggested somewhere so we can distinguish parsers which are not completely synced with the upstream version from parsers which can just be copied over from uctags. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2666
-- Commit Summary --
* Update to latest ctags main * Add patch to modify anonymous tag name * Move EXTERNAL_PARSER_LIST to the beginning of BuiltInParsers * Various parser updates to make them compatible with latest ctags main * Rename vStringItem to vStringChar * attachParserField now takes an extra parameter * useCork is now a bit field * Rename nestingLevelsGetNth() to nestingLevelsGetNthFromRoot() * Update cobol and flex parsers to use latest ctags main definitions * Update TM to use latest universal ctags * Update tests * Update HACKING * Add the geany_ prefix to all parser files
-- File Changes --
M HACKING (14) M configure.ac (3) M ctags/Makefile.am (167) A ctags/ctags_changes.patch (24) M ctags/main/args.c (6) R ctags/main/args_p.h (6) A ctags/main/cmd.c (22) A ctags/main/colprint.c (295) A ctags/main/colprint_p.h (37) D ctags/main/ctags-api.c (144) D ctags/main/ctags-api.h (57) M ctags/main/ctags.h (10) M ctags/main/debug.c (103) M ctags/main/debug.h (32) M ctags/main/dependency.c (353) M ctags/main/dependency.h (26) A ctags/main/dependency_p.h (58) M ctags/main/e_msoft.h (23) M ctags/main/entry.c (1190) M ctags/main/entry.h (207) A ctags/main/entry_p.h (77) A ctags/main/entry_private.c (38) M ctags/main/error.c (43) R ctags/main/error_p.h (0) M ctags/main/field.c (929) M ctags/main/field.h (82) A ctags/main/field_p.h (80) M ctags/main/flags.c (107) R ctags/main/flags_p.h (16) M ctags/main/fmt.c (76) R ctags/main/fmt_p.h (0) M ctags/main/gcc-attr.h (8) M ctags/main/general.h (24) A ctags/main/gvars.h (29) M ctags/main/htable.c (61) M ctags/main/htable.h (46) A ctags/main/interactive_p.h (29) M ctags/main/keyword.c (36) M ctags/main/keyword.h (20) A ctags/main/keyword_p.h (26) M ctags/main/kind.c (750) M ctags/main/kind.h (89) A ctags/main/kind_p.h (82) M ctags/main/lregex.c (2767) A ctags/main/lregex.h (47) A ctags/main/lregex_p.h (77) D ctags/main/lxcmd.c (1227) M ctags/main/lxpath.c (87) A ctags/main/lxpath.h (110) A ctags/main/lxpath_p.h (28) M ctags/main/main.c (321) D ctags/main/main.h (26) A ctags/main/main_p.h (22) A ctags/main/mbcs.c (113) M ctags/main/mbcs.h (29) A ctags/main/mbcs_p.h (32) A ctags/main/mini-geany.c (346) M ctags/main/mio.c (58) M ctags/main/mio.h (4) M ctags/main/nestlevel.c (38) M ctags/main/nestlevel.h (8) M ctags/main/numarray.c (17) M ctags/main/numarray.h (14) M ctags/main/objpool.c (8) M ctags/main/options.c (2330) M ctags/main/options.h (168) A ctags/main/options_p.h (198) D ctags/main/output-ctags.c (59) D ctags/main/output.h (50) A ctags/main/param.c (58) A ctags/main/param.h (38) A ctags/main/param_p.h (36) M ctags/main/parse.c (4695) M ctags/main/parse.h (260) A ctags/main/parse_p.h (177) A ctags/main/parsers_p.h (155) D ctags/main/pcoproc.c (296) D ctags/main/pcoproc.h (29) A ctags/main/portable-dirent_p.h (944) A ctags/main/portable-scandir.c (240) M ctags/main/promise.c (224) M ctags/main/promise.h (12) A ctags/main/promise_p.h (26) M ctags/main/ptag.c (204) R ctags/main/ptag_p.h (39) M ctags/main/ptrarray.c (9) M ctags/main/ptrarray.h (7) A ctags/main/rbtree.c (468) A ctags/main/rbtree.h (230) M ctags/main/read.c (691) M ctags/main/read.h (52) A ctags/main/read_p.h (81) M ctags/main/repoinfo.h (2) M ctags/main/routines.c (192) M ctags/main/routines.h (76) A ctags/main/routines_p.h (98) A ctags/main/seccomp.c (80) M ctags/main/selectors.c (228) M ctags/main/selectors.h (16) M ctags/main/sort.c (104) R ctags/main/sort_p.h (0) A ctags/main/stats.c (85) A ctags/main/stats_p.h (28) M ctags/main/strlist.c (46) M ctags/main/strlist.h (1) A ctags/main/subparser.h (68) A ctags/main/subparser_p.h (48) A ctags/main/tokeninfo.c (207) A ctags/main/tokeninfo.h (97) A ctags/main/trace.c (120) M ctags/main/trace.h (101) M ctags/main/trashbox.h (47) A ctags/main/trashbox_p.h (30) M ctags/main/types.h (28) A ctags/main/unwindi.c (358) A ctags/main/unwindi.h (84) M ctags/main/vstring.c (14) M ctags/main/vstring.h (23) A ctags/main/writer-ctags.c (434) A ctags/main/writer-etags.c (202) A ctags/main/writer-json.c (294) A ctags/main/writer-xref.c (106) A ctags/main/writer.c (0) A ctags/main/writer_p.h (0) M ctags/main/xtag.c (0) M ctags/main/xtag.h (0) A ctags/main/xtag_p.h (0) R ctags/parsers/geany_abaqus.c (0) R ctags/parsers/geany_abc.c (0) R ctags/parsers/geany_asciidoc.c (0) R ctags/parsers/geany_asm.c (0) R ctags/parsers/geany_basic.c (0) R ctags/parsers/geany_bibtex.c (0) R ctags/parsers/geany_c.c (0) R ctags/parsers/geany_cobol.c (0) R ctags/parsers/geany_css.c (0) R ctags/parsers/geany_diff.c (0) R ctags/parsers/geany_docbook.c (0) R ctags/parsers/geany_erlang.c (0) R ctags/parsers/geany_flex.c (0) R ctags/parsers/geany_fortran.c (0) R ctags/parsers/geany_go.c (0) R ctags/parsers/geany_haskell.c (0) R ctags/parsers/geany_haxe.c (0) R ctags/parsers/geany_html.c (0) R ctags/parsers/geany_iniconf.c (0) R ctags/parsers/geany_jscript.c (0) R ctags/parsers/geany_json.c (0) R ctags/parsers/geany_lcpp.c (0) R ctags/parsers/geany_lcpp.h (0) R ctags/parsers/geany_lua.c (0) R ctags/parsers/geany_make.c (0) R ctags/parsers/geany_markdown.c (0) R ctags/parsers/geany_matlab.c (0) R ctags/parsers/geany_nsis.c (0) R ctags/parsers/geany_objc.c (0) R ctags/parsers/geany_pascal.c (0) R ctags/parsers/geany_perl.c (0) R ctags/parsers/geany_php.c (0) R ctags/parsers/geany_powershell.c (0) R ctags/parsers/geany_python.c (0) R ctags/parsers/geany_r.c (0) R ctags/parsers/geany_rst.c (0) R ctags/parsers/geany_ruby.c (0) R ctags/parsers/geany_rust.c (0) R ctags/parsers/geany_sh.c (0) R ctags/parsers/geany_sql.c (0) R ctags/parsers/geany_tcl.c (0) R ctags/parsers/geany_tex.c (0) R ctags/parsers/geany_txt2tags.c (0) R ctags/parsers/geany_verilog.c (0) R ctags/parsers/geany_vhdl.c (0) M src/tagmanager/Makefile.am (0) A src/tagmanager/tm_ctags.c (0) A src/tagmanager/tm_ctags.h (0) M src/tagmanager/tm_parser.c (0) M src/tagmanager/tm_parser.h (0) R src/tagmanager/tm_parsers.h (0) M src/tagmanager/tm_source_file.c (0) M src/tagmanager/tm_source_file.h (0) M src/tagmanager/tm_tag.c (0) M src/tagmanager/tm_workspace.c (0) M tests/ctags/Package.pm.tags (0) M tests/ctags/bug1938565.sql.tags (0) M tests/ctags/random.sql.tags (0) M tests/ctags/refcurs.sql.tags (0)
-- Patch Links --
https://github.com/geany/geany/pull/2666.patch https://github.com/geany/geany/pull/2666.diff