idea/community.git
5 years agojunit/testng configuration providers based on test framework; minimize junit-vs-testn...
Anna.Kozlova [Thu, 2 Mar 2017 09:27:01 +0000 (10:27 +0100)]
junit/testng configuration providers based on test framework; minimize junit-vs-testng duplication

5 years agotests: warning color for ignored tests (IDEA-168745)
Anna.Kozlova [Thu, 2 Mar 2017 08:51:14 +0000 (09:51 +0100)]
tests: warning color for ignored tests (IDEA-168745)

5 years agoextract java 5 migration inspections group
Anna.Kozlova [Thu, 2 Mar 2017 08:42:23 +0000 (09:42 +0100)]
extract java 5 migration inspections group

5 years agoRegExp: enable 2 inspections as no highlight, quick fix only
Bas Leijdekkers [Wed, 1 Mar 2017 20:17:01 +0000 (21:17 +0100)]
RegExp: enable 2 inspections as no highlight, quick fix only

5 years agonew "Missing closing tag" HTML inspection
Bas Leijdekkers [Wed, 1 Mar 2017 12:33:53 +0000 (13:33 +0100)]
new "Missing closing tag" HTML inspection

5 years agoset language to HTML for inspections that only report on HTML
Bas Leijdekkers [Wed, 1 Mar 2017 12:32:05 +0000 (13:32 +0100)]
set language to HTML for inspections that only report on HTML

5 years agomore inspection description cleanup
Bas Leijdekkers [Wed, 1 Mar 2017 10:54:10 +0000 (11:54 +0100)]
more inspection description cleanup

5 years agoIG: remove numbered checkbox descriptions for "String concatenation" inspection
Bas Leijdekkers [Mon, 27 Feb 2017 10:59:17 +0000 (11:59 +0100)]
IG: remove numbered checkbox descriptions for "String concatenation" inspection

5 years agoIG: better checkbox text, less distracting description text
Bas Leijdekkers [Mon, 27 Feb 2017 10:37:09 +0000 (11:37 +0100)]
IG: better checkbox text, less distracting description text

5 years agoEA-97867 - NPE: GotoActionAction$$.getText
Aleksey Pivovarov [Thu, 2 Mar 2017 10:07:37 +0000 (13:07 +0300)]
EA-97867 - NPE: GotoActionAction$$.getText

5 years agoin fixture-based tests dispose things earlier to not treat them as leaks
Alexey Kudravtsev [Thu, 2 Mar 2017 09:50:10 +0000 (12:50 +0300)]
in fixture-based tests dispose things earlier to not treat them as leaks

5 years agoremoved field set to null since super.clearFields() does that
Alexey Kudravtsev [Thu, 2 Mar 2017 09:42:15 +0000 (12:42 +0300)]
removed field set to null since super.clearFields() does that

5 years agoeven more wrong fix for "IncorrectOperationException: UnsafeWeakList is not RandomAcc...
Alexey Kudravtsev [Wed, 1 Mar 2017 17:35:53 +0000 (20:35 +0300)]
even more wrong fix for "IncorrectOperationException: UnsafeWeakList is not RandomAccess" rewritten

5 years agowrong fix for "IncorrectOperationException: UnsafeWeakList is not RandomAccess" rewritten
Alexey Kudravtsev [Wed, 1 Mar 2017 17:32:56 +0000 (20:32 +0300)]
wrong fix for "IncorrectOperationException: UnsafeWeakList is not RandomAccess" rewritten

5 years agoUnnecessaryLocalVariableInspectionBase: check that ReferenceExpression is resolved...
Tagir Valeev [Thu, 2 Mar 2017 09:51:03 +0000 (16:51 +0700)]
UnnecessaryLocalVariableInspectionBase: check that ReferenceExpression is resolved to variable (it was not checked before possibly causing CCE)

5 years agoExtractStreamMapAction: i18n
Tagir Valeev [Thu, 2 Mar 2017 09:34:09 +0000 (16:34 +0700)]
ExtractStreamMapAction: i18n

5 years agoIDEA-168967 Intention to extract local variable created in stream operation lambda...
Tagir Valeev [Thu, 2 Mar 2017 09:24:07 +0000 (16:24 +0700)]
IDEA-168967 Intention to extract local variable created in stream operation lambda to separate stream step.

