Commit Graph

  • 2f562040ac Fix a few remaining issues about the current branch Dave Halter 2019-04-14 18:44:58 +02:00
  • 6ced926db0 Try to get some more stub to definitions working and vice versa Dave Halter 2019-04-14 17:37:48 +02:00
  • ad0000886d Use MethodContext in create_context Dave Halter 2019-04-14 00:17:14 +02:00
  • 3c74b9bf10 Remove some code that is not necessary anmore, because of an improvment in get_parent_scope Dave Halter 2019-04-13 01:57:50 +02:00
  • 05eb06d91b Merge remote-tracking branch 'origin/master' into typeshed Dave Halter 2019-04-13 01:52:15 +02:00
  • 3602c95341 Refactor parent_scope a bit Dave Halter 2019-04-13 01:52:03 +02:00
  • b2f6758a9c Merge pull request #1313 from CXuesong/master Dave Halter 2019-04-13 00:43:58 +02:00
  • e843c6108d fix add_bracket_after_function had no effect (#1297) Andreas Mittelberger 2019-04-12 15:41:02 -07:00
  • 2724ac9e07 Make a separate test case. #1313 forest93 2019-04-12 23:31:06 +08:00
  • 201cf880f9 Remove an if that was unnecessary Dave Halter 2019-04-12 12:59:21 +02:00
  • 0bf4bf36f0 Small change Dave Halter 2019-04-12 12:54:38 +02:00
  • 3bef9a67b8 Refactor a bit of create_context Dave Halter 2019-04-12 12:34:07 +02:00
  • 3ba3d72d6b Fix a small issue Dave Halter 2019-04-12 12:09:03 +02:00
  • 44639ee50e Better py__getattribute__ for ContextSet Dave Halter 2019-04-11 22:59:54 +02:00
  • 0f037d0e6c Goto for stubs is now working better Dave Halter 2019-04-11 22:06:23 +02:00
  • 1e12e1e318 Make get_module_names return top-level async functions when all_scopes=False. forest93 2019-04-11 23:38:55 +08:00
  • bb050eebed Move creating stub modules Dave Halter 2019-04-11 08:35:16 +02:00
  • 9f26c27b6d Start adding tests for goto_assignments on stubs Dave Halter 2019-04-10 20:41:05 +02:00
  • c801e24afc fix get_system_environment misses if same python version has multiple installs mlangkabel 2019-02-12 14:14:11 +01:00
  • 31442ecb3b Merge branch 'master' into typeshed Dave Halter 2019-04-09 22:58:30 +02:00
  • 24a06d2bf9 Merge branch 'names-all-scopes-false-returns-class-fields' of https://github.com/immerrr/jedi Dave Halter 2019-04-09 22:58:03 +02:00
  • e61e210b41 Remove some weird changes about importing again Dave Halter 2019-04-09 21:48:57 +02:00
  • 255d0d9fb5 Fix builtin import issues Dave Halter 2019-04-09 21:15:33 +02:00
  • 8c9ac923c6 Fix import names from sys path generation Dave Halter 2019-04-08 19:35:58 +02:00
  • 85fc799d62 Reintrodue a piece of sys_path code with test Dave Halter 2019-04-08 10:05:12 +02:00
  • 3d5b13c25e Test function rename Dave Halter 2019-04-08 01:56:24 +02:00
  • cccbf50a0e Fix an issue with transform_path_to_dotted Dave Halter 2019-04-08 01:56:05 +02:00
  • e50f65527d Somehow removed a test when merging Dave Halter 2019-04-08 01:34:12 +02:00
  • a356859e7e Got something small wrong with compatibility Dave Halter 2019-04-07 22:03:26 +02:00
  • 96d607d411 Cross Python version fixes for unicode/bytes things Dave Halter 2019-04-07 21:51:25 +02:00
  • d6232e238a Merge branch 'master' into ts2 Dave Halter 2019-04-05 15:44:25 +02:00
  • 8d0c4d3cec Resolve path in get_cached_default_environment() in api/environment.py to prevent unnecessary cache busting when using pipenv. Nikhil Mitra 2019-04-04 19:28:16 -07:00
  • e95f4c7aa5 Fix module loading in Python 2 Dave Halter 2019-04-05 13:39:27 +02:00
  • d222d78c7b Zip imports don't have to work in Python2 Dave Halter 2019-04-05 12:31:24 +02:00
  • aaae4b343e Errors in import module are now better reported Dave Halter 2019-04-05 12:21:05 +02:00
  • 7ccc0d9d7b Another Python2 fix Dave Halter 2019-04-05 12:20:46 +02:00
  • 02b01a8bc3 Fix an import error for Python 2 Dave Halter 2019-04-04 13:20:41 +02:00
  • c0f5c5f24c print_to_stderr can be replaced with a proper future import Dave Halter 2019-04-03 09:36:04 +02:00
  • c997d568f3 Remove unused code Dave Halter 2019-04-03 09:30:22 +02:00
  • 87bcaadf40 Fix a 3.7 issue Dave Halter 2019-04-03 01:16:52 +02:00
  • f4a6856e54 Fix some tests Dave Halter 2019-04-03 01:04:18 +02:00
  • fa17681cf6 Goto definitions goto stubs now have a proper implementation Dave Halter 2019-04-03 00:27:03 +02:00
  • 7c56052d58 Make infer public on classes Dave Halter 2019-04-01 09:25:00 +02:00
  • 2fc53045c7 Goto stubs if on definition Dave Halter 2019-03-31 01:19:35 +01:00
  • 2f1ce2bbf9 Some test fixes Dave Halter 2019-03-28 19:23:55 +01:00
  • aa37f6f738 Fixes for _follow_error_node_imports_if_possible Dave Halter 2019-03-28 10:12:23 +01:00
  • 2ad652a071 Fix a few more goto_definition error_node imports Dave Halter 2019-03-28 09:34:57 +01:00
  • ab8d7e8659 Running a test should not fail if nothing is selected Dave Halter 2019-03-28 08:59:59 +01:00
  • 7cd79c440c Try to read bytes if possible, not unicode Dave Halter 2019-03-27 22:19:57 +01:00
  • a4b5950495 Make it possible to use the parse functions without file_io Dave Halter 2019-03-27 01:05:45 +01:00
  • 04095f7682 Uncomment previous zip tests that needed bugfixing first Dave Halter 2019-03-27 00:56:15 +01:00
  • 1c105b5c68 Follow error node imports properly in goto assignments as well Dave Halter 2019-03-27 00:53:35 +01:00
  • f4c17e578c Make it possible to use goto_definition on "broken" imports Dave Halter 2019-03-27 00:39:51 +01:00
  • 993567ca56 Remove submodule dict issues from namespace packages Dave Halter 2019-03-26 18:42:37 +01:00
  • e01d901399 Test zip imports that have nested modules Dave Halter 2019-03-26 09:33:54 +01:00
  • a437c2cb02 Fix test_imports tests, now zip imports work again Dave Halter 2019-03-26 09:16:38 +01:00
  • b6612a83c3 WIP import improvement, getting rid of bad old code Dave Halter 2019-03-21 23:22:19 +01:00
  • 151935dc67 Avoid property, because there's a __getattr__ on that class Dave Halter 2019-03-21 18:49:56 +01:00
  • ad69daf1a3 Update the imports in zip file to be correct Dave Halter 2019-03-20 22:21:47 +01:00
  • 234f3d93cd Rewrite py__package__ to return a list Dave Halter 2019-03-18 10:01:18 +01:00
  • 77a7792afc Fix transform_path_to_dotted tests on Windows micbou 2019-03-13 01:48:10 +01:00
  • e2fea0a5de Fix some tests because of stub_context changes Dave Halter 2019-03-16 01:06:13 +01:00
  • fce37fa0e3 Remove a few prints Dave Halter 2019-03-16 00:23:52 +01:00
  • 7ab3586e52 Merge branch 'master' into typeshed Dave Halter 2019-03-14 09:26:25 +01:00
  • 92a8a84ff2 Fix sys.path completions, #1298 Dave Halter 2019-03-13 21:11:20 +01:00
  • 156e5f6beb Add two typeshed tests Dave Halter 2019-03-13 10:04:19 +01:00
  • 8e9a91abf8 Implement is_stub and goto_stubs for the API Dave Halter 2019-03-11 19:13:24 +01:00
  • 32d2397e64 Move test_stub to test_gradual Dave Halter 2019-03-10 12:02:51 +01:00
  • 087a58965b Add a typeshed test Dave Halter 2019-03-10 12:01:00 +01:00
  • b7a164afa8 Merge branch 'master' into typeshed Dave Halter 2019-03-08 18:59:33 +01:00
  • b659b20d27 Fix an issue between different subprocess versions Dave Halter 2019-03-08 18:20:00 +01:00
  • d77e43b57d Enforce unicode because of Python 2 Dave Halter 2019-03-08 16:41:08 +01:00
  • bfd8ce475a Merge master into typeshed Dave Halter 2019-03-08 16:35:56 +01:00
  • 967d35e4be Correct a docstring Dave Halter 2019-03-08 16:35:15 +01:00
  • 0cad79ad18 Merge branch 'master' into typeshed Dave Halter 2019-03-08 16:25:45 +01:00
  • cd8c9436c5 Merge branch 'master' of github.com:davidhalter/jedi Dave Halter 2019-03-08 16:23:46 +01:00
  • f93134d4f8 Two simple test fixes Dave Halter 2019-03-08 16:23:37 +01:00
  • 5743f54d69 One more relative import fix Dave Halter 2019-03-08 16:01:56 +01:00
  • 1914d10836 Fix relative imports outside of the proper paths Dave Halter 2019-03-08 14:25:54 +01:00
  • 6b579d53ec Some more refactoring for relative imports Dave Halter 2019-03-08 10:54:28 +01:00
  • 6031971028 Use expanded paths when looking for virtualenv root Stanislav Grozev 2018-08-31 09:32:02 +03:00
  • c1d65ff144 Start reworking the relative imports Dave Halter 2019-03-07 00:27:51 +01:00
  • 7374819ade Add a repr to ImplicitNamespaceContext Dave Halter 2019-03-06 08:36:50 +01:00
  • 9d19b060a9 Add a better comment for imports Dave Halter 2019-03-04 09:34:17 +01:00
  • 23d61e5e97 Restructure relative importing a bit and improve tests Dave Halter 2019-03-04 09:24:38 +01:00
  • 46742328b6 Improve test_import_completion_docstring robustness micbou 2019-03-01 21:48:00 +01:00
  • 467c2e5def Merge branch 'master' into typeshed Dave Halter 2019-03-01 10:03:17 +01:00
  • ffd9a6b484 Make it possible to complete in non-Python files Dave Halter 2019-02-28 20:04:17 +01:00
  • 8aca357de6 Write a test for #1209 Dave Halter 2019-02-28 09:51:47 +01:00
  • 1a32663f85 The calculation of dotted paths from normal paths was completely wrong Dave Halter 2019-02-28 09:42:30 +01:00
  • 4fecca032d Fix typo tamago324 2019-02-25 22:14:21 +09:00
  • 2a9e678877 Merge branch 'master' into typeshed Dave Halter 2019-02-27 13:13:17 +01:00
  • 17136e03d2 Fix get_parent_scope Dave Halter 2019-02-27 13:08:21 +01:00
  • 94f2677752 Fix names selection and params, fixes #1283 Dave Halter 2019-02-26 00:20:14 +01:00
  • eac69aef2b Infer names in the correct way, fixes #1286 Dave Halter 2019-02-25 21:48:57 +01:00
  • 2dd2d06bca Add a todo Dave Halter 2019-02-25 00:27:27 +01:00
  • 5a2e3ee8e3 Filter self names in a more correct way, fixes #1275 Dave Halter 2019-02-25 00:25:57 +01:00
  • 8ac7d1fdb6 Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277 Dave Halter 2019-02-24 19:56:17 +01:00
  • 0bf8a69024 v13.3 release notes v0.13.3 Dave Halter 2019-02-24 18:45:07 +01:00
  • 9bb8f335c9 A small improvement for environments Dave Halter 2019-02-22 01:04:01 +01:00