idea/community.git
4 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Fri, 2 Dec 2016 09:32:50 +0000 (12:32 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoIDEA-164822 Migrate to Stream API: support toMap/groupingBy scenarios
Tagir Valeev [Fri, 2 Dec 2016 09:17:48 +0000 (16:17 +0700)]
IDEA-164822 Migrate to Stream API: support toMap/groupingBy scenarios

4 years agoTerminalOperation, RedundantCastUtil: cleanup (InheritanceUtil.isInheritor(PsiType...
Tagir Valeev [Fri, 2 Dec 2016 06:06:59 +0000 (13:06 +0700)]
TerminalOperation, RedundantCastUtil: cleanup (InheritanceUtil.isInheritor(PsiType, String) used; PsiUtil.substituteTypeParameter used; more specific type used where possible)

4 years agovalidation for EA-77543
Dmitry Batrak [Fri, 2 Dec 2016 09:26:59 +0000 (12:26 +0300)]
validation for EA-77543

4 years agoapplied patch for student-python dependencies sincerely provided by Greg Shrago appcode/171.1402 clion/171.1401
Ekaterina Tuzova [Fri, 2 Dec 2016 08:55:45 +0000 (11:55 +0300)]
applied patch for student-python dependencies sincerely provided by Greg Shrago

new project panel steps and generator moved to the python-community-configure so it can be used in other modules without python-community-ide dependency

4 years agoset read timeout for the ipython notebook starting connection
Ekaterina Tuzova [Tue, 29 Nov 2016 15:51:35 +0000 (18:51 +0300)]
set read timeout for the ipython notebook starting connection

4 years agorepaint caret on visual attributes change (for IDEA-164079)
Dmitry Batrak [Fri, 2 Dec 2016 08:42:29 +0000 (11:42 +0300)]
repaint caret on visual attributes change (for IDEA-164079)

4 years agoChainCompletionNewVariableLookupElement: remove unnecessary write action
peter [Fri, 2 Dec 2016 07:38:20 +0000 (08:38 +0100)]
ChainCompletionNewVariableLookupElement: remove unnecessary write action

4 years agorefactor SoftWrapApplianceManager - use lambda instead of anonymous class
Dmitry Batrak [Thu, 1 Dec 2016 16:41:32 +0000 (19:41 +0300)]
refactor SoftWrapApplianceManager - use lambda instead of anonymous class

4 years agoQuery width provider only at defined points (editor shown/hidden/resized), so that...
Dmitry Batrak [Thu, 1 Dec 2016 16:33:46 +0000 (19:33 +0300)]
Query width provider only at defined points (editor shown/hidden/resized), so that isSoftWrappingEnabled() cannot change value 'unexpectedly'

hopefully this fixes EA-89893

4 years agodisable calling SoftWrapModel.isSoftWrappingEnabled() from non-EDT threads - it doesn...
Dmitry Batrak [Thu, 1 Dec 2016 15:18:06 +0000 (18:18 +0300)]
disable calling SoftWrapModel.isSoftWrappingEnabled() from non-EDT threads - it doesn't make a lot of sense anymore

4 years agofix incorrect diagnostic message construction
Dmitry Batrak [Thu, 1 Dec 2016 12:16:54 +0000 (15:16 +0300)]
fix incorrect diagnostic message construction

4 years agosome editor actions: clear read-only status outside write action
peter [Fri, 2 Dec 2016 07:26:35 +0000 (08:26 +0100)]
some editor actions: clear read-only status outside write action

4 years agocanonicalize test data formatting for inline local variable
peter [Fri, 2 Dec 2016 07:17:01 +0000 (08:17 +0100)]
canonicalize test data formatting for inline local variable

4 years agoGenerateMembersHandlerBase: change document in write action
peter [Fri, 2 Dec 2016 07:11:17 +0000 (08:11 +0100)]
GenerateMembersHandlerBase: change document in write action

4 years agoheuristic for determining correct java home for java-dependent SDKs appcode/171.1399 clion/171.1397 dbe/171.1395 idea/171.1392 phpstorm/171.1398 pycharm/171.1394 pycharm/171.1396 rubymine/171.1391 webstorm/171.1400
Eugene Zhuravlev [Thu, 1 Dec 2016 22:43:56 +0000 (23:43 +0100)]
heuristic for determining correct java home for java-dependent SDKs

4 years agoRevert: Use JavaSdkType to query sdk for java.exe and tools.jar paths
Eugene Zhuravlev [Thu, 1 Dec 2016 21:37:50 +0000 (22:37 +0100)]
Revert: Use JavaSdkType to query sdk for java.exe and tools.jar paths

4 years ago[vcs-log] minor: remove unused method
Julia Beliaeva [Thu, 1 Dec 2016 22:37:05 +0000 (01:37 +0300)]
[vcs-log] minor: remove unused method

4 years ago[vcs-log] copy in graph table copies exactly what is seen in the table idea/171.1390
Julia Beliaeva [Thu, 1 Dec 2016 22:33:41 +0000 (01:33 +0300)]
[vcs-log] copy in graph table copies exactly what is seen in the table

IDEA-158862

4 years ago[vcs-log] minor: inline constant parameter
Julia Beliaeva [Thu, 1 Dec 2016 22:14:08 +0000 (01:14 +0300)]
[vcs-log] minor: inline constant parameter

4 years agomem leaks: clear CWindow listeners and rootPane: heavyweight popups
Gregory.Shrago [Thu, 1 Dec 2016 20:54:39 +0000 (23:54 +0300)]
mem leaks: clear CWindow listeners and rootPane: heavyweight popups

4 years agoUse JavaSdkType to query sdk for java.exe and tools.jar paths
Gregory.Shrago [Thu, 1 Dec 2016 20:08:11 +0000 (23:08 +0300)]
Use JavaSdkType to query sdk for java.exe and tools.jar paths

4 years agoWI-34180 Project Templates: List in Tools | Manage Project Templates is nonscrollable...
Shaverdova Elena [Thu, 1 Dec 2016 19:20:17 +0000 (20:20 +0100)]
WI-34180 Project Templates: List in Tools | Manage Project Templates is nonscrollable vertically

4 years agoWI-34188 New project... from Welcome screen might have noncontrollably wide list...
Shaverdova Elena [Thu, 1 Dec 2016 18:03:42 +0000 (19:03 +0100)]
WI-34188 New project... from Welcome screen might have noncontrollably wide list area

4 years agomem leaks: clear CWindow listeners and rootPane: unify listeners & DRY
Gregory.Shrago [Thu, 1 Dec 2016 18:49:05 +0000 (21:49 +0300)]
mem leaks: clear CWindow listeners and rootPane: unify listeners & DRY

4 years agoCPP-8171 File Cache Conflict and 'AWT events are not allowed inside write action...
Vasily Pisar [Thu, 1 Dec 2016 18:54:56 +0000 (21:54 +0300)]
CPP-8171 File Cache Conflict and 'AWT events are not allowed inside write action' exception while trying to create new project in place of already existing

– fixing apparently broken test

4 years agoGenerateMembersHandlerBase: invoke cleanup outside write action
peter [Thu, 1 Dec 2016 19:00:33 +0000 (20:00 +0100)]
GenerateMembersHandlerBase: invoke cleanup outside write action

4 years agoInlineLocalHandler: invoke potentially interactive RemoveUnusedVariableFix outside...
peter [Thu, 1 Dec 2016 18:45:38 +0000 (19:45 +0100)]
InlineLocalHandler: invoke potentially interactive RemoveUnusedVariableFix outside write action

4 years agoprioritize any edt activity
peter [Thu, 1 Dec 2016 18:35:22 +0000 (19:35 +0100)]
prioritize any edt activity

because when a user clicks somewhere (an InputEvent is posted, but not yet dispatched),
but EDT is busy, it should finish its activities ASAP

4 years agoCreateClassOrPackageFix: choose directory in a dialog outside write action
peter [Thu, 1 Dec 2016 18:18:23 +0000 (19:18 +0100)]
CreateClassOrPackageFix: choose directory in a dialog outside write action

4 years ago[vcs-log] create builder for filter collection
Julia Beliaeva [Thu, 1 Dec 2016 18:36:31 +0000 (21:36 +0300)]
[vcs-log] create builder for filter collection

4 years agoAdd a comment that explains why we can't add all variables that we read
Dmitry Trofimov [Thu, 1 Dec 2016 18:53:27 +0000 (21:53 +0300)]
Add a comment that explains why we can't add all variables that we read

4 years agoMerge remote-tracking branch 'origin/master'
Vassiliy.Kudryashov [Thu, 1 Dec 2016 18:45:56 +0000 (21:45 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoIDEA-164286 IDE doesn't start after updating 2016.3
Vassiliy.Kudryashov [Thu, 1 Dec 2016 18:43:59 +0000 (21:43 +0300)]
IDEA-164286 IDE doesn't start after updating 2016.3

4 years agoCode style panel UI cosmetics
Rustam Vishnyakov [Thu, 1 Dec 2016 18:17:57 +0000 (21:17 +0300)]
Code style panel UI cosmetics

4 years agoIDEA-164286 IDE doesn't start after updating 2016.3
Vassiliy.Kudryashov [Thu, 1 Dec 2016 18:23:13 +0000 (21:23 +0300)]
IDEA-164286 IDE doesn't start after updating 2016.3

4 years agoCleanup (duplicates)
Roman Shevchenko [Thu, 1 Dec 2016 17:54:10 +0000 (18:54 +0100)]
Cleanup (duplicates)

4 years agoCPP-3159 Allow additional generated build types: UI: keep selected console, show...
Anton Makeev [Thu, 1 Dec 2016 17:48:15 +0000 (18:48 +0100)]
CPP-3159 Allow additional generated build types: UI: keep selected console, show 'No configs' text

4 years agoensure no conflicts with user's settings (IDEA-164850)
Anna.Kozlova [Thu, 1 Dec 2016 17:25:48 +0000 (18:25 +0100)]
ensure no conflicts with user's settings (IDEA-164850)

4 years ago[fix] ui: allow to override background color for Editor notification panel
Aleksey Pivovarov [Thu, 1 Dec 2016 17:12:53 +0000 (20:12 +0300)]
[fix] ui: allow to override background color for Editor notification panel

pass background color in constructor, so it could be used in `createActionLabel` call

follow-up: 0de99101e428109089601

4 years agoPY-21750: Fix flask creation for Plugin.
Ilya.Kazakevich [Thu, 1 Dec 2016 17:10:38 +0000 (20:10 +0300)]
PY-21750: Fix flask creation for Plugin.

* Plugin and PyCharm uses different APIs to create projects. This point was missed after last PythonProjectGenerator refactoring, but fixed now
* See PythonProjectGenerator comments for description of this commit

4 years agoCPP-3159 Allow additional generated build types: UI draft
Anton Makeev [Thu, 1 Dec 2016 16:33:56 +0000 (17:33 +0100)]
CPP-3159 Allow additional generated build types: UI draft

4 years agoCleanup (dead code)
Roman Shevchenko [Thu, 1 Dec 2016 16:45:20 +0000 (17:45 +0100)]
Cleanup (dead code)

4 years agocleanup — add NotNull
Vladimir Krivosheev [Thu, 1 Dec 2016 16:41:58 +0000 (17:41 +0100)]
cleanup — add NotNull

4 years agoDon't get DataContext from focus owner when we should show popup over non-focusable... dbe/171.1389
Vassiliy.Kudryashov [Thu, 1 Dec 2016 16:28:04 +0000 (19:28 +0300)]
Don't get DataContext from focus owner when we should show popup over non-focusable component

4 years ago[name hints] java parameter hints provider refactored and converted to kt
Yaroslav Lepenkin [Thu, 1 Dec 2016 16:10:06 +0000 (19:10 +0300)]
[name hints] java parameter hints provider refactored and converted to kt

4 years ago[name hints] couple more tests
Yaroslav Lepenkin [Wed, 30 Nov 2016 16:45:51 +0000 (19:45 +0300)]
[name hints] couple more tests

4 years agomake dfa inspection JspWhileStatement-friendlier (IDEA-18499)
peter [Thu, 1 Dec 2016 16:28:40 +0000 (17:28 +0100)]
make dfa inspection JspWhileStatement-friendlier (IDEA-18499)

4 years agomem leaks: clear CWindow listeners and rootPane: NPE in hint#hide
Gregory.Shrago [Thu, 1 Dec 2016 16:15:37 +0000 (19:15 +0300)]
mem leaks: clear CWindow listeners and rootPane: NPE in hint#hide

4 years agoadd contract anno
Anna.Kozlova [Thu, 1 Dec 2016 15:50:27 +0000 (16:50 +0100)]
add contract anno

4 years agoensureWritable before execution in preview in test mode (IDEA-CR-16388)
Anna.Kozlova [Thu, 1 Dec 2016 15:41:38 +0000 (16:41 +0100)]
ensureWritable before execution in preview in test mode (IDEA-CR-16388)

4 years agojunit: include module dependencies into test chooser (IDEA-164777)
Anna.Kozlova [Thu, 1 Dec 2016 15:00:00 +0000 (16:00 +0100)]
junit: include module dependencies into test chooser (IDEA-164777)

4 years agosuspicious call: type of new expression must be assignable otherwise it's suspicious...
Anna.Kozlova [Thu, 1 Dec 2016 14:42:57 +0000 (15:42 +0100)]
suspicious call: type of new expression must be assignable otherwise it's suspicious (IDEA-164816)

4 years agocomparison failure: don't pass expected/actual if files are available - less memory...
Anna.Kozlova [Thu, 1 Dec 2016 12:25:59 +0000 (13:25 +0100)]
comparison failure: don't pass expected/actual if files are available - less memory usage

4 years agoallow functional expressions in nested conditional expressions (IDEA-164828)
Anna.Kozlova [Thu, 1 Dec 2016 10:40:03 +0000 (11:40 +0100)]
allow functional expressions in nested conditional expressions (IDEA-164828)

4 years agoIDEA-164411 Fix zsh configs loading
Dmitry Trofimov [Thu, 1 Dec 2016 15:30:27 +0000 (18:30 +0300)]
IDEA-164411 Fix zsh configs loading

According to http://zsh.sourceforge.net/Guide/zshguide02.html, several configs are loaded from ZDOTDIR as we override it we need to load them afterwards

4 years agorunWriteActionWithProgress
peter [Thu, 1 Dec 2016 15:26:39 +0000 (16:26 +0100)]
runWriteActionWithProgress

4 years agoinspections: run global inspections remembers last selected profile per project ... appcode/171.1387 clion/171.1386
Dmitry Batkovich [Thu, 1 Dec 2016 14:33:45 +0000 (17:33 +0300)]
inspections: run global inspections remembers last selected profile per project (IDEA-164817)

4 years agoCode style schemes panel refactoring, iteration #1 (see IDEA-125965)
Rustam Vishnyakov [Thu, 1 Dec 2016 14:29:31 +0000 (17:29 +0300)]
Code style schemes panel refactoring, iteration #1 (see IDEA-125965)

4 years agotool windows state hot reload
Vladimir Krivosheev [Thu, 1 Dec 2016 14:26:32 +0000 (15:26 +0100)]
tool windows state hot reload

4 years agocleanup
Vladimir Krivosheev [Thu, 1 Dec 2016 13:01:43 +0000 (14:01 +0100)]
cleanup

4 years agocleanup, tool windows state hot reload
Vladimir Krivosheev [Thu, 1 Dec 2016 12:47:03 +0000 (13:47 +0100)]
cleanup, tool windows state hot reload

4 years agoApplicationInfo.xml: added documentation for more attributes dbe/171.1385
nik [Thu, 1 Dec 2016 13:52:22 +0000 (16:52 +0300)]
ApplicationInfo.xml: added documentation for more attributes

4 years agoCleanup (dead code; formatting)
Roman Shevchenko [Thu, 1 Dec 2016 12:56:29 +0000 (13:56 +0100)]
Cleanup (dead code; formatting)

4 years agoCleanup (pushes phase-out date for still-used API)
Roman Shevchenko [Thu, 1 Dec 2016 12:41:26 +0000 (13:41 +0100)]
Cleanup (pushes phase-out date for still-used API)

4 years agoUpdate ConvertVariadicParamIntention.isKeywordContainerSubscription to not to use...
Semyon Proshev [Thu, 1 Dec 2016 12:34:11 +0000 (15:34 +0300)]
Update ConvertVariadicParamIntention.isKeywordContainerSubscription to not to use Optional

4 years agoCleanup (warnings)
Roman Shevchenko [Thu, 1 Dec 2016 12:26:16 +0000 (13:26 +0100)]
Cleanup (warnings)

4 years agoinspection settings: non-default profile page is empty (IDEA-164833 ) follow-up
Dmitry Batkovich [Thu, 1 Dec 2016 12:19:03 +0000 (15:19 +0300)]
inspection settings: non-default profile page is empty (IDEA-164833 ) follow-up

4 years agoNumpyResolveRater will not change member rate if NDARRAY type is not found
Semyon Proshev [Thu, 1 Dec 2016 11:38:11 +0000 (14:38 +0300)]
NumpyResolveRater will not change member rate if NDARRAY type is not found

4 years ago[platform] environment-based lookup for (Unix) utilities (IDEA-164810)
Roman Shevchenko [Thu, 1 Dec 2016 12:15:43 +0000 (13:15 +0100)]
[platform] environment-based lookup for (Unix) utilities (IDEA-164810)

4 years agoIDEA-164814 merge: fix grammar appcode/171.1383 clion/171.1384
Aleksey Pivovarov [Thu, 1 Dec 2016 14:14:25 +0000 (17:14 +0300)]
IDEA-164814 merge: fix grammar

4 years agodiff: cleanup tests
Aleksey Pivovarov [Thu, 1 Dec 2016 14:26:35 +0000 (17:26 +0300)]
diff: cleanup tests

4 years agodiff: reformat tests
Aleksey Pivovarov [Thu, 1 Dec 2016 14:31:58 +0000 (17:31 +0300)]
diff: reformat tests

4 years agoconvert WebBrowserUrlProvider to kotlin phpstorm/171.1382
Vladimir Krivosheev [Thu, 1 Dec 2016 10:56:59 +0000 (11:56 +0100)]
convert WebBrowserUrlProvider to kotlin

4 years agoconvert WebBrowserUrlProvider to kotlin
Vladimir Krivosheev [Thu, 1 Dec 2016 10:56:38 +0000 (11:56 +0100)]
convert WebBrowserUrlProvider to kotlin

4 years agoEA-84307 - assert: CoreCommandProcessor.executeCommand
Dmitry Batrak [Thu, 1 Dec 2016 10:48:06 +0000 (13:48 +0300)]
EA-84307 - assert: CoreCommandProcessor.executeCommand

4 years agoMerge remote-tracking branch 'origin/master' idea/171.1381
Konstantin Bulenkov [Thu, 1 Dec 2016 10:30:57 +0000 (11:30 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoJava: Check if 'java.base' is explicitly required in the inspection "Redundant 'requi...
Pavel Dolgov [Thu, 1 Dec 2016 10:24:15 +0000 (13:24 +0300)]
Java: Check if 'java.base' is explicitly required in the inspection "Redundant 'requires' statement in module-info". Minor refactoring of RefJavaModule, to make the inspection code more straightforward. (IDEA-163139)

4 years agoAdd statistics for remove line action
Konstantin Bulenkov [Thu, 1 Dec 2016 10:28:09 +0000 (11:28 +0100)]
Add statistics for remove line action

4 years agomem leaks: hide stale hints on project close
Gregory.Shrago [Thu, 1 Dec 2016 10:24:22 +0000 (13:24 +0300)]
mem leaks: hide stale hints on project close

4 years agoinspection settings: non-default profile page is empty (IDEA-164833 )
Dmitry Batkovich [Thu, 1 Dec 2016 10:23:30 +0000 (13:23 +0300)]
inspection settings: non-default profile page is empty (IDEA-164833 )

4 years ago[projects] drops obsolete ASM patch (KT-13041)
Roman Shevchenko [Thu, 1 Dec 2016 10:05:47 +0000 (11:05 +0100)]
[projects] drops obsolete ASM patch (KT-13041)

4 years agomem leaks: dispose focusTrackback: expire focus command on dispose
Gregory.Shrago [Thu, 1 Dec 2016 09:53:29 +0000 (12:53 +0300)]
mem leaks: dispose focusTrackback: expire focus command on dispose

4 years agoEA-76903 - IAE: FontPreferences.getSize
Dmitry Batrak [Thu, 1 Dec 2016 09:53:04 +0000 (12:53 +0300)]
EA-76903 - IAE: FontPreferences.getSize

4 years agocleanup
Alexey Kudravtsev [Wed, 30 Nov 2016 15:27:08 +0000 (18:27 +0300)]
cleanup

4 years agoIDEA-164537 Rerun "Find Usages" ignores specified scope
Alexey Kudravtsev [Wed, 30 Nov 2016 15:26:59 +0000 (18:26 +0300)]
IDEA-164537 Rerun "Find Usages" ignores specified scope

4 years agomemory optimisation: eliminate TIntArrayList slack
Alexey Kudravtsev [Wed, 30 Nov 2016 15:22:11 +0000 (18:22 +0300)]
memory optimisation: eliminate TIntArrayList slack

4 years agooptimisation: avoid restoring element when comparing usages by offset
Alexey Kudravtsev [Wed, 30 Nov 2016 13:47:40 +0000 (16:47 +0300)]
optimisation: avoid restoring element when comparing usages by offset

4 years agomore assertions
Alexey Kudravtsev [Wed, 30 Nov 2016 13:46:46 +0000 (16:46 +0300)]
more assertions

4 years agocleanup
Alexey Kudravtsev [Wed, 30 Nov 2016 13:44:52 +0000 (16:44 +0300)]
cleanup

4 years agoextracted duplicate
Alexey Kudravtsev [Wed, 30 Nov 2016 13:42:31 +0000 (16:42 +0300)]
extracted duplicate

4 years agooverridden method icon for PuppetNamespaceDefinition.subtreeChanged won't navigate
Alexey Kudravtsev [Wed, 30 Nov 2016 12:02:24 +0000 (15:02 +0300)]
overridden method icon for PuppetNamespaceDefinition.subtreeChanged won't navigate

4 years agomade UsageModelTracker non-public, moved closer to UsageView
Alexey Kudravtsev [Mon, 28 Nov 2016 13:29:25 +0000 (16:29 +0300)]
made UsageModelTracker non-public, moved closer to UsageView

4 years agoa bit of defensive assertions to protect from user invalid input like in IDEA-164286...
Alexey Kudravtsev [Mon, 28 Nov 2016 12:24:58 +0000 (15:24 +0300)]
a bit of defensive assertions to protect from user invalid input like in IDEA-164286 IDE doesn't start after updating 2016.3

4 years agomissed test (IDEA-CR-16341)
Anna.Kozlova [Thu, 1 Dec 2016 09:36:11 +0000 (10:36 +0100)]
missed test (IDEA-CR-16341)

4 years agoupdate junit 5 to M3
Anna.Kozlova [Wed, 30 Nov 2016 18:00:39 +0000 (19:00 +0100)]
update junit 5 to M3

4 years agodisable method reference replacement with qualifier (IDEA-164723)
Anna.Kozlova [Wed, 30 Nov 2016 14:31:10 +0000 (15:31 +0100)]
disable method reference replacement with qualifier (IDEA-164723)

4 years agoinclude package local methods into method hierarchy (IDEA-164557)
Anna.Kozlova [Wed, 30 Nov 2016 14:21:38 +0000 (15:21 +0100)]
include package local methods into method hierarchy (IDEA-164557)

4 years agoIDEA-161959 Regression: Null checks in JSPs are not working any more
Dmitry Avdeev [Thu, 1 Dec 2016 09:30:17 +0000 (12:30 +0300)]
IDEA-161959 Regression: Null checks in JSPs are not working any more

4 years agogradle: configurations configured with closure resolved appcode/171.1379 clion/171.1380
Vladislav.Soroka [Thu, 1 Dec 2016 08:31:29 +0000 (11:31 +0300)]
gradle: configurations configured with closure resolved