Commit Graph
100 Commits
Author SHA1 Message Date
David Halter 6a2afa7e94 failing test for illegal unpacking with * 2013-07-22 14:42:39 +02:00
David Halter a6e621e39c add @lvh, @Astrac, @ganwell, @floppym to authors 2013-07-20 10:19:57 +02:00
David Halter 2cd7e66016 also add sith.py, refs #264 2013-07-20 10:09:17 +02:00
David Halter 6ab65999b0 Merge branch 'master' of https://github.com/floppym/jedi into dev 2013-07-20 10:06:44 +02:00
David Halter b3c07b9a25 Merge remote-tracking branch 'origin/master' into dev 2013-07-20 10:03:49 +02:00
David Halter 6017daded5 removed statement docstr stuff for now. it will be reintroduced when using the evaluator class 2013-07-19 13:17:27 +02:00
David Halter ebc8d4c04c docstring test with statement docstrings (failed until now, worked only for specific cases) 2013-07-19 12:47:38 +02:00
David Halter ed99e380d7 catch ValueError when the cache json.load method fails, fixes #245 2013-07-19 10:55:07 +02:00
David Halter 4e34fb9494 fixed illegal params problem 2013-07-19 10:32:58 +02:00
David Halter 0dfe2f44a5 test for dots in params (happens sometimes by accident when generating builtins) 2013-07-19 02:40:17 +02:00
David Halter 6525f9169c reformat feature documentation 2013-07-19 01:29:58 +02:00
David Halter 9b73f3ca3c exceptions are now accepted in the form of 'except Exception, e' 2013-07-19 01:29:16 +02:00
David Halter f754d1565f fixed error with 'comma' separated exceptions 2013-07-19 01:27:40 +02:00
David Halter b84315b829 tests for import problems 2013-07-19 00:56:56 +02:00
David Halter a7cfb89c2a fix a sith problem with empty files 2013-07-19 00:15:09 +02:00
David Halter 29f89cc75a finally fixed a unicode problem that existed for a longer time 2013-07-18 16:55:19 +02:00
David Halter 7684135b99 finally found a test for unicode problems 2013-07-18 16:45:27 +02:00
David Halter 3777afb2cb add record file in sith.py to other commands 2013-07-18 14:57:22 +02:00
David Halter dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter 681b9d6371 small sith improvements 2013-07-18 12:35:18 +02:00
David Halter 9348feb8bf operations (+, *, etc) shouldn't be InstanceElements, fixes #246 2013-07-18 12:31:48 +02:00
David Halter 075c60de29 fix a problem related to #246: comments were used as normal strings 2013-07-18 12:18:07 +02:00
David Halter b6e9f16a01 fix a completion problem on docstrings 2013-07-17 16:48:50 +02:00
David Halter 8490b1d0ff forgot to cast to int with the sith run command 2013-07-17 16:38:35 +02:00
David Halter 45c8cc739b fixed the dict problem, but dictionary completions are still very bad 2013-07-17 16:14:06 +02:00
David Halter 0dbfc409a7 iteration problem test 2013-07-17 15:56:21 +02:00
David Halter 8db85dbe15 add docopt to tox 2013-07-17 15:21:56 +02:00
David Halter c0d51e300b fixed problem with empty statements in function calls 2013-07-17 15:05:06 +02:00
David Halter 2ad3121aa3 test for empty statement problem in function call 2013-07-17 15:02:56 +02:00
David Halter 9ee0d34bc7 corrected docopt typo 2013-07-17 14:13:52 +02:00
David Halter fcf4b04145 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-07-17 14:01:13 +02:00
David Halter 8d8b645f11 completely rewrote sith.py with docopt - also added a run command and debug option 2013-07-17 14:00:28 +02:00
David Halter 57196b0278 Merge pull request #260 from lvh/cleanup
Many minor PEP8 and related cleanups
2013-07-12 02:01:39 -07:00
David Halter 1ce44c483f Merge pull request #258 from lvh/master
absolute_import test comment still insinuates jedi gets it wrong
2013-07-10 05:15:15 -07:00
David Halter 2fffaee2c3 Merge pull request #252 from lvh/master
Handle explicit absolute imports correctly
2013-07-10 05:02:14 -07:00
David Halter 57c030c160 remove untested legacy code 2013-07-10 10:25:13 +02:00
David Halter 2ce0dfbeb7 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-07-10 10:24:22 +02:00
David Halter 6cb021f4ae add memoize decorator to an Instance method, fixes RecursionError of #239 2013-07-10 10:23:05 +02:00
David Halter 2dc3d9e135 added new logo, designed by @ganwell, refs #98 2013-07-05 14:42:08 +02:00
David Halter 248931d9f3 Merge pull request #250 from lvh/master
Cleanup in _compatibility
2013-06-20 14:37:48 -07:00
David Halter 7509c239ec Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-06-20 11:27:08 +02:00
David Halter aa5bb539c1 added new logo, designed by @ganwell, refs #98 2013-06-20 11:26:06 +02:00
David Halter b0116b0d7c Merge pull request #232 from tkf/unicode-has-no-generate_call_path
Fix: 'unicode' object has no attribute 'generate_call_path'
2013-05-23 22:33:02 -07:00
David Halter 4e3fe88141 Merge pull request #234 from tkf/None.isinstance
Fix: 'NoneType' object has no attribute 'isinstance'
2013-05-23 21:15:19 -07:00
David Halter fbf17e3e5b Merge pull request #228 from tkf/fix-full_name
Fix full_name for import statements
2013-05-21 09:11:15 -07:00
David Halter dcf3f0dcdc downloads badge, yay!!! 2013-05-21 11:00:58 +04:30
David Halter 5567a42334 fix another keyword problem 2013-05-21 10:59:28 +04:30
David Halter a9bf06987a completion on empty import problem 2013-05-19 21:13:32 +04:30
David Halter 384334ae06 goto on import statement (only import) raised an error 2013-05-19 20:40:54 +04:30
David Halter c5169b2d66 parsing.Parser.scope -> parsing.Parser._scope, fixes #224 2013-05-19 10:25:00 +04:30
David Halter ec061ea612 Merge pull request #222 from tkf/replstartup
Improve $PYTHONSTARTUP support
2013-05-18 21:51:26 -07:00
David Halter 93f4cb5b6b Merge pull request #223 from tkf/fix-defined_names
Fix defined_names
2013-05-18 21:49:04 -07:00
David Halter 700f685f59 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-05-18 23:57:31 +04:30
David Halter 7e2eb587e1 is_keyword test 2013-05-18 23:56:12 +04:30
David Halter d5d12716b1 update debian installation notice, cc @p1otr 2013-05-14 10:02:50 +04:30
David Halter f3788c9955 Merge pull request #215 from davidhalter/cov
Use coverage differently
2013-05-13 06:38:42 -07:00
David Halter b2b8bfc8e3 don't erase coverage data 2013-05-13 18:01:59 +04:30
David Halter bb27afa19c forgot the coverage dependency when removing the pytest-coverage 2013-05-13 16:47:46 +04:30
David Halter 6b57f7ce48 remove pytest-cov from tox.ini requirements 2013-05-13 12:35:09 +04:30
David Halter 05eb62eea5 use coverage instead of pytest-cov 2013-05-13 12:29:56 +04:30
David Halter fbde16450b authors change 2013-05-13 09:20:08 +04:30
David Halter 15885e8685 preload_module function for IDEs, to control which modules to load on startup, refs #102 2013-05-13 09:13:59 +04:30
David Halter b5b625ea14 forgot to include the changelog in the manifest 2013-05-11 17:07:55 +04:30
David Halter 977f4871d6 added changelog 2013-05-11 16:55:02 +04:30
David Halter 7d4fe30c63 change autocomplete screenshot, which contained wrong information for a long time now. 2013-05-11 14:30:07 +04:30
David Halter 29575b2562 add some testing notes of the readme to the documentation 2013-05-11 14:00:15 +04:30
David Halter 3681adef78 improve README 2013-05-11 13:53:00 +04:30
David Halter b2f2b7a779 update installation docs 2013-05-11 11:29:40 +04:30
David Halter f30b3416e8 remove VERSION file in favor of a jedi.__version__ 2013-05-11 11:10:01 +04:30
David Halter ad56b6cc89 fix title length (docstr stuff) 2013-05-11 11:02:13 +04:30
David Halter 3a7c8af87f also normal imports should return the right user_stmt, similar case than #137 2013-05-09 12:16:54 +04:30
David Halter f3a4439285 import end_pos calculated differently, fixes #137 2013-05-09 11:54:08 +04:30
David Halter 4b4681d285 re-enable test, probably related to #131 2013-05-08 00:01:22 +04:30
David Halter f4e8972157 end_pos issues, fixes #150 2013-05-07 23:55:58 +04:30
David Halter 0621a276b9 modules in modules (only possible with c_builtins) are now completable. however it's kind of hackish, I'm using a class instead of a real module, because this is the easiest way for jedi, fixes #126 2013-05-07 22:57:23 +04:30
David Halter 6cb0b1ed16 bump version to 0.6 2013-05-07 21:03:04 +04:30
David Halter ae0dd1d72c fix docstr issue in the wrong place, fixes #210 2013-05-04 19:51:42 +04:30
David Halter 2e0d0bb4f5 test for #210 2013-05-04 13:44:15 +04:30
David Halter 698ee7af28 removed an old part_parser test 2013-05-03 21:35:28 +04:30
David Halter 4d0417f591 change some definition usages to goto_definitions in tests and docs 2013-05-03 21:35:01 +04:30
David Halter 7c8fee1257 removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses 2013-05-03 21:26:29 +04:30
David Halter edd0a08351 api_classes.RelatedName -> Usage 2013-05-03 21:06:56 +04:30
David Halter efeeee9706 removed related_names occurences in favor of usages 2013-05-03 21:04:36 +04:30
David Halter 860cc5de04 make api_classes.BaseDefinition._definition private 2013-05-03 20:56:07 +04:30
David Halter 5d472e99ac more variables private in the same file 2013-05-03 20:51:24 +04:30
David Halter 150b7fc1d5 make some variables of the Completion class private 2013-05-03 20:41:18 +04:30
David Halter 49e51f5a1a deprecated api_classes.Completion.word in favor of name 2013-05-03 20:38:37 +04:30
David Halter beae920177 Script.complete has been deprecated, therefore changed all usages / documatation to Script.completions 2013-05-03 20:28:11 +04:30
David Halter c912428f78 deprecation process for a nice api design (as discussed in #124)
deprecate:

- definition
- goto
- complete
- related_names
- function_definition

in favor of:

- goto_definitions
- goto_assignments
- completions
- usages
- call_signatures

Thank you @dbrgn and @tkf for the fruitful discussion!
2013-05-03 20:15:36 +04:30
David Halter c0bb6ff04b even more deletions (clean up for last commit) 2013-05-03 19:35:51 +04:30
David Halter 88e60b85e0 best patch in a long time, deleted all the part_parser stuff which was necessary for fast function_definitions, but with the new parser Jedi's fast enough -> fixes #136 2013-05-03 19:33:24 +04:30
David Halter a2da599d6e fix a completion in dict problem 2013-05-03 18:31:05 +04:30
David Halter 55d2b19cc0 get rid of UncaughtAttributError, fixes #191 2013-05-03 17:22:48 +04:30
David Halter 4865505215 getattr is now also allowed on modules, fixes #116 2013-05-03 17:00:07 +04:30
David Halter 1d45105461 flows in classes shouldn't be a problem anymore, fixes #183 2013-05-03 16:29:34 +04:30
David Halter fd4eb5f0a6 add test of #183 2013-05-03 15:16:09 +04:30
David Halter c37515f938 included test from #162 (seems to be working), fixes #162 2013-05-03 15:01:30 +04:30
David Halter 300d43de19 PEP 3148 module formatting, fixes #207 2013-05-03 14:17:48 +04:30
David Halter cc520530c0 changed module name checking (should only be in one place) 2013-05-03 14:09:46 +04:30
David Halter da067c5c38 add _module to BaseDefinition api 2013-05-03 14:04:40 +04:30