Nick Treleaven
2c1a9171a0
Parse VHDL signals.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-24 16:27:37 +00:00
Enrico Tröger
97c43a05d3
Remove duplicate regular expression for parsing classes.
...
Fix and improve parsing of constants (patch by Harold Aling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 20:42:30 +00:00
Enrico Tröger
4132fae872
Improve parsing of sections and chapters by ignoring shortnames like \section[shortname]{label} ( closes #2890477 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-22 23:51:59 +00:00
Nick Treleaven
df881b0f0d
Separate DKinds from CKinds.
...
Don't generate macro tags for D, Java.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-16 12:36:38 +00:00
Nick Treleaven
a13f91e770
Make TagManager Assert statements cause g_warning on failure.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 12:39:36 +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
Nick Treleaven
ad069865cc
D doesn't have the namespace keyword.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:48:14 +00:00
Nick Treleaven
8dbca1f107
Remove duplicate keyword entry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:45:02 +00:00
Nick Treleaven
a83c65b0bc
Fix parsing Perl format statements ("other" type doesn't seem to work).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:43:58 +00:00
Nick Treleaven
9de2456168
Fix Geany segfault with constant tags ( #2895168 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 17:49:24 +00:00
Nick Treleaven
8d02000e96
Fix parsing some Java code (e.g. filetypes.java) after r4407.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-07 12:41:41 +00:00
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
6e873a5bd0
Fix broken build on Windows because of a typo (patch by Timothy Boronczyk, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 18:32:52 +00:00
Nick Treleaven
68657d327b
Add filetype "tag_parser" key so custom filetypes can use an existing
...
tag parser.
Add tm_source_file_get_named_lang().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:24:40 +00:00
Nick Treleaven
e8d7322871
Change Perl tag parser to ctags SVN r601. This removes support for
...
buggy local/my/our but it parses constant/format/labels and should
be less buggy overall (closes #2861232 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4261 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 11:07:10 +00:00
Enrico Tröger
5974fe3b63
Merge recent changes from the CTags project to further improve PHP symbol parsing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 19:06:48 +00:00
Enrico Tröger
b84a64934d
Add new filetype: Abc (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 18:46:56 +00:00
Nick Treleaven
a7e5fb3332
Fix multi-byte character constant comparison.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 11:50:06 +00:00
Enrico Tröger
6a73751aba
Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 20:57:42 +00:00
Enrico Tröger
dfe641a774
Remove trailing spaces (patch by André Hentschel, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 16:49:38 +00:00
Enrico Tröger
43cd2946f4
Don't parse comments after import statements and other tags ( closes #2838938 , patch by Huandari Lopez, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 21:33:04 +00:00
Enrico Tröger
09b0b033ff
Improve parsing of PHP functions by requiring a valid modifier or whitespace before the 'function' keyword to ignore some false positives like function tags inside comments (patch by Harold Aling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 21:23:14 +00:00
Nick Treleaven
5e55af41fc
Add Markdown filetype (patch by Jon Strait, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:29:53 +00:00
Nick Treleaven
746a8d5834
Show relative paths in diff filename tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:57:12 +00:00
Enrico Tröger
496d100b13
Fix wrong parsing of complex expressions in the Lua parser.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:17:32 +00:00
Enrico Tröger
355f8ef2b5
Improve parsing of Tcl files (parsing new Tcl8.6 style classes, methods and namespaces).
...
Patch by Witek Mozga, thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-28 10:42:34 +00:00
Enrico Tröger
c4e13a2833
Rename shadowed variable name (sync with function definition).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-21 21:19:43 +00:00
Enrico Tröger
4e355f868e
Strip trailing spaces from "Key" tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:51:47 +00:00
Nick Treleaven
72b7390e6c
Fix type definitions being parsed as functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 12:21:29 +00:00
Enrico Tröger
2e0a48e9a4
Fix doxygen warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 20:36:21 +00:00
Enrico Tröger
cbe71f145e
Fix wrongly set return values for procedures ( closes #2803945 .
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3853 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 18:42:13 +00:00
Nick Treleaven
6eef573a0b
Don't include tm_workspace_find_scope_members() in the plugin API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3851 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 15:14:22 +00:00
Nick Treleaven
380cb1fc6b
Autocomplete scoped fields like struct members when typing '.' (and
...
also '->' or '::' in C/C++).
Save all tag types for C/C++ when generating a global tags file, so
we can use autocompletion for structs also.
Merge tm_workspace_find_scope_members(),
tm_workspace_find_namespace_members() (currently not built) from
Anjuta 2.24.1 tagmanager.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-10 12:36:13 +00:00
Enrico Tröger
dcc89a6f61
Parse Pascal calltips ( closes #2802640 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3849 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-09 21:02:46 +00:00
Nick Treleaven
34a67a9269
Fix grouping functions/classes under a nested function.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 15:41:24 +00:00
Nick Treleaven
5acdfaf4e0
Parse Python calltips.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 15:38:04 +00:00
Enrico Tröger
bf179fa14d
Parse Python import statements to get symbol completion for the imported module names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 20:17:21 +00:00
Enrico Tröger
08e83ce4e1
Backport change from CTags SVN to keep the parser more in sync:
...
Add support for Cython constructs to the Python parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 17:16:39 +00:00
Enrico Tröger
7631a8487e
Fix missing symbols for variables when an equal sign is used in a comment on the same line as the variable declaration.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 15:45:54 +00:00
Nick Treleaven
7b53cf05aa
Fix prefix for 2 nesting level functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 15:16:23 +00:00
Nick Treleaven
76a366902c
Use nestingLevelsPush() in addNestingLevel().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 15:11:54 +00:00
Nick Treleaven
14653b1ba2
Remove NestingLevel::is_class field, use ::type instead.
...
Move addNestingLevel() back to python.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 14:59:29 +00:00
Nick Treleaven
58b5c053bc
Add reStructuredText scope information for tags (for symbol list
...
grouping).
Add nestingLevelsPush(), nestingLevelsPop(),
nestingLevelsGetCurrent().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:36:46 +00:00
Nick Treleaven
95f99f4034
Move NestingLevel code into a separate file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 14:15:00 +00:00
Enrico Tröger
4b79502943
Fix wrong parsing of string literals ( closes #2781264 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:31:21 +00:00
Enrico Tröger
61f89d5c25
Add a trivial symbol parser for NSIS files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:52:19 +00:00
Enrico Tröger
00bc23cec4
Backport recent changes from Scintilla CVS to add partial support for RFC2822 styled text using the Properties lexer.
...
Ignore leading whitespace for config files and RFC2822 text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-30 17:49:40 +00:00