Permalink
Commits on Sep 13, 2012
  1. Merge pull request #2 from dlsniper/improvements

    Formatted source code according to PSR-1 and PSR-2. Added composer support
    jdorn committed Sep 13, 2012
Commits on Sep 10, 2012
Commits on Aug 25, 2012
  1. Adding new removeComments method and using it before splitting queries.

    Improved examples page.
    jdorn committed Aug 25, 2012
Commits on May 23, 2012
  1. If a reserved word is found, it now returns it in the original case i…

    …nstead
    
    of all uppercase.
    jdorn committed May 23, 2012
  2. Fixed bugs with splitQuery. Updated README and examples.

    Fixed undefined variable error with highlight method.
    jdorn committed May 23, 2012
  3. Adding a splitQuery method that splits a query string with multiple s…

    …ql statements separated by ';'.
    jdorn committed May 23, 2012
Commits on May 13, 2012
Commits on May 12, 2012
  1. Added new method 'highlight' that only does syntax highlighting and

    preserves original whitespace.
    jdorn committed May 12, 2012
Commits on May 9, 2012
Commits on May 6, 2012
  1. Fixed indentation for subselects.

    Fixed typo in error styling.
    Added example for unmatched parentheses.
    jdorn committed May 6, 2012
  2. Added more example SQL statements.

    Moved all syntax highlighting styles to static properties that can be overwritten.
    Simplified and rewrote the newline/indent logic (still needs to be improved for subselects)
    jdorn committed May 6, 2012
Commits on May 2, 2012
  1. Fixed bug where a reserved word at the end of the sql string would no…

    …t be counted as a reserved word.
    jdorn committed May 2, 2012
Commits on May 1, 2012
  1. Added htmlentities before outputting tokens to protect against html i…

    …njection.
    
    Moved whitespace and quote list to static variables.
    Now, multiple whitespace characters in a row are returned as a single token.
    jdorn committed May 1, 2012
Commits on Apr 30, 2012
  1. Added dot ('.') to the list of boundary characters so `Table`.`Column…

    …` formats correctly.
    jdorn committed Apr 30, 2012
  2. initial commit of files

    jdorn committed Apr 30, 2012
  3. initial commit

    jdorn committed Apr 30, 2012