idea/community.git
5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Batkovich [Tue, 17 May 2016 07:23:39 +0000 (10:23 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoNew feature: <Alt+Shift+click1> on tab does "Close Others" pycharm/162.242
Vassiliy.Kudryashov [Tue, 17 May 2016 05:51:19 +0000 (08:51 +0300)]
New feature: <Alt+Shift+click1> on tab does "Close Others"

5 years agocleanup appcode/162.236 clion/162.238 dbe/162.231 idea/162.232 phpstorm/162.233 pycharm/162.237 rubymine/162.239 webstorm/162.240
Konstantin Bulenkov [Mon, 16 May 2016 23:19:33 +0000 (01:19 +0200)]
cleanup

5 years agouse BombedCharSequence to check regexp
Konstantin Bulenkov [Mon, 16 May 2016 22:50:55 +0000 (00:50 +0200)]
use BombedCharSequence to check regexp

5 years agobackground image UI: minor fixes
Gregory.Shrago [Mon, 16 May 2016 20:41:03 +0000 (23:41 +0300)]
background image UI: minor fixes

5 years agoIG: warn about object instantiation inside compareTo() and Comparator.compare() metho...
Bas Leijdekkers [Mon, 16 May 2016 14:50:18 +0000 (16:50 +0200)]
IG: warn about object instantiation inside compareTo() and Comparator.compare() methods too

5 years agoIG: use utility method
Bas Leijdekkers [Mon, 16 May 2016 13:41:57 +0000 (15:41 +0200)]
IG: use utility method

5 years agoIG: check lambda expressions in "'Comparator.compare()' method does not use parameter...
Bas Leijdekkers [Mon, 16 May 2016 13:35:32 +0000 (15:35 +0200)]
IG: check lambda expressions in "'Comparator.compare()' method does not use parameter" inspection

5 years agoIG: cleanup
Bas Leijdekkers [Mon, 16 May 2016 13:26:53 +0000 (15:26 +0200)]
IG: cleanup

5 years agomake IG test light
Bas Leijdekkers [Mon, 16 May 2016 12:57:08 +0000 (14:57 +0200)]
make IG test light

5 years agoIDEA-125027 File name displays with folder in the Editor tab for controller's views
Vassiliy.Kudryashov [Mon, 16 May 2016 20:24:22 +0000 (23:24 +0300)]
IDEA-125027 File name displays with folder in the Editor tab for controller's views

5 years agointroduce getStubChildOfType() & getStubChildrenOfType()l
Gregory.Shrago [Mon, 16 May 2016 20:16:46 +0000 (23:16 +0300)]
introduce getStubChildOfType() & getStubChildrenOfType()l

5 years agoAdd pydev monkey tests to PyCharm env tests
Elizaveta Shashkova [Mon, 16 May 2016 17:54:19 +0000 (20:54 +0300)]
Add pydev monkey tests to PyCharm env tests

5 years agoRestore python debugger unittests
Elizaveta Shashkova [Mon, 16 May 2016 16:37:42 +0000 (19:37 +0300)]
Restore python debugger unittests

5 years agoRemove quotes without additional symbols
Elizaveta Shashkova [Mon, 16 May 2016 16:31:33 +0000 (19:31 +0300)]
Remove quotes without additional symbols

5 years agobackground image UI
Gregory.Shrago [Mon, 16 May 2016 13:32:21 +0000 (16:32 +0300)]
background image UI

5 years ago[vcs-log] bring back listener of editor font changes in CommitPanel
Julia Beliaeva [Mon, 16 May 2016 17:23:13 +0000 (20:23 +0300)]
[vcs-log] bring back listener of editor font changes in CommitPanel

5 years agosimplify: no need to rethrow exception
Kirill Likhodedov [Mon, 16 May 2016 14:59:08 +0000 (17:59 +0300)]
simplify: no need to rethrow exception

* exception is logged and displayed fine;
* the freeze-unfreeze sequence works fine without any rethrow due to try-finally.

5 years agoGitFreezingProcess: no need to unfreeze CLM in EDT, any thread is OK
Kirill Likhodedov [Mon, 16 May 2016 14:51:52 +0000 (17:51 +0300)]
GitFreezingProcess: no need to unfreeze CLM in EDT, any thread is OK

5 years agopatch: dispose MergeModelBase in apply-somehow dialog
Aleksey Pivovarov [Mon, 16 May 2016 16:21:37 +0000 (19:21 +0300)]
patch: dispose MergeModelBase in apply-somehow dialog

5 years agouse method from JDK to detect text requiring complex layout (also fixes IDEA-155936)
Dmitry Batrak [Mon, 16 May 2016 16:10:27 +0000 (19:10 +0300)]
use method from JDK to detect text requiring complex layout (also fixes IDEA-155936)

5 years agojetbrains.dic: +stderr +stdout
Sergey Simonchik [Mon, 16 May 2016 15:57:04 +0000 (18:57 +0300)]
jetbrains.dic: +stderr +stdout

5 years agoIDEA-156086 Create breakpoint with text selection fail appcode/162.228 clion/162.229 webstorm/162.230
Egor.Ushakov [Mon, 16 May 2016 14:48:00 +0000 (17:48 +0300)]
IDEA-156086 Create breakpoint with text selection fail

5 years agotoString for debugging
Egor.Ushakov [Mon, 16 May 2016 12:56:31 +0000 (15:56 +0300)]
toString for debugging

5 years agodiff: fix ActionPlaces.DIFF_TOOLBAR - it is not popup
Aleksey Pivovarov [Mon, 16 May 2016 14:06:37 +0000 (17:06 +0300)]
diff: fix ActionPlaces.DIFF_TOOLBAR - it is not popup

5 years agodiff: remove setEnabledInModalContext(true) calls
Aleksey Pivovarov [Mon, 16 May 2016 14:17:54 +0000 (17:17 +0300)]
diff: remove setEnabledInModalContext(true) calls

this flag is necessary only for global actions, while most of diff actions are local.

5 years agoupdate copyright
Kirill Likhodedov [Mon, 16 May 2016 14:07:48 +0000 (17:07 +0300)]
update copyright

5 years agovcs: fix target line in "Annotate [Previous] Revision" idea/162.226
Aleksey Pivovarov [Mon, 16 May 2016 12:56:31 +0000 (15:56 +0300)]
vcs: fix target line in "Annotate [Previous] Revision"

scroll to the line user clicked on, not to the caret position in editor

5 years agodiff: fix wrong comment
Aleksey Pivovarov [Mon, 16 May 2016 12:55:31 +0000 (15:55 +0300)]
diff: fix wrong comment

5 years agoIDEA-155856 After update from 2016.1.1 to 2016.1.2 IntelliJ IDEA won't start anymore...
Anton Tarasov [Mon, 16 May 2016 12:58:48 +0000 (15:58 +0300)]
IDEA-155856 After update from 2016.1.1 to 2016.1.2 IntelliJ IDEA won't start anymore on mac os x

5 years agoadded kotlin files to student plugin
Ekaterina Tuzova [Mon, 16 May 2016 12:18:07 +0000 (15:18 +0300)]
added kotlin files to student plugin

5 years agoPY-18098 Import "numpy" doesn't have effect
Ekaterina Tuzova [Mon, 16 May 2016 11:19:14 +0000 (14:19 +0300)]
PY-18098 Import "numpy" doesn't have effect

ignore same-named modules imported with "asName"

5 years agoWEB-20321 HTML code style — attribute value quotation
Rustam Vishnyakov [Mon, 16 May 2016 11:17:58 +0000 (14:17 +0300)]
WEB-20321 HTML code style — attribute value quotation

5 years agovoid foo(int param) { super.foo(42); } is not redundant
Alexey Kudravtsev [Mon, 16 May 2016 11:58:31 +0000 (14:58 +0300)]
void foo(int param) { super.foo(42); } is not redundant

5 years agoremoved redundant methods in tests
Alexey Kudravtsev [Mon, 16 May 2016 11:58:21 +0000 (14:58 +0300)]
removed redundant methods in tests

5 years agomake read/write action visible in stacktrace
Alexey Kudravtsev [Mon, 16 May 2016 11:57:41 +0000 (14:57 +0300)]
make read/write action visible in stacktrace

5 years agoqueue document for encoding detection only when the corresponding editor is opened...
Alexey Kudravtsev [Fri, 13 May 2016 16:00:05 +0000 (19:00 +0300)]
queue document for encoding detection only when the corresponding editor is opened since the EncodingManagerImpl.getCachedCharsetFromContent is used currently for updating status bar only

5 years agoLightPlatformCodeInsightFixtureTestCase: perform tests outside write action by defaul...
Alexey Kudravtsev [Fri, 13 May 2016 14:04:47 +0000 (17:04 +0300)]
LightPlatformCodeInsightFixtureTestCase: perform tests outside write action by default to catch more errors and make them closer to real world

5 years agodiff: cleanup appcode/162.225 clion/162.224
Aleksey Pivovarov [Mon, 16 May 2016 11:44:16 +0000 (14:44 +0300)]
diff: cleanup

5 years agomerge: cleanup ApplyNonConflicts action
Aleksey Pivovarov [Mon, 16 May 2016 11:32:28 +0000 (14:32 +0300)]
merge: cleanup ApplyNonConflicts action

* do not invoke AnAction - move it's logic to separate method
* prerer `@NotNull ThreeSide` over `@Nullable Side`

5 years agoremote servers: setup default deployment configuration if deployment source is set...
nik [Mon, 16 May 2016 11:14:30 +0000 (14:14 +0300)]
remote servers: setup default deployment configuration if deployment source is set to fix NPE (IDEA-156073)

5 years agoPY-19412 Fixed: Class method support becomes broken if method attribute is used
Semyon Proshev [Wed, 11 May 2016 14:25:05 +0000 (17:25 +0300)]
PY-19412 Fixed: Class method support becomes broken if method attribute is used

Check all next siblings of PyAssignmentStatement type in function modifier calculating

5 years agoIDEA-156069 Impossible to work with project which opened from starting window second...
Vassiliy.Kudryashov [Mon, 16 May 2016 11:01:22 +0000 (14:01 +0300)]
IDEA-156069 Impossible to work with project which opened from starting window second time (rollback 9a2d188)

5 years agoupdated generator version phpstorm/162.223
Ekaterina Tuzova [Mon, 16 May 2016 11:01:27 +0000 (14:01 +0300)]
updated generator version

5 years agoJavafx: Improve highlighting of private fx:id fields and event handler methods -...
Pavel Dolgov [Mon, 16 May 2016 10:47:44 +0000 (13:47 +0300)]
Javafx: Improve highlighting of private fx:id fields and event handler methods - use indices more efficiently (IDEA-151633)

5 years agodeprecate utility method in EditorEx interface
Dmitry Batrak [Mon, 16 May 2016 10:54:19 +0000 (13:54 +0300)]
deprecate utility method in EditorEx interface

5 years agoPY-15912 can not resolve RandomState in numpy
Ekaterina Tuzova [Mon, 16 May 2016 10:48:07 +0000 (13:48 +0300)]
PY-15912 can not resolve RandomState in numpy

check newly imported module name against self module name.

5 years agoa better fix for IDEA-155913
Dmitry Batrak [Mon, 16 May 2016 10:13:11 +0000 (13:13 +0300)]
a better fix for IDEA-155913

fixed offset<->logicalPosition conversions for injected fragments

5 years agodebug managed GF server
Nikolay Mikhaylov [Wed, 11 May 2016 16:00:40 +0000 (19:00 +0300)]
debug managed GF server

5 years agoIDEA-155913 While editing SQL string in Java, cursor jumps to other locations prevent...
Dmitry Batrak [Fri, 13 May 2016 15:33:10 +0000 (18:33 +0300)]
IDEA-155913 While editing SQL string in Java, cursor jumps to other locations preventing me to make the change - temporary fix (for release branch)

typescript: useless code

5 years agoOC-13555 Fix AppCodeGenerateTest: testEncode1 and testCopy1
Philipp Smorygo [Mon, 16 May 2016 09:17:38 +0000 (12:17 +0300)]
OC-13555 Fix AppCodeGenerateTest: testEncode1 and testCopy1

5 years agoold versions of plugins marked as incompatible
nik [Mon, 16 May 2016 09:01:51 +0000 (12:01 +0300)]
old versions of plugins marked as incompatible

5 years agoIDEA-155420 Update Event Log look and behavior appcode/162.214 clion/162.219 idea/162.211 phpstorm/162.212 pycharm/162.210 pycharm/162.213 rubymine/162.217 webstorm/162.220
Alexander Lobas [Sun, 15 May 2016 15:38:11 +0000 (18:38 +0300)]
IDEA-155420 Update Event Log look and behavior

5 years ago[vcs-log] last commit panel can grow in height appcode/162.202 appcode/162.206 appcode/162.209 clion/162.201 clion/162.205 clion/162.208 dbe/162.196 idea/162.197 phpstorm/162.207 pycharm/162.199 pycharm/162.203 rubymine/162.200 webstorm/162.204
Julia Beliaeva [Sat, 14 May 2016 18:57:21 +0000 (21:57 +0300)]
[vcs-log] last commit panel can grow in height

This fixes root color stripe.

5 years ago[vcs-log] minor: extract constants, move methods to where they are used, add annotati...
Julia Beliaeva [Sat, 14 May 2016 16:41:35 +0000 (19:41 +0300)]
[vcs-log] minor: extract constants, move methods to where they are used, add annotations where appropriate

5 years ago[vcs-log] move CommitPanel class to the outer level to make DetailsPanel less giant
Julia Beliaeva [Sat, 14 May 2016 16:30:43 +0000 (19:30 +0300)]
[vcs-log] move CommitPanel class to the outer level to make DetailsPanel less giant

5 years ago[vcs-log] extract CommitSelectionListener to reuse it in DetailsPanel
Julia Beliaeva [Sat, 14 May 2016 16:15:01 +0000 (19:15 +0300)]
[vcs-log] extract CommitSelectionListener to reuse it in DetailsPanel

Since details panel can show up to 50 commits now, we need to load them in bulk as in changes panel. So CommitSelectionListener was extracted to avoid duplication. This allows to avoid multiple loading details requests and multiple containing branches requests.

5 years ago[vcs-log] selection changed accepts selected rows as parameter
Julia Beliaeva [Sat, 14 May 2016 15:02:13 +0000 (18:02 +0300)]
[vcs-log] selection changed accepts selected rows as parameter

5 years ago[vcs-log] remember selection for which component is built and update it when rebuilding
Julia Beliaeva [Sat, 14 May 2016 14:57:11 +0000 (17:57 +0300)]
[vcs-log] remember selection for which component is built and update it when rebuilding

5 years ago[groovy] check for applicability of setters, fix wrong selection of overloaded setter
Daniil Ovchinnikov [Sat, 14 May 2016 15:00:33 +0000 (18:00 +0300)]
[groovy] check for applicability of setters, fix wrong selection of overloaded setter

5 years agoremove unused field
Kirill Likhodedov [Sat, 14 May 2016 15:19:45 +0000 (18:19 +0300)]
remove unused field

5 years agodiff: @NotNull appcode/162.190 clion/162.192
Aleksey Pivovarov [Sat, 14 May 2016 14:23:01 +0000 (17:23 +0300)]
diff: @NotNull

5 years ago[groovy] transformations: move assertion inside getTransformationResult() appcode/162.188 clion/162.189
Daniil Ovchinnikov [Fri, 13 May 2016 20:04:10 +0000 (23:04 +0300)]
[groovy] transformations: move assertion inside getTransformationResult()

5 years ago[groovy] transformations: no need to prevent recursion because of explicit check...
Daniil Ovchinnikov [Fri, 13 May 2016 20:01:48 +0000 (23:01 +0300)]
[groovy] transformations: no need to prevent recursion because of explicit check if current definition is transformed at the moment

5 years agoIG: add printf method pattern to ignore (IDEA-155796) phpstorm/162.187
Bas Leijdekkers [Sat, 14 May 2016 09:50:23 +0000 (11:50 +0200)]
IG: add printf method pattern to ignore (IDEA-155796)

5 years agoIG: protected method overridden in another package is never redundant (IDEA-156022) appcode/162.186 clion/162.185 pycharm/162.184
Bas Leijdekkers [Sat, 14 May 2016 07:40:15 +0000 (09:40 +0200)]
IG: protected method overridden in another package is never redundant (IDEA-156022)

5 years agojflex-1.7.0-SNAPSHOT.jar: ZZ_CMAP memory optimization idea/162.181 pycharm/162.182 webstorm/162.183
Gregory.Shrago [Sat, 14 May 2016 03:40:01 +0000 (06:40 +0300)]
jflex-1.7.0-SNAPSHOT.jar: ZZ_CMAP memory optimization

5 years agoJFlex: regen all lexers
Gregory.Shrago [Sat, 14 May 2016 03:34:46 +0000 (06:34 +0300)]
JFlex: regen all lexers

5 years agorevert: force unicode 2.0 to reduce static memory footprint pycharm/162.178
Gregory.Shrago [Sat, 14 May 2016 02:23:52 +0000 (05:23 +0300)]
revert: force unicode 2.0 to reduce static memory footprint

5 years agoIDEA-115413 UI hang on Regex evaluation appcode/162.179 clion/162.174 dbe/162.175 phpstorm/162.177 pycharm/162.172 rubymine/162.180
Konstantin Bulenkov [Fri, 13 May 2016 23:53:18 +0000 (01:53 +0200)]
IDEA-115413 UI hang on Regex evaluation

5 years agoIDEA-155663 Left/right arrows doesn't work in Switcher
Konstantin Bulenkov [Fri, 13 May 2016 21:24:58 +0000 (23:24 +0200)]
IDEA-155663 Left/right arrows doesn't work in Switcher

5 years agodrop final, good for debug
Gregory.Shrago [Fri, 13 May 2016 20:55:40 +0000 (23:55 +0300)]
drop final, good for debug

5 years agointroduce ActionSelectionAid method with pre-select condition
Gregory.Shrago [Fri, 13 May 2016 20:49:37 +0000 (23:49 +0300)]
introduce ActionSelectionAid method with pre-select condition

5 years ago[vcs-log] remove spaces that crawled back during rebase
Julia Beliaeva [Fri, 13 May 2016 19:56:56 +0000 (22:56 +0300)]
[vcs-log] remove spaces that crawled back during rebase

5 years ago[vcs-log] DetailsPanel is not a ListSelectionListener
Julia Beliaeva [Fri, 13 May 2016 19:55:16 +0000 (22:55 +0300)]
[vcs-log] DetailsPanel is not a ListSelectionListener

5 years agoIDEA-155420 Update Event Log look and behavior
Alexander Lobas [Fri, 13 May 2016 19:35:38 +0000 (22:35 +0300)]
IDEA-155420 Update Event Log look and behavior

5 years agoupdate checkboxes look for windows
Konstantin Bulenkov [Fri, 13 May 2016 19:30:07 +0000 (21:30 +0200)]
update checkboxes look for windows

5 years agoadd common method for windows new look detection
Konstantin Bulenkov [Fri, 13 May 2016 19:21:02 +0000 (21:21 +0200)]
add common method for windows new look detection

5 years agoRegistry property for windows 10 look
Konstantin Bulenkov [Fri, 13 May 2016 17:41:49 +0000 (19:41 +0200)]
Registry property for windows 10 look

5 years agosuggest to rename lambda parameters if the class is not 'overused' (IDEA-153148)
Anna.Kozlova [Fri, 13 May 2016 18:37:23 +0000 (20:37 +0200)]
suggest to rename lambda parameters if the class is not 'overused' (IDEA-153148)

5 years agodon't speculate over unresolved code to predict additional parameters
Anna.Kozlova [Fri, 13 May 2016 17:28:38 +0000 (19:28 +0200)]
don't speculate over unresolved code to predict additional parameters
EA-81965 - IOE: PsiJavaParserFacadeImpl.createParameterFromText

5 years agoIG: ignore insignificant code between lock expression and try statement (IDEA-155953)
Bas Leijdekkers [Fri, 13 May 2016 18:28:50 +0000 (20:28 +0200)]
IG: ignore insignificant code between lock expression and try statement (IDEA-155953)

5 years agobetter debugger invocations logging
Egor.Ushakov [Fri, 13 May 2016 17:33:28 +0000 (20:33 +0300)]
better debugger invocations logging

5 years agomove ProgressManagerQueue from platform-api
Kirill Likhodedov [Fri, 13 May 2016 17:44:26 +0000 (20:44 +0300)]
move ProgressManagerQueue from platform-api

5 years agocleanup: make private methods private, inline a confusing method
Kirill Likhodedov [Fri, 13 May 2016 17:33:41 +0000 (20:33 +0300)]
cleanup: make private methods private, inline a confusing method

5 years agocleanup: inline the superclass
Kirill Likhodedov [Fri, 13 May 2016 17:13:28 +0000 (20:13 +0300)]
cleanup: inline the superclass

it has no usages, a single child, and there is no real value
in separating it.

5 years agoIDEA-155811 Mouse buttons 4/5 next/previous tab not working
Vassiliy.Kudryashov [Fri, 13 May 2016 17:02:29 +0000 (20:02 +0300)]
IDEA-155811 Mouse buttons 4/5 next/previous tab not working

5 years agoIDEA-CR-10612 alternative approach: use custom renderer for java.lang.Object
Gregory.Shrago [Fri, 13 May 2016 17:01:42 +0000 (20:01 +0300)]
IDEA-CR-10612 alternative approach: use custom renderer for java.lang.Object

5 years agoless spamming in logs if a change is not found during CLM update
Kirill Likhodedov [Fri, 13 May 2016 17:01:13 +0000 (20:01 +0300)]
less spamming in logs if a change is not found during CLM update

this situation is unfortunate but expected

5 years agotestng: don't match multiple exceptions compound (IDEA-153654)
Anna.Kozlova [Fri, 13 May 2016 16:40:20 +0000 (18:40 +0200)]
testng: don't match multiple exceptions compound (IDEA-153654)

5 years agoassign weaker access: find method to implement (IDEA-153610)
Anna.Kozlova [Fri, 13 May 2016 16:12:52 +0000 (18:12 +0200)]
assign weaker access: find method to implement (IDEA-153610)

5 years agoupdated inspection description
Anna.Kozlova [Fri, 13 May 2016 15:52:45 +0000 (17:52 +0200)]
updated inspection description

5 years agoIDEA-153870 don't fail completely if the submodule is not registered
Kirill Likhodedov [Fri, 13 May 2016 16:52:23 +0000 (19:52 +0300)]
IDEA-153870 don't fail completely if the submodule is not registered

If submodule has changed, it appears as a dir locally changed in the
main repository => is among filesToCheckin.

Its .git dir is found by GitUtil.gitRoots() because it searches the FS
rather than looks into mappings (which is inconsistent, but changing
it now is frightening).

5 years agojava postfix template: fix example
Andrey Starovoyt [Fri, 13 May 2016 16:39:09 +0000 (19:39 +0300)]
java postfix template: fix example

5 years agojava postfix templates: add braces for while loop IDEA-153730
Andrey Starovoyt [Fri, 13 May 2016 16:28:08 +0000 (19:28 +0300)]
java postfix templates: add braces for while loop IDEA-153730

5 years agoforce unicode 2.0 to reduce static memory footprint: regen
Gregory.Shrago [Fri, 13 May 2016 16:22:59 +0000 (19:22 +0300)]
force unicode 2.0 to reduce static memory footprint: regen

5 years agoforce unicode 2.0 to reduce static memory footprint
Gregory.Shrago [Fri, 13 May 2016 16:20:58 +0000 (19:20 +0300)]
force unicode 2.0 to reduce static memory footprint

5 years agoIDEA-CR-10661 cosmetic
Gregory.Shrago [Fri, 13 May 2016 16:00:01 +0000 (19:00 +0300)]
IDEA-CR-10661 cosmetic

5 years agomore correct parent disposable
Kirill Likhodedov [Fri, 13 May 2016 15:54:48 +0000 (18:54 +0300)]
more correct parent disposable

5 years agoproceed with event processing once indices are initialized
Maxim.Mossienko [Fri, 13 May 2016 15:40:46 +0000 (17:40 +0200)]
proceed with event processing once indices are initialized