Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Helper function to return a token at a specific offset. | Andi Albrecht | 2013-01-27 | 1 | -0/+9 | |
| | ||||||
* | Doc updates. | Andi Albrecht | 2013-01-01 | 1 | -1/+2 | |
| | ||||||
* | Python 3 is now fully supported without any patches. | Andi Albrecht | 2012-12-31 | 1 | -4/+22 | |
| | | | | | | | | | This change makes the extras/py3k stuff obsolete and installing for Python 3 is as easy as "python3 setup.py install". setup.py uses distribute's use_2to3 flag to automatically run 2to3 when Python 3 is used. \o/ Happy New Year, everyone! | |||||
* | Remove superfluous cleanup conditions. | Andi Albrecht | 2012-11-12 | 1 | -4/+1 | |
| | ||||||
* | Improve handling of quoted indentifiers (fixes issue78). | Andi Albrecht | 2012-11-03 | 1 | -6/+19 | |
| | ||||||
* | Encode value when reprinting the object. | Andi Albrecht | 2012-08-12 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' into antiorm | Jesús Leganés Combarro "Piranna" | 2012-05-19 | 1 | -1/+8 | |
| | | | | | Conflicts: sqlparse/filters.py | |||||
* | Removed debug code | Jesús Leganés Combarro | 2012-05-16 | 1 | -1/+0 | |
| | ||||||
* | Some little optimizations | Jesús Leganés Combarro "Piranna" | 2012-04-28 | 1 | -27/+28 | |
| | ||||||
* | various optimizations in sql.py | quest | 2012-04-22 | 1 | -8/+19 | |
| | ||||||
* | TokenLists.value is equal to their unicode() representation (fixes #30). | Andi Albrecht | 2012-04-19 | 1 | -1/+1 | |
| | ||||||
* | Pretty format comments in identifier lists (fixes issue59). | Andi Albrecht | 2012-04-19 | 1 | -0/+8 | |
| | ||||||
* | Changed get_case() to use a mode stateful variable | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -15/+25 | |
| | ||||||
* | Changed get_identifiers() to be a generator | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -3/+4 | |
| | ||||||
* | Removed useless default return None (they are by default in Python) | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -9/+12 | |
| | ||||||
* | Changed get_sublists() to a generator | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -1/+4 | |
| | ||||||
* | Removed TokenList.__str__() (it was the same that its parent one) | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -3/+0 | |
| | ||||||
* | Change all internal use of to_unicode() to __unicode__() and marked former ↵ | Jesús Leganés Combarro "Piranna" | 2012-02-03 | 1 | -4/+7 | |
| | | | | one as deprecated. | |||||
* | Detect alias for CASE statements (targets issue46). | Andi Albrecht | 2011-09-29 | 1 | -34/+35 | |
| | ||||||
* | Code cleanup. | Andi Albrecht | 2011-09-06 | 1 | -2/+2 | |
| | ||||||
* | Print list index in front of element. | Andi Albrecht | 2011-07-23 | 1 | -3/+4 | |
| | | | | This makes it easy to access a token in the token list. | |||||
* | Enable pretty print function again. | Andi Albrecht | 2011-07-23 | 1 | -13/+12 | |
| | ||||||
* | Don't group trailing whitepsace in WHERE clauses (fixes issue35). | Andi Albrecht | 2011-04-13 | 1 | -3/+8 | |
| | ||||||
* | Ignore case in token.match() for all keyword types (fixes issue34). | Andi Albrecht | 2011-03-17 | 1 | -1/+1 | |
| | ||||||
* | Backed out changeset 489299fc3548 | Andi Albrecht | 2010-11-21 | 1 | -2/+8 | |
| | ||||||
* | Include patches from extras/py3k/fixes.diff (fixes issue12). | Andi Albrecht | 2010-11-21 | 1 | -8/+2 | |
| | ||||||
* | Fix typo: Comparsion -> Comparison. | Andi Albrecht | 2010-07-04 | 1 | -3/+3 | |
| | ||||||
* | PEP8: Code cleanup. | Andi Albrecht | 2010-07-04 | 1 | -3/+9 | |
| | ||||||
* | Fix an issue with trailing whitespaces (reported by Kris). | Andi Albrecht | 2010-02-18 | 1 | -1/+5 | |
| | ||||||
* | Improved case detection for CASE structures without WHEN in first case. | Andreas Albrecht | 2009-10-22 | 1 | -2/+8 | |
| | ||||||
* | Prevent WHERE grouper from consuming closing parenthesis (fixes issue9, ↵ | Andi Albrecht | 2009-09-12 | 1 | -0/+8 | |
| | | | | reported by estama). | |||||
* | Use utf-8 instead of latin-1 as default encoding. | Andi Albrecht | 2009-09-02 | 1 | -2/+2 | |
| | ||||||
* | Query token ancestry. | Andi Albrecht | 2009-07-12 | 1 | -0/+26 | |
| | ||||||
* | Add parent relationships. | Andi Albrecht | 2009-07-12 | 1 | -1/+5 | |
| | ||||||
* | pep8'ified the code a bit. | Andi Albrecht | 2009-06-11 | 1 | -2/+2 | |
| | ||||||
* | Removed types import. | Andi Albrecht | 2009-06-11 | 1 | -2/+1 | |
| | ||||||
* | Minor performance improvement when matching token types. | Andi Albrecht | 2009-06-11 | 1 | -1/+1 | |
| | ||||||
* | Grouping of function/procedure calls. | Andi Albrecht | 2009-05-27 | 1 | -0/+14 | |
| | ||||||
* | * Python and PHP output filter now add a trailing whitespace. | Andi Albrecht | 2009-05-06 | 1 | -3/+3 | |
| | | | | * More test coverage. | |||||
* | Code cleanup and test coverage. | Andi Albrecht | 2009-05-06 | 1 | -13/+13 | |
| | ||||||
* | Do the type check once in Token.match. | Andi Albrecht | 2009-05-06 | 1 | -4/+3 | |
| | ||||||
* | * Added profile option to run_tests.py. | Andi Albrecht | 2009-05-06 | 1 | -6/+6 | |
| | | | | * Use sets in Token.match. | |||||
* | Added Token.flatten() that just yields self to unify behavior of TokenList ↵ | Andi Albrecht | 2009-05-05 | 1 | -0/+4 | |
| | | | | and Token. | |||||
* | * Added missing SET keyword. | Andi Albrecht | 2009-05-05 | 1 | -1/+2 | |
| | | | | * IdentifierList.get_identifiers() now returns not only Identifier instances. | |||||
* | Improved parsing of identifier lists (targets issue2). | Andi Albrecht | 2009-05-03 | 1 | -0/+16 | |
| | ||||||
* | Return an empty string iff a token's value is None. | Andi Albrecht | 2009-04-30 | 1 | -1/+1 | |
| | ||||||
* | Improved handling of invalid identifiers, like for example "a.". | Andi Albrecht | 2009-04-27 | 1 | -2/+18 | |
| | ||||||
* | Handle wildcards in identifiers. | Andi Albrecht | 2009-04-24 | 1 | -1/+12 | |
| | ||||||
* | First version of documentation. | Andi Albrecht | 2009-04-07 | 1 | -2/+94 | |
| | ||||||
* | Moved syntactical units to sql module. | Andi Albrecht | 2009-04-06 | 1 | -0/+318 | |