Commit Graph
275 Commits
Author SHA1 Message Date
Andrey Vlasovskikh 6311bb2b02 Prevent exponential growth of union types of PyJavaClassType (PY-15055)
For Java method references in the context of Jython multi-resolve
returns all the overloaded methods. Return types of these methods are
joined as a union type. If there is no equality for PyJavaClassType,
then the chain of builder-style calls to overloaded methods results in
exponential growth of the union type.
2015-02-17 19:07:23 +03:00
Dennis Ushakov cf6bfd7ef2 #WEB-14743 fixed 2015-01-19 12:44:24 +03:00
Dmitry Trofimov a9413082a9 Move dependency to IPython notebook to a right place in Python plugin. 2014-12-16 23:49:05 +01:00
Dmitry Trofimov 9e83c1d58f Revert loading ipython notebook in python plugin. 2014-12-16 23:46:19 +01:00
Dmitry Trofimov 4cc94dcadc Include IPython Notebook into Python plugin. 2014-12-16 20:21:48 +01:00
Alexey Kudravtsev 7d73e53787 mem leak 2014-12-12 14:34:12 +03:00
Dmitry Trofimov e521c513d7 Both setter and getter should start with word 'add' 2014-11-24 21:41:47 +03:00
Ekaterina Tuzova d6080f4d28 fixed PY-14471 IntellJ Plugin: imports are not resolved correctly with facet SDK set
removed stupid copy-pasted code
2014-11-24 16:47:06 +03:00
Alexey Kudravtsev e7285e1158 added assertion for calling DialogWrapper.showAndGet() in modal dialogs only;
replaced "dialog.show(); dialog.isOK()" with showAndGet()
2014-11-19 17:19:02 +03:00
Dmitry Trofimov 57bdd90cd9 Add Python console action to Tools (PY-14173). 2014-11-13 15:15:04 +01:00
Alexey Kudravtsev 306fe3c9e6 tighten access for LaterInvokator, replace LaterInvokator.invokeLater() with Application.invokeLater() to enforce correct condition for disposed 2014-11-11 13:12:00 +03:00
Andrey Vlasovskikh e083779793 Updated copyright 2014-10-16 17:56:38 +04:00
Ilya.Kazakevich 9c8ce8b94d PY-14081 Django: QuerySet.as_manager() code editing is really slow
Context cache added
2014-10-14 23:32:38 +04:00
Andrey Vlasovskikh 0b07573a58 Merge branch 'packaging-result' 2014-10-02 17:21:23 +04:00
Andrey Vlasovskikh 42c6e7efc3 Use unified PackagingErrorDialog for reporting errors 2014-10-02 16:38:07 +04:00
Ekaterina Tuzova a95dedb76c Simplified xml structure for pycharm/python plugin community/professional. Added clarification comments. 2014-10-01 20:08:18 +04:00
nik 930d87bc93 FacetEditorTab#createComponent annotated as @NotNull 2014-09-24 18:32:19 +04:00
Ekaterina Tuzova 5dbe8a9a14 fixed PY-12651 Unify PyCharm and plugin template folder handling
extracted PyContentEntriesEditor and reused in python plugin
2014-08-25 17:51:44 +04:00
Dmitry Trofimov e4717b9ab9 Run Django console in Django projects by default. Remove Tools | Run Django console action. 2014-08-11 19:23:17 +02:00
Dmitry Trofimov 4150a6f0c5 Use special icons for run python console action. 2014-08-11 13:57:28 +02:00
Dmitry Trofimov a044b8da5f Use Python console action in Plugin and toolwindow in PyCharm. 2014-08-11 10:53:17 +02: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
Ekaterina Tuzova 1232053949 first step towards better python sdk combobox
PY-13267 New Project: Project interpreter in combobox is difficult to use
2014-06-23 16:52:21 +04:00
nik a2ea1f6327 various combobox module choosers replaced by common implementation with proper sorting and speedsearch 2014-06-17 11:44:42 +04:00
Dmitry Avdeev 68f0af6475 IDEA-125262 Can't create Django, AppEngine and other specific Python projects 2014-05-20 14:12:57 +04:00
Konstantin Bulenkov 84eb84b758 remove null icon 2014-04-10 13:45:59 +02: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
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 9e9e8e5a6a Cache call site independent return types of callables in TypeEvalContext 2014-03-03 14:22:00 +04:00
Andrey Vlasovskikh 1f721bbb79 Added PyCallableType.getReturnType() for forthcoming return types caching 2014-03-03 12:34:02 +04:00
nik ee84db9ef7 "create project from existing sources" fixed for mixed non-java projects (IDEA-91446) 2014-02-06 12:31:08 +04:00
nik 76bfc1ff82 "create project from existing sources" fixed for mixed non-java projects (IDEA-91446) 2014-02-06 11:23:28 +04:00
Andrey Vlasovskikh 89beff839b Fixed PyABCUtil.isSubtype() check for class definitions that have metaclasses 2014-01-21 02:03:34 +04:00
Dmitry Avdeev 72ce296e54 IDEA-115074 New Project Wizard: Grails: grails-specific settings are missing 2013-11-05 12:04:48 +04:00
Dmitry Avdeev 3ab2bad21d frameworks support step suppressed for ruby and python 2013-10-22 16:12:15 +04:00
Dmitry Jemerov 1cd7777b44 PY-9343 2013-10-21 19:56:04 +02:00
Dmitry Jemerov 70e628954f Apache 2 copyright headers 2013-10-21 15:29:20 +02:00
Dmitry Jemerov e734291860 remove duplicate community plugin.xml after sources move 2013-10-21 12:15:30 +02:00
Dmitry Jemerov f7b1beede3 move QualifiedName class from Python to platform 2013-10-16 13:21:40 +02:00
Dmitry Jemerov db87a87bf8 version updated 2013-10-08 16:38:28 +02:00
Dmitry Jemerov b55af595a8 python plugin for community edition 2013-09-27 12:18:38 +02:00
Dmitry Jemerov 3e3c5809cf move PythonFileTypeFactory to correct place 2013-09-27 12:18:38 +02:00
Dmitry Jemerov 52ca43562c prepare to release python plugin for intellij community (work in progress) 2013-09-25 18:05:08 +02:00
Andrey Vlasovskikh 09fdfb6986 Removed redundant PyClass.getSuperClassElements() method 2013-09-17 20:59:01 +04:00
Dmitry Jemerov 6cd63be756 we're using separate file type factory for Cython, no need to use it here 2013-08-30 18:51:59 +02:00
Dmitry Jemerov 273bb1a9e1 include resoures from community/src into plugin build (PY-10695) 2013-08-29 10:25:49 +02:00
Dmitry Jemerov 029c0b429e include community/src in python plugin build; increment version 2013-08-28 19:06:40 +02:00
Dmitry Jemerov 7f0743bef3 update until-build according to new branch number 2013-08-28 15:48:10 +02:00
Dmitry Jemerov 785485d8a7 PyType.getCompletionVariants() takes location as PsiElement, not PyExpression 2013-08-13 16:30:33 +02:00