16 Commits

Author SHA1 Message Date
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