Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove default values from dict.get(...) | Victor Uriarte | 2016-06-04 | 1 | -13/+12 | |
| | | | | | | | | Default is already Null/False | |||||
* | | Add or Update copyright year to files | Victor Uriarte | 2016-06-04 | 13 | -14/+63 | |
| | | ||||||
* | | Code cleanup. | Andi Albrecht | 2016-06-03 | 1 | -1/+2 | |
| | | ||||||
* | | Merge pull request #248 from fimmtiu/add-wrap-after-option | Andi Albrecht | 2016-06-03 | 2 | -4/+21 | |
|\ \ | | | | | | | Add --wrap_after option for wrapping identifier lists. | |||||
| * | | Add --wrap_after option for wrapping identifier lists. | Dennis Taylor | 2016-06-02 | 2 | -4/+21 | |
| |/ | ||||||
* | | Merge pull request #243 from vmuriart/refactor_lexer.py | Andi Albrecht | 2016-06-03 | 3 | -335/+122 | |
|\ \ | | | | | | | Refactor lexer.py | |||||
| * | | Replace iter(range(len(...))) with enumerate | Victor Uriarte | 2016-06-02 | 2 | -7/+4 | |
| | | | ||||||
| * | | Pass encoding into lexer as a parameter | Victor Uriarte | 2016-06-02 | 1 | -7/+4 | |
| | | | ||||||
| * | | Simplify handling of encoding in lexer.py | Victor Uriarte | 2016-05-29 | 1 | -22/+10 | |
| | | | ||||||
| * | | Remove encoding guessing on lexer.py | Victor Uriarte | 2016-05-29 | 1 | -11/+1 | |
| | | | ||||||
| * | | Refactor lexer.tokens_unprocessed | Victor Uriarte | 2016-05-29 | 1 | -60/+27 | |
| | | | | | | | | | | | | | | | | | | | | | Remove unused return pos Remove redundant streamer func Remove unreached else statement Clean-up Lexer tokenization | |||||
| * | | Bid Adieu to metaclass | Victor Uriarte | 2016-05-29 | 2 | -55/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The singleton pattern isn't applicable since only one language is being implemented. Simplify Lexer initialization. Fix compat func `u` on Py3. Signature didn't match Py2. Feature isn't used yet. | |||||
| * | | Merge process_state and __call__ | Victor Uriarte | 2016-05-29 | 1 | -34/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Other Changes: Only #pop state is used by multiline comments. Remove unused states Simplify RegEx compilation RegEx Exception too generic | |||||
| * | | Merge process_tokendef and __call__ | Victor Uriarte | 2016-05-29 | 1 | -16/+6 | |
| | | | | | | | | | | | | Remove unused token_variants | |||||
| * | | Remove assert statements from lexer.py | Victor Uriarte | 2016-05-29 | 1 | -19/+0 | |
| | | | ||||||
| * | | Remove undocumented ws handlers from lexer.py | Victor Uriarte | 2016-05-29 | 1 | -15/+2 | |
| | | | | | | | | | | | | | | | Removing nl before tokenizing breaks comments (stripnl/stripall) Remove tab-expansion. | |||||
| * | | Remove unused func/class/args in lexer.py | Victor Uriarte | 2016-05-29 | 1 | -60/+3 | |
| | | | | | | | | | | | | | | | | | | Remove unused apply_filters from lexer.py Remove unused filters function from lexer.py Remove unused arguments get_tokens func | |||||
| * | | Refactor var Lexer.tokens & func is_keyword | Victor Uriarte | 2016-05-29 | 2 | -68/+70 | |
| |/ | ||||||
* | | Remove redundant functions | Victor Uriarte | 2016-06-02 | 2 | -16/+2 | |
| | | ||||||
* | | Refactor format function signature | Victor Uriarte | 2016-06-02 | 1 | -2/+1 | |
| | | | | | | | | easier way to get encoding variable | |||||
* | | Update TokenType magic methods (contains, getattr, repr) | Victor Uriarte | 2016-06-02 | 1 | -8/+7 | |
| | | | | | | | | | | Variables were renamed to keep with convention getattr call to tuple (super) is unnecessary. | |||||
* | | Remove unused code from tokens.py | Victor Uriarte | 2016-06-02 | 1 | -14/+0 | |
| | | ||||||
* | | Fix flake8 styling | Victor Uriarte | 2016-05-29 | 3 | -5/+6 | |
| | | ||||||
* | | Fix unicode comparison warning | Victor Uriarte | 2016-05-29 | 1 | -2/+2 | |
| | | ||||||
* | | Change old-style class to new-style | Victor Uriarte | 2016-05-29 | 2 | -14/+14 | |
| | | | | | | | | | | py3 interpreted old code as new-style classes. py2 should match its behavior. | |||||
* | | Remove unused hash function from tokens.py | Victor Uriarte | 2016-05-29 | 1 | -3/+0 | |
|/ | ||||||
* | CREATE TABLE should not be parsed as Function | Tenghuan | 2016-05-29 | 1 | -0/+9 | |
| | ||||||
* | Merge pull request #236 from koljonen/using_directly_followed_by_parenthesis | Andi Albrecht | 2016-05-28 | 1 | -0/+1 | |
|\ | | | | | Recognize USING as a keyword in 'USING(', not just in 'USING (' | |||||
| * | Don't call is_keyword for the new 'USING(' regex | koljonen | 2016-05-15 | 1 | -1/+1 | |
| | | ||||||
| * | Recognize USING as a keyword in 'USING(', not just in 'USING (' | koljonen | 2016-05-14 | 1 | -0/+1 | |
| | | | | | | | | These were previously caught by (r'[^\W\d_]\w*(?=[.(])', tokens.Name), so I added a special regex just above that one. | |||||
* | | Fix small typo in documentation | Dag Wieers | 2016-05-26 | 1 | -2/+2 | |
| | | ||||||
* | | refactor group_comments | Victor Uriarte | 2016-05-11 | 1 | -15/+9 | |
| | | ||||||
* | | refactor sql.py functions | Victor Uriarte | 2016-05-11 | 2 | -85/+31 | |
| | | ||||||
* | | separate identifier grouping into its components | Victor Uriarte | 2016-05-10 | 1 | -77/+50 | |
| | | | | | | | | | | leaving sql.Operations in for future PR small behavior changed for invalid identifier | |||||
* | | refactor identifier list and alias grouping | Victor Uriarte | 2016-05-10 | 1 | -62/+26 | |
| | | ||||||
* | | refactor remove quotes | Victor Uriarte | 2016-05-10 | 1 | -11/+3 | |
| | | ||||||
* | | refactor _group_left_right | Victor Uriarte | 2016-05-10 | 1 | -64/+39 | |
| | | ||||||
* | | group all the one-offs | Victor Uriarte | 2016-05-10 | 1 | -31/+21 | |
| | | ||||||
* | | Add group matching M_tokens and refactor group matching | Victor Uriarte | 2016-05-10 | 3 | -110/+38 | |
| | | | | | | | | remove slots in subclasses | |||||
* | | Introduce @recurse to refactor recursion | Victor Uriarte | 2016-05-10 | 2 | -11/+12 | |
| | | ||||||
* | | generalize group_tokens for more use cases | Victor Uriarte | 2016-05-10 | 2 | -19/+29 | |
| | | ||||||
* | | adding powerful _token_matching and imt helper | Victor Uriarte | 2016-05-10 | 1 | -6/+30 | |
| | | ||||||
* | | update sql | Victor Uriarte | 2016-05-10 | 1 | -8/+8 | |
| | | ||||||
* | | Update compat and utils | Victor Uriarte | 2016-05-10 | 2 | -13/+98 | |
|/ | ||||||
* | Improve identifier parsing when identifier is a literal combined with order ↵ | Andi Albrecht | 2016-04-06 | 1 | -0/+2 | |
| | | | | keyword (fixes #101). | |||||
* | Fix #230 (function comparison grouping) | saaj | 2016-04-05 | 1 | -1/+2 | |
| | ||||||
* | Code cleanup. | Andi Albrecht | 2016-04-03 | 3 | -33/+28 | |
| | ||||||
* | Token keyword correction | Cauê Beloni | 2016-03-29 | 1 | -1/+1 | |
| | ||||||
* | Ensure get_type() works for queries that use WITH. | Andrew Tipton | 2016-03-02 | 3 | -1/+14 | |
| | ||||||
* | Add keyword 'SEQUENCE' | Shen Longxing | 2015-12-22 | 1 | -0/+1 | |
| | | | For now, sqlparse does not support 'create sequence' statement. Add keyword 'SEQUENCE' to support it. |