Commit Graph
183420 Commits
Author SHA1 Message Date
Egor.Ushakov 2b3f124b61 fixed incorrect position of folding hints on hidpi 2016-11-15 16:23:34 +03:00
Semyon Proshev 8883bb174a Minor readability updates in PyReferenceImpl.resolveInner 2016-11-15 16:08:37 +03:00
Semyon Proshev a04e558a43 Introduce PyOverridingReferenceResolveProvider and PythonOverridingBuiltinReferenceResolveProvider as its implementation to handle implicit __class__ 2016-11-15 16:08:29 +03:00
Semyon Proshev 1264bb0655 Attempt to make PythonBuiltinReferenceResolveProvider more readable 2016-11-15 16:06:22 +03:00
Semyon Proshev 5fea23d3c7 Pass TypeEvalContext to PyReferenceResolveProvider 2016-11-15 16:05:38 +03:00
Semyon Proshev 2594094290 Move resolving module __doc__ to PythonBuiltinReferenceResolveProvider 2016-11-15 16:05:09 +03:00
Semyon Proshev 146abbc28c Decrease number of warnings in PyReferenceImpl, PythonCompletionTest and Py3CompletionTest 2016-11-15 16:05:09 +03:00
Semyon Proshev 3b5e051bfe PY-20279 Fixed: Suggest implicit __class__ inside methods
In PyReferenceImpl add implicit __class__ to lookup variants
2016-11-15 16:05:09 +03:00
Semyon Proshev 8fba7e8988 Inherit os._wrap_close skeleton from io.TextIOWrapper[unicode] because it redirects all calls to wrapped value 2016-11-15 15:54:43 +03:00
Semyon Proshev 9bab826071 PY-21040 Fixed: False positive: os.popen(...).close() doesn't return anything
Update os.popen skeleton to return class which has return value in close()
2016-11-15 15:54:43 +03:00
Vladimir Krivosheev ac59e093c1 IDEA-163920 NPE when saving proxy settings 2016-11-15 13:43:59 +01:00
Vladimir Krivosheev 5ed750262d cleanup 2016-11-15 13:43:58 +01:00
Semyon Proshev c58302f45c PY-20757 Fixed: Incorrect warning about expected attribute
Make min skeletons generic.
2016-11-15 15:40:10 +03:00
Semyon Proshev a77aed6035 PY-20769 Fixed: Support PEP 519: File system path protocol
Update skeletons to accept PathLike objects in pathlib classes
2016-11-15 15:39:06 +03:00
Semyon Proshev 309dd061f0 Support type checking for positional arguments 2016-11-15 15:39:05 +03:00
Semyon Proshev f1a0dc0ab6 PY-20769 Fixed: Support PEP 519: File system path protocol
Update skeletons to accept PathLike objects in open and os.path functions
2016-11-15 15:39:05 +03:00
Semyon Proshev e67d313bf1 PY-20769 Fixed: Support PEP 519: File system path protocol
Add __fspath__ to PY36_BUILTIN_METHODS
2016-11-15 15:39:04 +03:00
Semyon Proshev 13cc11735e PY-21083 Fixed: Inspection of float.fromhex expecting incorrect arguments
Update 'constants.py' so 'float.fromhex' stub is generated with 'staticmethod' decorator, has correct modifier and PyCallByClassInspection doesn't show any warning
2016-11-15 15:37:20 +03:00
Semyon Proshev 15e5d938d5 PY-21083 Fixed: Inspection of float.fromhex expecting incorrect arguments
Fix skeleton for float.fromhex
2016-11-15 15:37:19 +03:00
Elizaveta Shashkova 7a1ee38531 Run PyQt tests with the latest version of envs plugin 2016-11-15 15:35:30 +03:00
Semyon Proshev 5c920951f0 PY-19702 Fixed: Unresolved metaclass attributes in children
In case of definition resolve attribute in metaclass definition and instance.
In case of instance check if metaclass is PyClass and look for attribute in instance attributes.
Same with completion.
2016-11-15 15:33:07 +03:00
peter 0bfd59ed6e rebuild chunk when groovy stub generator throws TypeNotPresentException (IDEA-163634) 2016-11-15 13:32:19 +01:00
Egor.Ushakov 0387d12734 fixed shadows on hidpi (we do not have x2 icons and scaled regular icons, which must remain 1px wide/high) 2016-11-15 15:30:43 +03:00
irengrig ccee6d8c1e test framework: intention action availability must be checked 2016-11-15 13:19:03 +01:00
Dmitry Trofimov df01fb4c05 Merge remote-tracking branch 'origin/master' 2016-11-15 12:51:49 +01:00
Dmitry Trofimov c838186ce4 Fix prompt in virtualenv auto activisation on Windows (PY-21452) 2016-11-15 12:40:55 +01:00
Yaroslav Lepenkin 4f109f5dbd [Formatter] remove obvious comments 2016-11-15 14:32:19 +03:00
Alexander Lobas 6ee83fe7de EA-91739 - assert: DataBindingWizardAction.actionPerformed 2016-11-15 14:21:15 +03:00
Alexander Lobas 042d35e060 EA-91784 - Throwable: BalloonImpl.hideAndDispose 2016-11-15 14:13:02 +03:00
Alexander Lobas 6d20503df0 IDEA-157763 Settings repository for IDE: unit tests 2016-11-15 13:53:57 +03:00
Vladimir Krivosheev bc15e07413 move methods from PathMacroManager to PathMacroSubstitutor to avoid misunderstaning
add javadoc to collapsePaths/collapsePathsRecursively
2016-11-15 11:45:41 +01:00
Vladimir Krivosheev c01e5f1395 cleanup 2016-11-15 11:45:41 +01:00
Vladimir Krivosheev ceb292fc88 cleanup 2016-11-15 11:45:40 +01:00
Vladimir Krivosheev 0271938840 cleanup 2016-11-15 11:45:40 +01:00
Vladimir Krivosheev 875be969cb simplify ModifiableModel 2016-11-15 11:45:39 +01:00
Dmitry Batkovich b43ba0c3b4 javac ast indices: don't add to log PCE 2016-11-15 13:02:55 +03:00
Yaroslav Lepenkin c307bb2db7 [Parameter Name Hints] error message improved 2016-11-15 12:04:57 +03:00
nik 7fab926f0c build scripts: use relaxed since/until-build range for plugins built in nightly builds 2016-11-15 11:54:36 +03:00
Gregory.Shrago 65e4edeb02 improve error report 2016-11-15 01:58:56 +03:00
Julia Beliaeva 43c81ef35d [git] fix deep comparator keeping highlighting after branch filter unset
When branch filter is unset, cherri-picked commits should be un-highlighted. But when this happen during refresh, visible pack arrives with both new graph and new filters. So DeepComparator should check filters first.
2016-11-15 00:31:16 +03:00
Maxim.Mossienko 67ecbcae6e workaround for GwtLanguageLevel pusher to affect java language level 2016-11-14 22:18:50 +01:00
Maxim.Mossienko f4bdbd2e68 [performance] avoid O(NumberOfDirectories^2) for init vfs / refresh for jars by storing compact parent -> children mapping 2016-11-14 21:24:10 +01:00
Ilya.Kazakevich fc5589b1f5 PY-18473: Find Python using win registry and pep-514
* Using DI to remove WinPythonSdkFlavor dependency on registry tools and make it testable
* Check all registry branches according to pep514
2016-11-14 22:58:36 +03:00
peter 979ac11689 drop caches on non-physical file context change (a more universal fix for EA-69690 - PIEAE: StubBasedPsiElementBase.getContainingFile) 2016-11-14 20:39:39 +01:00
peter 0d67966124 use DumbService#completeJustSumbittedTasks in some places between VFS changes and reference resolve 2016-11-14 20:32:34 +01:00
peter 825fc1797b run modal indexing when requested explicitly and not during VFS event processing (IDEA-163418, EA-91382) 2016-11-14 20:32:34 +01:00
Sergey Malenkov 12856e8590 Correct recognition that the specified action is not an action group 2016-11-14 22:21:11 +03:00
Anna.Kozlova 45851be5d9 inplace change signature: show initial signature in action text 2016-11-14 19:05:03 +01:00
Anna.Kozlova 034a7db3e3 extract delegate: ensure class fqns are not lost (IDEA-163265) 2016-11-14 19:05:03 +01:00
Anna.Kozlova eafa08cb9b disable extract class for non-project sources 2016-11-14 19:05:03 +01:00