296 Commits

Author SHA1 Message Date
Nick Treleaven
9c94b5b3a4 Parse PHP final functions (fixes #3111171).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:20:12 +00:00
Nick Treleaven
0582366a53 Parse Vala functions with contracts (#3080232).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-18 13:55:21 +00:00
Nick Treleaven
6a012dd73e Ignore D unittest blocks.
Parse D template functions with constraints.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5296 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-15 16:04:38 +00:00
Nick Treleaven
0007f904e6 Ignore D /+ +/ comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5295 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-15 12:17:22 +00:00
Nick Treleaven
2c54be9a18 Parse property, constructor, destructor as functions (patch by
pottersson, thanks - #2992167).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-05 14:44:00 +00:00
Nick Treleaven
72a1a9e7a0 Parse D function template names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 11:57:38 +00:00
Nick Treleaven
d840f86a9d Fix some 'possible' NULL pointer dereferences (based on patch by
Erik de Castro Lopo).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:03:18 +00:00
Nick Treleaven
ca74dd214c Remove NULL checks when calling g_free() (patch Erik de Castro
Lopo, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:21:05 +00:00
Nick Treleaven
4360b71fc7 Remove useless if statement.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:07:12 +00:00
Nick Treleaven
877f2e30bb Fix useless Assert.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:04:09 +00:00
Nick Treleaven
6478078ae0 Move useless assert.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 14:44:41 +00:00
Nick Treleaven
956b6cd8dd Fix possible NULL dereference.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 14:28:54 +00:00
Nick Treleaven
87ddff9707 Backport fix for possible infinite loop from CTags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 16:40:47 +00:00
Nick Treleaven
293ba9bee7 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 11:49:05 +00:00
Frank Lanitz
582e841e3f Change of description of tm_get_real_path(). Patch by Dimitar Zhekov. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-20 15:03:30 +00:00
Frank Lanitz
5f77252eef Fix a double free. (patch by Daniel Marjamaki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-07 17:43:47 +00:00
Enrico Tröger
f3c08e8c74 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 17:14:35 +00:00
Enrico Tröger
4049c77b61 Fix not closed FILE pointer on early exit (patch by Daniel Marjamaki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-03 11:28:44 +00:00
Enrico Tröger
b0abe6b381 Fix parsing of C++ classes contain attributes with bitfields (patch by Lex Trotman, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-30 17:48:08 +00:00
Enrico Tröger
88b6d076e5 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-30 17:47:54 +00:00
Enrico Tröger
be5d891f0e Pass G_LOG_DOMAIN to source files for better logging.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-25 19:49:49 +00:00
Nick Treleaven
92720c5d39 Fix invalid memory read (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4863 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-27 11:52:51 +00:00
Enrico Tröger
2eea747db2 Change eFree() to simply ignore NULL pointers instead of asserting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4857 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:42:24 +00:00
Enrico Tröger
60948e2ecc More fixes to prevent possible crashes by trying to free NULL pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:42:23 +00:00
Enrico Tröger
1464cdd44a Backport a fix from CTags SVN to prevent possible crashes by trying to free NULL pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:58 +00:00
Enrico Tröger
2f3aa8eb05 Use tm_source_file_set_tag_arglist() to set the argument list field of Python class tags to the argument list of their __init__() methods.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:49 +00:00
Enrico Tröger
1932d3fae9 Add tm_source_file_set_tag_arglist() to manually set the argument list of a tag.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4833 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:38 +00:00
Enrico Tröger
853356b305 Document missing argument
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:22 +00:00
Enrico Tröger
7eacc365f9 Fix wrong parsing of function arguments when those contain nested brackets (as reported by Harold Aling).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:32 +00:00
Enrico Tröger
5b8d8c676c Small cleanup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:22 +00:00
Enrico Tröger
c000431626 Another attempt to fix the PHP parser regexp for parsing functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:13 +00:00
Enrico Tröger
e5f287a4c5 Also parse numbered titles (closes #2984703).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:41 +00:00
Enrico Tröger
ccc57dbf7e Remove duplicate code from Txt2Tags parser.
Remove the title control characters ('=') when parsing titles.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:31 +00:00
Nick Treleaven
26f161c9d3 Apply patch from Colomban Wendling to parse Python lambda functions
(thanks) - modified to only parse toplevel or class member lambdas.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4768 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 13:39:18 +00:00
Enrico Tröger
26ea57b714 Improve PHP parser to parse also the argument lists of PHP functions (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 16:50:20 +00:00
Enrico Tröger
db6c8bcaa0 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 14:54:53 +00:00
Enrico Tröger
7ba4a81181 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Nick Treleaven
5f28284cb1 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 17:51:37 +00:00
Enrico Tröger
4f32cbbc0e Update partly outdated and wrong doc comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 13:38:45 +00:00
Nick Treleaven
6b6d4b882b Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-26 12:33:28 +00:00
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