idea/community.git
5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Thu, 29 Sep 2016 14:13:44 +0000 (16:13 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agofix tests: Comparator is a functional interface
peter [Thu, 29 Sep 2016 14:09:33 +0000 (16:09 +0200)]
fix tests: Comparator is a functional interface

5 years agouse more StreamEx features for shorter DataFlowInstructionVisitor.getAlwaysFailingCalls
peter [Thu, 29 Sep 2016 13:00:53 +0000 (15:00 +0200)]
use more StreamEx features for shorter DataFlowInstructionVisitor.getAlwaysFailingCalls

5 years agoUpdate the jediterm lib with some fixes (IDEA-142926, IDEA-120046)
Dmitry Trofimov [Thu, 29 Sep 2016 14:08:45 +0000 (16:08 +0200)]
Update the jediterm lib with some fixes (IDEA-142926, IDEA-120046)

5 years agouse UIUtil.getHTMLEditorKit() as it's more HiDPI&darcula friendly
Sergey Simonchik [Thu, 29 Sep 2016 14:07:26 +0000 (17:07 +0300)]
use UIUtil.getHTMLEditorKit() as it's more HiDPI&darcula friendly

5 years agowhole file pass: ensure restarted on all files after a change (IDEA-161890)
Anna.Kozlova [Thu, 29 Sep 2016 13:53:50 +0000 (15:53 +0200)]
whole file pass: ensure restarted on all files after a change (IDEA-161890)

5 years agojunit: allow to explicitly run junit 3 method located in @RunWith(Parameterized.class...
Anna.Kozlova [Thu, 29 Sep 2016 13:28:55 +0000 (15:28 +0200)]
junit: allow to explicitly run junit 3 method located in @RunWith(Parameterized.class) (IDEA-148740)

5 years agoCleanup (missing annotations)
Roman Shevchenko [Thu, 29 Sep 2016 13:54:11 +0000 (15:54 +0200)]
Cleanup (missing annotations)

5 years agoexternal system: allow to run tasks w/o progress indicator
Vladislav.Soroka [Thu, 29 Sep 2016 13:38:35 +0000 (16:38 +0300)]
external system: allow to run tasks w/o progress indicator

5 years agoIDEA-152214 Xcode like way to disable/remove breakpoints
Denis Fokin [Thu, 29 Sep 2016 13:38:14 +0000 (16:38 +0300)]
IDEA-152214 Xcode like way to disable/remove breakpoints

5 years agoIDEA-120087 Debugger: changed state of a breakpoint is not visible, until applied
Egor.Ushakov [Thu, 29 Sep 2016 13:22:01 +0000 (16:22 +0300)]
IDEA-120087 Debugger: changed state of a breakpoint is not visible, until applied

5 years agolambdify
Egor.Ushakov [Thu, 29 Sep 2016 13:21:43 +0000 (16:21 +0300)]
lambdify

5 years agohidpi: scale StyleSheet font sizes for better rendering of "font-size: medium|xx...
Sergey Simonchik [Thu, 29 Sep 2016 13:17:58 +0000 (16:17 +0300)]
hidpi: scale StyleSheet font sizes for better rendering of "font-size: medium|xx-small|x-small|small|large|x-large|xx-large"

5 years agoIDEA-152214 Xcode like way to disable/remove breakpoints rubymine/163.5407
Denis Fokin [Thu, 29 Sep 2016 13:04:18 +0000 (16:04 +0300)]
IDEA-152214 Xcode like way to disable/remove breakpoints

5 years agoProjectOpeningTest
Dmitry Avdeev [Thu, 29 Sep 2016 12:41:49 +0000 (15:41 +0300)]
ProjectOpeningTest

5 years ago@NotNull & @Nullable
Dmitry Avdeev [Thu, 29 Sep 2016 12:41:26 +0000 (15:41 +0300)]
@NotNull & @Nullable

5 years agocleanup
Dmitry Avdeev [Thu, 29 Sep 2016 12:16:53 +0000 (15:16 +0300)]
cleanup

5 years agofaster LambdaUtil.isFunctionalClass check (and other related methods)
peter [Thu, 29 Sep 2016 12:42:26 +0000 (14:42 +0200)]
faster LambdaUtil.isFunctionalClass check (and other related methods)

5 years agomore concise code for dfa failing contracts reporting (IDEA-CR-14141)
peter [Thu, 29 Sep 2016 12:39:33 +0000 (14:39 +0200)]
more concise code for dfa failing contracts reporting (IDEA-CR-14141)

5 years agoexternal system: set indeterminate indicator by default for task execution
Vladislav.Soroka [Thu, 29 Sep 2016 12:23:23 +0000 (15:23 +0300)]
external system: set indeterminate indicator by default for task execution

5 years agoexternal system: fix deadlock for synchronous task execution
Vladislav.Soroka [Thu, 29 Sep 2016 12:21:49 +0000 (15:21 +0300)]
external system: fix deadlock for synchronous task execution

5 years ago[java] Jigsaw package accessibility highlighting (source dependencies) appcode/163.5403
Roman Shevchenko [Thu, 29 Sep 2016 12:10:36 +0000 (14:10 +0200)]
[java] Jigsaw package accessibility highlighting (source dependencies)

5 years agoJava inspection: Handle static fields in EqualsReplaceableByObjectsCallInspection...
Pavel Dolgov [Thu, 29 Sep 2016 11:49:49 +0000 (14:49 +0300)]
Java inspection: Handle static fields in EqualsReplaceableByObjectsCallInspection (IDEA-161076)

5 years ago[macosx] Improve system menu icons quality clion/163.5400
Anton Tarasov [Thu, 29 Sep 2016 11:12:43 +0000 (14:12 +0300)]
[macosx] Improve system menu icons quality

Swing can't paint correctly our HiDPI icons at the system menu. It scales them down (from 2x to 1x) downgrading the quality. An ideal fix would be to add appropriate functionality to Swing. So far the fix is to pass Swing 1x icons.

5 years agoreduce the number of LambdaUtil.findFunctionCandidates usages dbe/163.5398 phpstorm/163.5396
peter [Thu, 29 Sep 2016 10:57:18 +0000 (12:57 +0200)]
reduce the number of LambdaUtil.findFunctionCandidates usages

5 years agoMerge remote-tracking branch 'origin/master' idea/163.5397
Dmitry Trofimov [Thu, 29 Sep 2016 10:52:13 +0000 (12:52 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Thu, 29 Sep 2016 10:51:14 +0000 (12:51 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agojunit 5: allow containers to fail (IDEA-158933; IDEA-161850)
Anna.Kozlova [Thu, 29 Sep 2016 10:40:59 +0000 (12:40 +0200)]
junit 5: allow containers to fail (IDEA-158933; IDEA-161850)

5 years agojunit 5: search for junit classes in library sources
Anna.Kozlova [Thu, 29 Sep 2016 10:31:59 +0000 (12:31 +0200)]
junit 5: search for junit classes in library sources

5 years agoRevert adding printenv to linux folder.
Dmitry Trofimov [Thu, 29 Sep 2016 10:50:24 +0000 (12:50 +0200)]
Revert adding printenv to linux folder.

5 years agoaccumulate and flush commands on startup: per-project command processor
Dmitry Avdeev [Thu, 29 Sep 2016 10:35:31 +0000 (13:35 +0300)]
accumulate and flush commands on startup: per-project command processor

5 years agoPHP Runtime
Artem Khvastunov [Thu, 29 Sep 2016 09:15:19 +0000 (11:15 +0200)]
PHP Runtime

5 years agodon't render import/completion excludes with * as red (IDEA-24615)
peter [Thu, 29 Sep 2016 10:23:39 +0000 (12:23 +0200)]
don't render import/completion excludes with * as red (IDEA-24615)

5 years agofix DomVirtualFileEventsTest blinking: don't let current dom be gc-ed
peter [Thu, 29 Sep 2016 10:15:57 +0000 (12:15 +0200)]
fix DomVirtualFileEventsTest blinking: don't let current dom be gc-ed

5 years agoJava inspection: Fixed computation of the upper bound of the copied region of the...
Pavel Dolgov [Wed, 28 Sep 2016 17:55:08 +0000 (20:55 +0300)]
Java inspection: Fixed computation of the upper bound of the copied region of the array in ManualArrayToCollectionCopyInspection, tests added (IDEA-157217)

5 years agoIDEA-CR-14137 cleanup
Vladimir Krivosheev [Thu, 29 Sep 2016 09:54:21 +0000 (11:54 +0200)]
IDEA-CR-14137 cleanup

5 years agoEA-87030 - UOE: TextComponentScrollingModel.runActionOnScrollingFinished
Dmitry Batrak [Thu, 29 Sep 2016 09:41:45 +0000 (12:41 +0300)]
EA-87030 - UOE: TextComponentScrollingModel.runActionOnScrollingFinished

5 years agouse default modality state in daemon with per-project modality
peter [Thu, 29 Sep 2016 09:33:49 +0000 (11:33 +0200)]
use default modality state in daemon with per-project modality

5 years agoIDEA-161862 Lambda Expressions not showing as implementations of an interface
peter [Thu, 29 Sep 2016 09:31:20 +0000 (11:31 +0200)]
IDEA-161862 Lambda Expressions not showing as implementations of an interface

5 years agoIDEA-161861 Stream API migration should handle cases where result variable is not... appcode/163.5387 clion/163.5386 dbe/163.5388
Tagir Valeev [Thu, 29 Sep 2016 08:45:44 +0000 (15:45 +0700)]
IDEA-161861 Stream API migration should handle cases where result variable is not declared just before the for loop

5 years agotestClearAndPrintWhileAnotherClearExecution — set timeout to 30 seconds
Vladimir Krivosheev [Thu, 29 Sep 2016 08:52:08 +0000 (10:52 +0200)]
testClearAndPrintWhileAnotherClearExecution — set timeout to 30 seconds

5 years agoremove unused code from PlatformDocumentationUtil
Dmitry Batrak [Thu, 29 Sep 2016 07:58:03 +0000 (10:58 +0300)]
remove unused code from PlatformDocumentationUtil

5 years agoIDEA-161410 Quick Documentation: double opening angle brackets are printed as single...
Dmitry Batrak [Thu, 29 Sep 2016 07:57:29 +0000 (10:57 +0300)]
IDEA-161410 Quick Documentation: double opening angle brackets are printed as single brackets

5 years agorun test on unnamed element in editor: choose element at caret in addition to data...
Anna.Kozlova [Thu, 29 Sep 2016 07:34:14 +0000 (09:34 +0200)]
run test on unnamed element in editor: choose element at caret in addition to data context retrieval (IDEA-159387)

5 years agorevert EditorColorsSchemeImpl.setAttributes — doesn't help to fix "save unmodified...
Vladimir Krivosheev [Thu, 29 Sep 2016 07:10:49 +0000 (09:10 +0200)]
revert EditorColorsSchemeImpl.setAttributes — doesn't help to fix "save unmodified" and don't fix "remove unmodified"

5 years agocleanup
Vladimir Krivosheev [Thu, 29 Sep 2016 06:57:36 +0000 (08:57 +0200)]
cleanup

5 years agocreate Element only if need
Vladimir Krivosheev [Thu, 29 Sep 2016 06:16:15 +0000 (08:16 +0200)]
create Element only if need

5 years agoremove deprecated and unused DEFAULT_ERROR_STRIPE_COLOR
Vladimir Krivosheev [Thu, 29 Sep 2016 05:56:24 +0000 (07:56 +0200)]
remove deprecated and unused DEFAULT_ERROR_STRIPE_COLOR

5 years agodo not write unmodified user copy of editor color scheme
Vladimir Krivosheev [Thu, 29 Sep 2016 05:54:43 +0000 (07:54 +0200)]
do not write unmodified user copy of editor color scheme

5 years agocleanup
Vladimir Krivosheev [Wed, 28 Sep 2016 15:47:58 +0000 (17:47 +0200)]
cleanup

5 years ago[vcs-log] fix jumping root label in details appcode/163.5373 clion/163.5376 dbe/163.5378 phpstorm/163.5374 pycharm/163.5370 pycharm/163.5375 rubymine/163.5372 rubymine/163.5377 webstorm/163.5379
Julia Beliaeva [Wed, 28 Sep 2016 23:44:02 +0000 (02:44 +0300)]
[vcs-log] fix jumping root label in details

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Batkovich [Wed, 28 Sep 2016 20:34:13 +0000 (23:34 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoallow plugin script engines
Gregory.Shrago [Wed, 28 Sep 2016 20:10:53 +0000 (23:10 +0300)]
allow plugin script engines

5 years agoremove redundant getName-s for QuickFix inheritors (update 2)
Dmitry Batkovich [Wed, 28 Sep 2016 19:41:05 +0000 (22:41 +0300)]
remove redundant getName-s for QuickFix inheritors (update 2)

5 years agoEA-72276 (assert: PsiWalkingState.elementStarted)
Bas Leijdekkers [Wed, 28 Sep 2016 18:56:42 +0000 (20:56 +0200)]
EA-72276 (assert: PsiWalkingState.elementStarted)

5 years agoIDEA-158500: remove unneeded listeners, which are accessible via MouseAdapter
Sergey Malenkov [Wed, 28 Sep 2016 18:11:09 +0000 (21:11 +0300)]
IDEA-158500: remove unneeded listeners, which are accessible via MouseAdapter

5 years agoEA-89119 (assert: BaseInspectionVisitor.registerErrorAtOffset)
Bas Leijdekkers [Wed, 28 Sep 2016 18:13:19 +0000 (20:13 +0200)]
EA-89119 (assert: BaseInspectionVisitor.registerErrorAtOffset)

5 years agoIG: "the" -> "a" in description
Bas Leijdekkers [Wed, 28 Sep 2016 17:28:32 +0000 (19:28 +0200)]
IG: "the" -> "a" in description

5 years agoremove redundant getName-s for QuickFix inheritors (update)
Dmitry Batkovich [Wed, 28 Sep 2016 18:03:01 +0000 (21:03 +0300)]
remove redundant getName-s for QuickFix inheritors (update)

5 years agoHide all windows should be passed to the IDE in terminal (IDEA-160742)
Dmitry Trofimov [Wed, 28 Sep 2016 17:52:28 +0000 (19:52 +0200)]
Hide all windows should be passed to the IDE  in terminal (IDEA-160742)

5 years agotestdata fixed
Anna.Kozlova [Wed, 28 Sep 2016 17:13:45 +0000 (19:13 +0200)]
testdata fixed

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 28 Sep 2016 17:43:47 +0000 (19:43 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 28 Sep 2016 17:39:21 +0000 (19:39 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoFix test: when sorting import candidates use qualified names as tie breaker
Mikhail Golubev [Wed, 28 Sep 2016 17:06:02 +0000 (20:06 +0300)]
Fix test: when sorting import candidates use qualified names as tie breaker

if lengths of both qualified names are the same. Previously their order
and hence the candidate selected in tests were unpredictable due to
this flaw.

5 years agoPY-18788 Remove redundant test as we first need to improve annotation parsing
Mikhail Golubev [Wed, 28 Sep 2016 16:12:56 +0000 (19:12 +0300)]
PY-18788 Remove redundant test as we first need to improve annotation parsing

Specifically, we need to be able to parse annotations in text form and
recognize those names that require additional import from "typing"
module. Current implementation of PyTypeParser is not capable of that,
since it omits types which names cannot be resolved in the context
surrounding the type hint.

This test was added preemptively, but it's going to take longer than
expected to fix the problem, because we want to implement the
aforementioned improvement in PyTypeParser as part of storing type
annotations in stub files (see PY-18816).

5 years agoremove redundant getName-s for QuickFix inheritors
Dmitry Batkovich [Wed, 28 Sep 2016 17:29:12 +0000 (20:29 +0300)]
remove redundant getName-s for QuickFix inheritors

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 28 Sep 2016 17:24:38 +0000 (19:24 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoIG: detect static contexts correctly in "Local variable hides field" inspection ... rubymine/163.5348
Bas Leijdekkers [Wed, 28 Sep 2016 17:05:00 +0000 (19:05 +0200)]
IG: detect static contexts correctly in "Local variable hides field" inspection (IDEA-161697)

5 years agouse LinkedList instead of Stack
Egor.Ushakov [Wed, 28 Sep 2016 16:46:54 +0000 (19:46 +0300)]
use LinkedList instead of Stack

5 years agoswitch highlight level to warning in tests if default was INFORMATION
Anna.Kozlova [Wed, 28 Sep 2016 16:48:54 +0000 (18:48 +0200)]
switch highlight level to warning in tests if default was INFORMATION

5 years agoIDEA-158500: wheel rotation may be zero during precise scrolling
Sergey Malenkov [Wed, 28 Sep 2016 16:45:22 +0000 (19:45 +0300)]
IDEA-158500: wheel rotation may be zero during precise scrolling
java.awt.event.MouseWheelEvent#getWheelRotation

5 years agojava call completion: remove untouched argument placeholders in a command
peter [Wed, 28 Sep 2016 16:44:23 +0000 (18:44 +0200)]
java call completion: remove untouched argument placeholders in a command

5 years agodisallow calling ModalityState.current() from non-EDT
peter [Wed, 28 Sep 2016 16:36:31 +0000 (18:36 +0200)]
disallow calling ModalityState.current() from non-EDT

5 years agoPY-20946 Fixed: False positive: `__init_subclass__` method first parameter should...
Semyon Proshev [Wed, 28 Sep 2016 16:39:41 +0000 (19:39 +0300)]
PY-20946 Fixed: False positive: `__init_subclass__` method first parameter should be named "self"

Update PyMethodParametersInspection to correctly handle Python 3.6 __init_subclass__ method. This method is implicitly a @classmethod

5 years agoPass full shell path (IDEA-161309)
Dmitry Trofimov [Wed, 28 Sep 2016 15:59:01 +0000 (17:59 +0200)]
Pass full shell path (IDEA-161309)

5 years agojava call completion: remove untouched argument placeholders when template is broken off
peter [Wed, 28 Sep 2016 15:32:12 +0000 (17:32 +0200)]
java call completion: remove untouched argument placeholders when template is broken off

5 years agosm runner: ensure test failure if comparison failure is incomplete, log the problem
Anna.Kozlova [Wed, 28 Sep 2016 15:04:27 +0000 (17:04 +0200)]
sm runner: ensure test failure if comparison failure is incomplete, log the problem

5 years agojunit: ensure test failure name is passed even for too long truncated lines
Anna.Kozlova [Wed, 28 Sep 2016 14:59:36 +0000 (16:59 +0200)]
junit: ensure test failure name is passed even for too long truncated lines

5 years agoinspections: add default implementation of QuickFix.getName (delegate call to QuickFi...
Dmitry Batkovich [Wed, 28 Sep 2016 15:09:43 +0000 (18:09 +0300)]
inspections: add default implementation of QuickFix.getName (delegate call to QuickFix.getFamilyName)

5 years agoRUBY-18604 Remove Docker options from Remote Interpreters configuration appcode/163.5341
irengrig [Wed, 28 Sep 2016 14:51:10 +0000 (16:51 +0200)]
RUBY-18604 Remove Docker options from Remote Interpreters configuration

5 years agoIDEA-153564 @Contract annotation for constructors; report non-trivial always failing...
peter [Wed, 28 Sep 2016 14:46:40 +0000 (16:46 +0200)]
IDEA-153564 @Contract annotation for constructors; report non-trivial always failing calls

5 years agono hyperlink highlighting in empty console (CPP-7682)
peter [Wed, 28 Sep 2016 14:39:11 +0000 (16:39 +0200)]
no hyperlink highlighting in empty console (CPP-7682)

5 years agodisable roaming for package service
Ekaterina Tuzova [Wed, 28 Sep 2016 14:20:00 +0000 (17:20 +0300)]
disable roaming for package service

5 years agoput error message to the log
Ekaterina Tuzova [Wed, 21 Sep 2016 12:50:11 +0000 (15:50 +0300)]
put error message to the log

5 years agoWEB-23497 nodejs "available packages" UI doesn't support high dpi
Sergey Simonchik [Wed, 28 Sep 2016 14:23:50 +0000 (17:23 +0300)]
WEB-23497 nodejs "available packages" UI doesn't support high dpi

5 years ago[Inline Param Name Hints] more ignored common methods
Yaroslav Lepenkin [Wed, 28 Sep 2016 14:08:56 +0000 (17:08 +0300)]
[Inline Param Name Hints] more ignored common methods

5 years ago[hg]: IDEA-161831 use GuiUtils with proper modality state
Nadya Zabrodina [Wed, 28 Sep 2016 14:03:37 +0000 (17:03 +0300)]
[hg]: IDEA-161831 use GuiUtils with proper modality state

5 years agoui: use properly configured UIUtil.getHTMLEditorKit()
Sergey Simonchik [Wed, 28 Sep 2016 14:04:38 +0000 (17:04 +0300)]
ui: use properly configured UIUtil.getHTMLEditorKit()

5 years agodo not remove a breakpoint on alt-click outside of the icon and do not change it...
Egor.Ushakov [Wed, 28 Sep 2016 14:02:54 +0000 (17:02 +0300)]
do not remove a breakpoint on alt-click outside of the icon and do not change it to temporary

5 years ago[Inline Param Name Hints] ... for varargs param shown before param name
Yaroslav Lepenkin [Wed, 28 Sep 2016 12:17:29 +0000 (15:17 +0300)]
[Inline Param Name Hints] ... for varargs param shown before param name

5 years ago[Inline Param Name Hints] hints shown for single parameter methods, except setters...
Yaroslav Lepenkin [Wed, 28 Sep 2016 12:09:33 +0000 (15:09 +0300)]
[Inline Param Name Hints] hints shown for single parameter methods, except setters and well know method names like "println", "get", "contains"...

5 years ago[AbstractBlockWrapper] minor extraction
Yaroslav Lepenkin [Mon, 26 Sep 2016 13:36:44 +0000 (16:36 +0300)]
[AbstractBlockWrapper] minor extraction

5 years agoIDEA-161524 ui: fix column width under HiDPI
Aleksey Pivovarov [Tue, 27 Sep 2016 15:58:57 +0000 (18:58 +0300)]
IDEA-161524 ui: fix column width under HiDPI

* scale constant
* allow resize SCOPE column

follow-up: d9b191e

5 years agoremove breakpoint with keyboard shortcut even with enabled debugger.click.disable... dbe/163.5335
Egor.Ushakov [Wed, 28 Sep 2016 13:40:28 +0000 (16:40 +0300)]
remove breakpoint with keyboard shortcut even with enabled debugger.click.disable.breakpoints

5 years agoIDEA-161632 Maven: with multiple dependency occurrences the order of dependencies...
Vladislav.Soroka [Wed, 28 Sep 2016 13:29:23 +0000 (16:29 +0300)]
IDEA-161632 Maven: with multiple dependency occurrences the order of dependencies is wrong

5 years agoensure test output appears in the console: ensure order: first clear the old output...
Anna.Kozlova [Wed, 28 Sep 2016 13:23:47 +0000 (15:23 +0200)]
ensure test output appears in the console: ensure order: first clear the old output, then print current output

5 years agoabstract class can be interface: switch inspection on without highlighting so the...
Anna.Kozlova [Wed, 28 Sep 2016 10:40:47 +0000 (12:40 +0200)]
abstract class can be interface: switch inspection on without highlighting so the fix would be available (IDEA-161703)

5 years agolambda: collected signatures are already different, no need in second isSubsignature...
Anna.Kozlova [Wed, 28 Sep 2016 10:23:14 +0000 (12:23 +0200)]
lambda: collected signatures are already different, no need in second isSubsignature check

5 years ago[groovy] enables compiler tests
Roman Shevchenko [Wed, 28 Sep 2016 13:08:14 +0000 (15:08 +0200)]
[groovy] enables compiler tests

5 years agoAdd printenv for linux (PY-15085)
Dmitry Trofimov [Wed, 28 Sep 2016 13:02:17 +0000 (15:02 +0200)]
Add printenv for linux (PY-15085)