5 years agoConsoleViewImplTest.testPerformance: dispatch events without reflection and unnecessa... aluyblinsky/swift_simple_macro_support/172.246 appcode/172.248 clion/172.247
peter [Thu, 2 Mar 2017 08:32:14 +0000 (09:32 +0100)]
ConsoleViewImplTest.testPerformance: dispatch events without reflection and unnecessary checks

5 years agojavac ast indices: remove redundant log.info
Dmitry Batkovich [Thu, 2 Mar 2017 08:18:26 +0000 (11:18 +0300)]
javac ast indices: remove redundant log.info

5 years agoperformance tests: print free/total memory and get thread names eagerly
peter [Thu, 2 Mar 2017 08:15:09 +0000 (09:15 +0100)]
performance tests: print free/total memory and get thread names eagerly

5 years agoIntervalTreeImpl: no costly checks in performance tests
peter [Thu, 2 Mar 2017 08:01:04 +0000 (09:01 +0100)]
IntervalTreeImpl: no costly checks in performance tests

5 years agoPatches: corrected behaviour in case there are few files with the same name and check... idea/172.242
Vladimir.Orlov [Thu, 2 Mar 2017 06:25:16 +0000 (09:25 +0300)]
Patches: corrected behaviour in case there are few files with the same name and checksums.

5 years agoIDEA-163786 Inspection "Local variable '...' is redundant" is not correct; other... pycharm/172.240
Tagir Valeev [Thu, 2 Mar 2017 04:18:04 +0000 (11:18 +0700)]
IDEA-163786 Inspection "Local variable '...' is redundant" is not correct; other false-positives fixed in UnnecessaryLocalVariableInspectionBase

5 years agoOptionalAssignedToNullInspection: added assignment test webstorm/172.239
Tagir Valeev [Thu, 2 Mar 2017 02:45:57 +0000 (09:45 +0700)]
OptionalAssignedToNullInspection: added assignment test

5 years agodo not use application level paths, find / replace strings anymore (IDEA-168914) appcode/172.232 clion/172.236 dbe/172.230 idea/172.228 phpstorm/172.235 pycharm/172.231 pycharm/172.233 rubymine/172.234
Maxim.Mossienko [Wed, 1 Mar 2017 22:59:28 +0000 (23:59 +0100)]
do not use application level paths, find / replace strings anymore (IDEA-168914)

5 years agoFix VcsRootProblemNotifierTest on Windows
Kirill Likhodedov [Wed, 1 Mar 2017 22:35:39 +0000 (02:35 +0400)]
Fix VcsRootProblemNotifierTest on Windows

Mappings are stored in system-independent format.

5 years agoIDEA-168924 JDK switcher does not show bundled jdk
Alexey Ushakov [Wed, 1 Mar 2017 19:41:32 +0000 (22:41 +0300)]
IDEA-168924 JDK switcher does not show bundled jdk

Handled new bundled jdk structure

5 years agono debug logging in stress/performance tests by default
peter [Wed, 1 Mar 2017 18:42:21 +0000 (19:42 +0100)]
no debug logging in stress/performance tests by default

5 years agocapture speedup - introduced lazy this object in evaluation context
Egor.Ushakov [Wed, 1 Mar 2017 18:24:42 +0000 (21:24 +0300)]
capture speedup - introduced lazy this object in evaluation context

5 years agomore stability in testManyPsiChangesWithManySmartPointersPerformance
peter [Wed, 1 Mar 2017 18:19:35 +0000 (19:19 +0100)]
more stability in testManyPsiChangesWithManySmartPointersPerformance

5 years agoutil: Remove @Deprecated on Computable.PredefinedValueComputable
Eldar Abusalimov [Wed, 1 Mar 2017 18:17:06 +0000 (21:17 +0300)]
util: Remove @Deprecated on Computable.PredefinedValueComputable

(checked-in accidentally)

5 years agoMerge branch 'eldar/cidr-disasm'
Eldar Abusalimov [Wed, 1 Mar 2017 17:58:39 +0000 (20:58 +0300)]
Merge branch 'eldar/cidr-disasm'

5 years agorun typing/completion outside write action in XmlSyncTagTest
peter [Wed, 1 Mar 2017 17:52:56 +0000 (18:52 +0100)]
run typing/completion outside write action in XmlSyncTagTest

