Commit Graph
21322 Commits
Author SHA1 Message Date
stsypanov fe722a45c2 improve performance of logical conjunction (IDEA-182226) 2018-07-25 17:47:07 +02:00
Alexey Kudravtsev b32cced7a4 make usages of AnAction.update()/actionPerformed() pass not null event (in preparation of notnull it) 2018-07-24 15:24:55 +03:00
Semyon Proshev c1cd227e56 Fix test data after syncing with typeshed 2018-07-23 18:11:07 +03:00
Semyon Proshev eeb43a6307 Enable asyncio stubs (PY-30699) 2018-07-20 16:13:43 +03:00
Semyon Proshev 76071ba1bd Enable multiprocessing stubs (PY-30936) 2018-07-20 16:09:02 +03:00
Semyon Proshev 3388f9df12 Sync with typeshed @ 4b8c37462e2f8412a754b07c6a08a2d374ba1d79 2018-07-20 16:05:03 +03:00
Sergey Malenkov 4c95ccef21 IDEA-195809: Update icons in /actions directory (first pass) 2018-07-20 15:39:21 +03:00
Ekaterina Tuzova 491a83da14 bundle scala plugin to idea edu 2018-07-20 15:02:31 +03:00
Dmitry Trofimov 72d5da5a3e Bundle markdown plugin 2018-07-20 14:44:13 +03:00
Ilya.Kazakevich 0e9fbd0a80 PY-30909: Dots missing 2018-07-19 22:29:43 +03:00
Dmitry Trofimov 6586a60cc7 Update tips and tricks (RM-17709) 2018-07-19 20:25:17 +03:00
Semyon Proshev 257ad51996 Improve processing of string literal types (PY-29665) 2018-07-19 17:33:13 +03:00
Aleksey Rostovskiy 2dba8af50d remove third-party tag from applicationInfo's IDEA-CR-34985
this tag is deprecated and isn't used anymore due to IDEA-185044
2018-07-19 13:04:41 +03:00
Andrey Vlasovskikh 73b89dde30 PY-30909 Moved registering Python statistics extensions to Community 2018-07-18 15:57:51 +03:00
Andrey Vlasovskikh 3c0e24e7e6 PY-30909 Fixed regression about reporting only PyCharm Pro stats instead of both Pro and Community 2018-07-18 15:27:18 +03:00
Ilya.Kazakevich 3f2ae3caa3 PY-26263: test fix 2018-07-18 00:12:40 +03:00
Ilya.Kazakevich 2c30378c64 PY-30806: "request" is implicit fixture
Although it is not declared as fixture, it could be used.
2018-07-17 23:37:37 +03:00
Semyon Proshev c579994aec Quick fix to set abc.ABCMeta as metaclass (PY-30789) 2018-07-17 20:27:51 +03:00
Semyon Proshev fff6955833 Move adding metaclass method (PY-30789) 2018-07-17 20:27:51 +03:00
Semyon Proshev e2855325d1 Quick fix to add abc.ABC to superclasses (PY-30789) 2018-07-17 20:27:51 +03:00
Semyon Proshev b8f5298ee3 Consider class inheriting abc.ABC as abstract (PY-30789) 2018-07-17 20:27:51 +03:00
Semyon Proshev 15d6339fba Simplify determining if class is abstract (PY-30789) 2018-07-17 20:27:51 +03:00
Ilya.Kazakevich 676d46fbf9 PY-26263: Rename py.test to pytest 2018-07-17 20:09:46 +03:00
Ilya.Kazakevich 00f73212b0 PY-30739 (IDEA-CR-34905): useless comment removed 2018-07-17 16:36:21 +03:00
Elizaveta Shashkova 717484f15a PY-29894 Fix Python quick fixes for PSI consistency 2018-07-17 14:58:31 +03:00
Aleksey Rostovskiy d9db7b90bd update python versions in gradle scripts to the latest ones 2018-07-17 14:04:58 +03:00
Elizaveta Shashkova 424d3be0a4 PY-30285 Code completion in debug console freezes the UI
Set short timeout for UI commands to avoid freeze
2018-07-17 12:51:15 +03:00
Elizaveta Shashkova c25e0b5778 Disable IPython completion for speed (PY-30222) and correct types showing (PY-30611)
IPython completion works very slow in some cases and becomes useless. It's better to make completion less detailed, but
2018-07-17 12:51:13 +03:00
Elizaveta Shashkova 7c3330cbb4 PY-30617 Open new Console instance by default for "Run with Python Console" 2018-07-17 12:39:56 +03:00
Mikhail Golubev 0007a4869b PY-30154 PY-30146 Don't append "simple" to index URL to fetch package versions
Also, ignore the fact that a package wasn't found in a custom repository and log
other errors, thus caching empty versions list in case a package is not in any of them.
2018-07-17 12:28:03 +03:00
Ilya.Kazakevich 9328593cd2 PY-30762: Test added 2018-07-17 01:32:22 +03:00
Mikhail Golubev 572ada016f PY-30403 Use a more permissive scheme for extracting versions from artifacts
Namely, don't require it to end only with .tar.gz since it excludes
all .zip and .whl archives and also take into account that according to
PEP 440 it may end wih a number of dash-delimited parts containing
interpreter and platform compatibility tags e.g. cp33-cp33m-manylinux1,
etc.
2018-07-16 23:30:50 +03:00
Mikhail Golubev 7dcd2eb806 PY-30403 Don't store nulls in package versions from a custom repository
Additionally, log unchecked exceptions from caches such as
IllegalArgumentException instead of just suppressing them.
2018-07-16 23:30:49 +03:00
Mikhail Golubev 1121d314bb PY-21493 PY-23270 Python IntelliLang injectors are aware of f-strings
and considered before the dedicated injector for f-strings takes place.
Also, PyInjectionUtil.registerStringLiteralInjection now takes care of
f-string injections itself.
2018-07-16 22:38:21 +03:00
Mikhail Golubev 6caccc8e4d PY-21493 Python regexp injector is aware of f-strings 2018-07-16 22:38:21 +03:00
Ilya.Kazakevich 83b6278502 PY-30762: Rename param usages when fixture (to which param has reference) is renamed
Param usage has reference to PyNamedParam.
                    PyNamedParam has reference to fixture.

                    When we rename fixture, PyNamedParam is also renamed because
                    PyNamedParam#isReferenceTo(Fixture) == true, but ParamUsage#isReferenceTo(Fixture) is not.

                    We use EP to fix it.
