Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't add duplicate "\n" when using sqlformat tool (fixes #191). | Andi Albrecht | 2015-07-26 | 2 | -1/+2 | |
| | ||||||
* | Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193). | Andi Albrecht | 2015-07-26 | 3 | -2/+14 | |
| | ||||||
* | Improve detection of aliased identifiers (fixes #185). | Andi Albrecht | 2015-04-19 | 3 | -2/+9 | |
| | ||||||
* | Switch back to development mode. | Andi Albrecht | 2015-04-15 | 2 | -1/+7 | |
| | ||||||
* | Update version number.0.1.15 | Andi Albrecht | 2015-04-15 | 2 | -3/+3 | |
| | ||||||
* | Never interpret IN keyword as function name (fixes #183). | Andi Albrecht | 2015-04-12 | 3 | -1/+11 | |
| | ||||||
* | Update offset when adding line break (fixes 184). | Andi Albrecht | 2015-04-12 | 1 | -0/+1 | |
| | | | | This change fixes a regression introduced in 8c5c0684ac61ab7d0c5e77881728c8106f2877f9. | |||||
* | Add coverage.xml to .gitignore. | Andi Albrecht | 2015-03-29 | 1 | -1/+2 | |
| | ||||||
* | 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 | 3 | -1/+12 | |
| | ||||||
* | Update Changelog. | Andi Albrecht | 2015-03-05 | 1 | -1/+2 | |
| | ||||||
* | Merge pull request #177 from darikg/brackets | Andi Albrecht | 2015-03-05 | 5 | -52/+125 | |
|\ | | | | | Better square bracket / array index handling | |||||
| * | Add a bunch of square bracket tests | Darik Gamble | 2015-03-04 | 1 | -26/+46 | |
| | | ||||||
| * | 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 | 3 | -2/+11 | |
| | ||||||
* | Update Changelog. | Andi Albrecht | 2015-02-27 | 2 | -0/+2 | |
| | ||||||
* | Merge pull request #174 from caseyching/master | Andi Albrecht | 2015-02-27 | 2 | -2/+5 | |
|\ | | | | | Recognize escaped backslashes within strings | |||||
| * | Recognize escaped backslashes within strings | casey | 2015-02-26 | 2 | -2/+5 | |
|/ | | | | | Previously if a single quoted string ended with an escaped backslash, parsing would not consider the string to be terminated. | |||||
* | Update changelog. | Andi Albrecht | 2015-02-21 | 1 | -1/+1 | |
| | ||||||
* | Update changelog. | Andi Albrecht | 2015-02-21 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:andialbrecht/sqlparse | Andi Albrecht | 2015-02-21 | 3 | -42/+92 | |
|\ | ||||||
| * | Merge pull request #171 from darikg/alias_bugfix | Andi Albrecht | 2015-02-21 | 3 | -42/+92 | |
| |\ | | | | | | | Fix #167 | |||||
| | * | Add a bunch of extra tests for assigning aliases without the AS keyword | Darik Gamble | 2015-02-09 | 1 | -0/+40 | |
| | | | ||||||
| | * | Fix test | Darik Gamble | 2015-02-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Previously, in this test, "(select y from foo where bar = 1) z" was parsed as <Parens><Whitespace><Name z>. It is now parsing as <Identifier alias z>, so change the nested token indexing to match | |||||
| | * | Fix test | Darik Gamble | 2015-02-09 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | In this test, "(y2) bar" was previously parsed as <Parens "y2"><whitespace><Name bar>, Similarly (x3) x2 was <Parens><whitespace><Name x2>, now <Identifier alias x2>. Change the number of top level tokens and nested token indexing to match. | |||||
| | * | 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 | |
| | | | ||||||
* | | | Update changelog. | Andi Albrecht | 2015-02-21 | 2 | -4/+7 | |
|/ / | ||||||
* | | Merge pull request #172 from JacekPliszka/master | Andi Albrecht | 2015-02-21 | 3 | -2/+15 | |
|\ \ | |/ |/| | Fix pathological case of empty statement | |||||
| * | Fix of problem with multiline treated as stackable while /* /* */ is one ↵ | JacekPliszka | 2015-02-12 | 2 | -1/+10 | |
| | | | | | | | | comment, not two stacked | |||||
| * | Fix pathological case of empty statement | JacekPliszka | 2015-02-12 | 1 | -1/+5 | |
|/ | ||||||
* | Update Changelog. | Andi Albrecht | 2015-02-08 | 1 | -0/+1 | |
| | ||||||
* | (postgresql) Add support for square bracket array indexing, by darikg. | Andi Albrecht | 2015-02-08 | 5 | -1/+61 | |
| | | | | Pull request #170 with trivial conflicts resolved. | |||||
* | Update Changelog and AUTHORS. | Andi Albrecht | 2015-02-08 | 2 | -0/+2 | |
| | ||||||
* | Merge pull request #169 from darikg/double_precision | Andi Albrecht | 2015-02-08 | 2 | -0/+10 | |
|\ | | | | | (postgresql) Add "double precision" as a built-in datatype | |||||
| * | Add double precision as a built-in datatype | Darik Gamble | 2015-02-06 | 2 | -0/+10 | |
|/ | ||||||
* | Update changelog. | Andi Albrecht | 2015-01-17 | 1 | -1/+1 | |
| | ||||||
* | Sort Name.Builtin. | Andi Albrecht | 2015-01-17 | 1 | -5/+5 | |
| | ||||||
* | Add TINYINT keyword (fixes #154). | Andi Albrecht | 2015-01-17 | 2 | -1/+2 | |
| | ||||||
* | Add SIGNED keyword (fixes #155). | Andi Albrecht | 2015-01-17 | 2 | -1/+2 | |
| | ||||||
* | Add UNSIGNED keyword (fixes #156). | Andi Albrecht | 2015-01-17 | 2 | -0/+2 | |
| | ||||||
* | Group comments to parent object (fixes #160). | Andi Albrecht | 2015-01-17 | 3 | -10/+26 | |
| | ||||||
* | Improve parsing of inline comments for identifiers (fixes #163). | Andi Albrecht | 2015-01-16 | 4 | -1/+13 | |
| | ||||||
* | Merge branch 'master' of github.com:andialbrecht/sqlparse | Andi Albrecht | 2014-12-21 | 1 | -1/+1 | |
|\ |