Commit Graph
100 Commits
Author SHA1 Message Date
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
David Halter 902e197c4e bump _ModulePickling number 2013-05-03 13:26:25 +04:30
David Halter 88f39a01cb Merge pull request #208 from davidhalter/fast
New improved Fast Parser
2013-05-02 14:11:05 -07:00
David Halter 6204cb740b merge with dev branch 2013-05-03 01:28:50 +04:30
David Halter 302d06de85 fix end_pos stuff in parser (no (None, None) end_pos anymore 2013-05-03 01:14:41 +04:30
David Halter 4bb4176296 fixed a position problem 2013-05-02 18:56:22 +04:30
David Halter b820d1ee27 set user_scope right in fast_parser 2013-05-02 17:58:06 +04:30
David Halter aebfb3d162 fix pass indentation in functions 2013-05-02 11:33:14 +04:30
David Halter 01be114386 renaming tests are now possible outside of renaming.py 2013-05-01 21:07:37 +04:30
David Halter f5aaeaa428 fast parser splitting is now working better 2013-05-01 14:31:41 +04:30
David Halter fa32c0a765 fix a set_parent problem 2013-04-30 22:06:46 +04:30
David Halter 6bf64b2ed7 fixed speed problems 2013-04-30 21:41:46 +04:30
David Halter f535267a9b fixed a memory leak 2013-04-30 21:24:44 +04:30
David Halter 0f3454f897 fix test problems, thx @tkf 2013-04-29 15:14:17 +04:30
David Halter 841f4d8423 skip one regression test 2013-04-28 22:24:19 +04:30
David Halter 3eeecff1a1 fixed some position issues 2013-04-28 22:12:32 +04:30
David Halter 56ca0cbfaa skip unit test until this will be fixed 2013-04-28 21:30:26 +04:30
David Halter 7ad156bde7 fixed a problem with 'None' returns 2013-04-28 21:19:05 +04:30
David Halter 4b36fb2f6f corrected some doctest problems 2013-04-28 21:10:29 +04:30
David Halter 9988c49097 fix pushback problem with tokenizer 2013-04-28 00:24:52 +04:30
David Halter c675706877 clean up a little bit 2013-04-27 23:47:18 +04:30
David Halter 3feac63468 fix global_vars 2013-04-27 23:45:48 +04:30
David Halter aab3b1c627 also remove old start_pos stuff 2013-04-27 22:49:45 +04:30
David Halter 26ce32ec6b fix some end_pos problems 2013-04-27 22:47:26 +04:30
David Halter 792808d835 fix another IndexError, due to empty files (e.g. __init__.py) 2013-04-27 21:47:54 +04:30
David Halter 3627263cbe fixed an IndexError 2013-04-27 21:36:57 +04:30
David Halter 4839f3d80e fix a scope problem with the new fast parser 2013-04-27 21:25:42 +04:30
David Halter e99f7a25fe exceptions should produce errors even in alternate run display 2013-04-27 20:55:51 +04:30
David Halter 199d80fa02 fix most rename tests 2013-04-27 20:22:28 +04:30
David Halter 45f29bfa31 fixed a problem with non used decorators when splitting parts 2013-04-24 12:52:45 +04:30
David Halter ddc5b248f1 use correct parents 2013-04-21 23:32:31 +04:30
David Halter 80cbed2f9f fixed some decorator stuff. 2013-04-21 23:06:39 +04:30
David Halter 43306429f9 fixed some little testing problems 2013-04-21 22:55:12 +04:30
David Halter e494be2537 Merge branch 'dev' into fast 2013-04-21 00:20:25 +04:30
David Halter 406e70d51a Merge pull request #204 from davidhalter/testing
Make run.py testing reusable
2013-04-20 12:49:30 -07:00
David Halter 07075a7264 running tests again from run.py works. 2013-04-21 00:04:51 +04:30
David Halter d16f5f6a4c refactored test_integration, so that those tests can be called from multiple places. 2013-04-20 21:55:08 +04:30
David Halter 2b1ea33fe8 reintroduce old testing mode for run.py 2013-04-20 21:22:08 +04:30
David Halter cf49bdc9ab merge of tokenizer/dev branch 2013-04-20 19:23:15 +04:30
David Halter 336d35eb71 Merge pull request #203 from davidhalter/tokenizer
Tokenizer
2013-04-20 03:14:19 -07:00
David Halter d27dc0d58e remove py2.5 from travis - this also removes python 2.5 support 2013-04-20 14:37:18 +04:30
David Halter 8c56fba1e9 fix a problem with statements without parents 2013-04-20 14:12:15 +04:30
David Halter a7308fa51d removed more unused code 2013-04-20 14:11:46 +04:30
David Halter d4428c497a use tokenizer instead of tokenize in all modules 2013-04-20 09:52:54 +04:30
David Halter e2a6562384 tokenizer: removed raised errors 2013-04-20 09:51:52 +04:30
David Halter 0d385563a5 tokenizer: removed encoding 2013-04-20 09:28:32 +04:30
David Halter 6b2619a844 tokenizer removed unused functions 2013-04-20 09:23:27 +04:30
David Halter 06da7ddeec tokenizer py27 support 2013-04-20 09:21:22 +04:30
David Halter fa53579950 Merge branch 'dev' into tokenizer 2013-04-20 08:55:02 +04:30
David Halter 3b0f4b87cf removed unnecessary stuff for the jedi tokenizer 2013-04-19 23:59:33 +04:30
David Halter a28bc7195f added tokenizer of the standard library to jedi, because in the future it shall replace tokenize 2013-04-19 23:50:28 +04:30
David Halter 4e27e7d335 fixed a positioning bug in the own tokenizer 2013-04-17 23:37:21 +04:30
David Halter d82f315ea6 don't use SubModule's in the scope list if it has a parent 2013-04-17 13:39:02 +04:30
David Halter 9181410c47 fixed a problem with functions in the beginning of a module 2013-04-17 10:07:15 +04:30