Takafumi Arakaki
ef1123a513
Add a failing doctest for :class:ClassName
2013-01-30 21:07:30 +01:00
Takafumi Arakaki
9a35301a29
Add doctests for search_param_in_docstr
2013-01-30 21:03:48 +01:00
Takafumi Arakaki
691177c20c
Fix Python 2.5 failure
2013-01-30 17:05:43 +01:00
Takafumi Arakaki
81f59f9a6e
Make the failing test pass; dotted type works now
2013-01-30 01:13:50 +01:00
Takafumi Arakaki
9f416c9dae
Implement import for dotted types in dcostring
2013-01-30 01:12:45 +01:00
Takafumi Arakaki
e12212942f
Add a failing test for type inference from docstring
2013-01-30 01:01:25 +01:00
David Halter
0e3cec5b17
Merge pull request #115 from andviro/master
...
more robust source encoding detection
2013-01-27 06:31:41 -08:00
Andrew Rodionoff
048608f4b7
compatibility with python2.5
2013-01-26 13:08:24 +04:00
Andrew Rodionoff
0315da9699
compatibility with python3 fix
2013-01-26 02:10:26 +04:00
Andrew Rodionoff
9c152119ad
more robust source encoding detection
2013-01-25 22:57:23 +04:00
Danilo Bargen
b906fe4209
Added Arch Linux instructions to docs ( fixes #114 )
2013-01-17 14:31:32 +01:00
Danilo Bargen
9cdf745c6b
Merge commit '46d49fd66c6e2ca61153cebab3f3bf7366dd0879' into dev.
...
Dangling commit by force-push.
2013-01-15 00:33:47 +01:00
David Halter
6d733f124d
remove old unused function
2013-01-15 00:18:59 +01:00
Danilo Bargen
46d49fd66c
Cross platform cachedir, again.
...
Another attempt at getting a cross-platform and (on Linux) XDG compliant cache dir.
Squashed commit of the following:
- Correct usage of os.getenv (thx @tkf)
- Use `~/.cache/jedi` as default fallback, not `~/.jedi`
- Updated cache location for OS X
- Added expanduser to cachedir
- Cross platform cachedir, again.
2013-01-15 00:17:24 +01:00
David Halter
f3f7eacae3
fix a little problem with import keyword autocompletion
2013-01-14 22:35:32 +01:00
David Halter
35e55fab25
improved import statement keyword autocompletion, #111
2013-01-14 22:32:34 +01:00
David Halter
ac2b0016d5
fix import problems with negative kill_counts, fixes #111
2013-01-14 21:25:48 +01:00
David Halter
d08ee04fbb
regression tests for #111
2013-01-14 18:41:09 +01:00
David Halter
ce1653df46
python 2.5 with_statement
2013-01-12 15:18:30 +01:00
David Halter
96e4f301e3
changed pickling files to byte for py3k
2013-01-12 15:03:15 +01:00
David Halter
7b150630f0
stopiteration works in strange ways in the parser in py2, fixes #70 , affects probably davidhalter/jedi-vim#68
2013-01-12 12:15:32 +01:00
David Halter
dd58afe8b2
fix cache problem with unsaved files
2013-01-12 11:57:25 +01:00
David Halter
d89d80733f
travis: install simplejson for python 2.5
2013-01-12 01:20:51 +01:00
David Halter
9d9e40a66f
fix path problems for path=''
2013-01-12 01:13:30 +01:00
David Halter
c16c66d895
improve debugging speed messages
2013-01-12 00:49:54 +01:00
David Halter
0219c8fd61
remove wrong caching of the parser
2013-01-12 00:14:30 +01:00
David Halter
00f7088c05
test for davidhalter/jedi-vim#70
2013-01-12 00:11:38 +01:00
David Halter
2efb93273a
merged module_cache into parser_cache
2013-01-11 23:19:22 +01:00
David Halter
21ae8e4266
don't pickle cursor modules
2013-01-11 22:49:32 +01:00
David Halter
af92f7f9f2
pickling works now (had problems deriving str, see http://stackoverflow.com/questions/14248633/python-pickle-derived-str-object ), #102
2013-01-11 22:26:30 +01:00
David Halter
1017db903c
basic pickle implementation #102
2013-01-11 22:00:03 +01:00
David Halter
c923c93ccc
default directory for parser caches: HOME, #102
2013-01-10 17:32:02 +01:00
David Halter
7c02632fdc
simplify parser_cache checks
2013-01-10 12:10:35 +01:00
David Halter
9031e425be
renamed code -> source
2013-01-10 11:41:11 +01:00
David Halter
133fbcd57a
move module caching from builtin to cache
2013-01-10 11:04:26 +01:00
David Halter
cc3168ee0a
added filesystem cache options
2013-01-10 10:32:47 +01:00
David Halter
cf22a08d0a
care for python 3 dict.items iterator return (in python2 list)
2013-01-10 10:02:21 +01:00
David Halter
21ee6f400d
improvement for pickling
2013-01-10 09:33:15 +01:00
David Halter
bc6005d833
add a newline to tests
2013-01-09 22:49:25 +01:00
David Halter
7b73072045
cleanup / pep8
2013-01-09 22:47:21 +01:00
David Halter
e9aadce5ae
__slots__ usage works much better now -> scan for all slots and not only for current class
2013-01-09 21:44:59 +01:00
David Halter
f32c2e6dc4
added a common.MultiLevelAttributeError to copying, because there were some problems
2013-01-09 21:26:50 +01:00
David Halter
7aa527f12e
use_as_parent again and fast_parent_copy deals now with __slots__
2013-01-09 15:23:33 +01:00
David Halter
b85c54932b
parsing.set_parent -> use_as_parent
2013-01-09 15:21:04 +01:00
David Halter
232aafeb6a
improved slot statements
2013-01-09 15:18:28 +01:00
David Halter
1557ea792f
use __slots__ to reduce memory footprint of parser, #102
2013-01-08 14:54:56 +01:00
David Halter
4a6aabaaba
avoid syntaxwarning
2013-01-08 13:02:06 +01:00
David Halter
b991190f50
python 3 compatibility, which is nicer anyway
2013-01-08 12:58:13 +01:00
David Halter
8987ecf3a8
forgot some fragments of CachedModule.cache
2013-01-08 12:53:02 +01:00
David Halter
67f7e66cc6
move module cache to cache.py - centralize all caches there
2013-01-08 12:47:44 +01:00