Commit Graph

  • c332fba488 Fix a namespace packages related issue. Dave Halter 2017-03-15 08:59:24 +01:00
  • 375749c5c3 Small restructuring. Dave Halter 2017-03-15 08:56:49 +01:00
  • 55c9fd3227 Fix an issue in the fake parser Dave Halter 2017-03-15 08:44:49 +01:00
  • 9a851165ad Lookup optimisation Matthias Bussonnier 2017-03-13 19:32:29 -07:00
  • bb8fe0b24c A missing docstring. Matthias Bussonnier 2017-03-13 19:49:03 -07:00
  • 68a7365a0a A few docstring improvements. Dave Halter 2017-03-14 21:03:03 +01:00
  • 9efb3f0af2 More direct parser usage removals. Dave Halter 2017-03-14 19:31:54 +01:00
  • 717bfeb574 Remove an occurance of the complicated parser creation. Dave Halter 2017-03-14 19:27:03 +01:00
  • 97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. Dave Halter 2017-03-14 00:38:58 +01:00
  • 9b5e6d16da Improved grammar loading API. Dave Halter 2017-03-13 20:33:29 +01:00
  • 595ffc24d4 Move some more stuff to a python directory in the parser. Dave Halter 2017-03-13 00:54:39 +01:00
  • 922c480e2e Moved the parser to a new file. Dave Halter 2017-03-12 21:33:41 +01:00
  • a635b6839a Remove unused code. Dave Halter 2017-03-12 21:28:32 +01:00
  • af9b0ba8d6 Merge branch 'master' into dev Dave Halter 2017-03-12 20:51:17 +01:00
  • 82d165a723 Missing paren Alex Wiltschko 2017-03-12 10:55:23 -04:00
  • a7b1e3fe70 Fixed another diff parser error. Dave Halter 2017-03-12 15:58:14 +01:00
  • 6e3b00802c Another endless while loop issue, add an assert. Dave Halter 2017-03-11 14:54:44 +01:00
  • 818fb4f60c Fix a bug that might have caused an endless while loop a while ago. Fixes #878. Dave Halter 2017-03-09 21:46:53 +01:00
  • ccef008376 Python 2 compatibility. Dave Halter 2017-03-09 21:06:20 +01:00
  • c7a74e6d1c Make the tokenizer a generator. Dave Halter 2017-03-09 18:53:09 +01:00
  • 989e4bac89 Speed up splitlines. Dave Halter 2017-03-09 08:58:57 +01:00
  • b814a91f29 Avoid endless loop with an assert in the diff parser. Dave Halter 2017-03-08 18:33:38 +01:00
  • 5c9769c5a3 Merge remote-tracking branch 'origin/master' into dev Dave Halter 2017-03-07 19:01:53 +01:00
  • ee98eab64c Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-03-07 19:01:42 +01:00
  • 05e05252fa Make python -m jedi.parser.tokenize possible for debugging purposes. Dave Halter 2017-03-07 18:31:12 +01:00
  • a859add6d7 Only resolve names for actual modules micbou 2017-03-01 01:58:58 +01:00
  • fc27ca1b6a 'fix a couple of error locations' Matthias Bussonnier 2017-02-23 15:29:23 -08:00
  • 784de85b36 Add test for handeling of newline in multiline strings Matthias Bussonnier 2017-02-14 14:29:59 -08:00
  • 0fb386d7e2 Make sure error token set the new_line flag when necessary Matthias Bussonnier 2017-02-13 10:19:55 -08:00
  • 5513f72987 added support for implicit ns packages and added tests daniel 2017-01-16 18:36:35 -05:00
  • ef1b1f41e4 Use start and end position in repr for simpler debugging. Matthias Bussonnier 2017-02-13 11:15:54 -08:00
  • 68c6f8dd03 readme: Add maralla/completor.vim Daniel M. Capella 2017-02-13 15:00:02 -05:00
  • b72aa41019 Missing assert Matthias Bussonnier 2017-02-06 18:01:43 -08:00
  • adc08785b6 Build universal wheels Thomas Kluyver 2017-02-04 11:33:36 +00:00
  • 8131f19751 Correct an issue in the tests with the last commit. Dave Halter 2017-02-04 18:11:54 +01:00
  • b6e61133d8 Move the tests for the last PR #848. Dave Halter 2017-02-04 18:11:14 +01:00
  • 37d7b85ed1 Add tests for decorator completion Mathias Rav 2017-02-04 13:18:41 +01:00
  • c6cd18802b Add myself as contributor Mathias Rav 2017-02-04 13:10:58 +01:00
  • c809aad67f Complete dotted names properly in decorators Mathias Rav 2017-02-04 12:58:54 +01:00
  • 1d64a5caa1 Replace first_leaf and last_leaf with get_first_leaf and get_last_leaf. Dave Halter 2017-02-03 17:35:53 +01:00
  • 90fffd883e Clean up the function docstring. Dave Halter 2017-02-03 17:30:58 +01:00
  • 647aec11a6 Return None instead of raising an IndexError in get_next_leaf. Dave Halter 2017-02-03 17:26:02 +01:00
  • c5071f9f49 Change get_previous_leaf to return None if there is no leaf anymore (at the start of the file). Dave Halter 2017-02-03 17:23:15 +01:00
  • 445bf6c419 Get rid of get_parent_until. Dave Halter 2017-02-03 09:59:32 +01:00
  • b3cb7b5490 Remove the def isinstance from the parser. It was a really bad pattern. Dave Halter 2017-02-03 09:37:59 +01:00
  • 6ccac94162 Add a deploy script. Dave Halter 2017-02-03 00:40:19 +01:00
  • f2b41b1752 Update already the version number so we don't forget it. Dave Halter 2017-02-03 00:38:08 +01:00
  • 7020086166 Changelog for 0.10.0 v0.10.0 Dave Halter 2017-02-03 00:08:51 +01:00
  • 8027aeebd8 Fix a small bug that was raised two commits ago (in the test suite). Dave Halter 2017-02-02 23:50:29 +01:00
  • f627d541b8 Trying to fix the docs. Dave Halter 2017-02-02 23:39:10 +01:00
  • a5a54fbc85 Fix a call signature issue. Dave Halter 2017-02-01 19:21:07 +01:00
  • 68a3a9cf41 Don't do anything with the diff parser if nothing changes. Dave Halter 2017-01-29 22:12:24 +01:00
  • e5af996829 Remove old debug code from the diff parser. Dave Halter 2017-01-29 21:57:09 +01:00
  • e0c8b3dd3b Fix an context issue in completions. Dave Halter 2017-01-29 19:09:35 +01:00
  • 3f1e658e1d Set the limit for debugging failed diff parsers a bit higher. Dave Halter 2017-01-29 14:34:20 +01:00
  • 40b6079ebd If an INDENT is the next supposed token, we should still be able to complete. Dave Halter 2017-01-29 14:06:22 +01:00
  • b0f340748c So much work for one simple diff fail. Dave Halter 2017-01-29 00:42:09 +01:00
  • b779677bf9 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-01-25 23:21:45 +01:00
  • b18239f9dd Add a way to profile the diff parser. Dave Halter 2017-01-25 23:00:33 +01:00
  • 9982975ad2 Another small performance improvement. Dave Halter 2017-01-25 22:54:08 +01:00
  • 4918fb49f5 Implement binary search for get_leaf_for_position. This makes it a lot faster. Dave Halter 2017-01-25 22:27:36 +01:00
  • f2db0dceb4 A few small performances improvements on the diff parser. Dave Halter 2017-01-25 21:12:13 +01:00
  • dfced86730 Merge pull request #834 from Carreau/fix-keyword Dave Halter 2017-01-24 13:27:49 +01:00
  • 551c122cf8 Fix an issue in sith where there we have accessed a removed Jedi property. Dave Halter 2017-01-24 09:57:43 +01:00
  • f4b8a02d37 Add a few speed debugging times to the diff parser. Dave Halter 2017-01-24 09:51:23 +01:00
  • 09779c88aa Fix a nasty issue in the tokenizer. Fixes #836. Dave Halter 2017-01-24 00:50:37 +01:00
  • 741993a738 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-01-23 20:37:34 +01:00
  • e7fcc21863 Remove both MergedNodes and AlreadyEvaluated, they are unused. Dave Halter 2017-01-23 20:36:26 +01:00
  • 7623b1e350 Removed tree.is_node. Dave Halter 2017-01-23 20:34:30 +01:00
  • 64abe401ed The position modifier is not used anymore. Dave Halter 2017-01-23 20:12:17 +01:00
  • d85ceb9222 More cleanups in the parser. Dave Halter 2017-01-23 20:10:02 +01:00
  • 645841d98c Remove more unused code. Dave Halter 2017-01-23 19:51:30 +01:00
  • b286f3aef0 Merge pull request #832 from Carreau/more-docs Dave Halter 2017-01-23 15:00:45 +01:00
  • 01b25efea1 Use the same function to detect newlines in the diff parser. Dave Halter 2017-01-23 09:56:38 +01:00
  • 0f865a17ef Improve some documentation about name with symbols, name and completion. #832 Matthias Bussonnier 2017-01-19 11:07:14 -08:00
  • d3e8a9bd52 Resolve kewords types as keyword in completions #834 Matthias Bussonnier 2017-01-20 18:56:31 -08:00
  • 1caa2ceafa Cannot use sys.version.major and minor names, because in Python 2.6 it's not a namedtuple. Dave Halter 2017-01-23 01:08:23 +01:00
  • 8d2ec6556e Fix a Python 2.7 issue. Dave Halter 2017-01-23 00:36:57 +01:00
  • 1ff7ecc7af Remove jedi.settings.add_dot_after_module that was removed a while ago from documentation. Dave Halter 2017-01-23 00:12:02 +01:00
  • 194295066a Fix one more issue in the diff parser. Dave Halter 2017-01-22 23:44:10 +01:00
  • 08c66207ec Fix the last diff parser test. Dave Halter 2017-01-22 20:27:11 +01:00
  • dca35393d5 Remove old code from the diff parser. Dave Halter 2017-01-22 20:22:20 +01:00
  • 8f4b862892 Fix most diff tests. Dave Halter 2017-01-22 20:13:18 +01:00
  • 005b24ed54 Better handling of the stack. Dave Halter 2017-01-21 18:43:54 +01:00
  • 21cd10cefd Get a few diff tests passing. Dave Halter 2017-01-20 20:46:30 +01:00
  • 73b2287fb4 Fix some tests. Dave Halter 2017-01-20 18:12:09 +01:00
  • ebfae050a8 Delete a lof of duplicate code. Dave Halter 2017-01-19 18:31:53 +01:00
  • ef31c3d1f4 Some asserts pass now in the tests. Dave Halter 2017-01-19 18:26:50 +01:00
  • 3bf5f93edd Progress in using a stack in the diff parser. Dave Halter 2017-01-19 09:44:07 +01:00
  • fe44458ec0 Start implementing the node stack. Dave Halter 2017-01-16 16:32:49 +01:00
  • 98185d530e Simplify deep_ast_parser a lot. Dave Halter 2017-01-12 21:51:02 +01:00
  • ad1222e6d7 Fix another parser bug. Dave Halter 2017-01-12 00:31:19 +01:00
  • 0141711af8 Diff parser docstring. Dave Halter 2017-01-10 19:17:37 +01:00
  • 425fba5e95 Move the parser.fast module to parser.diff. Dave Halter 2017-01-10 19:15:47 +01:00
  • 1edccbe2c3 Improve literal tests. Dave Halter 2017-01-08 19:52:21 +01:00
  • 7300f3e7ef Fix issues with Python 3.6's f strings and underscores in numbers. Dave Halter 2017-01-08 19:38:57 +01:00
  • 00a9f1ec0a Update the tokenizer to include f literals and underscores. Need tests still. Dave Halter 2017-01-08 16:03:45 +01:00
  • 3f09f3a304 Add support for PEP 0526. Dave Halter 2017-01-08 03:57:35 +01:00
  • 6d00a5702f If newer versions are using Jedi (e.g. at the moment Python 3.7), it shouldn't just result in a grammar issue, just because that grammar doesn't not exist. Just take the Python 3.6 grammar instead. Dave Halter 2017-01-07 15:54:04 +01:00
  • aff3950085 Better async testing. Dave Halter 2017-01-07 15:40:55 +01:00