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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
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
|
023a60cda5
|
Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1773 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2007-08-07 12:36:03 +00:00 |
|
Enrico Tröger
|
baf9c6988e
|
Just changed a comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1212 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2007-01-20 15:16:26 +00:00 |
|
Enrico Tröger
|
82b94170ca
|
Improved Python parser to support nested classes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@867 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2006-10-06 22:13:24 +00:00 |
|
Enrico Tröger
|
e52b0bc822
|
Fixed wrong classification of local functions as methods(thanks to Sebastian Koch).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@696 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2006-08-11 18:01:02 +00:00 |
|
Enrico Tröger
|
10dfa4f7ab
|
added code from anjuta to parse methods and functions separately
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@317 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2006-05-10 19:52:42 +00:00 |
|
Enrico Tröger
|
65ff7df13b
|
fixed wrong identification of keyword class in ''' comments
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@315 ea778897-0a13-0410-b9d1-a72fbfd435f5
|
2006-05-10 18:12:12 +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 |
|