Mikhail Golubev
492289a65e
PyWithStatementImpl implements PyStatementListContainer
2014-08-05 13:03:29 +04:00
Ilya.Kazakevich
a93caa7bd9
PY-13577 Behave support doesn't work with Chinese
2014-08-01 00:53:07 +04:00
Ilya.Kazakevich
71fde58236
PY-8427 Behave BDD support
...
PY-4186 Lettuce BDD tool support
Step definition creation improved, inspection added
2014-07-31 02:01:31 +04:00
Ilya.Kazakevich
3ff525631a
PY-8427 Behave BDD support
...
PY-4186 Lettuce BDD tool support
Steps generation fixed
2014-07-25 23:26:24 +04:00
Mikhail Golubev
93e45b92d8
PY-4073 Add completion for special function attributes
...
* Introduce new '__function' fake class for functions. Add its skeleton to user skeletons
and binary skeletons generator. Delegate to it in PyFunctionType for completion variants
and attributes resolution.
* Regenerate test SDKs to use new class.
2014-07-14 19:39:31 +04:00
Andrey Vlasovskikh
595e5fb205
Made PyReferenceOwner.getReference() not null
...
Removed not implemented and obsolete implementations that returned
null.
2014-07-04 14:22:37 +04:00
Andrey Vlasovskikh
63f2789931
Introduced PyCallSiteExpression for distinguishing a[b] and a[b](c) in the type checker (PY-13051)
...
PyTypeChecker.analyzeCallSite() was used for analyzing the return type
of the call in the same way for different expressions: a[b] and a[b](c)
as analyzeCallSite(a[b]) making it impossible to distinguish between the
two.
Now we pass a PyCallExpression for analyzing the function call instead
of a PyQualifiedExpression.
2014-07-04 13:56:42 +04:00
Ilya.Kazakevich
09e304c55c
PY-8427 Behave BDD support
...
PY-4186 Lettuce BDD tool support
Initial extension point impl
2014-06-19 03:46:13 +04:00
Ilya.Kazakevich
879c23d443
PY-13210 Unused star import in Django settings.py
2014-06-09 22:16:27 +04:00
Ilya.Kazakevich
5eeea4356a
PY-13084 Variables passed to url kwargs are not suggested to template
2014-05-28 01:27:39 +04:00
Ilya.Kazakevich
350199833d
PY-13018 ForeignKey to model in different file brakes backward references if referenced as APP_NAME.Model
2014-05-22 01:05:20 +04:00
nik
d4d6b609b6
sources roots without sources converted to resource roots
2014-05-21 15:40:08 +04:00
Ilya.Kazakevich
68565aedf8
PY-2980 Unresolved reference for ForeignKey defined as string
2014-05-20 22:34:03 +04:00
Ilya.Kazakevich
c2067ff719
PY-1194 Provide completion and navigation for url tag in django template
...
PY-3591 Support {% url %} tag arguments completion
Params to be supported
2014-04-22 23:13:13 +04:00
Ilya.Kazakevich
45cb54cacf
PY-12565 Django: default template names for generic class-based views are not resolved
2014-04-08 22:06:57 +04:00
Alexey Kudravtsev
e75d93b7ec
notnull, cleanup
2014-04-02 13:28:01 +04:00
Ilya.Kazakevich
76e04ecd2c
PY-12579 "url" function is not processed correctly when imported as alias
2014-03-31 18:35:27 +04:00
Ilya.Kazakevich
2b867ce58d
PY-12344 Views in i18n_patterns are not resolved
2014-03-28 23:41:20 +04:00
Ilya.Kazakevich
5ab2bd89ef
PY-12497 .NET stubs are generated incorrectly when name is imported instead of module
2014-03-27 02:11:17 +04:00
Andrey Vlasovskikh
4afd85f67a
Merge branch 'python-fixes'
...
Conflicts:
python/src/com/jetbrains/python/inspections/quickfix/AddFunctionQuickFix.java
2014-03-12 13:46:21 +04:00
Ekaterina Tuzova
2ba4ece037
Merge remote-tracking branch 'origin/master'
...
Conflicts:
python/src/com/jetbrains/python/inspections/PyProtectedMemberInspection.java
python/src/com/jetbrains/python/inspections/PyStatementEffectInspection.java
2014-03-11 15:29:15 +04:00
Andrey Vlasovskikh
e36425ec85
Moved LanguageLevel.forFile() to PyUtil.getLanguageLevelForVirtualFile()
2014-03-07 18:44:42 +04:00
Ekaterina Tuzova
7438ce848b
added create property quick fix for the property access inspection
2014-03-07 18:31:00 +04:00
Andrey Vlasovskikh
7325dffa0b
Changed default language level to Python 2.7
2014-03-06 18:36:39 +04:00
Andrey Vlasovskikh
a3141a4d58
Merge branch 'python-fixes'
2014-03-04 20:42:29 +04:00
Ilya.Kazakevich
dd2e76a0ff
PY-12178 Support pull up / push down for properties
2014-03-04 17:14:00 +04:00
Andrey Vlasovskikh
6b8002e34a
Cache return types of callables using TypeEvalContext.getReturnType()
2014-03-04 14:17:46 +04:00
Andrey Vlasovskikh
287c82f797
Removed TypeEvalContext parameter from PyType.isBuiltin()
2014-03-03 17:06:52 +04:00
Ilya.Kazakevich
7805c3d589
Merge remote-tracking branch 'origin/master'
2014-03-03 15:44:17 +04:00
Andrey Vlasovskikh
e77d5bb8b7
Switched to @NotNull call site in Callable.getCallType() and PyCallableType.getCallType()
...
Changed some usages of getCallType() to getReturnType() and fixed
handling of functions with custom decorators.
2014-03-03 15:39:47 +04:00
Andrey Vlasovskikh
dd898e2d02
Introduced Callable.getCallType() instead of PyFunctionImpl.getReturnTypeWithoutCallSite()
2014-03-03 14:56:50 +04:00
Andrey Vlasovskikh
9e9e8e5a6a
Cache call site independent return types of callables in TypeEvalContext
2014-03-03 14:22:00 +04:00
Andrey Vlasovskikh
f90ee78702
Added Callable.getReturnType() and PyTypeProvider.getReturnType()
...
As a side effect, switched to type-based class generics unification in
constructors.
2014-03-03 13:39:21 +04:00
Andrey Vlasovskikh
54786f47c1
Renamed PyTypeProvider.getReturnType() to getCallType()
2014-03-03 12:56:37 +04:00
Andrey Vlasovskikh
ed026c0705
Renamed Callable.getReturnType() to getCallType()
2014-03-03 12:45:46 +04:00
Andrey Vlasovskikh
1f721bbb79
Added PyCallableType.getReturnType() for forthcoming return types caching
2014-03-03 12:34:02 +04:00
Andrey Vlasovskikh
a91ad4a303
Don't require PsiFile.getText() for detecting Python charset declaration
2014-02-28 14:47:38 +04:00
Ilya.Kazakevich
3717b9aaea
PY-12178 Support pull up / push down for properties (not ready yet: only properties excluded from other managers)
2014-02-26 21:05:39 +04:00
Vassiliy
29068e1379
png optimization
2014-02-25 18:13:34 +04:00
Andrey Vlasovskikh
8af73b7185
Don't resolve to file-level '__metaclass__' in PyClass.getMetaClassExpression() (PY-12127)
...
This method is invoked during indexing and it shouldn't resolve
references extensively. Related to this issue, the return type of
PyClass.getMetaClassType() has been changed in order to be able to
return weak metaclass types.
2014-02-20 14:04:56 +04:00
Ilya.Kazakevich
b32156d3c5
PY-2858 Pull Up Abstract Method (finally!)
2014-02-14 22:03:37 +04:00
Ilya.Kazakevich
40f6fbe45c
PyArgumentList#addArgument fixed and test added
2014-02-14 20:34:05 +04:00
Ilya.Kazakevich
24c879c5f5
Code cleanup for "membersManager" package to make it type-safe
...
PullUp: Refactored to use Processor on MembersManager
StatementList refactoring
PullUp: processor added
PyExtractSuperClass and PyPullMembersUp refactored and covered with tests.
PyExtractSuperClass and PyPullMembersUp refactored and covered with tests.
2014-02-06 18:31:49 +04:00
Ilya.Kazakevich
955663ad6c
PY-3450 Refactoring: pull up class variables/attributes (almost done: need to check dependencies, resolve conflicts and use same functionality for "extract superclass" and "pushdown")
2014-02-04 00:47:26 +04:00
Dmitry Trofimov
2e82518e58
EA-49160
2014-01-30 13:02:12 +01:00
Ekaterina Tuzova
50c4cf30ee
Merge remote-tracking branch 'origin/master'
2014-01-24 13:06:18 +04:00
Ekaterina Tuzova
43e98b8e2a
fixed isAbstractmethod
2014-01-24 12:15:27 +04:00
Andrey Vlasovskikh
50d1e9b3cc
Cleanup of API for qualified names of expressions
...
Added PyQualifiedExpression.asQualifiedName() and moved utility
functions to PyPsiUtils. Expression classes can now cache the results
of calculating their qualified names.
2014-01-23 22:00:58 +04:00
Andrey Vlasovskikh
585e827014
Added PyQualifiedReference.isQualified() that potentially doesn't require AST access
2014-01-23 18:04:13 +04:00
Ilya.Kazakevich
b55ee30dc1
PY-11882 Assignment to for loop inspection false positive
...
PY-3569 Inspection to warn if a loop variable is assigned inside the loop
2014-01-23 03:38:23 +04:00