Vasily Pisar [Thu, 23 Jun 2016 14:01:03 +0000 (17:01 +0300)]
Merge remote-tracking branch 'origin/master'
Andrey Vlasovskikh [Thu, 23 Jun 2016 13:55:14 +0000 (16:55 +0300)]
Ignore possible discrepancies between dir(x) and x.__dict__ (PY-19349)
Ilya.Kazakevich [Thu, 23 Jun 2016 13:32:33 +0000 (16:32 +0300)]
Nullable error fix
nik [Thu, 23 Jun 2016 13:00:01 +0000 (16:00 +0300)]
fixed showing 'Convert Project' dialog when opening a project in old format (IDEA-157691)
Bas Leijdekkers [Thu, 23 Jun 2016 12:43:59 +0000 (14:43 +0200)]
render severities in editor the same as in the profile panel
Bas Leijdekkers [Thu, 23 Jun 2016 12:43:21 +0000 (14:43 +0200)]
IDEA-96532 (Orders in Severities Editor and in Severity Chooser are opposite)
Bas Leijdekkers [Mon, 20 Jun 2016 15:08:20 +0000 (17:08 +0200)]
consider local variables with or without final modifier equal in duplicates finder
Bas Leijdekkers [Sat, 18 Jun 2016 19:13:20 +0000 (21:13 +0200)]
IG: fix "'if' statement with identical branches" false positive
Semyon Proshev [Wed, 25 May 2016 13:10:01 +0000 (16:10 +0300)]
PY-19506 Fixed: CREATE TEMP TABLE not recognized as SQL-statement within Python-String
Support temp tables creating
peter [Thu, 23 Jun 2016 10:46:48 +0000 (12:46 +0200)]
fix test hangs after an exception during indexing
peter [Thu, 23 Jun 2016 07:29:19 +0000 (09:29 +0200)]
index less files for stub hierarchy: no test data, no kotlin classes
peter [Thu, 23 Jun 2016 06:24:21 +0000 (08:24 +0200)]
don't keep long and unnecessary covered file list in stub hierarchy
dmitriy.tseyler [Thu, 23 Jun 2016 09:33:07 +0000 (12:33 +0300)]
DBE-95 Feature Request: Import/Export Options
(cherry picked from commit
9ac2ec0)
Pavel Dolgov [Wed, 22 Jun 2016 18:40:07 +0000 (21:40 +0300)]
Java inspection: convert the intention for "Replace method reference with lambda" into an INFORMATION-level inspection
Egor.Ushakov [Thu, 23 Jun 2016 08:21:53 +0000 (11:21 +0300)]
IDEA-157321 Debugger and Runtime Java Varargs inconsistent
Egor.Ushakov [Thu, 23 Jun 2016 08:10:07 +0000 (11:10 +0300)]
avoid NPE in toString
Gregory.Shrago [Thu, 23 Jun 2016 04:14:44 +0000 (07:14 +0300)]
support unregistered types in sets and maps
Ilya.Kazakevich [Wed, 22 Jun 2016 22:34:23 +0000 (01:34 +0300)]
PY-19738: Django test targets should be resolved against source roots too, not only against django project root
Django target is something like "spam.eggs.MyClass". That means "spam" is package inside Django project root or in source root. Django only adds its project root to sys.path automatically, but user may add some other folders dynamically (see base.py, local.py in this commit) and mark folder as "source". We should support this config.
Ilya.Kazakevich [Wed, 22 Jun 2016 20:45:48 +0000 (23:45 +0300)]
PY-19738: Do not rerun tests if we can't get list of specs to rerun: cleaner and simpler API.
We can throw exception from PyRerunFailedTestsAction, no need to export this knowledge to public API
Gregory.Shrago [Wed, 22 Jun 2016 20:11:51 +0000 (23:11 +0300)]
do not leak menu->root_panel->..
Gregory.Shrago [Wed, 22 Jun 2016 20:11:02 +0000 (23:11 +0300)]
do not leak ui components
Vassiliy.Kudryashov [Wed, 22 Jun 2016 20:02:01 +0000 (23:02 +0300)]
IDEA-157575 Unexpected Cursor Behavior in Search
Ilya.Kazakevich [Wed, 22 Jun 2016 19:07:18 +0000 (22:07 +0300)]
PY-19738: test added
Run tests, then delete files, and try to rerun it. Message and exc. should be displayed
Ilya.Kazakevich [Wed, 22 Jun 2016 15:41:49 +0000 (18:41 +0300)]
PY-19738: Do not rerun tests if we can't get list of specs to rerun
When rerun, test task should provide list of test specs to rerun. If it fails to do so, no need to rerun "something".
Ilya.Kazakevich [Wed, 22 Jun 2016 00:29:05 +0000 (03:29 +0300)]
Nullable method declared nullable
Anna Kozlova [Wed, 22 Jun 2016 18:31:58 +0000 (21:31 +0300)]
suppress inspections on their testdata in injection
Anna Kozlova [Wed, 22 Jun 2016 18:18:54 +0000 (21:18 +0300)]
thread safe array class calculation
Anna Kozlova [Wed, 22 Jun 2016 16:12:44 +0000 (19:12 +0300)]
IncorrectOperationException (IDEA-157766)
Gregory.Shrago [Wed, 22 Jun 2016 18:22:18 +0000 (21:22 +0300)]
cleanup
Gregory.Shrago [Wed, 22 Jun 2016 17:38:44 +0000 (20:38 +0300)]
move out of gen root; update to JFlex 1.6 semantics; regen
Maxim.Mossienko [Wed, 22 Jun 2016 16:35:38 +0000 (18:35 +0200)]
(when we have only invalidated set) if given key has number of values more than threshold calculate / use direct mapping of fileId -> Value instead of traversing all values (thus removing O(NumberOfValues) per fileId)
Valentina Kiryushkina [Wed, 22 Jun 2016 16:46:43 +0000 (19:46 +0300)]
Fix EDU-636 Do not load course list on stepic login for adaptive course
Valentina Kiryushkina [Wed, 22 Jun 2016 15:42:46 +0000 (18:42 +0300)]
Fix EDU-639 Don't save empty string as a password
Valentina Kiryushkina [Wed, 22 Jun 2016 15:41:51 +0000 (18:41 +0300)]
Minor Annotate NotNulls setters and getters
Anna Kozlova [Wed, 22 Jun 2016 15:27:11 +0000 (18:27 +0300)]
extends final inspection: compare non captured types (fix foreach loops)
Valentina Kiryushkina [Wed, 22 Jun 2016 15:18:01 +0000 (18:18 +0300)]
Fix EDU-627 Change condition indicating that courses were successfully loaded Add annotations
Nadya Zabrodina [Wed, 22 Jun 2016 15:00:59 +0000 (18:00 +0300)]
[hg]: (IDEA-157578) Mercurial Commit and Close (spelling error)
* remove unnecessary mnemonic because doOkAction default shortCut seems to be enough;
Anna Kozlova [Wed, 22 Jun 2016 14:08:09 +0000 (17:08 +0300)]
redundant exception: ignore recursive calls (IDEA-157773)
Yaroslav Lepenkin [Wed, 22 Jun 2016 09:38:52 +0000 (12:38 +0300)]
[formatter-core] minor rename
Yaroslav Lepenkin [Mon, 20 Jun 2016 11:59:36 +0000 (14:59 +0300)]
[formatter-core] minor refactoring
Liana Bakradze [Wed, 22 Jun 2016 14:24:51 +0000 (17:24 +0300)]
save files before check
Elizaveta Shashkova [Wed, 22 Jun 2016 14:06:30 +0000 (17:06 +0300)]
Use "Thread" as default suspend policy in debugger tests in order to avoid indeterminacy
Shaverdova Elena [Wed, 22 Jun 2016 12:49:19 +0000 (14:49 +0200)]
project name listener for WI-30937 Create composer.json data servise and
WI-30286 use composer.json as a source and storage for project settings
Anton Tarasov [Wed, 22 Jun 2016 13:18:56 +0000 (16:18 +0300)]
IDEA-157767 [mac] IDEA doesn't pick up bundled JRE
[Temporarily] tought the mac launcher to be able to pickup Contents/jdk if Contents/jre fails.
peter [Wed, 22 Jun 2016 13:06:24 +0000 (15:06 +0200)]
more diagnostics for failing PlatformTestUtil.waitForAlarm
Valentina Kiryushkina [Wed, 22 Jun 2016 12:57:27 +0000 (15:57 +0300)]
Fix NPE in StudyCheckTask for study project with no user
Liana Bakradze [Wed, 22 Jun 2016 12:43:30 +0000 (15:43 +0300)]
fix after IDEA-CR-11594
Alexey Kudravtsev [Wed, 22 Jun 2016 12:44:07 +0000 (15:44 +0300)]
drop caches on stub->ast switch not needed anymore
Alexey Kudravtsev [Wed, 22 Jun 2016 12:23:52 +0000 (15:23 +0300)]
increase pause time since there may be many threads pausing concurrently
Anna Kozlova [Wed, 22 Jun 2016 12:22:32 +0000 (15:22 +0300)]
apply capture conversion for captured wildcard bound according to the direct supertype of parameterized type specification (IDEA-157586)
Anna Kozlova [Wed, 22 Jun 2016 12:02:57 +0000 (15:02 +0300)]
minor optimization: don't start inference during call type calculation if return type doesn't depend on type parameters
Anna Kozlova [Wed, 22 Jun 2016 11:06:32 +0000 (14:06 +0300)]
test discovery: remove discovery type if not enabled in registry (IDEA-157764)
Anna Kozlova [Wed, 22 Jun 2016 07:35:59 +0000 (10:35 +0300)]
subtyping constraint: apply capture conversion for captured wildcard bound according to the direct supertype of parameterized type specification
Anna Kozlova [Wed, 22 Jun 2016 07:30:07 +0000 (10:30 +0300)]
inference: treeWalkUp if overload is done under current argumentList caused by lambda parameter type inference (IDEA-157676)
Anna Kozlova [Tue, 21 Jun 2016 17:08:43 +0000 (20:08 +0300)]
spec: no capture conversion applicable for array type; capture conversion must be applied for array access expression type; javac: no capture conversion is applicable for array access expressions with write access (IDEA-157295)
Anna Kozlova [Tue, 21 Jun 2016 16:56:40 +0000 (19:56 +0300)]
disable gesture detection if action explicitly called (IDEA-157720)
Anna Kozlova [Tue, 21 Jun 2016 16:51:18 +0000 (19:51 +0300)]
old inference (IDEA-157398)
Anna Kozlova [Tue, 21 Jun 2016 08:14:13 +0000 (11:14 +0300)]
change signature hierarchy: don't build children to check for leaf (IDEA-157682)
Aleksey Pivovarov [Wed, 22 Jun 2016 12:14:04 +0000 (15:14 +0300)]
UI Debugger: log class names for invoked actions
Vladimir Krivosheev [Wed, 22 Jun 2016 12:17:20 +0000 (14:17 +0200)]
multi-process debug — use the same host as main process
Anton Makeev [Wed, 22 Jun 2016 11:54:35 +0000 (13:54 +0200)]
dictionary: toolchains
Liana Bakradze [Wed, 22 Jun 2016 11:47:39 +0000 (14:47 +0300)]
EDU-479 Renaming variable inside a file with the same name
Vladimir Krivosheev [Mon, 20 Jun 2016 15:18:07 +0000 (17:18 +0200)]
clarifiy APP_CONFIG deprecation note
Vladimir Krivosheev [Mon, 20 Jun 2016 15:16:06 +0000 (17:16 +0200)]
remove unused deprecated method
Vladimir Krivosheev [Mon, 20 Jun 2016 10:16:49 +0000 (12:16 +0200)]
clarifiy APP_CONFIG deprecation note
Alexey Kudravtsev [Wed, 22 Jun 2016 10:51:47 +0000 (13:51 +0300)]
getDetachedInitializer() to avoid excessive stub-to-AST switches in PsiUtil.isConstantExpression()
Alexey Kudravtsev [Wed, 22 Jun 2016 10:50:21 +0000 (13:50 +0300)]
disposed project leak in tests
Alexey Kudravtsev [Wed, 22 Jun 2016 10:49:44 +0000 (13:49 +0300)]
assertion to avoid scanning compiled elements
Alexey Kudravtsev [Wed, 22 Jun 2016 10:49:18 +0000 (13:49 +0300)]
EA-82721 - ISE: VisibilityUtil.getVisibilityString
Alexey Kudravtsev [Wed, 22 Jun 2016 10:48:27 +0000 (13:48 +0300)]
notnull
Alexey Kudravtsev [Wed, 22 Jun 2016 10:48:10 +0000 (13:48 +0300)]
do not find too many usages during "too many usages" warning
Alexey Kudravtsev [Tue, 21 Jun 2016 17:08:29 +0000 (20:08 +0300)]
EA-83759 - NPE: FileUtilRt.doCreateTempFile
Alexey Kudravtsev [Tue, 21 Jun 2016 16:56:31 +0000 (19:56 +0300)]
cleanup
Alexey Kudravtsev [Tue, 21 Jun 2016 16:44:32 +0000 (19:44 +0300)]
EA-83803 - NPE: UsageInfoUsageAdapter.highlightInEditor
Alexey Kudravtsev [Tue, 21 Jun 2016 16:38:17 +0000 (19:38 +0300)]
diagnostics for EA-83464 - assert: ProgressWrapper.<init>
Alexey Kudravtsev [Tue, 21 Jun 2016 16:26:19 +0000 (19:26 +0300)]
assertion for EA-83474 - SIOOBE: CharTableImpl.createSequence
peter [Wed, 22 Jun 2016 10:36:05 +0000 (12:36 +0200)]
replace LightVirtualFile.markReadOnly with setWritable(false)
Pavel Dolgov [Tue, 21 Jun 2016 16:13:06 +0000 (19:13 +0300)]
Java inspection: convert the intention for "Replace lambda with anonymous class" into an INFORMATION-level inspection
Eugene Zhuravlev [Wed, 22 Jun 2016 10:25:56 +0000 (12:25 +0200)]
fix ant completion tests
peter [Wed, 22 Jun 2016 09:23:59 +0000 (11:23 +0200)]
assert model changes happen in EDT, clarify transaction assertions and add one that bg progress should have a write-safe modality
peter [Wed, 22 Jun 2016 09:16:07 +0000 (11:16 +0200)]
SSR inspection: avoid map.get with nontrivial equals/hashCode for each PSI element
peter [Wed, 22 Jun 2016 08:56:55 +0000 (10:56 +0200)]
increase ReservedCodeCacheSize for tests: some builds report code cache overflow
peter [Wed, 22 Jun 2016 08:51:43 +0000 (10:51 +0200)]
minor isRawSubstitutor optimization
Dennis Ushakov [Fri, 10 Jun 2016 11:10:40 +0000 (13:10 +0200)]
fix new project list background for darkula
Julia Beliaeva [Tue, 21 Jun 2016 21:56:01 +0000 (00:56 +0300)]
[vcs-log] do not check for registry in VcsLogProgress (never use status bar progress)
Julia Beliaeva [Tue, 21 Jun 2016 21:33:13 +0000 (00:33 +0300)]
[vcs-log] remove deprecated classes
Maxim.Mossienko [Tue, 21 Jun 2016 21:10:53 +0000 (23:10 +0200)]
proceed with event processing once indices are initialized, 4 (EA-84618)
Julia Beliaeva [Tue, 21 Jun 2016 21:03:22 +0000 (00:03 +0300)]
[vcs-log] revert (painting of current branch is too slow): use BitSetFlags instead of TIntHashSet
peter [Tue, 21 Jun 2016 20:52:24 +0000 (22:52 +0200)]
more diagnostics for hanging waitForAlarm in tests
Sergey Simonchik [Tue, 21 Jun 2016 18:03:54 +0000 (21:03 +0300)]
EA-83882 - NPE: InstalledPackagesPanel.buildNameToPackageMap
Mikhail Golubev [Thu, 9 Jun 2016 18:38:40 +0000 (21:38 +0300)]
PY-17815 EA-67335 Don't save PSI reference in quick fix, save its class and find it later
Also I prohibited showing the hint when underlying PSI element was
changed but revived by SmartPointer when these old and new elements
have different names.
I'm not yet sure whether it's possible to get rid of PSI reference
in the quickfix completely since there might be multiple references
on the same element and we don't want to suppress the hint because
some other unrelated references are resolved successfully (PY-3167).
Mikhail Golubev [Tue, 21 Jun 2016 16:50:06 +0000 (19:50 +0300)]
PY-19884 Add a test on type checking of set collection
Mikhail Golubev [Tue, 21 Jun 2016 12:40:33 +0000 (15:40 +0300)]
PY-19884 Add support for abc classes Set and MutableSet in PyABCUtil
Mikhail Golubev [Tue, 21 Jun 2016 16:32:44 +0000 (19:32 +0300)]
PY-19884 Snapshot of python-skeletons with set/frozenset @
ca4a0c4
Andrey Akinshin [Tue, 21 Jun 2016 05:57:24 +0000 (08:57 +0300)]
SimpleToolWindowPanel: extend AnAction list for panels with several toolbars
Valentina Kiryushkina [Tue, 21 Jun 2016 16:18:06 +0000 (19:18 +0300)]
Fix according to review IDEA-CR-11509: 1) Add expose annotations to fields in Course and Lesson classes 2) Encapsulate id field in Course 3) Improve logging for adaptive stepic connector, show notification to user if problem occurred
Valentina Kiryushkina [Tue, 21 Jun 2016 16:14:20 +0000 (19:14 +0300)]
Add latex display support for task description panel
Valentina Kiryushkina [Tue, 21 Jun 2016 14:52:34 +0000 (17:52 +0300)]
Fix according to review IDEA-CR-11509: 1) Don't post attempts to Stepic in Course creator projects 2) Add progress for getting course from stepic in project generator 3) Set timeout for stepic requests 4) Don't cache adaptive courses with no recommendations
Konstantin Bulenkov [Tue, 21 Jun 2016 15:10:32 +0000 (17:10 +0200)]
+toString()
Konstantin Bulenkov [Tue, 21 Jun 2016 15:09:30 +0000 (17:09 +0200)]
show list cell renderer and editor in ui inspector