idea/community.git
5 years agoMerge remote-tracking branch 'origin/master' into amakeev/debugger clion/162.256 clion/162.257 clion/162.262 clion/162.278
Anton Makeev [Tue, 17 May 2016 17:58:08 +0000 (19:58 +0200)]
Merge remote-tracking branch 'origin/master' into amakeev/debugger

5 years agoCPP-6744 'command timeout' when error happens on the launch on the target
Anton Makeev [Tue, 17 May 2016 17:53:00 +0000 (19:53 +0200)]
CPP-6744 'command timeout' when error happens on the launch on the target

* OutputReader.readFully moved to BaseOutputReader and implemented for non-blocking mode only.
* OutputReader deprecated since was only used in CIDR
* ProcessOutputReaders.stop() closes underlying reader to avoid intinitely blocking on waitFor when debugger driver is shutting down.
* ProcessOutputReaders doesn't split output into lines since all clients do this themselves.

5 years agoIDEA-156071 Simple static method renderers are much slower than toString - removed...
Egor.Ushakov [Tue, 17 May 2016 17:20:46 +0000 (20:20 +0300)]
IDEA-156071 Simple static method renderers are much slower than toString - removed duplicated findClass

5 years agoWEB-21353: Remove recently added second filetype for Pug.
Valentin Fondaratov [Tue, 17 May 2016 16:41:58 +0000 (19:41 +0300)]
WEB-21353: Remove recently added second filetype for Pug.
New macro for executable added.

5 years agoIDEA-156065 WinPty process does not kill agent on end
Egor.Ushakov [Tue, 17 May 2016 16:29:27 +0000 (19:29 +0300)]
IDEA-156065 WinPty process does not kill agent on end

5 years agoworkaround for KT-11995 clion/162.254 clion/162.283
Dmitry Jemerov [Tue, 17 May 2016 16:20:16 +0000 (18:20 +0200)]
workaround for KT-11995

5 years agosupported annotation processing for compiling evaluator
Eugene Zhuravlev [Tue, 17 May 2016 16:00:39 +0000 (18:00 +0200)]
supported annotation processing for compiling evaluator

5 years agoreset — take allowUnsignedRequests in account
Vladimir Krivosheev [Tue, 17 May 2016 15:57:32 +0000 (17:57 +0200)]
reset — take allowUnsignedRequests in account

5 years agoprovide presentable name for speed search (IDEA-156155)
Anna.Kozlova [Tue, 17 May 2016 15:36:33 +0000 (17:36 +0200)]
provide presentable name for speed search (IDEA-156155)

5 years agodisable remove redundant else if then branch can throw exception (IDEA-156142)
Anna.Kozlova [Tue, 17 May 2016 14:16:33 +0000 (16:16 +0200)]
disable remove redundant else if then branch can throw exception (IDEA-156142)

5 years agofunctional interface searcher: optimization to distinguish by return type
Anna.Kozlova [Tue, 17 May 2016 10:52:08 +0000 (12:52 +0200)]
functional interface searcher: optimization to distinguish by return type

5 years ago[groovy] streaming json builder uses 'owner first' strategy
Daniil Ovchinnikov [Tue, 17 May 2016 15:14:35 +0000 (18:14 +0300)]
[groovy] streaming json builder uses 'owner first' strategy

5 years ago[groovy] lower priority of varargs methods
Daniil Ovchinnikov [Tue, 17 May 2016 14:34:45 +0000 (17:34 +0300)]
[groovy] lower priority of varargs methods

5 years agoReview comments addressed: do not refresh Promise
Alexander Doroshko [Tue, 17 May 2016 15:11:34 +0000 (18:11 +0300)]
Review comments addressed: do not refresh Promise

5 years ago[ui] minor: reorganise setVisible method
Julia Beliaeva [Mon, 16 May 2016 14:34:12 +0000 (17:34 +0300)]
[ui] minor: reorganise setVisible method

5 years ago[ui] fix LoadingDecorator not showing when the next progress started whithin fade...
Julia Beliaeva [Mon, 16 May 2016 14:28:35 +0000 (17:28 +0300)]
[ui] fix LoadingDecorator not showing when the next progress started whithin fade-out time from the previous one

 Two issues were corrected:
 * loading decorator isLoading returned false during fade-out, so new progress was not started;
 * fade out animator overwrited loading layer state when progress was started again during fade-out.

5 years agodo not highlight files opened in editor. People think they are tests
Konstantin Bulenkov [Tue, 17 May 2016 15:05:25 +0000 (17:05 +0200)]
do not highlight files opened in editor. People think they are tests

5 years agoinspection tool window: exclude only entities which are held by current tool IDEA... appcode/162.252 clion/162.253
Dmitry Batkovich [Tue, 17 May 2016 14:40:44 +0000 (17:40 +0300)]
inspection tool window: exclude only entities which are held by current tool IDEA-156164

5 years agomerge: fix NPE
Aleksey Pivovarov [Tue, 17 May 2016 13:31:28 +0000 (16:31 +0300)]
merge: fix NPE

it was broken in 52de86905ec0a95ce04f02fd8d7a8573aeb291fe

