Commit Graph
100 Commits
Author SHA1 Message Date
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
David Halter 188ed33c4f fixed parser change problems 2013-04-15 11:50:05 +04:30
David Halter b08390c136 some parser end positions changed 2013-04-15 10:22:27 +04:30
David Halter bafb17001b fix encoding problems with terminal 2013-04-13 15:57:28 +04:30
David Halter eeb8e0e21d first test working again with new fast_parser 2013-04-13 13:50:50 +04:30
David Halter 967d01d490 fast parser produces now trees that are correct 2013-04-10 23:50:39 +04:30
David Halter 5dd05eff1a a basic approach to the new fast parser 2013-04-10 22:33:49 +04:30
David Halter 3c73a744c3 Merge pull request #187 from Astrac/python-3.3
Python 3.3
2013-03-27 10:21:15 -07:00
David Halter a99d9541bd on the way to a better fast_parser - improved a lot of the positioning stuff 2013-03-24 22:51:17 +04:30
David Halter 6c998067e8 Merge pull request #177 from tkf/Generator-object-has-no-attribute-start_pos
Generator object has no attribute start_pos (added a failing test)
2013-03-21 11:06:21 -07:00
David Halter 6c65eaf14d Merge pull request #186 from tkf/versioned-cache
Remove old version of FS cache automatically
2013-03-20 09:05:37 -07:00
David Halter 960dd38e2c Merge pull request #185 from tkf/cPickle
Use cPickle if available
2013-03-19 21:32:22 -07:00
David Halter 09f39d891a remove __all__ from api, because not needed, fixes #180 2013-03-18 08:25:14 +04:30
David Halter 8c1ccd2800 Merge pull request #182 from tkf/Fix-Completion.follow_definition
Fix Completion.follow_definition
2013-03-17 03:48:22 -07:00
David Halter e8d34c574f Merge pull request #178 from tkf/no-duplicate-module
Add a test to make sure that the import hack works
2013-03-17 03:39:45 -07:00
David Halter 66fb7915c2 Merge pull request #179 from tkf/remove-known-failures-tag
Remove tags for known failures due to the import hack
2013-03-17 03:35:55 -07:00
David Halter df058b93c2 improve get_code of parsing_representation scopes 2013-03-16 23:26:20 +04:30
David Halter 841b0be19a improved parents in fast parser 2013-03-15 23:03:59 +04:30
David Halter cd513590ab Merge pull request #176 from tkf/basedefinition-type
More detailed BaseDefinition.type (fixes #169)
2013-03-15 10:36:53 -07:00
David Halter 89b6741539 Merge pull request #175 from davidhalter/absolute-import
Use Absolute Imports
2013-03-15 10:35:28 -07:00
David Halter 8be6b64bc7 add @tkf to main authors, concrats man - you earned it - more than enough. 2013-03-15 21:01:44 +04:30
David Halter 8c51d1e53e increase speed test limit a little bit, because it fails sometimes on travis 2013-03-15 16:31:35 +04:30
David Halter 7b6a4c9a2b some corrections of imports 2013-03-15 16:01:23 +04:30
David Halter 9ad9c806bb rename non-cycling imports to 'from jedi import ..' 2013-03-15 15:02:33 +04:30
David Halter b426835d18 parser preparation for the new fast_parser 2013-03-15 13:57:23 +04:30
David Halter 2f809d8066 Merge pull request #172 from tkf/test_modulepickling_change_cache_dir
ModulePickling should not save old cache when cache_directory is changed
2013-03-15 02:25:10 -07:00
David Halter 26eb7add23 Merge pull request #173 from tkf/gc-and-cache
Do not clear cache in __del__
2013-03-14 21:11:39 -07:00
David Halter 952b510c24 Merge pull request #171 from tkf/norecursedirs-fix
Use pytest_(un)configure to setup cache_directory
2013-03-14 21:01:36 -07:00
David Halter b5ad56d116 new part spliting of strings 2013-03-15 02:15:45 +04:30
David Halter 22fa66b6e1 Merge pull request #168 from tkf/norecursedirs
Run doctests in the "main" py.test run
2013-03-14 12:09:57 -07:00
David Halter fbbdc50bb0 Merge pull request #164 from tkf/doc-api-classes
Document api_classes
2013-03-14 09:20:38 -07:00
David Halter 6d0c5bbb80 Merge pull request #167 from tkf/simplify-travis-yml
Simplify .travis.yml
2013-03-14 08:02:03 -07:00
David Halter 25d55d4124 Merge pull request #165 from tkf/hide-api_classes-defined_names
Hide api_classes.defined_names in document
2013-03-13 21:44:54 -07:00
David Halter 5f9aa5506f Merge pull request #166 from tkf/rethrow_uncaught
Better way of re-raising AttributeError
2013-03-13 21:43:14 -07:00
David Halter 74a9501bd7 Merge pull request #159 from tkf/fix-doc-import-error
Fix ImportError when building Sphinx
2013-03-12 11:50:49 -07:00
David Halter 43ff06d7ea Merge pull request #157 from tkf/thirdparty-test-import-check
Automatically skip thirdparty test if not importable
2013-03-12 07:23:21 -07:00
David Halter a8218dee54 Merge pull request #156 from tkf/fix-get_sys_path
Make VIRTUAL_ENV actually importable
2013-03-12 07:21:50 -07:00
David Halter 6c71fad802 Merge pull request #155 from tkf/migrate-to-pytest
Migrate to pytest
2013-03-12 03:59:16 -07:00
David Halter fb0b8b0fc1 Merge pull request #149 from tkf/definition-in-call
Fallback to callee definition when definition not found (fixes #131)
2013-03-10 21:14:15 -07:00
David Halter 124fadae28 Merge pull request #154 from tkf/refactor-refactoring-test
Refactor test/refactor.py
2013-03-10 21:07:01 -07:00
David Halter d08b135363 Merge pull request #153 from tkf/pytest
Use py.test
2013-03-10 21:04:10 -07:00
David Halter d063aa3d66 Merge pull request #141 from tkf/attribute-docstring
Attribute docstring support
2013-03-10 13:23:47 -07:00
David Halter 91ee75d5a2 Merge pull request #152 from tkf/refactor-integration-test
Refactor integration test runner
2013-03-10 13:07:34 -07:00
David Halter 6ae2d8cfeb Merge pull request #130 from tkf/list_definitions
Add new API: jedi.api.get_definitions
2013-03-10 12:56:08 -07:00
David Halter dac25ea342 Merge pull request #148 from tkf/docstring-improvements
Improve docstrings
2013-03-03 20:18:58 -08:00
David Halter 90c800b257 remove repl style comments and use indented blocks instead, #146 2013-03-01 19:52:36 +04:30
David Halter c98d099001 typos 2013-03-01 00:50:20 +04:30
David Halter ee6a261b42 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-03-01 00:35:18 +04:30
David Halter e3b33fc009 fixed a unicode problem caused by a wrongly placed docstring 2013-03-01 00:32:54 +04:30
David Halter 68a9cecb27 improved run test documentation 2013-03-01 00:31:51 +04:30
David Halter c808bcef70 little description of regression and refactor 2013-03-01 00:23:13 +04:30
David Halter 669dfda419 run documentation improved 2013-03-01 00:19:05 +04:30
David Halter 855d683d9a switched to __name__ == '__main__' checks for tests 2013-03-01 00:07:36 +04:30
David Halter 1834ef51b1 basic testing docstring for run.py 2013-02-28 23:57:33 +04:30
David Halter 76bd1a2d71 add testing docs to sphinx 2013-02-28 23:19:53 +04:30
David Halter ffbc7df68d Merge pull request #146 from tkf/doctest
Add doctest
2013-02-26 03:46:08 -08:00
David Halter 20e5a6adea Merge pull request #144 from tkf/class-call-signature
Include __init__ call signature in Class.doc
2013-02-25 05:41:54 -08:00
David Halter 69cc5020be Merge pull request #143 from tkf/call-signature-test
Add a test for docstring in call signature
2013-02-24 20:38:37 -08:00
David Halter d9ac630633 Merge pull request #140 from tkf/tox-setenv
Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache
2013-02-24 06:35:13 -08:00
David Halter bbb1c463b4 Merge pull request #139 from tkf/tox-25
Fix setup.py and make 2.5 test runnable with tox
2013-02-24 06:33:46 -08:00
David Halter 68ace0d05b dynamic docstring improvements 2013-02-23 22:21:34 +04:30
David Halter e8feb0b7d2 dynamic docstring 2013-02-23 22:15:17 +04:30
David Halter 4ee4e225a6 don't encode strings in python3, affects davidhalter/jedi-vim#94 and @dbrgn 2013-02-23 21:10:22 +04:30
David Halter 6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter adc7a559cf python3.2 compatibility 2013-02-23 08:58:15 +04:30
David Halter 6ab10b6fa1 pep8 2013-02-23 01:16:02 +04:30
David Halter 4d7aad4ce8 deleted old crap code 2013-02-23 01:13:21 +04:30
David Halter 6912764923 fix position problems which came with lambdas 2013-02-23 00:40:34 +04:30
David Halter 7f051087e5 basic lambda implementation 2013-02-22 23:38:06 +04:30
David Halter c1e805d7b0 fixed invalid list comprehension tests 2013-02-22 23:06:59 +04:30