5 years agoUpdate name of plugin to download
Dmitry Jemerov [Wed, 1 Mar 2017 17:43:39 +0000 (18:43 +0100)]
Update name of plugin to download

5 years agomake a couple performance tests non-IO-bound
peter [Wed, 1 Mar 2017 17:40:50 +0000 (18:40 +0100)]
make a couple performance tests non-IO-bound

5 years agominor changes after review
Sergey Malenkov [Wed, 1 Mar 2017 17:19:34 +0000 (20:19 +0300)]
minor changes after review

5 years agocapture speedup - cache evaluators clion/172.280
Egor.Ushakov [Wed, 1 Mar 2017 16:58:27 +0000 (19:58 +0300)]
capture speedup - cache evaluators

5 years agocapture speedup - do not compute variables names for frames w/o debug info
Egor.Ushakov [Wed, 1 Mar 2017 15:45:23 +0000 (18:45 +0300)]
capture speedup - do not compute variables names for frames w/o debug info

5 years agoDBE: DB2 icon DBE-2778
Alexander Kass [Tue, 28 Feb 2017 15:22:32 +0000 (18:22 +0300)]
DBE: DB2 icon DBE-2778

5 years agoDBE: derby icon DBE-2778
Alexander Kass [Tue, 28 Feb 2017 12:06:33 +0000 (15:06 +0300)]
DBE: derby icon DBE-2778

5 years agoRevert "PHP Runtime"
Artem Khvastunov [Tue, 28 Feb 2017 10:21:58 +0000 (11:21 +0100)]
Revert "PHP Runtime"

This reverts commit 7435c68baaaa315f7c5bc22d4c98f51e285297db.