2018-07-16 22:25:58 +03:00
Semyon Proshev 9f9608ae4b Provide resolve result for __builtins__ (PY-30512) 2018-07-16 21:04:59 +03:00
Semyon Proshev 358edc489f While inferring parameter type from usages, check if it is compared with None (PY-27231) 2018-07-16 21:04:15 +03:00
Semyon Proshev 3b109fae50 Reduce code duplication (PY-27231) 2018-07-16 21:03:50 +03:00
Semyon Proshev 54bfc77c96 Fix processing empty parameters (EA-124905) 2018-07-16 19:06:12 +03:00
Semyon Proshev 17f543fdc9 Infer Any return type for abstract methods (PY-29704)
Sync overriding and implementing abstract methods.
Make `PyFunction.getReturnStatementType` accepting only non-null contexts.
2018-07-16 16:54:34 +03:00
Semyon Proshev 8b0dbf4e1b Ignore init=False attributes while inspecting fields order (PY-30880) 2018-07-16 15:44:23 +03:00
Vladimir.Orlov 34d5c87243 python 2.7.15 and 3.7.0 2018-07-16 11:01:05 +03:00
Mikhail Golubev 8cc4776985 Use DocumentUtil.isLineEmpty() in PyEmacsHandler 2018-07-13 21:39:03 +03:00
Gregory.Shrago 35f3995ee9 regen 2018-07-13 20:37:23 +03:00
Eugene Zhuravlev a81f587593 refactor LicensingFacade and UltimateVerifier so that they do not reference LicenseManager and delegate directly to it 2018-07-13 12:15:48 +02:00
Anton Bragin 2b5e738a5a PY-30827 PyRenameElementQuickFix changed to avoid special handling of unit test cases
Test data and PyQuickFixTest are updated accordingly. Test for renaming in language injection added.
2018-07-13 10:46:32 +03:00
Anton Bragin 84994a13da PY-30827 PyRenameElementQuickFix fixed to work both with physical and virtual files
New implementation extends LocalQuickFixAndIntentionActionOnPsiElement and uses Editor instance provided by super class
instead of retrieving it. The clients are updated accordingly. Duplicated code extracted into PyQuickFixUtil.
2018-07-13 10:46:10 +03:00
Ilya.Kazakevich 76decd7435 PY-30739: Custom fixtures could be in any file
PyTest has EP to find custom fixtures (step defs in case of pytest-bdd). This process is delegated to pytest-bdd,
which finds fixtures in conftest.py and same file using index
2018-07-12 20:52:08 +03:00
Alexander Koshevoy a74398fb40 Fix Python Console tests 2018-07-12 19:55:11 +03:00