idea/community.git
5 years agoMerge remote-tracking branch 'origin/master' into medvedev/oc-11785 appcode/146.1347
Max Medvedev [Thu, 14 Apr 2016 07:41:39 +0000 (10:41 +0300)]
Merge remote-tracking branch 'origin/master' into medvedev/oc-11785

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Batkovich [Thu, 14 Apr 2016 06:55:12 +0000 (09:55 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoclass can be abstract
Dmitry Batkovich [Thu, 14 Apr 2016 06:51:19 +0000 (09:51 +0300)]
class can be abstract

5 years agoinspection tool window: do not rebuild the whole tree when tree node was excluded...
Dmitry Batkovich [Thu, 14 Apr 2016 05:38:40 +0000 (08:38 +0300)]
inspection tool window: do not rebuild the whole tree when tree node was excluded and FILTER_RESOLVED_ITEMS == true

5 years agoinspection tool window: tree node include/exclude action -- remove type parameters
Dmitry Batkovich [Thu, 14 Apr 2016 05:27:02 +0000 (08:27 +0300)]
inspection tool window: tree node include/exclude action -- remove type parameters

5 years ago[python] fixes NPE appcode/146.1253 clion/146.1256 dbe/146.1251 idea/146.1254 phpstorm/146.1252 pycharm/146.1257 pycharm/146.1258 rubymine/146.1255 webstorm/146.1259
Roman Shevchenko [Wed, 13 Apr 2016 19:29:56 +0000 (21:29 +0200)]
[python] fixes NPE

5 years agoCleanup (adds patch constant for tracking JDK class loader lock issue) dbe/146.1249
Roman Shevchenko [Wed, 13 Apr 2016 19:20:44 +0000 (21:20 +0200)]
Cleanup (adds patch constant for tracking JDK class loader lock issue)

5 years agochange signature: remove @Override if only overrider was changed (IDEA-154669)
Anna.Kozlova [Wed, 13 Apr 2016 19:08:58 +0000 (21:08 +0200)]
change signature: remove @Override if only overrider was changed (IDEA-154669)

5 years agointroduce parameter object: disable create inner for inner classes and interfaces...
Anna.Kozlova [Wed, 13 Apr 2016 18:31:12 +0000 (20:31 +0200)]
introduce parameter object: disable create inner for inner classes and interfaces (IDEA-154688)

5 years agointroduce parameter object: adjust new parameter according to old params order (IDEA...
Anna.Kozlova [Wed, 13 Apr 2016 18:25:09 +0000 (20:25 +0200)]
introduce parameter object: adjust new parameter according to old params order (IDEA-154696)

5 years agoinference: ensure foreign variables do not participate in inference process, e.g...
Anna.Kozlova [Wed, 13 Apr 2016 18:15:43 +0000 (20:15 +0200)]
inference: ensure foreign variables do not participate in inference process, e.g. variables from method reference overload resolution (IDEA-154622)

5 years agomethod refs: ensure that qualifier type corresponds to ReferenceType for ReferenceTyp...
Anna.Kozlova [Wed, 13 Apr 2016 15:00:16 +0000 (17:00 +0200)]
method refs: ensure that qualifier type corresponds to ReferenceType for ReferenceType::Identifier

5 years agoextract method: when context was changed ensure that static method is not qualified...
Anna.Kozlova [Wed, 13 Apr 2016 11:40:05 +0000 (13:40 +0200)]
extract method: when context was changed ensure that static method is not  qualified with this

5 years agoPY-19028 Fixed: Byte slices return incorrect type inference
Semyon Proshev [Mon, 4 Apr 2016 12:16:41 +0000 (15:16 +0300)]
PY-19028 Fixed: Byte slices return incorrect type inference

Update skeletons to have correct return type for bytes.__getitem__

5 years agoPY-19047 Fixed: Exception on interpreter indexing
Semyon Proshev [Mon, 11 Apr 2016 14:26:01 +0000 (17:26 +0300)]
PY-19047 Fixed: Exception on interpreter indexing

PyResolveProcessor had a bug with resolving imports locally

5 years agoPY-19045 Fixed: Async-await and function annotations highlighted as errors for Cython...
Semyon Proshev [Wed, 6 Apr 2016 16:15:46 +0000 (19:15 +0300)]
PY-19045 Fixed: Async-await and function annotations highlighted as errors for Cython 0.23 and Python 3.5

Correctly parse cython function annotations

5 years agoemploy ColorUIResource
Gregory.Shrago [Wed, 13 Apr 2016 18:23:51 +0000 (21:23 +0300)]
employ ColorUIResource

5 years agoget rid of recursion
Gregory.Shrago [Mon, 11 Apr 2016 20:55:38 +0000 (23:55 +0300)]
get rid of recursion

5 years agoLive Templates: finish template if completion insert handler moved caret
Alexander Zolotov [Wed, 13 Apr 2016 14:42:56 +0000 (17:42 +0300)]
Live Templates: finish template if completion insert handler moved caret
outside of current segment (WEB-20592)

5 years agoCompletion: avoid using lookup listeners in case their order matters
Alexander Zolotov [Wed, 13 Apr 2016 14:41:18 +0000 (17:41 +0300)]
Completion: avoid using lookup listeners in case their order matters

5 years ago[project] I/O resource inspection tuning
Roman Shevchenko [Wed, 13 Apr 2016 18:02:56 +0000 (20:02 +0200)]
[project] I/O resource inspection tuning

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 13 Apr 2016 17:41:08 +0000 (19:41 +0200)]
Merge remote-tracking branch 'origin/master'

5 years ago[platform] fine-tuning process output readers: hg
Roman Shevchenko [Wed, 13 Apr 2016 17:36:50 +0000 (19:36 +0200)]
[platform] fine-tuning process output readers: hg

5 years ago[platform] fine-tuning process output readers: svn
Roman Shevchenko [Wed, 13 Apr 2016 16:15:48 +0000 (18:15 +0200)]
[platform] fine-tuning process output readers: svn

5 years ago[platform] fine-tuning process output readers: JUnit
Roman Shevchenko [Wed, 13 Apr 2016 16:15:32 +0000 (18:15 +0200)]
[platform] fine-tuning process output readers: JUnit

5 years ago[platform] fine-tuning process output readers: git
Roman Shevchenko [Wed, 13 Apr 2016 16:15:12 +0000 (18:15 +0200)]
[platform] fine-tuning process output readers: git

5 years ago[platform] fine-tuning process output readers: compiler
Roman Shevchenko [Wed, 13 Apr 2016 16:14:42 +0000 (18:14 +0200)]
[platform] fine-tuning process output readers: compiler

5 years ago[platform] fine-tuning process output readers: platform classes
Roman Shevchenko [Wed, 13 Apr 2016 16:13:33 +0000 (18:13 +0200)]
[platform] fine-tuning process output readers: platform classes

5 years ago[platform] introduces binary process handler
Roman Shevchenko [Wed, 13 Apr 2016 17:35:23 +0000 (19:35 +0200)]
[platform] introduces binary process handler

5 years agoCleanup (formatting)
Roman Shevchenko [Wed, 13 Apr 2016 16:21:29 +0000 (18:21 +0200)]
Cleanup (formatting)

5 years ago[platform] fine-tuning process output readers
Roman Shevchenko [Wed, 13 Apr 2016 16:01:41 +0000 (18:01 +0200)]
[platform] fine-tuning process output readers

5 years agoIDEA-153966 (False inspection alert for "Optional.get() without isPresent check")
Bas Leijdekkers [Wed, 13 Apr 2016 16:03:00 +0000 (18:03 +0200)]
IDEA-153966 (False inspection alert for "Optional.get() without isPresent check")

5 years agodiff: do not expose potentially dangerous methods
Aleksey Pivovarov [Wed, 13 Apr 2016 15:57:07 +0000 (18:57 +0300)]
diff: do not expose potentially dangerous methods

DiffUtil.replaceLines has confusing name, as it doesn't work with deletions and insertions.
DiffUtil.applyModification() should be used instead.

5 years agoJavafx: Support application icon in JavaFX self-contained app deployment - use absolu...
Pavel Dolgov [Wed, 13 Apr 2016 15:25:53 +0000 (18:25 +0300)]
Javafx: Support application icon in JavaFX self-contained app deployment - use absolute path when building artifact and relative path when generating Ant build file (IDEA-134616)

5 years agoJavafx: Support application icon in JavaFX self-contained app deployment (IDEA-134616)
Pavel Dolgov [Wed, 13 Apr 2016 13:29:53 +0000 (16:29 +0300)]
Javafx: Support application icon in JavaFX self-contained app deployment (IDEA-134616)

5 years agoIDEA-153817 ('Optional.get() without isPresent() check' inspection should support...
Bas Leijdekkers [Wed, 13 Apr 2016 15:30:04 +0000 (17:30 +0200)]
IDEA-153817 ('Optional.get() without isPresent() check' inspection should support while statement)

5 years agoIG: add a test case so we know the inspection does something
Bas Leijdekkers [Tue, 12 Apr 2016 15:51:10 +0000 (17:51 +0200)]
IG: add a test case so we know the inspection does something

5 years agovcs: remove special color for SVN annotations
Aleksey Pivovarov [Fri, 18 Mar 2016 16:16:14 +0000 (19:16 +0300)]
vcs: remove special color for SVN annotations

5 years agoIDEA-152258 IDEA-134212 vcs: add VCS color settings
Aleksey Pivovarov [Wed, 9 Mar 2016 12:18:33 +0000 (15:18 +0300)]
IDEA-152258 IDEA-134212 vcs: add VCS color settings

* allow to configure colors of vcs annotations
* generate annotations colors from couple of given anchors
* move LST gutter colors settings from `General` group
* add preview for LST markers

5 years agodiff: add border to DiffViewer in color settings
Aleksey Pivovarov [Thu, 10 Mar 2016 12:31:42 +0000 (15:31 +0300)]
diff: add border to DiffViewer in color settings

5 years agodiff: extract diff color settings into extension point
Aleksey Pivovarov [Fri, 18 Mar 2016 16:21:07 +0000 (19:21 +0300)]
diff: extract diff color settings into extension point

5 years agoui: allow to pass custom color description panel
Aleksey Pivovarov [Thu, 10 Mar 2016 12:07:17 +0000 (15:07 +0300)]
ui: allow to pass custom color description panel

5 years agolst: read colors from editor's ColorScheme
Aleksey Pivovarov [Thu, 31 Mar 2016 14:37:06 +0000 (17:37 +0300)]
lst: read colors from editor's ColorScheme

5 years agolst: extract LST highlighter creation
Aleksey Pivovarov [Thu, 31 Mar 2016 14:37:06 +0000 (17:37 +0300)]
lst: extract LST highlighter creation

5 years agolst: extract LST popup logic to separate class
Aleksey Pivovarov [Mon, 8 Feb 2016 15:49:53 +0000 (18:49 +0300)]
lst: extract LST popup logic to separate class

5 years agolst: extract LST marker rendering logic to separate class
Aleksey Pivovarov [Tue, 22 Dec 2015 14:04:48 +0000 (17:04 +0300)]
lst: extract LST marker rendering logic to separate class

5 years agodon't perform forbidden operations in bulk mode (EA-81553 - ISE: EditorView.visualLin... appcode/146.1247 clion/146.1246
Dmitry Batrak [Wed, 13 Apr 2016 14:55:36 +0000 (17:55 +0300)]
don't perform forbidden operations in bulk mode (EA-81553 - ISE: EditorView.visualLineToOffset)

5 years agoIDEA-154443 Speed search is broken in Structure popup
Sergey Malenkov [Wed, 13 Apr 2016 14:45:02 +0000 (17:45 +0300)]
IDEA-154443 Speed search is broken in Structure popup

5 years agoXMLSchema-versioning support
Dmitry Avdeev [Wed, 13 Apr 2016 14:32:47 +0000 (17:32 +0300)]
XMLSchema-versioning support

5 years agomove recently added utility methods from StringUtil to XmlStringUtil (IDEA-154578...
Dmitry Batrak [Wed, 13 Apr 2016 14:26:19 +0000 (17:26 +0300)]
move recently added utility methods from StringUtil to XmlStringUtil (IDEA-154578, IDEA-CR-10085)

5 years ago[dbe] use ordered sets in db datasource
Sergey Ignatov [Wed, 13 Apr 2016 13:51:58 +0000 (16:51 +0300)]
[dbe] use ordered sets in db datasource

5 years agolst: move few methods inside LST
Aleksey Pivovarov [Wed, 13 Apr 2016 11:19:34 +0000 (14:19 +0300)]
lst: move few methods inside LST

* do not treat line as modified if it lies right next to the modified one
* avoid unnecessary List<Range> copying

5 years agovcs: remove dead code
Aleksey Pivovarov [Wed, 13 Apr 2016 11:06:00 +0000 (14:06 +0300)]
vcs: remove dead code

5 years agolst: check if tracker is valid
Aleksey Pivovarov [Wed, 13 Apr 2016 11:05:07 +0000 (14:05 +0300)]
lst: check if tracker is valid

5 years agolst: replace Read/Write locks with LOCK
Aleksey Pivovarov [Wed, 6 Apr 2016 15:54:34 +0000 (18:54 +0300)]
lst: replace Read/Write locks with LOCK

Usage of read/write locks for LST increases amount of write locks taken in application (on release(), setBaseRevision()).
This interferes with some tasks, that have to restart after each writeLock.
We do not perform any operations on Document or PSI inside, so this overhead is unnecessary.

This partially reverts commit cb95158bdfff7b17dabde4b7c36359b43e8056b3.

5 years agoIDEA-154663 column selection mode error
Dmitry Batrak [Wed, 13 Apr 2016 13:09:59 +0000 (16:09 +0300)]
IDEA-154663 column selection mode error

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 13 Apr 2016 12:57:34 +0000 (14:57 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agocheck that line spacing is within the bounds
Konstantin Bulenkov [Wed, 13 Apr 2016 12:56:26 +0000 (14:56 +0200)]
check that line spacing is within the bounds

5 years agochange checkAndFixEditorLineSpacing(int) signature
Konstantin Bulenkov [Wed, 13 Apr 2016 12:55:44 +0000 (14:55 +0200)]
change checkAndFixEditorLineSpacing(int) signature

5 years agoadd JavaDoc
Konstantin Bulenkov [Wed, 13 Apr 2016 12:53:56 +0000 (14:53 +0200)]
add JavaDoc

5 years agosynchronized access to internal set
Eugene Zhuravlev [Wed, 13 Apr 2016 12:33:29 +0000 (14:33 +0200)]
synchronized access to internal set

5 years agoAnalysisScope#setScope() method is deleted (no external usages + only one non-working...
Dmitry Batkovich [Wed, 13 Apr 2016 12:24:29 +0000 (15:24 +0300)]
AnalysisScope#setScope() method is deleted (no external usages + only one non-working usage in project)

5 years agoIDEA-152821 Allow Cucumber tests run configuration under JDK 7. After review changes
Andrey Vokin [Wed, 13 Apr 2016 12:12:48 +0000 (14:12 +0200)]
IDEA-152821 Allow Cucumber tests run configuration under JDK 7. After review changes

5 years agoIDEA-154629 Character is an invalid type for bit-shifting operations in Evaluate...
Egor.Ushakov [Wed, 13 Apr 2016 12:01:11 +0000 (15:01 +0300)]
IDEA-154629 Character is an invalid type for bit-shifting operations in Evaluate Expression

5 years agoIDEA-154640 Ctrl + arrows for word jump sometimes acts like Shift+arrow clion/146.1244 dbe/146.1243
Dmitry Batrak [Wed, 13 Apr 2016 11:37:43 +0000 (14:37 +0300)]
IDEA-154640 Ctrl + arrows for word jump sometimes acts like Shift+arrow

5 years ago[platform] a couple more parallel-capable class loaders
Roman Shevchenko [Wed, 13 Apr 2016 11:35:18 +0000 (13:35 +0200)]
[platform] a couple more parallel-capable class loaders

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 13 Apr 2016 11:20:14 +0000 (13:20 +0200)]
Merge remote-tracking branch 'origin/master'

5 years ago[platform] accurate detection of parallel-capable class loaders (IDEA-154504)
Roman Shevchenko [Wed, 13 Apr 2016 11:19:56 +0000 (13:19 +0200)]
[platform] accurate detection of parallel-capable class loaders (IDEA-154504)

5 years agocleanup
Alexey Kudravtsev [Wed, 13 Apr 2016 11:04:11 +0000 (14:04 +0300)]
cleanup

5 years agonotnull
Alexey Kudravtsev [Wed, 13 Apr 2016 11:01:44 +0000 (14:01 +0300)]
notnull

5 years agolambdify
Alexey Kudravtsev [Wed, 13 Apr 2016 11:00:05 +0000 (14:00 +0300)]
lambdify

5 years agoIDEA-154442 Overriding methods search finds methods twice
Alexey Kudravtsev [Wed, 13 Apr 2016 10:55:48 +0000 (13:55 +0300)]
IDEA-154442 Overriding methods search finds methods twice

5 years agoIDEA-154592 Deadlock in MergingUpdateQueue
Alexey Kudravtsev [Tue, 12 Apr 2016 14:58:11 +0000 (17:58 +0300)]
IDEA-154592 Deadlock in MergingUpdateQueue

5 years agoinspection tool window: extract popup action group to LangActions.xml + extract Exclu...
Dmitry Batkovich [Wed, 13 Apr 2016 11:05:30 +0000 (14:05 +0300)]
inspection tool window: extract popup action group to LangActions.xml + extract Exclude/Include actions to reusable ones (review)

5 years agolang parameter table panel extracted: SimpleParameterTablePanel for parameters withou... phpstorm/146.1242
Anna.Kozlova [Wed, 13 Apr 2016 10:26:32 +0000 (12:26 +0200)]
lang parameter table panel extracted: SimpleParameterTablePanel for parameters without types

5 years agopull up: init abstract state for member if checkbox is disabled (IDEA-154608)
Anna.Kozlova [Wed, 13 Apr 2016 09:39:24 +0000 (11:39 +0200)]
pull up: init abstract state for member if checkbox is disabled (IDEA-154608)

5 years agomethod ref: type parameter instantiation (IDEA-154645)
Anna.Kozlova [Wed, 13 Apr 2016 09:25:17 +0000 (11:25 +0200)]
method ref: type parameter instantiation (IDEA-154645)

5 years agocontentsChanged event for file outside indexablesets doesn't add the file for filesTo... idea/146.1241
Maxim.Mossienko [Wed, 13 Apr 2016 10:10:33 +0000 (12:10 +0200)]
contentsChanged event for file outside indexablesets doesn't add the file for filesToBeIndexed

5 years agofix problem with unexpected null value (following fix for IDEA-154578) appcode/146.1239 clion/146.1240
Dmitry Batrak [Wed, 13 Apr 2016 08:44:33 +0000 (11:44 +0300)]
fix problem with unexpected null value (following fix for IDEA-154578)

5 years agodo not highlight errors in return statements in debugger code fragments - avoid user... webstorm/146.1238
Egor.Ushakov [Wed, 13 Apr 2016 08:33:59 +0000 (11:33 +0300)]
do not highlight errors in return statements in debugger code fragments - avoid user data keys (IDEA-CR-10075)

5 years agoremove fallback logic (following fix for IDEA-154578) pycharm/146.1237
Dmitry Batrak [Wed, 13 Apr 2016 07:37:09 +0000 (10:37 +0300)]
remove fallback logic (following fix for IDEA-154578)

this is for master only - assuming that it's ok to loose folding state information for recently opened files when migrating to a newer IDE version

5 years agoIDEA-154578 Unable to save settings (please restart IntelliJ Idea)
Dmitry Batrak [Wed, 13 Apr 2016 07:26:36 +0000 (10:26 +0300)]
IDEA-154578 Unable to save settings (please restart IntelliJ Idea)

5 years agoinspection tool window: use compact action group
Dmitry Batkovich [Wed, 13 Apr 2016 07:18:57 +0000 (10:18 +0300)]
inspection tool window: use compact action group

5 years agoinspection tool window: proper insert "of" when tabs.size == 1
Dmitry Batkovich [Wed, 13 Apr 2016 07:04:17 +0000 (10:04 +0300)]
inspection tool window: proper insert "of" when tabs.size == 1

5 years agoinspection tool window: tree exclusion action - do not need update text if disabled pycharm/146.1235
Dmitry Batkovich [Wed, 13 Apr 2016 04:20:29 +0000 (07:20 +0300)]
inspection tool window: tree exclusion action - do not need update text if disabled

5 years agoinspection tool window: tree exclusion default text
Dmitry Batkovich [Wed, 13 Apr 2016 04:08:53 +0000 (07:08 +0300)]
inspection tool window: tree exclusion default text

5 years agodrop inmemory caches for unsaved documents on low memory (IDEA-153382) appcode/146.1233 clion/146.1229 phpstorm/146.1232 rubymine/146.1234
Maxim.Mossienko [Tue, 12 Apr 2016 21:24:12 +0000 (23:24 +0200)]
drop inmemory caches for unsaved documents on low memory (IDEA-153382)

5 years ago "Find in path"-Action // Previous searches popdown conflicts with live preview ...
Maxim.Mossienko [Tue, 12 Apr 2016 21:00:00 +0000 (23:00 +0200)]
 "Find in path"-Action // Previous searches popdown conflicts with live preview (IDEA-154525)

5 years agoIDEA-81363 'triangular' logic doesn't work if one initially moves mouse over the...
Vassiliy.Kudryashov [Tue, 12 Apr 2016 20:52:24 +0000 (23:52 +0300)]
IDEA-81363 'triangular' logic doesn't work if one initially moves mouse over the menu item in 'wrong' direction. After that submenu would disappear quickly and not user-friendly.

5 years ago[vcs-log] minor: rename method toPrintElementWithGraphElement -> withGraphElement
Julia Beliaeva [Tue, 12 Apr 2016 19:12:59 +0000 (22:12 +0300)]
[vcs-log] minor: rename method toPrintElementWithGraphElement -> withGraphElement

5 years ago[vcs-log] minor: NotNull annotations
Julia Beliaeva [Tue, 12 Apr 2016 19:09:42 +0000 (22:09 +0300)]
[vcs-log] minor: NotNull annotations

5 years agono animated scrolling in usages preview (IDEA-154342)
Maxim.Mossienko [Tue, 12 Apr 2016 20:48:51 +0000 (22:48 +0200)]
no animated scrolling in usages preview (IDEA-154342)

5 years agoinspection tool window: extract popup action group to LangActions.xml + extract Exclu...
Dmitry Batkovich [Tue, 12 Apr 2016 19:47:59 +0000 (22:47 +0300)]
inspection tool window: extract popup action group to LangActions.xml + extract Exclude/Include actions to reusable ones

5 years agoIDEA-153807 Welcome screen notifications
Alexander Lobas [Tue, 12 Apr 2016 19:38:36 +0000 (22:38 +0300)]
IDEA-153807 Welcome screen notifications

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Tue, 12 Apr 2016 17:24:52 +0000 (19:24 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agocleanup
Konstantin Bulenkov [Tue, 12 Apr 2016 17:23:35 +0000 (19:23 +0200)]
cleanup

5 years ago+ withBackground(Color)
Konstantin Bulenkov [Tue, 12 Apr 2016 17:13:53 +0000 (19:13 +0200)]
+ withBackground(Color)

5 years agoproperty used from Android restored
Dmitry Avdeev [Tue, 12 Apr 2016 17:01:46 +0000 (20:01 +0300)]
property used from Android restored

5 years agodo not highlight errors in return statements in debugger code fragments
Egor.Ushakov [Tue, 12 Apr 2016 15:53:14 +0000 (18:53 +0300)]
do not highlight errors in return statements in debugger code fragments

5 years ago[vcs-log] minor: rename GraphCommitCellRender -> GraphCommitCellRenderer
Julia Beliaeva [Tue, 12 Apr 2016 15:42:30 +0000 (18:42 +0300)]
[vcs-log] minor: rename GraphCommitCellRender -> GraphCommitCellRenderer