1
0
forked from VimPlug/jedi
Commit Graph

346 Commits

Author SHA1 Message Date
Dave Halter 05554a1c89 Fix some issues with import path errors. 2015-04-21 18:45:12 +02:00
Dave Halter df9452f210 Trying to change the import logic completely. We now have a sys.modules like cache. 2015-04-20 14:47:33 +02:00
Dave Halter 8fca3f78a1 Add a py__name__ call to modules. This makes listing the qualified names of modules possible (in combination with the module_name_cache). Fixes #519. 2015-04-14 17:36:20 +02:00
Dave Halter 4bb41b6096 A property can raise an Exception, therefore the interpreter completion should check for those exceptions, fixes #538. 2015-03-24 15:26:00 +01:00
Dave Halter 468ff59c1c Remove hasattr/next from _compatibility (not used anymore), thanks @dongweiming for noticing. 2015-03-06 00:25:42 +01:00
Dave Halter e698e6aeeb Rework some of the analysis statement gathering. 2015-03-05 13:36:41 +01:00
Dave Halter f273e314b6 Preparing for an eventual replacement of using expr_stmt for all nodes. 2015-03-05 00:07:50 +01:00
Dave Halter a3c2108ecf Fix and test CallSignature.bracket_start. 2015-03-04 12:15:43 +01:00
Dave Halter 23fe08363d Simplify cache_call_signatures. 2015-02-27 12:20:55 +01:00
Dave Halter ea8209d45e Call signatures should not fail when used on if(. 2015-02-27 12:17:44 +01:00
Dave Halter 53490991d7 Goto_definitions bug fix -> imports stuff. 2015-02-27 11:56:36 +01:00
Dave Halter 1bc9ac1c00 Goto bug fix. 2015-02-27 11:37:49 +01:00
Dave Halter 8775d90173 Merge the master branch into the dev branch. 2015-02-09 14:41:41 +01:00
Dave Halter c689573b0b Removed the line_offset from tokenize, we have better ways to modify positions, now. 2015-02-05 14:00:58 +01:00
Dave Halter 3a4235eb33 The interpreter is not using the fast parser anymore. 2015-02-05 00:28:54 +01:00
Dave Halter 4d6afd3c99 Fix fast parser tests. 2015-01-24 00:06:16 +01:00
Dave Halter c963706418 Delete legacy logic. 2015-01-15 02:19:48 +01:00
Dave Halter e6b9111749 Python 2.7 compatibility. 2015-01-13 02:12:49 +01:00
Dave Halter f59e05f8e7 Switch grammars depending on Python version. 2015-01-12 13:33:44 +01:00
Dave Halter 81c4792349 Simplify the interpreter completion. 2015-01-08 18:30:49 +01:00
Dave Halter ed7500bfaa Delete deprecations from 0.6.0 and 0.5.0. 2015-01-08 18:22:38 +01:00
Dave Halter 7c6a6006fd Delete commented code. 2015-01-08 18:19:54 +01:00
Dave Halter 301b4ca649 Deprecate NotFoundError, because it wasn't used anymore. 2015-01-08 18:17:37 +01:00
Dave Halter 8ec8a74a3f Removed base in completions 2015-01-08 18:02:55 +01:00
Dave Halter bd304d33c7 Get rid of Function's get_magic_function_X, they are not used anymore. 2015-01-08 14:17:33 +01:00
Dave Halter 83a94c12c9 Correct global name issues. 2015-01-08 01:20:53 +01:00
Dave Halter f5e687bc22 Use names_dicts now for all completions. 2015-01-07 23:49:13 +01:00
Dave Halter c451c0b29e Private variable filtering improved. 2015-01-07 14:44:19 +01:00
Dave Halter 987121ae5c Filter names in a separate function so that it can be used for both completion and name lookups. 2015-01-07 13:56:35 +01:00
Dave Halter ec76d57679 Start using names_dicts for completion as well. 2015-01-07 01:49:38 +01:00
Dave Halter 36819b3241 Filtering private variables seems to be working now at least in the evaluation engine. 2015-01-02 01:50:14 +01:00
Dave Halter 1fb13837c4 Fix import completion issues. 2014-12-18 02:55:03 +01:00
Dave Halter 7f95a9806a api cleanup. 2014-12-16 18:13:49 +01:00
Dave Halter 9431d89797 Imports cleanup. 2014-12-15 16:07:43 +01:00
Dave Halter f2d35c3ff1 Reenable star import caching. 2014-12-15 15:19:22 +01:00
Dave Halter c3106c10ef Fix flow's AttributeError detection. 2014-12-11 19:26:49 +01:00
Dave Halter d11ea73ef4 Re-enable AttributeError/NameError detection for more complicated occurances than just statements. 2014-12-11 19:18:00 +01:00
Dave Halter 6818d3affa Implement Import.is_nested method. 2014-12-11 16:17:07 +01:00
Dave Halter 6406bfb3c2 First static analysis test working. 2014-12-11 15:42:16 +01:00
Dave Halter 003d1249c5 empty import statement completion. 2014-12-11 15:24:19 +01:00
Dave Halter c4c3ef5a21 goto_definition on a name definition (statement) should land on the statement. 2014-12-11 12:48:23 +01:00
Dave Halter 48d2e99e55 os.path handling. 2014-12-11 01:49:59 +01:00
Dave Halter bb7bbf51ec Deprecate jedi.defined_names in favor of jedi.names. 2014-12-11 00:41:36 +01:00
Dave Halter 51d309b0a8 Moved keyword completion around to get it working in all cases. 2014-12-08 15:52:05 +01:00
Dave Halter 01b9361b33 Reenable keyword completion. 2014-12-08 15:14:27 +01:00
Dave Halter 5cc9dd57a6 Finally fixed the last on_import issue, which was that goto was not working on incomplete import statements. Still a bit messy, though. 2014-12-08 15:02:35 +01:00
Dave Halter 034d782e65 Last few on_import fixes. 2014-12-08 14:15:21 +01:00
Dave Halter 6cc4d71822 Import completion improvements. 2014-12-08 13:47:23 +01:00
Dave Halter dffce937f2 With the old parser we did more complicated checking for invalid statements, now the new parser does it by itself. Therefore we can stop doing crazy regex stuff in the API. 2014-12-08 00:52:40 +01:00
Dave Halter f0c430e20c On import problem with name completion of modules. 2014-12-08 00:16:01 +01:00