Ekaterina Tuzova
05b0c625cf
ConnectionRefusedError is not available in python2
2017-12-21 14:52:03 +03:00
Ekaterina Tuzova
b36cbf1507
setFraction makes sense only for determinate progress indicator
2017-12-21 14:52:03 +03:00
Vladimir Krivosheev
19e2763f9a
reduce usage of UsageViewSettings.getInstance()
...
Current implementation of show usages action is not good — it is bad to call loadState/getState. We should get rid of global usage view settings and use only provided one.
2017-12-21 12:21:02 +01:00
nik
6b5c6b78a0
platform: add UTM parameters to download URLs from About popup
...
Introduce IdeUrlTrackingParametersProvider service which is overriden in products to append necessary parameters, remove 'fromIDE' parameter from *ApplicationInfo.xml files.
(IDEA-CR-27675, IDEA-183268)
2017-12-21 13:50:19 +03:00
Ilya.Kazakevich
88901fd9fa
PY-26447: Unify UI between all test runners and obey UX guide
2017-12-21 01:32:35 +03:00
Semyon Proshev
8678782c65
Ignore __getitem__ for Generic indirect inheritors (PY-27102)
2017-12-20 21:06:41 +03:00
Semyon Proshev
2b475bef7d
Filter broken releases in package details (PY-27669)
2017-12-20 19:27:47 +03:00
Semyon Proshev
fb1743b1f1
Don't forget to pass version in PyPackageManagementService.updatePackage (PY-27669)
2017-12-20 19:27:46 +03:00
Ilya.Kazakevich
e6f5fd098e
PY-27672: Use same names for tests and plain script
2017-12-20 18:20:35 +03:00
Elizaveta Shashkova
438202c658
Tests: build console runner via factory
2017-12-20 15:02:56 +03:00
Elizaveta Shashkova
da24d335dc
Tests: number of referrers depends on interpreter version, check for names instead
2017-12-20 14:27:02 +03:00
Vladimir Krivosheev
ef76b2dd0d
Merge remote-tracking branch 'origin/master'
2017-12-20 10:27:51 +01:00
Elizaveta Shashkova
0a4aef30d7
Tests: fix Show Referring Objects
2017-12-19 19:15:03 +03:00
Vladimir Krivosheev
3124f200c8
Merge remote-tracking branch 'origin/master'
2017-12-19 16:11:57 +01:00
Vladimir Krivosheev
616007c544
add NotNull
2017-12-19 13:34:08 +01:00
Elizaveta Shashkova
391a1d3575
Tests: execute breakpoint adding command in the same thread to be sure it's done before resume
2017-12-19 15:24:36 +03:00
Elizaveta Shashkova
5b78968625
Tests: revert env variable for defining list of Python test envs
2017-12-19 14:29:59 +03:00
Elizaveta Shashkova
90afc1f4c7
Tests: problems with extensions loading shouldn'd break debugger
2017-12-19 14:29:59 +03:00
Dmitry Trofimov
dd829507e8
Add copyright starts year for PyCharm products (IDEA-182630)
2017-12-19 11:23:48 +01:00
Ilya.Kazakevich
46dec51f36
PY-27395: Cosmetic fixes
...
Number of spaces + one line moved under "else"
2017-12-19 00:57:07 +03:00
Ilya.Kazakevich
804cedea65
PY-27180: Fixed IDEA-CR-27412: rename func, move to different package
2017-12-19 00:30:13 +03:00
Ilya.Kazakevich
3ebad657c3
PY-27180: Move methods to different modules according to IDEA-CR-27412
2017-12-19 00:30:12 +03:00
Ilya.Kazakevich
f4d3f5a0d5
PY-27260: rephrase, use generator instead of list comprehension
2017-12-19 00:00:44 +03:00
Ilya.Kazakevich
55e06a8e46
PY-27260: IDEA-CR-27654: Add hint to field, support several names
2017-12-19 00:00:44 +03:00
Ilya.Kazakevich
fddc3ded2f
PY-27260: For Django Manage.py: improve file tracking
...
* Track only files in folders by glob pattern ("migrations" is default value)
* Do not even open dot folders (.venv, .idea etc) to improve performance
2017-12-19 00:00:44 +03:00
Ilya.Kazakevich
775e5847db
PY-26963: Use IntelliLang to inject language + test
2017-12-18 23:23:20 +03:00
Ilya.Kazakevich
c3d05a977a
PY-26963: Create language for Django 2.0 url syntax
2017-12-18 23:23:20 +03:00
Ilya.Kazakevich
f1be2c6d33
PY-2821: Methods moved to extension
2017-12-18 23:15:26 +03:00
Ilya.Kazakevich
e401531a4a
PY-2821: Support "reverse" and Co reference injection
...
* Drop Django 1.5 style {% url %} tag support
* Provide view name references for reverse etc
* Improve DjangoFQNamesProvider API to support "package/name only" check
2017-12-18 23:15:26 +03:00
Mikhail Golubev
8346c97d60
PY-27266 Don't use ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION in Python formatter
...
It is not actually exposed anywhere in Python code style settings and
defaults to false thus affecting parenthesized multiline (chained)
qualified references and calls. Previously, oddly enough, this
behavior was controlled by ALIGN_COLLECTIONS_AND_COMPREHENSIONS flag.
2017-12-18 19:59:51 +03:00
Semyon Proshev
fc7cef68eb
Sync with typeshed @ 64ca731d0bb10114d75bd620c0af28c0104de0ec
2017-12-18 19:34:07 +03:00
Semyon Proshev
84e8559292
Enable signal stubs (PY-21437)
2017-12-18 19:34:07 +03:00
Semyon Proshev
3c18871774
Enable threading stubs (PY-22765)
2017-12-18 19:34:06 +03:00
Semyon Proshev
5a2e9d33d0
Enable uuid stubs (PY-23287)
2017-12-18 19:34:06 +03:00
Semyon Proshev
422286c7e6
Enable argparse stubs (PY-26190, PY-24621)
2017-12-18 19:34:05 +03:00
Semyon Proshev
04054911a9
Enable time stubs (PY-22192)
2017-12-18 19:34:05 +03:00
Semyon Proshev
32d1620185
Enable re stubs (PY-24440, PY-22308)
...
The most important part of this commit is that local module has more priority against typeshed one.
2017-12-18 19:34:05 +03:00
Semyon Proshev
e207dcd063
Enable shutil stubs (PY-23887, PY-22759, PY-21827)
2017-12-18 19:34:04 +03:00
Semyon Proshev
18f29e0174
Enable functools stubs (PY-26167)
2017-12-18 19:34:04 +03:00
Elizaveta Shashkova
e5b6c6cc09
Highlight built-in decorators with decorators colors, not not built-in colors (PY-25381)
2017-12-18 18:49:12 +03:00
Elizaveta Shashkova
4f82c0e6c7
Debugger fails to load Variables with detached Variables pane (PY-27354)
...
Revert changes made by PY-26289, because they break some use cases. Proper fix requires changes in platform UI.
2017-12-18 17:51:50 +03:00
Elizaveta Shashkova
f61aff69fb
"Show command line ..." breaks Coverage, Profiler and Concurrency Diagram (PY-27431)
...
It looks like this option is useless for these actions. It isn't available for Test run configurations - the most frequent use case for coverage. An output console isn't available for Concurrency Diagram, so users can't type any commands there. It doesn't work correctly with profiler's wrapping.
2017-12-18 17:39:24 +03:00
Elizaveta Shashkova
f77e98980f
Tests: move VariablesView test to staging
2017-12-18 17:33:53 +03:00
Elizaveta Shashkova
d47abb1b55
Tests: remove check for async values since we start loading async values for all variables in the current frame by default
2017-12-18 17:27:34 +03:00
Ekaterina Tuzova
88671a96cf
PY-27121 Scientific View: Plot is not displayed properly
2017-12-18 16:18:25 +03:00
Ekaterina Tuzova
49ca7afd59
NPE: PyFrameAccessor.evaluate(expression)
2017-12-18 16:18:24 +03:00
Alexey Kudravtsev
84f7df6f22
cleanup
2017-12-18 14:52:34 +03:00
Alexey Kudravtsev
b2a8cb5f48
assert that rangeInElement is inside the descriptor range to avoid surprising "index out of range" exceptions
2017-12-18 14:52:34 +03:00
Mikhail Golubev
46ca96b7cb
PY-24990 Add extra tests on more elaborate cases of annotations for cls/self
...
First, on matching type var with a union receiver type.
Though we're not able to match types like "Union[Type[A], Type[B]]" with
parametrized "Type[T]" to infer that T is Union[A, B] yet (should we?).
Second, on calling an annotated instance method on a class object
(when an argument for "self" is provided explicitly).
2017-12-15 15:14:12 +03:00
Mikhail Golubev
163846c5d8
PY-24990 Match cls type with the receiver when class method is called on instance
2017-12-15 15:14:12 +03:00