summaryrefslogtreecommitdiff
path: root/sqlparse
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v0.2.0v0.2.0Andi Albrecht2015-07-264-8/+17
|\
| * Switch back to development.Andi Albrecht2015-07-261-1/+1
| |
| * Prepare next release.0.1.16Andi Albrecht2015-07-261-1/+1
| |
| * Ignore comments at beginning of statement when calling Statement.get_type ↵Andi Albrecht2015-07-261-2/+10
| | | | | | | | (fixes #186).
| * Recognize MSSQL temp tables and distinguish from MySQL comments (fixes #192).Andi Albrecht2015-07-261-3/+3
| |
| * Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193).Andi Albrecht2015-07-261-1/+1
| |
| * Improve detection of aliased identifiers (fixes #185).Andi Albrecht2015-04-191-1/+2
| |
| * Switch back to development mode.Andi Albrecht2015-04-151-1/+1
| |
| * Update version number.0.1.15Andi Albrecht2015-04-151-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into v0.2.0Andi Albrecht2015-04-122-2/+6
|\ \ | |/
| * Never interpret IN keyword as function name (fixes #183).Andi Albrecht2015-04-121-0/+3
| |
| * Update offset when adding line break (fixes 184).Andi Albrecht2015-04-121-0/+1
| | | | | | | | This change fixes a regression introduced in 8c5c0684ac61ab7d0c5e77881728c8106f2877f9.
| * Fix other regex to identify comments starting with '#' character.Andi Albrecht2015-03-161-1/+1
| |
| * Support comments starting with '#' character (fixes #178).Andi Albrecht2015-03-161-1/+1
| |
* | Merge master into v0.2.0.Andi Albrecht2015-03-054-32/+82
|\ \ | |/
| * Group square-brackets into identifiersDarik Gamble2015-03-042-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 parensDarik Gamble2015-03-042-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 functionDarik Gamble2015-03-041-11/+13
| |
| * get rid of tokens.Punctuation.ArrayIndex, add negative lookbehind for sqlite ↵Darik Gamble2015-03-042-3/+4
| | | | | | | | identifiers
| * Allow identifiers to start with an underscore (fixes #175).Andi Albrecht2015-03-011-2/+1
| |
| * Recognize escaped backslashes within stringscasey2015-02-261-2/+1
| | | | | | | | | | Previously if a single quoted string ended with an escaped backslash, parsing would not consider the string to be terminated.
* | Merge master into v0.2.0 branch.Andi Albrecht2015-02-215-41/+73
|\ \ | |/
| * Merge pull request #171 from darikg/alias_bugfixAndi Albrecht2015-02-212-37/+46
| |\ | | | | | | Fix #167
| | * Move get_parent_name() from Identifer to TokenList (so Function can use it)Darik Gamble2015-02-091-21/+11
| | |
| | * get_name() uses _get_first_name()Darik Gamble2015-02-091-0/+4
| | |
| | * get_alias() uses _get_first_name(), and searches in reverse for "column ↵Darik Gamble2015-02-091-13/+9
| | | | | | | | | | | | expression alias"
| | * TokenList convenience method _get_first_nameDarik Gamble2015-02-091-0/+18
| | |
| | * Group adjacent names to allow aliasing without the AS keywordDarik Gamble2015-02-091-3/+4
| | |
| * | Fix of problem with multiline treated as stackable while /* /* */ is one ↵JacekPliszka2015-02-121-1/+7
| | | | | | | | | | | | comment, not two stacked
| * | Fix pathological case of empty statementJacekPliszka2015-02-121-1/+5
| |/
| * (postgresql) Add support for square bracket array indexing, by darikg.Andi Albrecht2015-02-084-1/+12
| | | | | | | | Pull request #170 with trivial conflicts resolved.
| * Add double precision as a built-in datatypeDarik Gamble2015-02-061-0/+1
| |
* | Remove six dependency.Andi Albrecht2015-01-177-45/+81
| | | | | | | | | | We only use very little of six. That isn't worth to add an extra dependency.
* | Remove unused Token.split() method.Andi Albrecht2015-01-172-9/+2
| |
* | Remove unused combined.Andi Albrecht2015-01-171-23/+0
| |
* | Migrate to six and get rid of 2to3.Andi Albrecht2015-01-175-41/+48
| | | | | | | | | | | | | | | | Now we've got really a single code base for both Python 2 and 3. For now it just adds a dependency to six which should be available on most systems. However, if it turns out to switch back to no dependencies it should be fairly easy to replace six by some conditional imports.
* | Remove conditional import targeting Python < 2.6.Andi Albrecht2015-01-171-5/+0
| |
* | Add flake8 to tox configuration and code cleanup.Andi Albrecht2015-01-175-27/+13
| |
* | Remove conditional for OrderedDict.Andi Albrecht2015-01-171-48/+24
|/
* Sort Name.Builtin.Andi Albrecht2015-01-171-5/+5
|
* Add TINYINT keyword (fixes #154).Andi Albrecht2015-01-171-0/+1
|
* Add SIGNED keyword (fixes #155).Andi Albrecht2015-01-171-0/+1
|
* Add UNSIGNED keyword (fixes #156).Andi Albrecht2015-01-171-0/+1
|
* Group comments to parent object (fixes #160).Andi Albrecht2015-01-172-10/+25
|
* Improve parsing of inline comments for identifiers (fixes #163).Andi Albrecht2015-01-162-0/+5
|
* Improve formatting of HAVING statements.Andi Albrecht2014-12-212-2/+13
|
* Fix a regression for identifiers with square bracktes notation (fixes #153).Andi Albrecht2014-12-011-1/+1
|
* Update version.0.1.14Andi Albrecht2014-11-301-1/+1
|
* Improved formatting when newline precedes commas in lists (fixes #140).Andi Albrecht2014-11-301-0/+14
|
* Fix indentation when using tabs (fixes #146).Andi Albrecht2014-11-301-1/+6
|