This website requires JavaScript.
efba0cd80c
deleted a big part of the generate_tokens code that doesn't seem to be needed anymore
Dave Halter
2014-02-21 16:38:15 +01:00
73057d4176
removed the INDENT usages that were left in the parser code
Dave Halter
2014-02-21 15:39:14 +01:00
fe02088dd7
restructure user_context reverse tokenizer to remove INDENT tokens in the future
Dave Halter
2014-02-21 15:30:46 +01:00
9c3b7b9c46
get rid of more variables
Dave Halter
2014-02-21 10:44:33 +01:00
184e90a3a0
removed some line checks from tokenizer
Dave Halter
2014-02-21 00:13:23 +01:00
a69eee5876
error tokens only exist in the end in a tokenizer
Dave Halter
2014-02-21 00:09:49 +01:00
3232ae5b0c
removed parentheses counting from generate_tokens
Dave Halter
2014-02-20 18:45:22 +01:00
7e651684ff
fix problems with debug mode if not correctly initialized.
Dave Halter
2014-02-20 14:17:05 +01:00
d7033726fd
tokenize removed NL/NEWLINE ambiguity
Dave Halter
2014-02-20 01:52:30 +01:00
c26ae3c00d
ignore dedents in tokenizer
Dave Halter
2014-02-20 01:21:20 +01:00
3e9b72b636
created a PushBackTokenizer specifically for the parser
Dave Halter
2014-02-20 01:17:19 +01:00
c8d6fbb0a1
temporary changes for the tokenizer issues
Dave Halter
2014-02-20 00:43:42 +01:00
000e929e3c
Merge pull request #375 from ColinDuquesnoy/dev
Dave Halter
2014-02-19 22:11:27 +04:30
9d7ecae27c
Add precompiled extension modules
ColinDuquesnoy
2014-02-19 08:13:30 +01:00
2c97d01bd0
Move extensions dir into test
ColinDuquesnoy
2014-02-19 08:10:43 +01:00
f808dbbd28
Change sys.path for the test to succeed.
ColinDuquesnoy
2014-02-18 22:14:43 +01:00
7977d57169
Add test_compiled
ColinDuquesnoy
2014-02-18 20:31:06 +01:00
7aed62cb99
Add compiled modules sources + readme
ColinDuquesnoy
2014-02-18 20:12:30 +01:00
5a706265bc
Move dummy pyc to dummy package
ColinDuquesnoy
2014-02-18 19:18:17 +01:00
18a31dcbf1
Fix read mode for pyc files
ColinDuquesnoy
2014-02-18 19:00:35 +01:00
ea43efc9d8
Fix pyc test for python3
ColinDuquesnoy
2014-02-18 18:58:22 +01:00
d80caa7108
Add test pyc
ColinDuquesnoy
2014-02-18 17:36:01 +01:00
1b6df4602d
replace parser tokenizer offset with line offset
Dave Halter
2014-02-17 23:02:04 +01:00
6952596117
implement an offset in generate_tokens
Dave Halter
2014-02-17 10:08:32 +01:00
a75773cf9f
Fix import of compiled module with python3.
ColinDuquesnoy
2014-02-17 09:08:30 +01:00
bb111daf91
removed line from tokenizer
Dave Halter
2014-02-16 15:28:18 +01:00
22928dbcd0
simplified some crazy iterator stuff within parser
Dave Halter
2014-02-16 15:04:57 +01:00
82f27569b2
little changes to clean up the code (flake8)
Dave Halter
2014-02-14 12:53:22 +01:00
d704743422
more consistent __slots__ usage in the parser -> 20% memory decrease for wx
Dave Halter
2014-02-14 00:54:36 +01:00
bb4d77f2a8
minor changes to the NamePart representation
Dave Halter
2014-02-13 19:53:41 +01:00
600371632f
NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts
Dave Halter
2014-02-13 19:22:36 +01:00
660a29ef93
multiple passes for wx script
Dave Halter
2014-02-13 17:47:52 +01:00
5be996baa8
more detailed wx._core module inspection as a script. This makes it possible to compare different Jedi commits in speed and memory efficiency
Dave Halter
2014-02-13 16:51:04 +01:00
040ea2b735
fix a few annoyances to be quicker to develop now (disabled a few tests for now)
Dave Halter
2014-02-13 15:40:51 +01:00
6939e3e18f
moved test_get_code to test_parser
Dave Halter
2014-02-12 11:33:46 +01:00
2f3e4152b4
Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell
Dave Halter
2014-02-12 11:09:08 +01:00
32ccec8447
precedence stuff is not working yet, but need to merge first because of potential parser changes
Dave Halter
2014-02-12 11:08:48 +01:00
cd1660dc53
first succeeding precedence tests
Dave Halter
2014-01-31 11:12:28 +01:00
62a74a6d2f
tests for understanding operations
Dave Halter
2014-01-30 11:27:03 +01:00
e904031400
start correcting the documentation
Dave Halter
2014-01-29 21:34:57 +01:00
8660555d7b
moved api, parser and evaluate test directories to test_api, test_parser...
Dave Halter
2014-01-29 21:16:18 +01:00
021aae365d
move more test files to specific directories
Dave Halter
2014-01-29 20:50:09 +01:00
78114b12e9
move some tests into specific directories
Dave Halter
2014-01-29 20:43:42 +01:00
36de8c427f
moved more functions from api to helpers
Dave Halter
2014-01-29 00:28:31 +01:00
7aef1f934d
simplified _prepare_goto
Dave Halter
2014-01-29 00:03:03 +01:00
13696018a2
removed some functions from classes
Dave Halter
2014-01-28 23:51:34 +01:00
9cfa8fead0
create a helpers module to push some api functions into it (make the api code easier to read.
Dave Halter
2014-01-28 23:26:50 +01:00
2175416684
removed keyword docstring functionality for goto_definitions - will be reintroduced with a Script.documentation function
Dave Halter
2014-01-28 22:26:09 +01:00
34e89fa1c5
Merge branch 'dev' into get_code_fidelity
Jean-Louis Fuchs
2014-01-28 00:37:06 +01:00
18f225200a
test for dynamic params/usages case
Dave Halter
2014-01-26 23:10:36 +01:00
f6b1e5635e
move usages to its own api module usages
Dave Halter
2014-01-26 23:04:38 +01:00
8193f0c2b6
fix an issue with invalid syntax
Dave Halter
2014-01-26 20:22:51 +01:00
ba6a65c477
user_stmt refactoring
Dave Halter
2014-01-26 19:30:05 +01:00
6a4f33f373
call signatures with whitespace seem to be working
Dave Halter
2014-01-26 19:13:06 +01:00
441c001bf9
test for not working call signatures with whitespace issues
Dave Halter
2014-01-24 01:34:13 +01:00
3d7522dff6
fixed None type appearances in CompiledObject
Dave Halter
2014-01-24 00:57:53 +01:00
e587b876b6
tests and improvements for __next__ and send generator methods
Dave Halter
2014-01-23 20:02:36 +01:00
162d794081
underscore_decorators now automatically convert generators to lists
Dave Halter
2014-01-23 15:21:52 +01:00
6f2c1397b0
autocompletion diggs now pretty deep for generator objects
Dave Halter
2014-01-23 14:39:00 +01:00
a1b68945ed
fix some generator parents
Dave Halter
2014-01-23 14:27:20 +01:00
c6b315aa2e
failing test for fucked up generator parents
Dave Halter
2014-01-23 14:26:04 +01:00
1884087e71
start writing the changelog for 0.8.0. Hopefully to be realeased soon
Dave Halter
2014-01-22 18:24:15 +01:00
c8fffbd7b6
fix python2.6 issues with completing colorama. this happened because of a missing object parent class
Dave Halter
2014-01-22 17:14:28 +01:00
c7cae7900b
remove old interpret.py
Dave Halter
2014-01-22 16:34:05 +01:00
7b1c35c3ed
fix python 3 issues with the new interpreter implementation
Dave Halter
2014-01-22 16:33:00 +01:00
e4aac3eb54
add colorama to tox config, because that improves the color output
Dave Halter
2014-01-22 16:15:56 +01:00
4a71f4beeb
fixes for the interpreter stuff, py27 works now fine
Dave Halter
2014-01-22 15:42:11 +01:00
7c105d27e0
some tests survive the new interpreter module already
Dave Halter
2014-01-22 15:17:50 +01:00
9e063b1248
started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better.
Dave Halter
2014-01-21 23:33:36 +01:00
a29026c212
added Jedi debugging to pytest. Awesome.
Dave Halter
2014-01-20 01:35:35 +01:00
97ad1c6a29
moved get_names_for_scope to finder
Dave Halter
2014-01-17 11:33:46 +01:00
de6a6b5813
avoid more import recursion - moved assign_tuples and find_assignments to finder module
Dave Halter
2014-01-17 11:12:41 +01:00
a6abab4ef0
that test again...
Dave Halter
2014-01-17 03:07:04 +01:00
cd40e213ce
Remove UserContextParser again from docstring stuff, not really needed there. use a simpler solution
Dave Halter
2014-01-17 03:06:07 +01:00
aa59aee3dc
user_position removed from Parser. yikes!
Dave Halter
2014-01-17 02:58:03 +01:00
6063093151
test fixing
Dave Halter
2014-01-17 02:50:19 +01:00
19b0e1d5b6
reenable check_user_statement in parser, that did the whole user names calculation
Dave Halter
2014-01-17 02:48:00 +01:00
b30a186f8f
remove user_stmt and user_scope stuff - yes!
Dave Halter
2014-01-17 02:33:53 +01:00
fc1899ecd4
implement user_scope search separately in UserContextParser
Dave Halter
2014-01-17 02:08:37 +01:00
33b7c341ab
minor changes
Dave Halter
2014-01-17 01:40:30 +01:00
8b34e120e0
for loops are now parsed even if they are really faulty and don't end.
Dave Halter
2014-01-17 01:39:23 +01:00
92eba44d07
allow for flows to also be very faulty
Dave Halter
2014-01-17 01:26:34 +01:00
e5d40c3685
flow syntax errors should still make it possible to add them to the parser (otherwise parser doesn't include all the code
Dave Halter
2014-01-17 01:15:36 +01:00
3337d638d1
fix some colorama/pytest combo crazyness
Dave Halter
2014-01-17 01:02:50 +01:00
588fbea4f9
start to remove user_stmt parsing
Dave Halter
2014-01-17 00:25:30 +01:00
6ef75256e0
fix end_pos stuff for fast parser
Dave Halter
2014-01-17 00:24:45 +01:00
4bf72eeaed
create a customized UserContextParser for user_stmt and user_scope
Dave Halter
2014-01-16 12:12:21 +01:00
269e84da85
changed version stuff in setup.py, fixes #369
Dave Halter
2014-01-16 00:36:14 +01:00
134cd234de
moved user_stmt up in api
Dave Halter
2014-01-15 17:35:40 +01:00
059b1e1353
underscore_memoization is now even easier in fast parser
Dave Halter
2014-01-15 15:57:43 +01:00
d71cdded6e
some easier memoization for fast parser
Dave Halter
2014-01-15 15:48:16 +01:00
d5aa36cc69
replace propery with safe_property in some evaluate cases. fixes #249
Dave Halter
2014-01-15 15:07:06 +01:00
99882724da
is_py3k -> is_py3
Dave Halter
2014-01-14 11:43:56 +01:00
a6e49f2680
compatibility improvements -> use reduce from functools
Dave Halter
2014-01-14 11:31:01 +01:00
8bf8985247
move replstartup to the api
Dave Halter
2014-01-14 00:08:25 +01:00
a44ce6b7df
beautify __main__
Dave Halter
2014-01-14 00:06:01 +01:00
a9efa3db33
make utils feel more pythonic
Dave Halter
2014-01-14 00:02:09 +01:00
b2507ad94a
increase the pickling version.
Dave Halter
2014-01-13 23:00:01 +01:00
b70ea1b9f6
fix a version_info testcase - testcase was broken
Dave Halter
2014-01-13 22:17:12 +01:00
6051b76304
added a note on how to ask questions on stackoverflow to the readme, fixes #334
Dave Halter
2014-01-13 22:14:09 +01:00