169 Commits

Author SHA1 Message Date
Nick Treleaven
6ce421f141 Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
Wendling, thanks; closes #2060961).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 12:44:54 +00:00
Enrico Tröger
b25c2d6248 Fix wrong parsing of keywords if they are not followed by a space (closes #2037728).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-05 08:54:02 +00:00
Enrico Tröger
ed016dc093 Split filetype Fortran into Fortran 77 and Fortran 90.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-14 18:27:20 +00:00
Nick Treleaven
d994c9f7e1 Fix infinite loop when parsing datatypes (fixes #2011356).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-07 11:09:23 +00:00
Enrico Tröger
bdac40d369 Fix a regression introduced in latest bug fixes and fix some indentation and comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 17:50:07 +00:00
Enrico Tröger
95c9b0e751 Use proper quoted multi-line string check from CTags SVN.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:37:18 +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
3b1b9fd6d2 Fix endless loop when there are two triple strings on one line inside a multiline string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:18:08 +00:00
Nick Treleaven
9ab442e146 Remove unnecessary vStringClear(name) calls after using the name
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 12:16:27 +00:00
Enrico Tröger
680b133ea6 Remove useless check (left-over from testing).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:17:38 +00:00
Nick Treleaven
86b48c20fc Refactor using findVariable().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:12:19 +00:00
Nick Treleaven
8d71676280 Fix variable names sometimes having leading junk characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 15:03:53 +00:00
Enrico Tröger
e816713cb2 Remove duplicate.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 15:15:30 +00:00
Enrico Tröger
454a871de2 Use Python from CTags SVN.
Adapt variable parsing code from the old parser code.
Fix three bugs (see CTags bugs #1988026, 1988027 and 1988130).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:04:01 +00:00
Enrico Tröger
d56ef68ae4 Remove check for unistd.h, assume it is available (already often used without checking).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 16:52:39 +00:00
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