5 years agoMerge remote-tracking branch 'origin/master'
Vitaliy.Bibaev [Wed, 1 Mar 2017 16:37:33 +0000 (19:37 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agocleanup and fix warnings
Konstantin Bulenkov [Wed, 1 Mar 2017 16:27:38 +0000 (17:27 +0100)]
cleanup and fix warnings

5 years ago+UIUtil.isUnderDefaultMacTheme()
Konstantin Bulenkov [Wed, 1 Mar 2017 16:27:09 +0000 (17:27 +0100)]
+UIUtil.isUnderDefaultMacTheme()

5 years agoMerge branch 'do-not-disable-mv-icon'
Vitaliy.Bibaev [Wed, 1 Mar 2017 16:31:12 +0000 (19:31 +0300)]
Merge branch 'do-not-disable-mv-icon'

5 years agoDo not disable a Memory view icon when the debug session stopped
Vitaliy.Bibaev [Wed, 1 Mar 2017 16:27:43 +0000 (19:27 +0300)]
Do not disable a Memory view icon when the debug session stopped

5 years agoIDEA-168919 Deadlock on startup pycharm/172.226
Konstantin Aleev [Wed, 1 Mar 2017 16:16:54 +0000 (17:16 +0100)]
IDEA-168919 Deadlock on startup

5 years agoIncorrectOperationException: UnsafeWeakList is not RandomAccess
Alexey Kudravtsev [Wed, 1 Mar 2017 16:00:32 +0000 (19:00 +0300)]
IncorrectOperationException: UnsafeWeakList is not RandomAccess

5 years agoPossible fixes to PY-22875, PY-22863, PY-22860 (wrong data in PythonPathCache)
Ilya.Kazakevich [Wed, 1 Mar 2017 15:51:29 +0000 (18:51 +0300)]
Possible fixes to PY-22875, PY-22863, PY-22860 (wrong data in PythonPathCache)
 * PythonPathCache managed to return nulls for collected soft references

5 years agoFindPopupPanel: small refactoring
Vassiliy.Kudryashov [Wed, 1 Mar 2017 15:37:50 +0000 (18:37 +0300)]
FindPopupPanel: small refactoring

5 years agoEA-97992 - assert: VirtualFile.setBinaryContent (following IDEA-CR-18787)
Dmitry Batrak [Wed, 1 Mar 2017 15:35:12 +0000 (18:35 +0300)]
EA-97992 - assert: VirtualFile.setBinaryContent (following IDEA-CR-18787)

5 years agoIDEA-168864 Run Configuration - dirty state is not changed after adding any action...
Vassiliy.Kudryashov [Wed, 1 Mar 2017 15:27:54 +0000 (18:27 +0300)]
IDEA-168864 Run Configuration - dirty state is not changed after adding any action to Before launch section

5 years agoEA-97992 - assert: VirtualFile.setBinaryContent
Dmitry Batrak [Wed, 1 Mar 2017 15:23:44 +0000 (18:23 +0300)]
EA-97992 - assert: VirtualFile.setBinaryContent

5 years agodisable "call always fails according to method contract" in tests (IDEA-168613)
peter [Wed, 1 Mar 2017 14:58:22 +0000 (15:58 +0100)]
disable "call always fails according to method contract" in tests (IDEA-168613)

1. test might check precisely this failure
2. even if not, the test will fail anyway and the mistake will be obvious quite soon

5 years agoFix NPE in DimensionService.keyPair appcode/172.220
Anton Tarasov [Wed, 1 Mar 2017 14:55:24 +0000 (17:55 +0300)]
Fix NPE in DimensionService.keyPair

5 years agocapture speedup - no need to keep param values clion/172.219
Egor.Ushakov [Wed, 1 Mar 2017 14:30:20 +0000 (17:30 +0300)]
capture speedup - no need to keep param values

5 years agoAvoid null icon for before run task
Vassiliy.Kudryashov [Wed, 1 Mar 2017 14:45:21 +0000 (17:45 +0300)]
Avoid null icon for before run task

5 years agodon't commit in next/prev parameter action update (EA-97963 - assert: PsiDocumentMana...
peter [Wed, 1 Mar 2017 14:39:10 +0000 (15:39 +0100)]
don't commit in next/prev parameter action update (EA-97963 - assert: PsiDocumentManagerBase.commitAllDocuments)

5 years ago[ignored]: fix thread safety by replacing Matcher.reset to new instance appcode/172.218
Nadya Zabrodina [Wed, 1 Mar 2017 14:24:02 +0000 (17:24 +0300)]
[ignored]: fix thread safety by replacing Matcher.reset to new instance

* fix StringIndexOutOfBoundsException from (CPP-8843);
* remember compiled Pattern instead of Matcher;
* problem was introduced in c1180cfb7f89

5 years agowhich file returns invalid context? (EA-85729 - PIEAE: PsiInvalidElementAccessExcepti...
peter [Wed, 1 Mar 2017 13:44:03 +0000 (14:44 +0100)]
which file returns invalid context? (EA-85729 - PIEAE: PsiInvalidElementAccessException.createByNode)

5 years agono GradleUrlProvider getData in dumb mode (EA-97916 - INRE: FileBasedIndexImpl.handle...
peter [Wed, 1 Mar 2017 13:10:48 +0000 (14:10 +0100)]
no GradleUrlProvider getData in dumb mode (EA-97916 - INRE: FileBasedIndexImpl.handleDumbMode)

5 years agorestore dfa test data
peter [Mon, 27 Feb 2017 16:17:44 +0000 (17:17 +0100)]
restore dfa test data

5 years agocleanup
Alexey Kudravtsev [Wed, 1 Mar 2017 14:25:40 +0000 (17:25 +0300)]
cleanup

5 years agothe periodic thread transferer dies sometimes with rejected execution exception
Alexey Kudravtsev [Wed, 1 Mar 2017 14:13:02 +0000 (17:13 +0300)]
the periodic thread transferer dies sometimes with rejected execution exception

5 years agoin fixture-based tests dispose things earlier to not treat them as leaks
Alexey Kudravtsev [Wed, 1 Mar 2017 14:08:06 +0000 (17:08 +0300)]
in fixture-based tests dispose things earlier to not treat them as leaks

5 years agoMerge remote-tracking branch 'origin/master'
Alexey Utkin [Wed, 1 Mar 2017 14:10:24 +0000 (17:10 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agogradle: support qualified module names
Vladislav.Soroka [Wed, 1 Mar 2017 13:55:57 +0000 (16:55 +0300)]
gradle: support qualified module names

5 years agoIDEA-168930 Rename Capture to Async Stacktraces
Egor.Ushakov [Wed, 1 Mar 2017 13:53:27 +0000 (16:53 +0300)]
IDEA-168930 Rename Capture to Async Stacktraces

5 years agofix TypeScriptConfigCompletionTest
irengrig [Wed, 1 Mar 2017 13:45:36 +0000 (14:45 +0100)]
fix TypeScriptConfigCompletionTest

5 years agouse closeAllFiles to please Peter in IDEA-CR-18686
Alexey Kudravtsev [Wed, 1 Mar 2017 13:35:52 +0000 (16:35 +0300)]
use closeAllFiles to please Peter in IDEA-CR-18686

5 years agoMerge remote-tracking branch 'origin/traff/python-facet'
Alexey Utkin [Wed, 1 Mar 2017 13:32:24 +0000 (16:32 +0300)]
Merge remote-tracking branch 'origin/traff/python-facet'

5 years agoallow non-programmers to test their updates.xml changes
Gregory.Shrago [Wed, 1 Mar 2017 13:15:32 +0000 (16:15 +0300)]
allow non-programmers to test their updates.xml changes

5 years agoEA-92696 - NPE: SwingUtilities.getWindowAncestor
Denis Fokin [Wed, 1 Mar 2017 13:16:36 +0000 (16:16 +0300)]
EA-92696 - NPE: SwingUtilities.getWindowAncestor

5 years agosupport SharedIndicesData.ourFileSharedIndicesEnabled, forward index becomes nullable...
Maxim.Mossienko [Wed, 1 Mar 2017 13:00:41 +0000 (14:00 +0100)]
support SharedIndicesData.ourFileSharedIndicesEnabled, forward index becomes nullable for SharedMapBasedForwardIndex

5 years agoto avoid extra trace, count only nontrivial incremental changes
Maxim.Mossienko [Wed, 1 Mar 2017 12:45:00 +0000 (13:45 +0100)]
to avoid extra trace, count only nontrivial incremental changes

5 years agotestFramework: (testing) Fix type parameters in assertThrows()
Eldar Abusalimov [Wed, 1 Mar 2017 11:01:00 +0000 (14:01 +0300)]
testFramework: (testing) Fix type parameters in assertThrows()

Follows-up: IDEA-CR-18741 testFramework: (testing) Add UsefulTestCase.assertThrows()

5 years agotestFramework: (testing) Generify UsefulTestCase.assertThrows()
Eldar Abusalimov [Wed, 1 Mar 2017 01:25:24 +0000 (04:25 +0300)]
testFramework: (testing) Generify UsefulTestCase.assertThrows()

Make it throw T - the same exception type as the tested runnable block
declares.

5 years agotestFramework: (testing) Add UsefulTestCase.assertThrows()
Eldar Abusalimov [Wed, 1 Mar 2017 00:50:06 +0000 (03:50 +0300)]
testFramework: (testing) Add UsefulTestCase.assertThrows()

5 years agoutil: Deprecate Computable.*CachedComputable in favor of *LazyValue
Eldar Abusalimov [Tue, 28 Feb 2017 10:54:18 +0000 (13:54 +0300)]
util: Deprecate Computable.*CachedComputable in favor of *LazyValue

5 years agoutil: recursion: (cleanup) Fix deprecation warnings due to JavaDoc links
Eldar Abusalimov [Tue, 28 Feb 2017 10:10:10 +0000 (13:10 +0300)]
util: recursion: (cleanup) Fix deprecation warnings due to JavaDoc links

5 years agoutil: Add factory methods for delegating to another Computable
Eldar Abusalimov [Mon, 20 Feb 2017 17:10:15 +0000 (20:10 +0300)]
util: Add factory methods for delegating to another Computable

Useful in conjunction with Java 8 method references.

5 years agoutil: Implement cached Computable of appropriate nullity
Eldar Abusalimov [Mon, 20 Feb 2017 16:47:34 +0000 (19:47 +0300)]
util: Implement cached Computable of appropriate nullity

5 years agoutil: (minor) Suppress unchecked cast in NullableCachedComputable
Eldar Abusalimov [Mon, 20 Feb 2017 16:16:12 +0000 (19:16 +0300)]
util: (minor) Suppress unchecked cast in NullableCachedComputable

5 years agoUpdated maximum required version of Kotlin so that it's higher than the 1.1 release...
Dmitry Jemerov [Wed, 1 Mar 2017 12:56:30 +0000 (13:56 +0100)]
Updated maximum required version of Kotlin so that it's higher than the 1.1 release build number

5 years agoFIXED IDEA-124868 @formatter:off/@formatter:on markers are not respected in injected...
Rustam Vishnyakov [Wed, 1 Mar 2017 12:24:00 +0000 (15:24 +0300)]
FIXED IDEA-124868 @formatter:off/@formatter:on markers are not respected in injected code

5 years ago EA-97516 - NPE: ProjectJdkConfigurable.reloadModel
Denis Fokin [Wed, 1 Mar 2017 12:25:25 +0000 (15:25 +0300)]
 EA-97516 - NPE: ProjectJdkConfigurable.reloadModel

5 years agoEA-97628 - AIOOBE: FocusWatcher.installImpl
Denis Fokin [Wed, 1 Mar 2017 12:23:03 +0000 (15:23 +0300)]
EA-97628 - AIOOBE: FocusWatcher.installImpl

5 years agoEA-97869 - NPE: EditorTextField.f
Denis Fokin [Wed, 1 Mar 2017 12:09:38 +0000 (15:09 +0300)]
EA-97869 - NPE: EditorTextField.f

5 years ago[param hints] not-nullify
Yaroslav Lepenkin [Wed, 1 Mar 2017 12:06:13 +0000 (15:06 +0300)]
[param hints] not-nullify

5 years ago[param hints] since hint presentation delimeter can be changed, check whole text...
Yaroslav Lepenkin [Wed, 1 Mar 2017 12:03:27 +0000 (15:03 +0300)]
[param hints] since hint presentation delimeter can be changed, check whole text in tests

5 years ago[param hints] prettify test error output appcode/172.214 clion/172.215
Yaroslav Lepenkin [Wed, 1 Mar 2017 11:50:45 +0000 (14:50 +0300)]
[param hints] prettify test error output

5 years ago[param hints] blacklisted couple more methods (IDEA-168293)
Yaroslav Lepenkin [Wed, 1 Mar 2017 11:31:43 +0000 (14:31 +0300)]
[param hints] blacklisted couple more methods (IDEA-168293)

5 years agoIDEA-168857 Find usages preview throws exception: java.lang.Throwable
Alexey Kudravtsev [Wed, 1 Mar 2017 11:27:32 +0000 (14:27 +0300)]
IDEA-168857 Find usages preview throws exception: java.lang.Throwable

5 years agoIDEA-134831 IDEA Groovy support in the editor does not work correctly
alexey.afanasiev [Wed, 1 Mar 2017 11:22:11 +0000 (14:22 +0300)]
IDEA-134831 IDEA Groovy support in the editor does not work correctly

5 years agofade out inactive editor tabs appcode/172.211
Konstantin Bulenkov [Wed, 1 Mar 2017 11:24:04 +0000 (12:24 +0100)]
fade out inactive editor tabs

5 years agoPY-22567 Remote Jupyter Notebook: port out of range - IllegalArgumentException exception
Valentina Kiryushkina [Wed, 1 Mar 2017 11:16:49 +0000 (14:16 +0300)]
PY-22567 Remote Jupyter Notebook: port out of range - IllegalArgumentException exception

5 years agoIDEA-168910 Git Branches popup is badly scaled when switching to JRE-HiDPI mode
Anton Tarasov [Wed, 1 Mar 2017 11:11:08 +0000 (14:11 +0300)]
IDEA-168910 Git Branches popup is badly scaled when switching to JRE-HiDPI mode

5 years agotestFramework: (testing) Fix type parameters in assertThrows()
Eldar Abusalimov [Wed, 1 Mar 2017 11:01:00 +0000 (14:01 +0300)]
testFramework: (testing) Fix type parameters in assertThrows()

Follows-up: IDEA-CR-18741 testFramework: (testing) Add UsefulTestCase.assertThrows()

5 years agoproject leaks in tests phpstorm/172.210
Alexey Kudravtsev [Wed, 1 Mar 2017 10:37:11 +0000 (13:37 +0300)]
project leaks in tests

5 years agoOfflineInspection test fix
Alexey Kudravtsev [Wed, 1 Mar 2017 10:18:41 +0000 (13:18 +0300)]
OfflineInspection test fix