1
0
forked from VimPlug/jedi
Commit Graph

4619 Commits

Author SHA1 Message Date
Dave Halter ed152e440e Merge master into the away branch. The merge conflict that was resolved was to get 'debug.py' working again. 2016-06-07 08:55:27 +02:00
Dave Halter 23ff395754 Merge dev and the away branch. 2016-06-07 08:45:26 +02:00
Dave Halter 6b9f96ce13 Keyword completion is now possible in a semantic way. This includes better testing and documentation. 2016-06-06 18:32:00 +02:00
Dave Halter 028d0a2509 After as ther should not follow any completions. 2016-06-06 18:08:45 +02:00
Dave Halter a74d3d6e9a Remove more unused code. 2016-06-06 09:29:05 +02:00
Dave Halter 87a75fdfe4 Remove old unused code. 2016-06-06 09:27:43 +02:00
Dave Halter 7a170532d9 Now finally all tests are running again (except the repl completion, which is a separate issue). 2016-06-06 09:22:50 +02:00
Dave Halter 4ec72d8f24 Finally fix the last remaining fast parser issue. 2016-06-06 08:55:10 +02:00
Dave Halter 436f7dffe0 Fix another very annoying fast parser issue. 2016-06-06 08:37:40 +02:00
Dave Halter dd85fc6ffd Add error token in a normal way to the syntax tree as ErrorLeaf. 2016-06-05 14:49:57 +02:00
Dave Halter aa97e4e714 Fix the fast parser issue #589. 2016-06-05 14:42:32 +02:00
Dave Halter 0b31614025 Merge pull request #728 from sadovnychyi/master
Encoding isn't set for imported modules
2016-06-04 12:02:55 +02:00
Dmitry Sadovnychyi 1404b7bcea Update AUTHORS.txt 2016-06-04 17:49:28 +08:00
Dmitry Sadovnychyi 5cb969d211 Use utf-8 instead of iso-8859-1 as a default encoding 2016-06-04 17:44:29 +08:00
Dave Halter 12f878a4f7 Test for the issue #589. 2016-06-04 01:06:13 +02:00
Dave Halter 6b63b9cf54 Further fixes for failing tests. 2016-06-04 00:59:17 +02:00
Dave Halter c3ffaab8af The fast parser had some splitting issues. 2016-06-04 00:50:36 +02:00
Dave Halter e60c06b691 In every case of a new line the tokenize position should be correct. 2016-06-04 00:34:00 +02:00
Dave Halter 5edcf47512 Break Interpreter completion even more in favor of a better solution in the future. 2016-06-03 19:31:42 +02:00
Dave Halter 0c7894b3e6 Fix a few fast parser tests. 2016-06-02 08:24:52 +02:00
Dave Halter ad8d730a57 More test fixes. 2016-05-31 01:12:07 +02:00
Dave Halter c12dbe0b9e Fix a few tests that failed, because they were not correct python (the context was wrong). 2016-05-30 20:10:17 +02:00
NAKAMURA Yoshitaka 127da66ae2 fix source_to_unicode py3 compatibility 2016-05-30 23:31:18 +09:00
Dave Halter 4f6368e7eb Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out. 2016-05-30 00:34:58 +02:00
Dave Halter daa68b66ad Fix a few issues caused by the refactoring. 2016-05-29 19:49:35 +02:00
Dave Halter feef45f4bb Fixed all on_import tests. 2016-05-29 12:08:53 +02:00
Dave Halter 2700c2cca4 Make it possible to import Jedi in Python 2 again. 2016-05-28 20:20:45 +02:00
Dave Halter 4714b464a6 Further import completion improvements. 2016-05-28 02:08:43 +02:00
Dave Halter e4fe2a6d09 Now some other tests are working again. 2016-05-26 00:35:56 +02:00
Dave Halter cbba314286 Progress and actually passing a few tests. 2016-05-26 00:10:54 +02:00
Dave Halter d4a10929e2 Starting to create a way of how context sensitive completions can be made.
This involves playing heavily with the parser pgen2. We use its stack to check for all possible tokens/keywords.
2016-05-23 18:11:44 +02:00
Dave Halter 36a135c347 pgen2: Don't overwrite type 2016-05-21 16:08:12 +02:00
Dave Halter 97c51cb812 Merge pull request #725 from Carreau/lazy-colorama
Initialize colorama lazily
2016-05-21 15:44:14 +02:00
Dave Halter 479b3cfab2 More completion refactoring. Getting the structure for filtering names right. 2016-05-19 12:41:59 +02:00
Dave Halter 5059febed4 Fix an issue with a wrongly refactored name. 2016-05-19 11:49:59 +02:00
Dave Halter 055ff8be23 Readability for completion parts. 2016-05-19 11:33:17 +02:00
Dave Halter 323581e253 Refactor the completion module. 2016-05-19 11:13:42 +02:00
Dave Halter cfa65a22fa Move the completion specific parts to api/completion.py. 2016-05-19 11:08:37 +02:00
Dave Halter 2e33394adb Move the type inference call of the api to inference.py 2016-05-19 10:40:22 +02:00
Dave Halter da6486dc6d Start moving api stuff to the inference module. 2016-05-19 10:25:36 +02:00
Matthias Bussonnier e96cccb81c Document a bit more 2016-05-18 16:48:08 -07:00
Dave Halter a08ad2d53d Further improvements to the interpreter refactoring. 2016-05-19 01:41:06 +02:00
Dave Halter 1bb8d32084 Improve interpreter tests. 2016-05-18 11:56:33 +02:00
Dave Halter d93d31feb8 Make a first test working with mixed objects. 2016-05-18 11:49:50 +02:00
Matthias Bussonnier 4ba6000f92 Initialize colorama lazily
Will prevent colorama from wrapping stderr/out if not in debug mode,
which leads to some errors.
2016-05-17 16:49:57 -07:00
Dave Halter ef314a5c38 Complete writing the full mixed objects module. 2016-05-17 17:44:22 +02:00
Dave Halter 5595fb3e2f Start adding a module that mixes compiled and parser objects. 2016-05-16 13:12:45 +02:00
Dave Halter 33accb3dc6 It should be possible to pass class.__dict__ to Jedi. 2016-05-16 09:52:45 +02:00
Dave Halter e21b3024e0 Writing tests for the upcoming side effect fixes in the interpreter completion. 2016-05-16 09:36:54 +02:00
Dave Halter 818730d6ea Fix descriptions for REPL. 2016-05-15 23:32:16 +02:00