33 Commits

Author SHA1 Message Date
Nick Treleaven
ca11992f2b Remove unused JavaKinds enum values.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:35:07 +00:00
Nick Treleaven
faa7a2eb4f Quick hack to parse contents of D extern{} and version{} blocks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:24:31 +00:00
Nick Treleaven
3a45a2c70c Fix creating D interface tags properly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4407 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:14:00 +00:00
Nick Treleaven
8ba04696af Parse D functions with contracts (fixes #1885480).
Parse D alias statement like typedef.
(Ignore some more D keywords).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 13:03:28 +00:00
Enrico Tröger
7c5fd2c6ec Various improvements for parsing Vala files (mainly fix handling of function attributes, fix nested types handling, add some missing keywords, patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 19:00:45 +00:00
Nick Treleaven
f73a652e44 Fix nested namespaces not having parent namespace scope (fixes
#2141317).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-24 13:35:10 +00:00
Enrico Tröger
04e41e15a4 Fix indentation to consistently use tabs (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 19:37:02 +00:00
Nick Treleaven
0f5bce0172 Use separate keyword table for D (still missing keywords though).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 17:42:54 +00:00
Nick Treleaven
eafc95a59f Apply patch from Colomban Wendling to add Vala filetype (thanks).
Fix c.c tagLetter() bug.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 16:33:20 +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
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
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
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
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
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
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
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
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
Enrico Tröger
96b14c8c3d Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and remove compiler warning.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 15:42:37 +00:00
Enrico Tröger
6446997286 Use get.c and get.h from CTags SVN.
Merged CSharp parser support into from CTags SVN.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1634 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:22:07 +00:00
Nick Treleaven
c909127a56 Fix wrong D function return type after a class definition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 17:35:54 +00:00
Nick Treleaven
a0845459c1 Make anonymous typenames use anon_typename_n instead of
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-03 13:24:27 +00:00
Nick Treleaven
b869858a10 Backport improvements from Anjuta 2.02.
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 13:18:37 +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
Enrico Tröger
10c0780d4d Use "::" as context separator only for C++, otherwise use ".".
Detect module declarations in D and put them in the symbol list.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:11:05 +00:00
Enrico Tröger
010d6581e5 Added new filetypes Diff and Ferite.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-27 17:39:34 +00:00
Nick Treleaven
967dc341f2 Merged tagmanager/d.c with tagmanager/c.c, which also adds user function calltips support for D
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 19:57:02 +00:00
Nick Treleaven
6823698d0c Use guint for search_get_file_list length
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 12:26:15 +00:00
Enrico Tröger
8823f2dbe5 Some small tagmanager fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@492 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:48:27 +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