Colomban Wendling
f120554364
Provide a GType for TMTag and use it
...
It is a boxed type but uses reference counting behind the scene. This
allow for example the tag store to make sure the tags it holds are
always valid.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5560 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-05 22:50:04 +00:00
Colomban Wendling
b99d06d47c
Make TMTag reference-counted
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5559 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-05 22:48:25 +00:00
Nick Treleaven
39366947d0
Fix using "other" tag type.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 19:05:51 +00:00
Enrico Tröger
38185ff65d
Don't let the tagmanager automatically reparse files if they seem to be changed on disk (affects all files in the current session, not the current one). This should speed up file saving a little bit, especially with remote files.
...
Remove now unnecessary calls to tm_workspace_update().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:27:01 +00:00
Enrico Tröger
e65d0f2362
Add a format specification in global tags files and implement an additional fallback if the specification is missing.
...
Adjust code and scripts which generate global tags files to add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3465 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 16:08:00 +00:00
Enrico Tröger
99860e187a
Add support for updating tags from a memory buffer (code merged from Anjuta).
...
This still doesn't work and is currently disabled. It would only work for a few filetypes like C, Fortran and JavaScript.
The current implementation is still buggy, e.g. function signature parsing is broken.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:37:17 +00:00
Enrico Tröger
c4145b7f1f
Add get_path_max() to get a sane value if PATH_MAX is not defined.
...
Change code where PATH_MAX was used unnecessarily.
Use GSlice API when building against GLib >= 2.10 (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:36:16 +00:00
Enrico Tröger
361a64c3fd
Change format of PHP tags file to internal tagmanager format since it is auto-generated and is read maybe a little bit faster.
...
Add auto-generated notice and timestamp at the beginning of the file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:44:00 +00:00
Enrico Tröger
b7bfb2743a
Replace all C++-style comments with usual C-like multi-line comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Enrico Tröger
47c1c7e0cc
Fix two more compiler warnings.
...
Use php.c and lregex.c from CTags SVN (closes #1795810 ).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 19:27:50 +00:00
Nick Treleaven
b14e5a7590
Parse arrays, const and pointers in C-like function return types
...
(and store in varType).
Fix some indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 11:55:59 +00:00
Nick Treleaven
4e0dd7fcca
Use the usual TM parser for all langTypes except pascal, php, latex when loading global tags files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:20:11 +00:00
Nick Treleaven
e3aceea275
Show up and down arrows when there are multiple calltip matches.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-13 11:42:25 +00:00
Nick Treleaven
8464538201
Separate alternative PHP/LaTeX global tags parser into
...
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 16:27:25 +00:00
Nick Treleaven
0e75efdd3c
Parse pointers in function return type for C-like files.
...
Show scope in calltips.
Made tm_tag_destroy() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:41:10 +00:00
Nick Treleaven
d0347a85c8
Fix missed matches in tm_tags_find().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:43:50 +00:00
Enrico Tröger
b3b50b4182
Fixed autocompletion for filetype C++.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 10:15:12 +00:00
Enrico Tröger
3606119da8
Fixed wrong line numbers for found tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@483 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:50:34 +00:00
Enrico Tröger
570793a6ef
Added global auto completion tags for PHP and LaTeX.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:42:56 +00:00
Enrico Tröger
6a7e86edf9
eliminated compiler(gcc4) warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@86 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-29 16:55:40 +00:00
Enrico Tröger
8cb2cf0997
Initial import
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00