Takafumi Arakaki
|
45cad4c83b
|
Fake imports should locate before fake statements
|
2013-05-04 17:44:59 +02:00 |
|
Takafumi Arakaki
|
06c03cafa2
|
Implement the case where raw object is an instance
There is still a bug in this implementation.
The corresponding test fails.
|
2013-05-04 17:44:58 +02:00 |
|
Takafumi Arakaki
|
11abd92d2b
|
Support alias in _make_fakeimport
|
2013-05-04 17:44:58 +02:00 |
|
Takafumi Arakaki
|
cf48d1272d
|
Use proper interface to add fake Import object
|
2013-05-04 17:44:58 +02:00 |
|
Takafumi Arakaki
|
17770356e2
|
Implement the case where raw object is a module
Previously failing test_complete_raw_module is passed.
|
2013-05-04 17:44:58 +02:00 |
|
Takafumi Arakaki
|
3266aa2d00
|
Improve api.Interpreter docstring
|
2013-05-04 17:43:37 +02:00 |
|
Takafumi Arakaki
|
842fbfce8a
|
Add api.Interpreter: Jedi API for Python REPLs
|
2013-05-04 17:43:37 +02:00 |
|
David Halter
|
ae0dd1d72c
|
fix docstr issue in the wrong place, fixes #210
|
2013-05-04 19:51:42 +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
|
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
|
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
|
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
|
3eeecff1a1
|
fixed some position issues
|
2013-04-28 22:12:32 +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 |
|