Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add --wrap_after option for wrapping identifier lists. | Dennis Taylor | 2016-06-02 | 1 | -0/+12 | |
| |/ | ||||||
* | | Merge pull request #243 from vmuriart/refactor_lexer.py | Andi Albrecht | 2016-06-03 | 1 | -7/+0 | |
|\ \ | | | | | | | Refactor lexer.py | |||||
| * | | Remove undocumented ws handlers from lexer.py | Victor Uriarte | 2016-05-29 | 1 | -7/+0 | |
| |/ | | | | | | | | | Removing nl before tokenizing breaks comments (stripnl/stripall) Remove tab-expansion. | |||||
* | | Fix flake8 styling | Victor Uriarte | 2016-05-29 | 2 | -5/+2 | |
|/ | ||||||
* | Merge pull request #236 from koljonen/using_directly_followed_by_parenthesis | Andi Albrecht | 2016-05-28 | 1 | -0/+7 | |
|\ | | | | | Recognize USING as a keyword in 'USING(', not just in 'USING (' | |||||
| * | Recognize USING as a keyword in 'USING(', not just in 'USING (' | koljonen | 2016-05-14 | 1 | -0/+7 | |
| | | | | | | | | These were previously caught by (r'[^\W\d_]\w*(?=[.(])', tokens.Name), so I added a special regex just above that one. | |||||
* | | Another small type in the documentation | Dag Wieers | 2016-05-26 | 1 | -1/+1 | |
| | | ||||||
* | | separate identifier grouping into its components | Victor Uriarte | 2016-05-10 | 1 | -3/+3 | |
| | | | | | | | | | | leaving sql.Operations in for future PR small behavior changed for invalid identifier | |||||
* | | fix test to run locally | Victor Uriarte | 2016-05-10 | 1 | -1/+2 | |
|/ | ||||||
* | Improve identifier parsing when identifier is a literal combined with order ↵ | Andi Albrecht | 2016-04-06 | 1 | -0/+6 | |
| | | | | keyword (fixes #101). | |||||
* | Code cleanup | Andi Albrecht | 2016-04-06 | 1 | -3/+4 | |
| | ||||||
* | Fix #230 (function comparison grouping) | saaj | 2016-04-05 | 1 | -0/+23 | |
| | ||||||
* | Ensure get_type() works for queries that use WITH. | Andrew Tipton | 2016-03-02 | 1 | -4/+10 | |
| | ||||||
* | Add failing test for issue #227. | Andrew Tipton | 2016-03-02 | 1 | -0/+7 | |
| | ||||||
* | Add test case for issue 214, update changelog and authors. | Andi Albrecht | 2015-12-14 | 1 | -0/+5 | |
| | ||||||
* | Fix version check when casting TokenList to string (fixes #212). | Andi Albrecht | 2015-12-08 | 1 | -0/+11 | |
| | ||||||
* | Code cleanup in tests. | Andi Albrecht | 2015-10-26 | 6 | -36/+38 | |
| | ||||||
* | Fix tab expansion for Python 3. | Andi Albrecht | 2015-10-26 | 1 | -2/+0 | |
| | ||||||
* | Use compat module for single Python 2/3 code base. | Andi Albrecht | 2015-10-26 | 7 | -45/+42 | |
| | | | | This change includes minor fixes and code cleanup too. | |||||
* | Handle END IF correctly when splitting statements (fixes #194). | Andi Albrecht | 2015-07-28 | 1 | -0/+13 | |
| | ||||||
* | Ignore comments at beginning of statement when calling Statement.get_type ↵ | Andi Albrecht | 2015-07-26 | 1 | -0/+6 | |
| | | | | (fixes #186). | |||||
* | Recognize MSSQL temp tables and distinguish from MySQL comments (fixes #192). | Andi Albrecht | 2015-07-26 | 1 | -0/+10 | |
| | ||||||
* | Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193). | Andi Albrecht | 2015-07-26 | 1 | -1/+12 | |
| | ||||||
* | Improve detection of aliased identifiers (fixes #185). | Andi Albrecht | 2015-04-19 | 1 | -0/+5 | |
| | ||||||
* | Never interpret IN keyword as function name (fixes #183). | Andi Albrecht | 2015-04-12 | 1 | -1/+7 | |
| | ||||||
* | Support comments starting with '#' character (fixes #178). | Andi Albrecht | 2015-03-16 | 1 | -0/+10 | |
| | ||||||
* | Add a bunch of square bracket tests | Darik Gamble | 2015-03-04 | 1 | -26/+46 | |
| | ||||||
* | Allow identifiers to start with an underscore (fixes #175). | Andi Albrecht | 2015-03-01 | 1 | -0/+9 | |
| | ||||||
* | Recognize escaped backslashes within strings | casey | 2015-02-26 | 1 | -0/+4 | |
| | | | | | 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 | 1 | -5/+46 | |
|\ | | | | | 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. | |||||
* | | Fix of problem with multiline treated as stackable while /* /* */ is one ↵ | JacekPliszka | 2015-02-12 | 1 | -0/+3 | |
|/ | | | | comment, not two stacked | |||||
* | (postgresql) Add support for square bracket array indexing, by darikg. | Andi Albrecht | 2015-02-08 | 1 | -0/+49 | |
| | | | | Pull request #170 with trivial conflicts resolved. | |||||
* | Add double precision as a built-in datatype | Darik Gamble | 2015-02-06 | 1 | -0/+9 | |
| | ||||||
* | Improve parsing of inline comments for identifiers (fixes #163). | Andi Albrecht | 2015-01-16 | 1 | -0/+6 | |
| | ||||||
* | Improve formatting of HAVING statements. | Andi Albrecht | 2014-12-21 | 1 | -0/+15 | |
| | ||||||
* | Fix a regression for identifiers with square bracktes notation (fixes #153). | Andi Albrecht | 2014-12-01 | 1 | -0/+7 | |
| | ||||||
* | Better handling of floats in UPDATE statements (issue145). | Andi Albrecht | 2014-11-30 | 1 | -0/+9 | |
| | ||||||
* | Handle single quoted strings in comparisons correctly (fixes issue148). | Andi Albrecht | 2014-10-29 | 1 | -0/+8 | |
| | ||||||
* | Handle modulo operator without spaces | Gavin Wahl | 2014-08-07 | 1 | -0/+4 | |
| | | | | | | | `x %3` should be interpreted as a modulo operation, not a parameter marker. Co-authored-by: Rocky Meza <rmeza@fusionbox.com> | |||||
* | Fix SerializerUnicode to split unquoted newlines | Michael Schuller | 2014-03-10 | 2 | -1/+25 | |
| | | | | | | | This provides a fix to issue #131. The `split_unquoted_newlines()` function added to the utils module handles the splitting of the string by performing a simple iteration of the string passed in and splitting on unquoted CR, LF, or CR+LFs as they are found. | |||||
* | Improve handling of NULL in aliased identifiers. | Andi Albrecht | 2014-03-03 | 1 | -0/+11 | |
| | ||||||
* | Fix Function.get_parameters() returning empty list for SQL functions that ↵ | spigwitmer | 2014-02-05 | 1 | -0/+5 | |
| | | | | have a single nested function as a param | |||||
* | Fix Function.get_parameters() with 1 literal as its parameter | spigwitmer | 2014-02-04 | 1 | -0/+5 | |
| | ||||||
* | Fix parsing and formatting of statements containing EXCEPT keyword. | Andi Albrecht | 2014-01-28 | 1 | -0/+15 | |
| | ||||||
* | Improve parsing of string literals in columns. | Andi Albrecht | 2014-01-10 | 1 | -0/+6 | |
| | ||||||
* | Support for BEGIN/END blocks, add FOREACH keyword. | Andi Albrecht | 2013-11-19 | 1 | -0/+39 | |
| | ||||||
* | Fix incorrect parsing of string literals with line breaks (fixes #118). | Andi Albrecht | 2013-11-06 | 1 | -0/+6 | |
| |