Enrico Tröger
5ec3c087f3
Fix parsing when heading tags contain attributes (part of #1896068 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-04 17:39:38 +00:00
Enrico Tröger
ade798f9f2
Add configure option --enable-gnu-regex to implicitly build the included GNU regex library (in case the host system doesn't provide a usable regex library).
...
Rename tagmanger/include/regex.h in tagmanager/include/gnuregex.h to avoid unintended inclusion in source files (this fixes the OpenSolaris crashes).
Don't use GNU regex specific regex_t::buffer element to build also without this extension (e.g. on OpenSolaris).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-27 14:33:40 +00:00
Enrico Tröger
6ca83a8754
Set ExecutableName to "geany" to prevent possible crashes on Windows and maybe other systems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-25 16:14:29 +00:00
Enrico Tröger
4fb3cb5031
Fix wrong regular expression.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-22 13:36:20 +00:00
Enrico Tröger
e2a6426e0d
Make property tags be recognised in the symbol list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-19 07:56:56 +00:00
Enrico Tröger
3daa3011e4
Improve Makefile parser for better parsing of targets (from CTags' patches tracker, for reference this is patch v3).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-17 18:06:31 +00:00
Enrico Tröger
2652667577
Add DEBUG flag to all Windows makefiles to make it possible to build with debug symbols and without optimizations also on Windows (using make DEBUG=1).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-15 15:11:05 +00:00
Nick Treleaven
20c4c880fe
Fix 2 doc typos.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 13:19:39 +00:00
Enrico Tröger
945a41548f
Update Makefile parser from CTags SVN and improve it to detect targets in Makefiles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 15:25:42 +00:00
Enrico Tröger
30528921d3
Update TCL parser from CTags SVN which adds new symbol types for
...
classes and methods (closes #1918748 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 16:47:17 +00:00
Enrico Tröger
80cec8e6ba
Install header files and add a pkg-config file for external plugins.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2333 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 12:15:26 +00:00
Enrico Tröger
c0990b5e71
Add HTML parser to get h1, h2, h3 symbols as well as link anchors and JavaScript functions ( closes #1896068 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-09 18:50:41 +00:00
Enrico Tröger
9dd67b2669
Backport js.c and asm.c from CTags SVN.
...
Fix Assembler tagmanager support and add appropriate symbol types.
Fix JavaScript parse bug (#1895242 ).
Change default return value of lookupKeyword() in keyword.c as it was done in CTags SVN(r339) and adjust affected parsers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-05 18:18:19 +00:00
Enrico Tröger
463879872c
Adjust available symbol types between Fortran parser and symbols.c to make some more of the possbile symbol types available.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2304 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 20:16:52 +00:00
Enrico Tröger
16c1de3f1c
Replace unsigned long in guint64 and use int instead of off_t (patch by Daniel Richard G., thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-28 16:06:04 +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
Nick Treleaven
0421b6a95f
Fix unused function warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-25 16:37:46 +00:00
Enrico Tröger
bcfd7746e1
Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:18:36 +00:00
Nick Treleaven
cbcfff076c
Use extern for c_tags_ignore declaration to avoid allocating a
...
second copy of it (patch by Daniel Richard G., thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2272 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 12:30:52 +00:00
Enrico Tröger
85f73129c0
Apply patch from Daniel Richard G. to fix to fix several compiler warnings, C89 violations and minor code problems (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 11:24:23 +00:00
Enrico Tröger
e685ab8fa5
Add support for reading tags(only for C/C++) from a file which should be ignored while parsing the file (ctags command line option -I).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-18 19:51:34 +00:00
Enrico Tröger
85af47b85a
Fix parsing bug when there is text after the end of a multi line comment ( closes #1894084 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2258 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-15 16:31:46 +00:00
Nick Treleaven
264a7e449e
Fix parsing D constructor tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:54:09 +00:00
Nick Treleaven
ff9c673ed2
Apply patch from Yura Siamashka to speed up removing several
...
workspace object's tags without updating the workspace until
necessary (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 17:09:23 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Nick Treleaven
42889d65ad
Ignore D import statements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:17:25 +00:00
Enrico Tröger
f313105d71
Don't parse in comments and fix wrong creation of tags including non-tag characters(e.g. '=' sign).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:20:22 +00:00
Nick Treleaven
3bd9e22309
Fix parsing correct D class name when inheriting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:32:06 +00:00
Nick Treleaven
091a059b8a
Remove unused pointerOrder code from C parser, as it's not necessary
...
since r1952, and not in the standard ctags code. Leaving it in the
TagManager code however for backwards compatibility with global tag
files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:05:56 +00:00
Nick Treleaven
ebcbeafdf8
Fix parsing C arrays (broken in r1952, oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2107 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 13:16:23 +00:00
Enrico Tröger
c380fb75b4
Set svn:keywords and svn:eol-style for all files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-04 15:44:45 +00:00
Nick Treleaven
d1534b9c1d
Remove unused config_dir argument for tm_get_workspace().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-30 17:34:01 +00:00
Enrico Tröger
e2112fac0c
Use Ruby parser from CTags SVN and add/fix symbol list sections.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 18:24:06 +00:00
Enrico Tröger
889a1e6d03
Use FreeBasic specific sections in symbol list.
...
Use Basic parser from CTags SVN and improve the parser for better handling of dim and const keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-23 16:05:53 +00:00
Enrico Tröger
e6fb5a8ac8
Fix file type detection for parsers using regexp code with non-standard file type extensions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-19 14:34:02 +00:00
Enrico Tröger
92a7cff5e6
Add missing symbol types: Interface and Constants for PHP.
...
Disable use of non-ASCII characters for PHP parser, it caused problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 17:17:59 +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
Enrico Tröger
dbbb3d5fe9
Oops, forget to remove this.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:48:20 +00:00
Enrico Tröger
0f74a88165
Don't create tagmanager status file, seems to be unnecessary (needs testing).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:57:38 +00:00
Enrico Tröger
cd77937561
Use g_unlink() instead of unlink().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 16:31:47 +00:00
Enrico Tröger
991a6c7811
Create tagmanager status file in configuration directory, not in a guessed temporary directory to ensure having write access. Fix crashes if status file can't be written.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 11:49:29 +00:00
Enrico Tröger
6b94181466
Apply most of the patch from #1794250 (thanks):
...
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 14:48:19 +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
4ef7e0c7eb
Show parent class for inner classes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-01 10:52:56 +00:00
Nick Treleaven
74727e051d
Fix a possible segfault with vStringPut() - backported from CTags
...
5.7. This appears to fix a segfault on Windows 2000 when loading
tagmanager/c.c.
Also adds vStringChop() - chop last character from string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-28 17:06:09 +00:00
Nick Treleaven
f0c92858b1
Show Haxe enum types in the symbol list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 15:46:41 +00:00
Nick Treleaven
67c2afa93a
Apply code from blackdog to parse Haxe typedef tags (thanks).
...
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 15:28:27 +00:00
Nick Treleaven
92b94aed5f
Fix parsing C macro argument list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-17 14:50:55 +00:00
Nick Treleaven
b1b36a9bf3
Don't use double if statements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 16:49:17 +00:00
Nick Treleaven
2e454f7af5
Add reStructuredText filetype and parser.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00