Commit Graph

  • 23c39eff9a fix lambda issues Dave Halter 2014-08-06 12:40:08 +02:00
  • e3bb0ccc2e fix a keyword statement issue Dave Halter 2014-08-06 12:10:36 +02:00
  • 15ec0a77fe a first very simple implementation of reachable/unreachable return statements. Dave Halter 2014-08-05 17:02:16 +02:00
  • f5e49e3218 flow analysis preparation Dave Halter 2014-08-05 12:06:58 +02:00
  • c44168f7ad add a Flow.previous attribute to be able to access the if flow from an else clause. Dave Halter 2014-08-05 11:17:18 +02:00
  • 54dce0e3b2 fix strange issues of Python's std lib tokenizer, might be in there as well (not sure, cause I modified a lot). fixes #449 Dave Halter 2014-08-04 16:47:36 +02:00
  • b2b4827ce3 moved test_token to test_tokenize Dave Halter 2014-08-04 16:25:33 +02:00
  • cba100a801 test for #414 which doesn't seem to be failing anymore. Dave Halter 2014-08-04 16:08:47 +02:00
  • 625e88e851 isinstance checks now also give you type hints in class contexts, fixes #241. Dave Halter 2014-08-04 02:11:30 +02:00
  • 0a0673e87c refactoring in dynamic param searching Dave Halter 2014-08-04 01:39:05 +02:00
  • 7bba12e8c5 comments Dave Halter 2014-08-03 23:00:32 +02:00
  • 6e5d80a6b2 builtins shouldn't be unique if called by compiled.create Dave Halter 2014-08-01 15:51:45 +02:00
  • 68cecad996 tests for py__mro__ Dave Halter 2014-08-01 15:50:18 +02:00
  • 2c0a46fafe Fix an issue with CallSignatures: If used in a longer statement, it could happen that parts of the statement was still evaluated, but the call signature is only valid at the cursor. Dave Halter 2014-07-31 17:47:56 +02:00
  • 7b4a188948 fix a few small issues that remained in the tests Dave Halter 2014-07-31 17:34:35 +02:00
  • 59b8c6b015 CompiledObjects should execute everything when reading the return information from docstring (because it's always types, not values) Dave Halter 2014-07-31 17:16:24 +02:00
  • 332a16a27e elements in tuples/lists in docstrings were not executed. Dave Halter 2014-07-31 17:13:56 +02:00
  • d09279e0ad change tests that provided wrong instance information Dave Halter 2014-07-31 15:16:24 +02:00
  • 50fa3a732d actually start checking if the integration tests are instances on both sides of the comparison. This wasnt necessary for just autocompletion, but it's way more important now. Dave Halter 2014-07-31 14:58:32 +02:00
  • d899f69686 simplify a lot of the current InstanceElement behavior, because we know now, that there's either a Statement or a Function inside (or maybe some other parser objects like an Array. Dave Halter 2014-07-31 13:41:10 +02:00
  • 0fbd5efefd wrap instance element creation so that it only contains functions and statements, not CompiledObject or Instance. Dave Halter 2014-07-31 13:16:11 +02:00
  • 870abe73d4 Calling an InstanceElement of an Instance of CompiledObject doesn't raise an error anymore. Yes, it's really that complicated. Dave Halter 2014-07-30 19:49:41 +02:00
  • 0851e7667e A module shouldn't be callable. Dave Halter 2014-07-30 17:07:57 +02:00
  • 723d1e4631 Nicer usage of py_call within InstanceElement and Python 2.7 compatibility Dave Halter 2014-07-30 17:00:16 +02:00
  • 7cc35fe0b8 remove a very old function call in FunctionExecution that had no effect Dave Halter 2014-07-30 16:41:02 +02:00
  • cf63d20988 get rid of the evaluate_generator param Dave Halter 2014-07-30 16:36:27 +02:00
  • 565cfce2fe Executable -> Executed Dave Halter 2014-07-30 16:00:38 +02:00
  • 7bd76022bf get rid of the whole is_callable stuff, because now we can just check for hasattr(obj, 'py__call__') Dave Halter 2014-07-30 15:50:47 +02:00
  • e58dc0a3d9 simplify evaluator.execute, because now everything is using py__call__ Dave Halter 2014-07-30 15:40:10 +02:00
  • 373ff2c45a fix most issues related to the py__call__ stuff and generalize it. Dave Halter 2014-07-30 15:23:41 +02:00
  • 1e6a950aec further progress in changing to py__call__ Dave Halter 2014-07-30 14:40:56 +02:00
  • ccd304bcb7 start switching to a more python similar approach of naming, start by naming execution stuff py__call__ Dave Halter 2014-07-30 14:06:32 +02:00
  • 07d0a43f7e Add preceding whitespace collection to tokenizer Joel Wright 2014-07-30 11:59:20 +01:00
  • 196afaacbf always operate on class in super and not on an instance. that's the proper way. Dave Halter 2014-07-30 11:34:27 +02:00
  • e81749bbe1 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2014-07-30 11:27:46 +02:00
  • 3c92d175da using super() in actual executed classes wasn't possible. fixes #421 Dave Halter 2014-07-30 11:27:27 +02:00
  • 53671bca84 replace get_super_classes with py_bases Dave Halter 2014-07-30 10:54:39 +02:00
  • a6855029d2 added a few EuroPython sprint guys to AUTHORS.txt Dave Halter 2014-07-30 09:15:17 +02:00
  • ddd4e92e84 temporary SuperInstance class to eventually handle super. But need something like mro() resolution first. Dave Halter 2014-07-29 23:57:29 +02:00
  • cfe54e83ff incomplete functions shouldn't cause any trouble. fixes #429. Dave Halter 2014-07-28 17:41:09 +02:00
  • a86cfa2dd7 Merge pull request #453 from alga/dev Dave Halter 2014-07-27 20:58:03 +04:30
  • ecb2085174 Add flask.ext to the test fixture so tests pass even without flask installed. Albertas Agejevas 2014-07-27 17:59:09 +02:00
  • 25978cf591 Mentioned framework support in the docs. Albertas Agejevas 2014-07-27 17:35:50 +02:00
  • ab486ba84f List old-style flask extensions, too. Albertas Agejevas 2014-07-27 17:00:17 +02:00
  • 733eee94b6 Fix breaking tests. Albertas Agejevas 2014-07-27 16:18:24 +02:00
  • 7f45bfe689 More on #361: enumerate new-style flask extensions. Albertas Agejevas 2014-07-27 16:08:26 +02:00
  • 605b0c5881 Added note about numpydoc package Danilo Bargen 2014-07-27 16:01:09 +02:00
  • 440b9b072e Merge pull request #441 from davidhalter/dynamic_inheritance Dave Halter 2014-07-27 18:26:48 +04:30
  • 4e04770a75 Merge pull request #451 from davidhalter/issue436 Dave Halter 2014-07-27 18:22:43 +04:30
  • 5edd2274b2 Fix an exception in the flask ext code. Albertas Agejevas 2014-07-27 13:43:20 +02:00
  • a18f8a7cbb Make tests terser. pytest rules! Albertas Agejevas 2014-07-27 13:27:34 +02:00
  • 13c1f79d5c A stab at davidhalter/jedi#361 (Flask extension imports) Albertas Agejevas 2014-07-27 12:40:35 +02:00
  • e8f479172a Implemented dynamic superclasses Danilo Bargen 2014-07-27 14:11:48 +02:00
  • 73637d7e3f Small doc fix Danilo Bargen 2014-07-27 13:12:26 +02:00
  • 176da139d8 Added docs for numpydoc docstrings (fixes #450) Danilo Bargen 2014-07-27 13:09:03 +02:00
  • c97e1732ee Operator statement wrapper was missing (fixes #436) Danilo Bargen 2014-07-27 12:53:18 +02:00
  • 6d99e639cd Merge branch 'add-numpydoc-support' of git://github.com/immerrr/jedi into dev Dave Halter 2014-07-27 11:23:39 +02:00
  • 194d87bbad Add basic numpydoc support immerrr 2014-07-26 20:14:07 +04:00
  • e2cdbf61de Merge remote-tracking branch 'origin/travis_py34' into dev Dave Halter 2014-07-27 09:52:54 +02:00
  • 9028641ca7 Merge remote-tracking branch 'origin/namedtuple' into dev Dave Halter 2014-07-27 09:51:50 +02:00
  • 97a204a985 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2014-07-27 09:44:25 +02:00
  • 606b6851ff remove the scope_names_generator stuff again. We should enable it somewhere in time, but for now it just breaks tests. Dave Halter 2014-07-27 09:43:22 +02:00
  • cd648e933b Merge pull request #448 from ppalucki/master Dave Halter 2014-07-27 12:05:32 +04:30
  • d359f5d043 Sphinx oneline param type declaration feature Pawel Palucki 2014-07-26 22:14:28 +02:00
  • d3620fd84f Implemented support for namedtuples (fixes #107) Danilo Bargen 2014-07-26 15:33:13 +02:00
  • 81e066097d Added pytest-cache to tox.ini Danilo Bargen 2014-07-26 11:32:04 +02:00
  • 49089c06ff Travis now provides Python 3.4 Danilo Bargen 2014-07-26 15:47:37 +02:00
  • efebb2d6d0 Added tests for random.choice Danilo Bargen 2014-07-26 16:40:14 +02:00
  • 2a1c108bbf Fixed whitespace problems in completion tests Danilo Bargen 2014-07-26 17:37:30 +02:00
  • c85bdb8ff1 little edge case of modules that don't have a scope_names_generator, which is unfortunately missing, but not really used in Jedi. At europython's hackathon we played with it and @scoder added a small script to cython/Cython/Compiler/JediTyper.py, which makes it possible to add Cython types to a Python script. Dave Halter 2014-07-26 13:18:04 +02:00
  • 4f1d39d3df set changelog date for v0.8.1 correct Dave Halter 2014-07-25 00:45:39 +02:00
  • 293fa5a14f Merge pull request #437 from blueyed/doc-changelog-minor Dave Halter 2014-07-25 03:14:06 +04:30
  • fd2f56f3b6 minor: changelog: formatting Daniel Hahler 2014-07-25 00:31:11 +02:00
  • 93f6d45e11 minor: changelog: fix typo Daniel Hahler 2014-07-25 00:30:53 +02:00
  • a01e4c6b37 Merge remote-tracking branch 'origin/master' into dev v0.8.1 Dave Halter 2014-07-23 00:47:30 +02:00
  • 5e9d9573d5 Don't warn on addition of an int literal plus an unknown int number. Dave Halter 2014-07-22 16:44:10 +02:00
  • f7c8c43fbc check not only - but also + for numbers. Dave Halter 2014-07-22 16:18:57 +02:00
  • 96ca596cc2 fix the operation test where static analysis reports additions of ints with non-ints. Dave Halter 2014-07-22 16:05:46 +02:00
  • 852cdad754 Operator fixes. Subclass of Simple, now. Dave Halter 2014-07-22 16:02:34 +02:00
  • 15f42d93d7 it should be possible to find the origin of an operation, if it's a faulty one (static analysis) Dave Halter 2014-07-22 14:52:58 +02:00
  • 50ceef6e09 1 + '1' TypeErrors are now detected, but not shown in the right place Dave Halter 2014-07-22 10:44:56 +02:00
  • 52bbedd4a8 renamed company-jedi to anaconda-mode, cc @proofit404 Dave Halter 2014-07-22 10:33:49 +02:00
  • 037d5fa02a static analysis tests for the 1 + '1' test Dave Halter 2014-07-22 01:40:36 +02:00
  • d350c1fa30 Merge branch 'linter' of github.com:davidhalter/jedi into linter Dave Halter 2014-07-21 17:40:25 +02:00
  • b0d5d96b20 Merge pull request #435 from hattya/windows Dave Halter 2014-07-21 16:38:53 +02:00
  • ec690b9ec5 change the default linter command from 'force' to 'linter' Dave Halter 2014-07-21 16:15:42 +02:00
  • 712e5653d8 use _ctypes for extension tests Akinori Hattori 2014-07-19 14:39:14 +09:00
  • 10b7ed967d organize imports Akinori Hattori 2014-07-19 10:41:19 +09:00
  • 00b8263859 fix buildout test for Windows Akinori Hattori 2014-07-19 10:39:45 +09:00
  • 11bc105207 skip readline test on Windows Akinori Hattori 2014-07-19 10:37:46 +09:00
  • 68150f2814 fix module name of integration tests for Windows Akinori Hattori 2014-07-19 10:36:31 +09:00
  • 5b15c0ba84 fix package detection for Windows Akinori Hattori 2014-07-19 10:34:15 +09:00
  • 2696d95d70 fix dotted_from_fs_path for Windows Akinori Hattori 2014-07-19 10:33:08 +09:00
  • 2616143d10 unicode issues with docstrings should be gone, fixes #420 Dave Halter 2014-07-18 17:43:25 +02:00
  • e07f51387f added a test for hex value issues in docstrings, see #427 Dave Halter 2014-07-18 17:09:44 +02:00
  • ee1c5041ed use the new implementation of splitlines all over the code, fixes #424 Dave Halter 2014-07-18 16:59:22 +02:00
  • ffaacbefbc new splitlines implementation to get rid of the ugly splitlines we now have as well as (partially) the issue with form feeds Dave Halter 2014-07-18 16:52:55 +02:00
  • 0f665bf436 test for #424, issues with form feeds Dave Halter 2014-07-18 16:52:25 +02:00
  • 81f3b940e8 dicts should not be used to check against in get_defined_names, because they cannot contain a defined name (lists and tuples can) so just ignore them., fixes #417 Dave Halter 2014-07-18 15:36:50 +02:00
  • 4626a8b6df test for #417 Dave Halter 2014-07-18 15:23:47 +02:00