1
0
forked from VimPlug/jedi

Commit Graph

  • 0147a7f68d usages cleanup Dave Halter 2014-12-17 01:44:06 +01:00
  • 4897791901 Remove old precedence stuff. Dave Halter 2014-12-16 18:28:45 +01:00
  • 7f95a9806a api cleanup. Dave Halter 2014-12-16 18:13:49 +01:00
  • 5730e5add0 parser tree docstring updates. Dave Halter 2014-12-16 18:10:28 +01:00
  • f702a91813 iterable cleanup. Dave Halter 2014-12-16 17:45:01 +01:00
  • 580dcb06ff Clean up the dynamic module. Dave Halter 2014-12-16 17:39:50 +01:00
  • 576a1182af Remove legacy code from param. However, this there's still work needed on params. Dave Halter 2014-12-16 17:37:20 +01:00
  • 3d080afd71 Cleanup finder. Dave Halter 2014-12-16 17:31:28 +01:00
  • 869b0b4189 Cleaning up api classes. Dave Halter 2014-12-16 17:23:59 +01:00
  • 237f0e526c Cleaning up evaluate.helpers. Dave Halter 2014-12-16 17:19:14 +01:00
  • 6821ccba91 Add the pgen2 packages and grammar files to be able to deploy Jedi. Dave Halter 2014-12-16 15:23:49 +01:00
  • e53e211325 Python 2 compatibility in fake module. Dave Halter 2014-12-16 02:07:20 +01:00
  • d5e3a09c44 Python 2 compatibility with the new tokens. Dave Halter 2014-12-16 02:03:05 +01:00
  • fd1cb86765 Now able to remove both tokenize and token from pgen2. Dave Halter 2014-12-16 02:00:33 +01:00
  • d9d3740c92 Trying to replace the old pgen2 token module with a token module more tightly coupled to the standard library. Dave Halter 2014-12-16 01:52:15 +01:00
  • eaace104dd Replace the tokenizer's output with a tuple (switching back from a Token class). Dave Halter 2014-12-16 00:09:31 +01:00
  • 680fdd574b Remove some old unused tokenize stuff. Dave Halter 2014-12-15 17:44:40 +01:00
  • 955f125c0d Trying to remove token from pgen2. Dave Halter 2014-12-15 17:36:15 +01:00
  • 491b4ad76d Pgen2 license amendments. Dave Halter 2014-12-15 17:29:32 +01:00
  • b911a39fb4 The driver file is now empty. Dave Halter 2014-12-15 17:27:27 +01:00
  • 55a6dbc8a2 Remove the old driver code of pgen2. Dave Halter 2014-12-15 17:18:01 +01:00
  • 4e0172a915 Partial parser.__init__' cleanup. Dave Halter 2014-12-15 16:21:35 +01:00
  • af303e10c8 Statement -> ExprStmt. Dave Halter 2014-12-15 16:18:09 +01:00
  • 9431d89797 Imports cleanup. Dave Halter 2014-12-15 16:07:43 +01:00
  • 4af51a9516 Removing legacy code from evaluate/representation. Dave Halter 2014-12-15 16:02:19 +01:00
  • b03330c5d7 Updating the docs of evaluate/__init__. Dave Halter 2014-12-15 16:00:04 +01:00
  • 5f892d62a6 Delete legacy code from evaluate. Dave Halter 2014-12-15 15:34:15 +01:00
  • f2d35c3ff1 Reenable star import caching. Dave Halter 2014-12-15 15:19:22 +01:00
  • 24cfa62c8a documentation Dave Halter 2014-12-15 15:10:44 +01:00
  • f0c6e5709c Some temporary args/kwargs related changes to static analysis. Dave Halter 2014-12-15 14:58:16 +01:00
  • 4a8bbd9583 Restructure dynamic param search, so that it can be cached better. Dave Halter 2014-12-15 13:39:53 +01:00
  • 70e80a5d1c star argument bug fixes. Dave Halter 2014-12-13 08:37:20 +01:00
  • 7d9f85c762 invalid star star arguments. Dave Halter 2014-12-13 08:34:03 +01:00
  • ddd4d675f6 star args improvements Dave Halter 2014-12-13 08:17:38 +01:00
  • 1b48f6fbce Fix static analysis' argument tests. Dave Halter 2014-12-13 07:33:03 +01:00
  • a4c454c103 Fix for unwanted NameError exception in static analysis with named params. Dave Halter 2014-12-12 14:52:34 +01:00
  • a762e0bcec Fix a potential issue with star args. Dave Halter 2014-12-12 14:30:42 +01:00
  • e8cc8f0a83 Get hasattr checks completely working Dave Halter 2014-12-12 02:34:25 +01:00
  • 8eaa008b5f Fix try/except checks in static analysis. Dave Halter 2014-12-12 02:26:16 +01:00
  • c3106c10ef Fix flow's AttributeError detection. Dave Halter 2014-12-11 19:26:49 +01:00
  • d11ea73ef4 Re-enable AttributeError/NameError detection for more complicated occurances than just statements. Dave Halter 2014-12-11 19:18:00 +01:00
  • 77fdbac234 static analysis: Import tests working again. Dave Halter 2014-12-11 16:25:18 +01:00
  • 6818d3affa Implement Import.is_nested method. Dave Halter 2014-12-11 16:17:07 +01:00
  • 6406bfb3c2 First static analysis test working. Dave Halter 2014-12-11 15:42:16 +01:00
  • 6afc5ccca5 Few docstring fixes. Dave Halter 2014-12-11 15:32:45 +01:00
  • 003d1249c5 empty import statement completion. Dave Halter 2014-12-11 15:24:19 +01:00
  • bf8645d615 namedtuple fix Dave Halter 2014-12-11 13:08:09 +01:00
  • d6b2a64343 Some small import completion fixes. Dave Halter 2014-12-11 13:00:48 +01:00
  • c4c3ef5a21 goto_definition on a name definition (statement) should land on the statement. Dave Halter 2014-12-11 12:48:23 +01:00
  • d8067a7286 Small test corrections. Dave Halter 2014-12-11 04:44:27 +01:00
  • 2dd8ed2270 Fix interpreter stuff, fix slicing with CompiledObject and a few other things. Dave Halter 2014-12-11 04:24:50 +01:00
  • 4aac363413 Some changes to the interpreter completions. Dave Halter 2014-12-11 03:49:05 +01:00
  • 220610bbf4 Importer now handles follow rest as well. Dave Halter 2014-12-11 02:28:55 +01:00
  • 48d2e99e55 os.path handling. Dave Halter 2014-12-11 01:49:59 +01:00
  • ef0958a43c Temporarily change the behavior of a defined names test. Hard to say how we really want it to behave. Dave Halter 2014-12-11 00:44:31 +01:00
  • d0ade9b2e9 Set a new version number: 0.9.0-alpha0. Dave Halter 2014-12-11 00:42:34 +01:00
  • bb7bbf51ec Deprecate jedi.defined_names in favor of jedi.names. Dave Halter 2014-12-11 00:41:36 +01:00
  • 243fb8ef34 Small import fix. Dave Halter 2014-12-11 00:14:03 +01:00
  • 23417f0288 Fix docstrings in fake/skeleton objects. Dave Halter 2014-12-11 00:05:49 +01:00
  • 95620accdb Fix tests for namespace packages. Dave Halter 2014-12-10 19:19:13 +01:00
  • 897c4cded6 Fix issues with sys.path modifications that directly assign the sys.path or use the slicing notation. Dave Halter 2014-12-10 19:18:53 +01:00
  • 5af665abd8 Dynamic array checking in combination with FakeSequences might have caused an exception. Dave Halter 2014-12-10 11:42:02 +01:00
  • 4bef8895a0 Fix dynamic arrays: They work in instances, now. Dave Halter 2014-12-10 11:34:11 +01:00
  • d4dfcfe321 NameFinder refactoring to make it possible to cache names_to_types. Dave Halter 2014-12-10 11:23:12 +01:00
  • 2536dede28 Check for recursions in dynamic arrays. Dave Halter 2014-12-10 02:02:55 +01:00
  • e429144979 Fix some stuff list.append stuff combined with functions executions. Dave Halter 2014-12-10 01:58:04 +01:00
  • 5ed914ea21 dynamic array improvements. Dave Halter 2014-12-08 20:18:33 +01:00
  • 1c44336d60 First array addition working. Dave Halter 2014-12-08 18:25:38 +01:00
  • 4c3584ed3c Removed the dynamic_arrays_for_instances setting, because it's a subset of dynamic_array_additions, which is more concise. Dave Halter 2014-12-08 16:36:37 +01:00
  • 936a3c9dfe Small cleanup: Removed a few print statements. Dave Halter 2014-12-08 16:03:23 +01:00
  • 51d309b0a8 Moved keyword completion around to get it working in all cases. Dave Halter 2014-12-08 15:52:05 +01:00
  • 94ea2c1096 Issues with argument clinic parser. Dave Halter 2014-12-08 15:45:40 +01:00
  • 01b9361b33 Reenable keyword completion. Dave Halter 2014-12-08 15:14:27 +01:00
  • 5cc9dd57a6 Finally fixed the last on_import issue, which was that goto was not working on incomplete import statements. Still a bit messy, though. Dave Halter 2014-12-08 15:02:32 +01:00
  • 034d782e65 Last few on_import fixes. Dave Halter 2014-12-08 14:15:21 +01:00
  • 6cc4d71822 Import completion improvements. Dave Halter 2014-12-08 13:47:23 +01:00
  • 7cc2a07cd3 Small full_name improvements. Dave Halter 2014-12-08 12:38:59 +01:00
  • 8868b87d42 Make imports stuff in API classes work. Now goto on imports follows even aliases. Dave Halter 2014-12-08 12:04:09 +01:00
  • 0ad6aeba6b Fix some API classes issues. Among them call signature generation and Definition.parent() issues. Dave Halter 2014-12-08 02:32:43 +01:00
  • 0f01242954 named param goto. Dave Halter 2014-12-08 01:52:32 +01:00
  • 6ad9c5ee76 Small fixes to the parser tests. Dave Halter 2014-12-08 00:58:28 +01:00
  • 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. Dave Halter 2014-12-08 00:52:40 +01:00
  • 0c77e9960a NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests. Dave Halter 2014-12-08 00:48:06 +01:00
  • d6595ad020 Fixed more parser tests. Dave Halter 2014-12-08 00:36:09 +01:00
  • fe8a99dfd5 Fix the parser tests. Dave Halter 2014-12-08 00:32:38 +01:00
  • 34c9422749 The parser tests should also give the parser a grammar. Dave Halter 2014-12-08 00:22:33 +01:00
  • f0c430e20c On import problem with name completion of modules. Dave Halter 2014-12-08 00:16:01 +01:00
  • b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. Dave Halter 2014-12-07 23:55:44 +01:00
  • bb747a83e8 Small fix with big impact for the previously done simple_stmt error recovery. Now it actually works. Dave Halter 2014-12-07 19:45:19 +01:00
  • 2b7434342e Fix absolute imports. Dave Halter 2014-12-07 18:51:14 +01:00
  • eead122636 Use grammar in test scripts. Dave Halter 2014-12-07 18:22:11 +01:00
  • 6058855dd3 test_helpers doesn't make sense anymore, because those the only test it consisted of, was a test with StatementElement, which does not exist anymore in the new parser. Dave Halter 2014-12-07 18:15:18 +01:00
  • e3ab56504e Fixed and simplified flask imports. Dave Halter 2014-12-07 18:11:05 +01:00
  • db636c35ae Error recovery should not delete parts of simple_stmt. Dave Halter 2014-12-07 18:04:55 +01:00
  • 33b39c2b5d Don't use the old setup_function/teardown_function pytest stuff. It's very implicit and hard to understand. Dave Halter 2014-12-07 17:21:52 +01:00
  • 49b34b4d01 Stuff mostly related to namespace packages. Dave Halter 2014-12-07 16:51:54 +01:00
  • 528b325c39 Remove precedence tests. They are not needed anymore, since precedence is now handled by the parser itself. Dave Halter 2014-12-07 14:41:57 +01:00
  • b94a09f360 Fix end_pos of Literals and Whitespace leafs. Dave Halter 2014-12-07 14:28:36 +01:00
  • fe1d7b7030 Replace the old tokenizer tests with the refactored attributes. Dave Halter 2014-12-07 14:19:21 +01:00
  • ea4f7053d6 Fix completion/definition.py tests. Dave Halter 2014-12-07 14:13:59 +01:00