5 years agofix javaExternalDocumentationTest - add token to image url
Vladimir Krivosheev [Tue, 17 May 2016 13:33:01 +0000 (15:33 +0200)]
fix javaExternalDocumentationTest - add token to image url

5 years agoDon't mess up with HTML
Rustam Vishnyakov [Tue, 17 May 2016 13:19:58 +0000 (16:19 +0300)]
Don't mess up with HTML

5 years agofix javaExternalDocumentationTest - add token to image url
Vladimir Krivosheev [Tue, 17 May 2016 13:18:08 +0000 (15:18 +0200)]
fix javaExternalDocumentationTest - add token to image url

5 years agorestart Pub Serve if Dart SDK changed
Alexander Doroshko [Tue, 17 May 2016 13:14:10 +0000 (16:14 +0300)]
restart Pub Serve if Dart SDK changed

5 years agoCleanup (formatting) appcode/162.756 appcode/162.831
Roman Shevchenko [Tue, 17 May 2016 13:04:42 +0000 (15:04 +0200)]
Cleanup (formatting)

5 years agoinspection tool window: disable inspection must be disabled when inspection profile...
Dmitry Batkovich [Tue, 17 May 2016 13:02:02 +0000 (16:02 +0300)]
inspection tool window: disable inspection must be disabled when inspection profile is enabled IDEA-155886

5 years agospecified kotlin src dirs
Ekaterina Tuzova [Tue, 17 May 2016 12:51:52 +0000 (15:51 +0300)]
specified kotlin src dirs

5 years agofix IAE
Konstantin Bulenkov [Tue, 17 May 2016 12:15:40 +0000 (14:15 +0200)]
fix IAE

5 years agoPY-19568 Pycharm hangs on editor right click
Ekaterina Tuzova [Tue, 17 May 2016 12:16:48 +0000 (15:16 +0300)]
PY-19568 Pycharm hangs on editor right click

5 years agonot-null FileReferenceSet#getElement()
Sergey Simonchik [Tue, 17 May 2016 12:12:07 +0000 (15:12 +0300)]
not-null FileReferenceSet#getElement()

5 years agoIDEA-156080 Gradle integration: turning off Create separate module per source set... appcode/162.250 clion/162.251
Vladislav.Soroka [Tue, 17 May 2016 11:55:42 +0000 (14:55 +0300)]
IDEA-156080 Gradle integration: turning off Create separate module per source set" breaks Gradle tasks and Run Configurations

5 years agocleanup
Alexey Kudravtsev [Tue, 17 May 2016 11:51:16 +0000 (14:51 +0300)]
cleanup

5 years agogather staistics about app pool thread number created
Alexey Kudravtsev [Tue, 17 May 2016 11:43:28 +0000 (14:43 +0300)]
gather staistics about app pool thread number created

5 years agoIDEA-156080 Gradle integration: turning off Create separate module per source set...
Vladislav.Soroka [Tue, 17 May 2016 11:43:57 +0000 (14:43 +0300)]
IDEA-156080 Gradle integration: turning off Create separate module per source set" breaks Gradle tasks and Run Configurations

5 years ago[project] IDE launcher in Windows jump list instead of the custom one (IDEA-156078)
Roman Shevchenko [Tue, 17 May 2016 11:30:42 +0000 (13:30 +0200)]
[project] IDE launcher in Windows jump list instead of the custom one (IDEA-156078)

5 years agoPY-15270 Numpy: Unresolved reference: false positive for accumulate and reduce dbe/162.245 phpstorm/162.246
Ekaterina Tuzova [Tue, 17 May 2016 11:26:04 +0000 (14:26 +0300)]
PY-15270 Numpy: Unresolved reference: false positive for accumulate and reduce

5 years agoPY-15307 Numpy: TypeChecker: fals positive when passing new array shape as two ints...
Ekaterina Tuzova [Tue, 17 May 2016 10:13:57 +0000 (13:13 +0300)]
PY-15307 Numpy: TypeChecker: fals positive when passing new array shape as two ints to resize method

5 years agoPY-15283 Numpy: Unexpected argument: false positive for reshape: invalid skeleton...
Ekaterina Tuzova [Tue, 17 May 2016 10:06:05 +0000 (13:06 +0300)]
PY-15283 Numpy: Unexpected argument: false positive for reshape: invalid skeleton for the method

5 years agoPY-15284 Numpy: unexpected argument: false positive for casting argument in can_cast...
Ekaterina Tuzova [Tue, 17 May 2016 09:58:52 +0000 (12:58 +0300)]
PY-15284 Numpy: unexpected argument: false positive for casting argument in can_cast: parser fails to process generated argument with keyword name

5 years agoPY-15296 Numpy: allow passing all sequence types for array and array-like parameters
Ekaterina Tuzova [Tue, 17 May 2016 09:41:42 +0000 (12:41 +0300)]
PY-15296 Numpy: allow passing all sequence types for array and array-like parameters

5 years agoput the proper type to the union in case of optional numpy type
Ekaterina Tuzova [Mon, 16 May 2016 16:43:53 +0000 (19:43 +0300)]
put the proper type to the union in case of optional numpy type

