Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix issue #215 | Shen Longxing | 2015-12-18 | 1 | -2/+2 | |
| | | | Add splitlevel for while/end while | |||||
* | fix issue #215 | Shen Longxing | 2015-12-18 | 1 | -1/+1 | |
| | | | Add token for 'END WHILE' | |||||
* | fix issue #215 | Shen Longxing | 2015-12-18 | 1 | -0/+1 | |
| | | | Add keyword 'WHILE' | |||||
* | fix issue #213 | Shen Longxing | 2015-12-14 | 1 | -1/+3 | |
| | ||||||
* | Fix version check when casting TokenList to string (fixes #212). | Andi Albrecht | 2015-12-08 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'hotfix'. | Andi Albrecht | 2015-12-08 | 1 | -3/+3 | |
|\ | ||||||
| * | Workaround to avoid IndexError when grouping identifiers. | Andi Albrecht | 2015-12-08 | 1 | -3/+3 | |
| | | ||||||
* | | Remove SQLParseError from top-level module. | Andi Albrecht | 2015-10-26 | 1 | -2/+0 | |
| | | ||||||
* | | Remove sql.Token.to_unicode. | Andi Albrecht | 2015-10-26 | 1 | -8/+0 | |
| | | ||||||
* | | Remove conditional for OrderedDict. | Andi Albrecht | 2015-10-26 | 1 | -46/+24 | |
| | | | | | | | | All supported Python versions have OrderedDict. | |||||
* | | Skip tests for SQLParseError for now, it will go away soon. | Andi Albrecht | 2015-10-26 | 1 | -1/+1 | |
| | | ||||||
* | | Cleanup module code. | Andi Albrecht | 2015-10-26 | 8 | -31/+31 | |
| | | ||||||
* | | Fix tab expansion for Python 3. | Andi Albrecht | 2015-10-26 | 1 | -5/+7 | |
| | | ||||||
* | | Use compat module for single Python 2/3 code base. | Andi Albrecht | 2015-10-26 | 5 | -38/+44 | |
| | | | | | | | | This change includes minor fixes and code cleanup too. | |||||
* | | Add compatibility module from v0.2.0 branch. | Andi Albrecht | 2015-10-26 | 1 | -0/+42 | |
| | | ||||||
* | | Switch back to development. | Andi Albrecht | 2015-10-25 | 1 | -1/+1 | |
|/ | ||||||
* | Bump version for 0.1.18 release. | Tim Graham | 2015-10-24 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:andialbrecht/sqlparse | Andi Albrecht | 2015-10-24 | 1 | -1/+1 | |
|\ | ||||||
| * | Merge pull request #202 from timgraham/generator-stopiteration | Andi Albrecht | 2015-10-24 | 1 | -1/+1 | |
| |\ | | | | | | | Fix PendingDeprecationWarning on Python 3.5. | |||||
| | * | Fix PendingDeprecationWarning on Python 3.5. | Tim Graham | 2015-10-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Avoid "PendingDeprecationWarning: generator 'group_identifier.<locals>._consume_cycle' raised StopIteration." | |||||
* | | | Switch back to development mode. | Andi Albrecht | 2015-10-24 | 1 | -1/+1 | |
|/ / | ||||||
* | | Bump version number.0.1.17 | Andi Albrecht | 2015-10-24 | 1 | -1/+1 | |
|/ | ||||||
* | Speed up token_index by providing a starting index. | Ryan Wooden | 2015-10-21 | 2 | -9/+19 | |
| | ||||||
* | Limit number of tokens checked in group_identifier. | Ryan Wooden | 2015-10-21 | 2 | -4/+7 | |
| | | | | | This significantly improves performance when grouping a large list of IDs. | |||||
* | Handle END IF correctly when splitting statements (fixes #194). | Andi Albrecht | 2015-07-28 | 1 | -0/+3 | |
| | ||||||
* | Switch back to development. | Andi Albrecht | 2015-07-26 | 1 | -1/+1 | |
| | ||||||
* | Prepare next release.0.1.16 | Andi Albrecht | 2015-07-26 | 1 | -1/+1 | |
| | ||||||
* | Ignore comments at beginning of statement when calling Statement.get_type ↵ | Andi Albrecht | 2015-07-26 | 1 | -2/+10 | |
| | | | | (fixes #186). | |||||
* | Recognize MSSQL temp tables and distinguish from MySQL comments (fixes #192). | Andi Albrecht | 2015-07-26 | 1 | -3/+3 | |
| | ||||||
* | Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193). | Andi Albrecht | 2015-07-26 | 1 | -1/+1 | |
| | ||||||
* | Improve detection of aliased identifiers (fixes #185). | Andi Albrecht | 2015-04-19 | 1 | -1/+2 | |
| | ||||||
* | Switch back to development mode. | Andi Albrecht | 2015-04-15 | 1 | -1/+1 | |
| | ||||||
* | Update version number.0.1.15 | Andi Albrecht | 2015-04-15 | 1 | -1/+1 | |
| | ||||||
* | Never interpret IN keyword as function name (fixes #183). | Andi Albrecht | 2015-04-12 | 1 | -0/+3 | |
| | ||||||
* | Update offset when adding line break (fixes 184). | Andi Albrecht | 2015-04-12 | 1 | -0/+1 | |
| | | | | This change fixes a regression introduced in 8c5c0684ac61ab7d0c5e77881728c8106f2877f9. | |||||
* | Fix other regex to identify comments starting with '#' character. | Andi Albrecht | 2015-03-16 | 1 | -1/+1 | |
| | ||||||
* | Support comments starting with '#' character (fixes #178). | Andi Albrecht | 2015-03-16 | 1 | -1/+1 | |
| | ||||||
* | Group square-brackets into identifiers | Darik Gamble | 2015-03-04 | 2 | -8/+10 | |
| | | | | Indentifier.get_array_indices() looks for square brackets, and yields lists of bracket grouped tokens as array indices | |||||
* | Parse square brackets as a group just like parens | Darik Gamble | 2015-03-04 | 2 | -4/+52 | |
| | | | | | - add class sql.SquareBrackets - replace group_parenthesis() with more generic group_brackets(), which groups square and round brackets, so each can contain groups of the other | |||||
* | Move _find_matching to a module-level function | Darik Gamble | 2015-03-04 | 1 | -11/+13 | |
| | ||||||
* | get rid of tokens.Punctuation.ArrayIndex, add negative lookbehind for sqlite ↵ | Darik Gamble | 2015-03-04 | 2 | -3/+4 | |
| | | | | identifiers | |||||
* | Allow identifiers to start with an underscore (fixes #175). | Andi Albrecht | 2015-03-01 | 1 | -2/+1 | |
| | ||||||
* | Recognize escaped backslashes within strings | casey | 2015-02-26 | 1 | -2/+1 | |
| | | | | | Previously if a single quoted string ended with an escaped backslash, parsing would not consider the string to be terminated. | |||||
* | Merge pull request #171 from darikg/alias_bugfix | Andi Albrecht | 2015-02-21 | 2 | -37/+46 | |
|\ | | | | | Fix #167 | |||||
| * | Move get_parent_name() from Identifer to TokenList (so Function can use it) | Darik Gamble | 2015-02-09 | 1 | -21/+11 | |
| | | ||||||
| * | get_name() uses _get_first_name() | Darik Gamble | 2015-02-09 | 1 | -0/+4 | |
| | | ||||||
| * | get_alias() uses _get_first_name(), and searches in reverse for "column ↵ | Darik Gamble | 2015-02-09 | 1 | -13/+9 | |
| | | | | | | | | expression alias" | |||||
| * | TokenList convenience method _get_first_name | Darik Gamble | 2015-02-09 | 1 | -0/+18 | |
| | | ||||||
| * | Group adjacent names to allow aliasing without the AS keyword | Darik Gamble | 2015-02-09 | 1 | -3/+4 | |
| | | ||||||
* | | Fix of problem with multiline treated as stackable while /* /* */ is one ↵ | JacekPliszka | 2015-02-12 | 1 | -1/+7 | |
| | | | | | | | | comment, not two stacked |