Commits on Jan 19, 2014
Commits on Dec 16, 2013
  1. Fixed a bug in the way package names are parsed.

    If package keyword and the package names were on separate lines, the
    parser would read past the end of the line.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@807 c5d04d22-be80-434c-894e-aa346cc9e8e8
    perlguy0 committed Dec 16, 2013
  2. Optimized function identifying Perl POD words.

    This function no longer allocates memory and no unnecessary comparisons
    are performed.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@806 c5d04d22-be80-434c-894e-aa346cc9e8e8
    perlguy0 committed Dec 16, 2013
  3. Support Perl constants declared via a hash reference.

    Parse constants declared via hash reference, like this:
        use constant {
            A => 1,
            B => 2,
        };
    The approach we take is simplistic, but it covers the vast majority of
    cases well.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@805 c5d04d22-be80-434c-894e-aa346cc9e8e8
    perlguy0 committed Dec 16, 2013
Commits on Dec 16, 2012
  1. Removed assignment no longer required

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@804 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Dec 16, 2012
  2. Removed BOM from file and changed encoding to latin1

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@803 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Dec 16, 2012
  3. Removed duplicate test case

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@802 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Dec 16, 2012
Commits on Dec 4, 2012
  1. Added additional test files

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@801 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Dec 4, 2012
  2. Updated additional changes to jscript.c and test files from Columban.

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@800 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Dec 4, 2012
Commits on Nov 7, 2012
  1. Fixed compiler warnings

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@799 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Nov 7, 2012
  2. Parsing javascript quotes like this:

          "('adding '+a+' and ' +b);\    // separate string using "\"
    
    Starts with a " and has a " at the end of the line, though that is part of a
    comment and I assume the \ after the ; means it is a line continuation
    indicator and the rest of the line should be ignored.  So, I have updated
    parseString() to do just that.     
    
    This correctly parses:
        Test\jsFunc_tutorial.js
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@798 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Nov 7, 2012
  3. Another of changes to the Javascript parser courtesy of Columban Wend…

    …ling.
    
            Fix a questionable use of the "const" type qualifier resulting
            mostly in improper lines numbers with some parsers (seen in the
            JavaScript parser).  Details in the patch, but basically the
            compilers may "improperly" optimize the content of the File
            global (seen with GCC and CLang when optimizing).
    
    
            Set the tag's scope rather than including it in the tag name.
            (Geany bug #3570192 [3])
    
    
            Just an optimization actually -- but also somewhat works around
            what 0002 above properly fixes: less calls means less room for
            the values to be improperly cached.
    
            
            Patch from an user, fixes generation of function tags inside
            methods.  (Geany bug #3571233 [4]).
    
            Fix for unbraced if/else, and adds more tests to 1880687.js
            (Geany bug #3568542 [5]).
    
            Just to make the parseJfFile() code a little simpler.
    
            Fix findCmdTerm() when it encounters an open curly.
    
            Fix some more unterminated statements problems, still in
            1880687.js.
    
            Lowercase "object" isn't actually a JavaScript keyword.
            (Geany bug #3036476 [6])
    
            Properly handle properties values.
            (Geany bug #3470609 [7])
    
            Generate class tag for variables for which we generated
            children tags.
    
    	This one includes the tests for
    	0005-JavaScript-Fix-recognizing-functions-inside-methods.patch
    	and also fixes the scope of the tags this patch added -- proof
    	that writing test cases is indeed better than simply testing
    	against existing code :)
    
    
    NOTE: This following tests are broken with these changes.
        Test\jsFunc_tutorial.js
             D4 function breaks the parser.
    
        Test\simple.js
            var invalidInnerFunction = function(a,b) {}
            A function tag was generated for this tag.
    
            Actually there are quite a few differences with
            simple.js, I am not certain whether the changes
            are correct or not.  My javascript knowledge is 
            not that complete.
    
    
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@797 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Nov 7, 2012
Commits on Nov 6, 2012
  1. Missed a call to vStringDelete in makeJsTag.

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@796 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Nov 6, 2012
Commits on Oct 25, 2012
  1. Handling let rec .. = ... and ... declarations at top level.

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@795 c5d04d22-be80-434c-894e-aa346cc9e8e8
    vberthoux committed Oct 25, 2012
Commits on Oct 24, 2012
  1. Removed following warning.

    jscript.c: In function ‘parseStatement’:
    jscript.c:1053:10: warning: variable ‘is_prototype’ set but not used [-Wunused-but-set-variable]
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@794 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Oct 24, 2012
  2. Changed the javascript parser to set the tag's scope rather than incl…

    …uding it in the tag name.
    
    Patch from Colomban.
    
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@793 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Oct 24, 2012
  3. There is no need to set the token position information in the loop

    searching for the initial token character, simply do that when we
    finally found the token start.
    
    Just an optimization actually -- but less calls means less room for
    the values to be improperly cached.
    
    Patch from Colomban.
    
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@792 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Oct 24, 2012
  4. Changed the javascript parser to set the tag's scope rather than incl…

    …uding it in the tag name.
    
    Patch from Colomban.
    
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@791 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Oct 24, 2012
Commits on Oct 23, 2012
  1. Added 3548393.vim which was the source file for the trunk crash which I

    could not reproduce and I do not have valgrind.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@790 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Oct 23, 2012
Commits on Sep 17, 2012
  1. Applied a patch (with minor modification) by Jan Larres to not includ…

    …e tab characters in the signature of Python functions.
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@789 c5d04d22-be80-434c-894e-aa346cc9e8e8
    elias committed Sep 17, 2012
  2. Fix variable initialisation problem in objc parser, causing erroneous

    parsing of second file.
    
    Patch sent by Lars C. Hassing
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@788 c5d04d22-be80-434c-894e-aa346cc9e8e8
    vberthoux committed Sep 17, 2012
Commits on Jun 20, 2012
  1. Fixed up compiler warnings

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@787 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Jun 20, 2012
  2. Most Vim files have a .vim extension.

    A new deployment archive format was created with a .vba extension.
    These are Vimball Archives and must be parsed differently from
    regular Vim files.
    
    They follow this format:
        " Vimball Archiver comment
        UseVimball
        finish
        filename
        line count (n) for filename
        (n) lines
        filename
        line count (n) for filename
        (n) lines
        ...
    
    Parsing is easy, look for UseVimBall as the first line of uncommented code.
    Grab the filename, followed by the # of lines, skip those lines and 
    look for the next filename.
    
    Added a new Kind for these files:
    	{ TRUE,  'n', "filename", "vimball filename" },
    
    So the full list is:
        Vim
            a  autocommand groups
            c  user-defined commands
            f  function definitions
            m  maps
            v  variable definitions
            n  vimball filename
    
    David Fishburn
    
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@786 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed Jun 20, 2012
Commits on May 5, 2012
  1. I made some improvements to the LaTeX parser to make it more useful

    since the current support is a bit lacking. In particular:
    
    - Colons are now allowed in identifiers; this is a common way of
      separating parts in a label.
    - LaTeX doesn't have a concept of strings like other languages, so
      quotes shouldn't be handled specially, otherwise this can lead to
      whole passages of text being ignored. This fixes bug #2886871.
    - Sectioning commands now report the scope they're in, for example a
      subsection will report the section it's in using a 'section:'
      extension field. This allows for example the Tagbar Vim plugin to
      display the sections in a properly nested way.
      At the moment the scopes are separated by two double quotes ('""')
      as that is a character sequence that shouldn't really appear in
      normal LaTeX text, but if anyone has a better idea please tell me.
    - Labels can now be output as an additional kind. They're not listed
      in their respective scopes as that seems to be what other editors
      do, too, and I think it makes more sense this way.
    
    It's working fine for me (and another guy who tested it together with my
    Tagbar plugin), but it's still possible that I overlooked something --
    if so please tell me.
    
    Cheers,
    Jan Larres
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@785 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dfishburn committed May 5, 2012
Commits on Apr 14, 2012
  1. Jan Larres enabled function signatures for the Python parser.

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@784 c5d04d22-be80-434c-894e-aa346cc9e8e8
    elias committed Apr 14, 2012
Commits on Mar 26, 2012
  1. Replaced calls to strcpy() with memmove() where the strings overlappe…

    …d, for which case the behavior of strcpy() is undefined.
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@783 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dhiebert committed Mar 26, 2012
  2. Replaced calls to strcpy() with memmove() where the strings overlappe…

    …d, for
    
    which case the behavior of strcpy() is undefined.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@782 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dhiebert committed Mar 26, 2012
Commits on Dec 10, 2011
  1. Fixed problem detecting function definitions using circumflexes used …

    …for managed classes under MS.NET.
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@781 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dhiebert committed Dec 10, 2011
  2. Fixed problem detecting function definitions using circumflexes used …

    …for managed classes under MS.NET.
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@780 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dhiebert committed Dec 10, 2011
  3. Resolved compiler warnings

    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@779 c5d04d22-be80-434c-894e-aa346cc9e8e8
    dhiebert committed Dec 10, 2011
Commits on Jun 15, 2011
  1. [python] Fixed bug #2075402: Multiline-strings inside comments were n…

    …ot ignored.
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@778 c5d04d22-be80-434c-894e-aa346cc9e8e8
    elias committed Jun 15, 2011
  2. [python] Synched revision 5821 of geany/tagmanager:

    When checking for literal strings to ignore, consider also unicode, binary and raw strings.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@777 c5d04d22-be80-434c-894e-aa346cc9e8e8
    elias committed Jun 15, 2011
  3. [python] Synched revision 4768 from geany/tagmanager:

    Apply patch from Colomban Wendling to parse Python lambda functions
    (thanks) - modified to only parse toplevel or class member lambdas.
    
    
    git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@776 c5d04d22-be80-434c-894e-aa346cc9e8e8
    elias committed Jun 15, 2011