Commits on Dec 13, 2012
  1. Adds test files from dcsobral

    amujumdar committed Dec 13, 2012
  2. Detect file import on pp disambiguation

    It's a convention used by some Puppet modules to have nothing on "init.pp"
    except imports of class and definition files. Though some Pascal versions
    seems to use import as well, Puppet's import are followed by glob patterns
    inside double quotes, while Pascal's import are followed by identifiers.
    Use imports followed by double quotes to detect these files as Puppet
    dcsobral committed Mar 16, 2012
Commits on Dec 12, 2012
  1. Rebase with master

    amujumdar committed Dec 12, 2012
  2. Merge pull request #14 from silene/coq-parser

    Add support for Coq .v files (based on the OCaml parser).
    amujumdar committed Dec 12, 2012
  3. Merge pull request #21 from raphink/dev/mystrnlen_segfault

    Avoid segfault on empty files
    amujumdar committed Dec 12, 2012
  4. Merges pull/21, adds a test

    amujumdar committed Dec 12, 2012
Commits on Aug 13, 2012
Commits on Jun 2, 2012
Commits on Jun 1, 2012
  1. Merge pull request #12 from raphink/puppet

    Improve Puppet/Pascal disambiguation
    robinluckey committed Jun 1, 2012
Commits on May 26, 2012
Commits on May 25, 2012
Commits on Apr 24, 2012
Commits on Apr 18, 2012
  1. Merge pull request #10 from raphink/master

    Add support for the Augeas language (based on Ocaml)
    robinluckey committed Apr 18, 2012
  2. Merge pull request #11 from raphink/tex

    Add sty and cls for LANG_TEX, add dtx and LANG_TEX_DTX
    robinluckey committed Apr 18, 2012
Commits on Apr 13, 2012
  1. Merge pull request #12 from blackducksw/libmagic

    amujumdar committed Apr 13, 2012
Commits on Apr 12, 2012
  1. Add .cls to LANG_TEX

    raphink committed Apr 12, 2012
Commits on Apr 11, 2012
  1. Add dtx and sty for LANG_TEX

    raphink committed Apr 11, 2012
Commits on Apr 9, 2012
  1. Fixes recursion bug in disambiguate_in().

    The basic strategy of disambiguate_in() is to strip the trailing *.in
    extension from the filepath, and then to disambiguate the file as if it
    originally had that name. Thus, given file "", disambiguate_in()
    will disambiguate "foo".
    disambiguate_in() achieves this while re-using the exact same file on
    disk. This is possible because a SourceFile struct has both a `filepath`
    (the name we use for disambiguation purposes) and the `diskpath` (the
    actual name on disk).
    So disambiguate_in() instantiates a new SourceFile with a stripped
    filepath, yet the same diskpath and same file contents.
    The bug is that the code did this incorrectly: when assigning the
    diskpath of the new SourceFile, it would mistakenly assign it the
    previous SourceFile's *filepath* instead of the previous SourceFile's
    If disambiguate_in() runs just once (when the file has just a single
    *.in extension, the usual case), this mistake does not matter because
    the filepath and diskpath are the same.
    But if disambiguate_in() recurses on itself (when the file has multiple
    * extensions), then during the second pass the filepath and
    diskpath will not be equal -- they will differ by one missing *.in
    extension. Thus the diskpath of the new SourceFile will refer to a
    (probably) non-existent file.
    The bug is hard to explain but was simple to correct.
    In addition to correcting the diskpath assignment, I've fixed a memory
    leak: it was possible to allocate a new SourceFile, and then immediately
    return NULL, which fails to free the SourceFile. I've moved the
    allocation *after* the NULL return check to avoid this.
    robinluckey committed Apr 9, 2012
Commits on Mar 8, 2012
Commits on Mar 6, 2012
  1. Merge pull request #11 from dcsobral/forth

    Initial support for Forth
    robinluckey committed Mar 6, 2012
  2. Merge pull request #9 from haraldkl/master

    Fixing Bug in Fortran disambiguation
    robinluckey committed Mar 6, 2012