preliminary fix for PY-16406 Class 'tuple' does not define 'sub', so the '-' operator cannot be used on its instance

5 years agoPY-16744 numpy.linalg.norm ord parameter
Ekaterina Tuzova [Mon, 16 May 2016 15:20:00 +0000 (18:20 +0300)]
PY-16744 numpy.linalg.norm ord parameter

5 years agoPY-15272 Numpy: comparison operations on arrays should return array, not bool
Ekaterina Tuzova [Mon, 16 May 2016 15:09:00 +0000 (18:09 +0300)]
PY-15272 Numpy: comparison operations on arrays should return array, not bool

skeletons for unary operations

5 years agoPY-17456 Wrong error message about return type of scipy.integrate.quad function
Ekaterina Tuzova [Mon, 16 May 2016 14:36:50 +0000 (17:36 +0300)]
PY-17456 Wrong error message about return type of scipy.integrate.quad function

use numpy docstring format to parse scipy

5 years agoPY-15285 Numpy: Parameter unfilled: false positive for randn function with only one...
Ekaterina Tuzova [Mon, 16 May 2016 14:26:07 +0000 (17:26 +0300)]
PY-15285 Numpy: Parameter unfilled: false positive for randn function with only one argument

5 years agoPY-12083 Code Insight does not respect numpy ndarray types
Ekaterina Tuzova [Mon, 16 May 2016 13:04:12 +0000 (16:04 +0300)]
PY-12083 Code Insight does not respect numpy ndarray types

5 years agoreverted
Alexey Kudravtsev [Tue, 17 May 2016 11:16:39 +0000 (14:16 +0300)]
reverted

5 years agooptimisation of JsonSchemaFileType.isMyFileType at critical path
Alexey Kudravtsev [Tue, 17 May 2016 11:07:30 +0000 (14:07 +0300)]
optimisation of JsonSchemaFileType.isMyFileType at critical path

5 years agoperformance: ignore whitespace during spell checking, fix test to perform actual...
Alexey Kudravtsev [Mon, 16 May 2016 17:08:48 +0000 (20:08 +0300)]
performance: ignore whitespace during spell checking, fix test to perform actual inspections instead of skipping them altogether

5 years agoprotected method calling other overload is not redundant
Alexey Kudravtsev [Mon, 16 May 2016 15:52:21 +0000 (18:52 +0300)]
protected method calling other overload is not redundant

5 years agolambdify
Alexey Kudravtsev [Mon, 16 May 2016 15:47:55 +0000 (18:47 +0300)]
lambdify

5 years agonotnull
Alexey Kudravtsev [Mon, 16 May 2016 15:47:43 +0000 (18:47 +0300)]
notnull

5 years agoIDEA-155420 Update Event Log look and behavior
Alexander Lobas [Tue, 17 May 2016 11:06:27 +0000 (14:06 +0300)]
IDEA-155420 Update Event Log look and behavior

5 years agoFix for tab middle click
Vassiliy.Kudryashov [Tue, 17 May 2016 10:23:27 +0000 (13:23 +0300)]
Fix for tab middle click

5 years agoIDEA-154763 Ligature for "[]" doesn't work in C/C++ for arrays with FiraCode
Dmitry Batrak [Tue, 17 May 2016 10:24:14 +0000 (13:24 +0300)]
IDEA-154763 Ligature for "[]" doesn't work in C/C++ for arrays with FiraCode

5 years agoIDEA-155420 Update Event Log look and behavior
Alexander Lobas [Tue, 17 May 2016 09:59:08 +0000 (12:59 +0300)]
IDEA-155420 Update Event Log look and behavior

5 years agoCleanup (unneeded instances; warnings; formatting)
Roman Shevchenko [Tue, 17 May 2016 09:57:40 +0000 (11:57 +0200)]
Cleanup (unneeded instances; warnings; formatting)

5 years agofix after merge
Vladimir Krivosheev [Tue, 17 May 2016 09:41:03 +0000 (11:41 +0200)]
fix after merge

5 years agoOC-12534 Can't change signature of method if a parameter AFTER refactoring should...
Philipp Smorygo [Tue, 17 May 2016 09:38:34 +0000 (12:38 +0300)]
OC-12534 Can't change signature of method if a parameter AFTER refactoring should have generic in it

5 years agoMerge branch 'IDEA-CR-10038'
Vladimir Krivosheev [Tue, 17 May 2016 09:12:11 +0000 (11:12 +0200)]
Merge branch 'IDEA-CR-10038'

# Conflicts:
# platform/built-in-server/src/org/jetbrains/ide/OpenFileHttpService.java
# platform/platform-impl/src/com/intellij/ide/impl/ProjectUtil.java
# platform/util/resources/misc/registry.properties

5 years agounused declaration presentation: do not count entry point nodes (IDEA-155941) appcode/162.244 clion/162.243
Dmitry Batkovich [Tue, 17 May 2016 07:39:30 +0000 (10:39 +0300)]
unused declaration presentation: do not count entry point nodes (IDEA-155941)

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`