Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #2 from dlsniper/improvements | Jeremy Dorn | 2012-09-12 | 4 | -627/+688 | |
|\ | | | | | Formatted source code according to PSR-1 and PSR-2. Added composer support | |||||
| * | Formatted source code according to PSR-1 and PSR-2. Added composer support | Florin Patan | 2012-09-10 | 4 | -627/+688 | |
|/ | ||||||
* | Merge branch 'master' of https://github.com/jdorn/sql-formatter | Jeremy Dorn | 2012-08-25 | 1 | -1/+1 | |
|\ | ||||||
| * | If a reserved word is found, it now returns it in the original case instead | Jeremy Dorn | 2012-05-23 | 1 | -1/+1 | |
| | | | | | | | | of all uppercase. | |||||
* | | Adding new removeComments method and using it before splitting queries. | Jeremy Dorn | 2012-08-25 | 2 | -36/+229 | |
|/ | | | | Improved examples page. | |||||
* | Fixed bugs with splitQuery. Updated README and examples. | Jeremy Dorn | 2012-05-22 | 3 | -11/+78 | |
| | | | | Fixed undefined variable error with highlight method. | |||||
* | Adding a splitQuery method that splits a query string with multiple sql ↵ | Jeremy Dorn | 2012-05-22 | 1 | -0/+40 | |
| | | | | statements separated by ';'. | |||||
* | Adding "HAVING" to the special reserved word list. | Jeremy Dorn | 2012-05-13 | 1 | -1/+1 | |
| | ||||||
* | Added new method 'highlight' that only does syntax highlighting and | Jeremy Dorn | 2012-05-12 | 3 | -1/+78 | |
| | | | | preserves original whitespace. | |||||
* | Fixing include path in examples. Added example with comments. | jdorn | 2012-05-08 | 1 | -2/+9 | |
| | ||||||
* | Added in support for comments (--, #, and /*...*/ all supported) | jdorn | 2012-05-08 | 1 | -8/+35 | |
| | ||||||
* | Added example output screenshot. Created examples directory. | Jeremy Dorn | 2012-05-06 | 3 | -0/+4 | |
| | ||||||
* | Fixed indentation for subselects. | Jeremy Dorn | 2012-05-06 | 2 | -6/+23 | |
| | | | | | Fixed typo in error styling. Added example for unmatched parentheses. | |||||
* | Added more example SQL statements. | Jeremy Dorn | 2012-05-05 | 2 | -46/+98 | |
| | | | | | 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) | |||||
* | Fixed bug where a reserved word at the end of the sql string would not be ↵ | Jeremy Dorn | 2012-05-01 | 1 | -2/+2 | |
| | | | | counted as a reserved word. | |||||
* | Added htmlentities before outputting tokens to protect against html injection. | Jeremy Dorn | 2012-04-30 | 1 | -17/+31 | |
| | | | | | Moved whitespace and quote list to static variables. Now, multiple whitespace characters in a row are returned as a single token. | |||||
* | Added dot ('.') to the list of boundary characters so `Table`.`Column` ↵ | jdorn | 2012-04-30 | 1 | -2/+2 | |
| | | | | formats correctly. | |||||
* | Fixed formatting bug when a special reserved word appears on a new line. | Jeremy Dorn | 2012-04-30 | 1 | -0/+1 | |
| | ||||||
* | initial commit of files | Jeremy Dorn | 2012-04-30 | 3 | -2/+257 | |
| | ||||||
* | initial commit | jdorn | 2012-04-29 | 1 | -0/+4 | |