summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
* Remove with statement to stay as compatible with older Python versions as ↵Andi Albrecht2011-08-121-3/+3
| | | | | | possible. For now, sqlparse is still compatible with Python 2.4 :)
* Code cleanup.Andi Albrecht2011-08-121-8/+11
|
* Added Get_Comments, StripComments, IncludeStatement, ColumnsSelect and Limit ↵Jesús Leganés Combarro "Piranna"2011-08-111-3/+155
| | | | filters.
* Update version.0.1.3Andi Albrecht2011-07-291-1/+1
|
* Minor fixes to make the py3k version work again.Andi Albrecht2011-07-291-1/+1
|
* Add parsing of MS Access column names with braces (fixes issue27).Andi Albrecht2011-07-291-0/+1
|
* Detection of placeholders in paramterized queries (fixes issue22).Andi Albrecht2011-07-251-1/+3
|
* Don't handle single chars as keywords.Andi Albrecht2011-07-251-3/+3
| | | | Most likely they are aliases.
* Releax keyword detection, when keywords are used as function names (fixes ↵Andi Albrecht2011-07-241-1/+2
| | | | issue36).
* Split statements with IF as functions correctly (fixes issue33).Andi Albrecht2011-07-241-1/+5
|
* Detect function aliases better.Andi Albrecht2011-07-241-4/+5
|
* Allow functions in identifer lists (targest issue10).Andi Albrecht2011-07-231-1/+1
|
* Print list index in front of element.Andi Albrecht2011-07-231-3/+4
| | | | This makes it easy to access a token in the token list.
* Enable pretty print function again.Andi Albrecht2011-07-231-13/+12
|
* Make sure that identifier lists in subselects with alias are grouped correctly.Andi Albrecht2011-07-231-1/+1
|
* Avoid parsing of names as keywords (fixes issue39).Andi Albrecht2011-07-201-0/+1
|
* Fix removal of comments when strip_comments is True (fixes issue38).Andi Albrecht2011-06-101-4/+10
|
* Don't group trailing whitepsace in WHERE clauses (fixes issue35).Andi Albrecht2011-04-132-4/+10
|
* Ignore case in token.match() for all keyword types (fixes issue34).Andi Albrecht2011-03-171-1/+1
|
* Handle REPLACE as DML token and recognize hex numbers (thanks Ervin).Andi Albrecht2011-02-282-1/+2
|
* Fix formatting issue with extended CASE statements.Andi Albrecht2011-02-281-1/+2
|
* return a bit earlier in change_splitlevel().Andi Albrecht2011-02-111-0/+1
|
* Fix typo (thanks again, Kris).Andi Albrecht2011-01-261-1/+1
|
* Improve float parsing (thanks, Kris).Andi Albrecht2011-01-261-0/+1
|
* Bump version to 0.1.2.0.1.2Andi Albrecht2010-11-231-1/+1
|
* Add NOT NULL as keyword (fixes issue18).Andi Albrecht2010-11-221-0/+1
|
* Ignore identifiers in double-quotes when changing identifier case (fixes ↵Andi Albrecht2010-11-211-0/+6
| | | | issue21).
* Add VARCHAR2 and LONG to keywords (fixes issue16, fixes issue19).Andi Albrecht2010-11-211-0/+2
|
* Ignore AND after BETWEEN when reindenting statements (fixes issue14).Andi Albrecht2010-11-211-5/+12
|
* MergedAndi Albrecht2010-11-211-2/+8
|\
| * Backed out changeset 489299fc3548Andi Albrecht2010-11-211-2/+8
| |
* | Group extended identifiers (fixes issue15).Andi Albrecht2010-11-211-2/+4
|/
* Include patches from extras/py3k/fixes.diff (fixes issue12).Andi Albrecht2010-11-211-8/+2
|
* Remove next() patch (targets issue12).Andi Albrecht2010-11-211-1/+6
|
* Match single line comments at end of string.Andi Albrecht2010-11-141-1/+4
| | | | The bug was reported for CrunchyFrog: http://code.google.com/p/crunchyfrog/issues/detail?id=88
* Check for None values in options dict, reported by Marco44.Andi Albrecht2010-08-261-2/+2
| | | | | | | See http://groups.google.com/group/sqlparse/browse_thread/thread/2acecd715a48a169 The default options for identifiers and keywords (to do nothing) got lost since both are in the options dict, but with None as value.
* Fix typo: Comparsion -> Comparison.Andi Albrecht2010-07-044-9/+9
|
* PEP8: Code cleanup.Andi Albrecht2010-07-047-60/+76
|
* Clean up imports.Andi Albrecht2010-07-045-673/+668
| | | | | Removed wildcard imports, mainly to keep pyflakes quiet. But this change lifted some wrong imports and class usage.
* Improve statement detection for DECLARE statements outside ↵Andi Albrecht2010-06-231-3/+3
| | | | | | | | function/procedure definitions. The parser didn't recognized DECLARE statements outside function/procedure definitions correctly and assumed that a non-separating semicolon follows.
* Improve detection of escaped single quotes (fixes issue13, reported by ↵Andi Albrecht2010-06-171-2/+2
| | | | Martin Brochhaus, patch by bluemaro with test case by Dan Carley).
* Fix an issue with trailing whitespaces (reported by Kris).Andi Albrecht2010-02-181-1/+5
|
* Improved case detection for CASE structures without WHEN in first case.Andreas Albrecht2009-10-221-2/+8
|
* Prevent WHERE grouper from consuming closing parenthesis (fixes issue9, ↵Andi Albrecht2009-09-122-1/+9
| | | | reported by estama).
* Use utf-8 instead of latin-1 as default encoding.Andi Albrecht2009-09-021-2/+2
|
* Remove duplicated keywords.Andi Albrecht2009-08-271-26/+0
|
* Improve detection of identifier aliases (fixes issue8).Andi Albrecht2009-07-131-1/+6
|
* Keep function arguments together:Andi Albrecht2009-07-121-1/+1
|
* Query token ancestry.Andi Albrecht2009-07-121-0/+26
|
* Add parent relationships.Andi Albrecht2009-07-121-1/+5
|