Don't use ctags types inside Geany
commit00cb498ebcc6b73499b9c5d2991490f64a5c765e
authorJiří Techet <techet@gmail.com>
Sat, 13 Feb 2016 10:51:30 +0000 (13 11:51 +0100)
committerJiří Techet <techet@gmail.com>
Fri, 26 Feb 2016 00:10:00 +0000 (26 01:10 +0100)
tree36fcd6618961aa370b452e450221892fceade5c9
parentd1a5ceac424158218d585f8a34e527a537c17e5e
Don't use ctags types inside Geany

We should isolate ctags from Geany completely and use separate types. At
the moment langType is shared by both Geany and ctags. For Geany redefine
it as TMParserType (which was currently used as the name of the enum and
was unused) and use everywhere in Geany. At the same time convert some
ints to TMParserType where they denote the parser.

This is strictly speaking an API change but no plugin uses langType at the
moment so its renaming doesn't cause any problems.

The only remaining visible ctags type is tagEntryInfo - it is however
used only inside tagmanager (and can be later removed quite easily too
by slightly reorganizing TM source files).
src/filetypes.h
tagmanager/src/tm_parser.h
tagmanager/src/tm_source_file.c
tagmanager/src/tm_source_file.h
tagmanager/src/tm_tag.c
tagmanager/src/tm_tag.h
tagmanager/src/tm_workspace.c
tagmanager/src/tm_workspace.h