idea/community.git
5 years agoMerge pull request #491
Aleksey Pivovarov [Wed, 5 Jul 2017 16:08:48 +0000 (19:08 +0300)]
Merge pull request #491
(https://github.com/JetBrains/intellij-community/pull/491)

5 years agoadjust some performance tests to reduce flakiness
peter [Wed, 5 Jul 2017 15:27:39 +0000 (17:27 +0200)]
adjust some performance tests to reduce flakiness

5 years agoRedraw pull icon to make it less similar to pull: IDEA-172874
Kirill Likhodedov [Wed, 5 Jul 2017 15:58:36 +0000 (18:58 +0300)]
Redraw pull icon to make it less similar to pull: IDEA-172874

Green is chosen, because it is different from blue, and because commit is green as well (and push is like commit: changes are submitted).

5 years agoUpdate patch file icons
Kirill Likhodedov [Wed, 5 Jul 2017 15:56:49 +0000 (18:56 +0300)]
Update patch file icons

5 years agoJava: Don't fold too complex expressions when extracting method (IDEA-175221, IDEA...
Pavel Dolgov [Wed, 5 Jul 2017 12:57:54 +0000 (15:57 +0300)]
Java: Don't fold too complex expressions when extracting method (IDEA-175221, IDEA-167255)

5 years ago[vcs-log] diagnostic for illegal argument exception EA-100051
Julia Beliaeva [Wed, 5 Jul 2017 14:41:44 +0000 (17:41 +0300)]
[vcs-log] diagnostic for illegal argument exception EA-100051

5 years ago`UrlClassLoader` deprecation updates
Nicolay Mitropolsky [Sun, 25 Jun 2017 13:20:58 +0000 (16:20 +0300)]
`UrlClassLoader` deprecation updates

5 years agoIDEA-153574 IDEA-174872 vcs: "Compare before with local" action
Aleksey Pivovarov [Tue, 4 Jul 2017 15:58:30 +0000 (18:58 +0300)]
IDEA-153574 IDEA-174872 vcs: "Compare before with local" action

5 years agodiff: update performance tests
Aleksey Pivovarov [Wed, 5 Jul 2017 07:13:01 +0000 (10:13 +0300)]
diff: update performance tests

5 years agodiff: remove IntLCS
Aleksey Pivovarov [Mon, 27 Mar 2017 12:11:38 +0000 (15:11 +0300)]
diff: remove IntLCS

5 years agodiff: use MyersLCS as default LCS algorithm
Aleksey Pivovarov [Mon, 27 Mar 2017 11:56:51 +0000 (14:56 +0300)]
diff: use MyersLCS as default LCS algorithm

5 years agodiff: add auto test for IntLCS
Aleksey Pivovarov [Thu, 6 Aug 2015 12:19:37 +0000 (15:19 +0300)]
diff: add auto test for IntLCS

5 years agodiff: add O(N) memory Myers algorithm implementation from Rivus
Aleksey Pivovarov [Wed, 5 Aug 2015 14:06:33 +0000 (17:06 +0300)]
diff: add O(N) memory Myers algorithm implementation from Rivus

5 years agoIDEA-175445 UI Inspector uses user object instead of node for trees
Kirill Kirichenko [Wed, 5 Jul 2017 14:52:21 +0000 (17:52 +0300)]
IDEA-175445 UI Inspector uses user object instead of node for trees

5 years agodescription for property jdk.regex.soe.workaround appcode/173.708
Maxim.Mossienko [Wed, 5 Jul 2017 15:02:14 +0000 (17:02 +0200)]
description for property jdk.regex.soe.workaround

5 years agoCleanup (uniform assertions) clion/173.707
Roman Shevchenko [Wed, 5 Jul 2017 14:57:32 +0000 (16:57 +0200)]
Cleanup (uniform assertions)

5 years agocleanup
Alexey Kudravtsev [Wed, 5 Jul 2017 14:45:16 +0000 (17:45 +0300)]
cleanup

5 years agoreplaced duplicates of methods from ExceptionUtil
Alexey Kudravtsev [Wed, 5 Jul 2017 14:43:24 +0000 (17:43 +0300)]
replaced duplicates of methods from ExceptionUtil

5 years agoassertion for EA-104109 - NPE: ProjectRootContainerImpl.cacheFiles
Alexey Kudravtsev [Wed, 5 Jul 2017 14:39:30 +0000 (17:39 +0300)]
assertion for  EA-104109 - NPE: ProjectRootContainerImpl.cacheFiles

5 years agoTagir trolled
Alexey Kudravtsev [Wed, 5 Jul 2017 14:37:32 +0000 (17:37 +0300)]
Tagir trolled

5 years agofixed EA-102299 - assert: ApplicationImpl.invokeAndWait: Calling invokeAndWait from...
Alexey Kudravtsev [Wed, 5 Jul 2017 14:29:11 +0000 (17:29 +0300)]
fixed EA-102299 - assert: ApplicationImpl.invokeAndWait: Calling invokeAndWait from read-action leads to possible deadlock.

5 years agoIDEA-169930 IAE at com.intellij.codeInsight.folding.impl.GenericElementSignatureProvi...
Alexey Kudravtsev [Wed, 5 Jul 2017 10:42:44 +0000 (13:42 +0300)]
IDEA-169930 IAE at com.intellij.codeInsight.folding.impl.GenericElementSignatureProvider.getSignature

5 years ago'bootstrap' module migrated to Java 8
nik [Wed, 5 Jul 2017 14:52:37 +0000 (17:52 +0300)]
'bootstrap' module migrated to Java 8

It was left compatible with Java 6 to show a meaningful error message if user tries to start the IDE under Java 6/7. Given that we migrated to Java 8 a long time ago and bundle Java 8 JRE with all our IDEs this seems not actual anymore. 'bootstrap' module heavily depends on 'util' module so we need to perform this migration to migrate 'util' module to Java 8 as well.

5 years agoselection scope: run local tools on scope range only (IDEA-175371)
Anna.Kozlova [Wed, 5 Jul 2017 14:46:29 +0000 (16:46 +0200)]
selection scope: run local tools on scope range only (IDEA-175371)

5 years agodon't run external tools where inspections are disabled (^roman)
Anna.Kozlova [Wed, 5 Jul 2017 14:44:15 +0000 (16:44 +0200)]
don't run external tools where inspections are disabled (^roman)

5 years agolambda constraints: proceed with return expressions (IDEA-175426)
Anna.Kozlova [Wed, 5 Jul 2017 13:44:13 +0000 (15:44 +0200)]
lambda constraints: proceed with return expressions (IDEA-175426)

lambda with formal types won't lead to additional constraint after return type constraint processing, thus it need to be processed additionally

5 years agoIDEA-175168 On-demand renderers - use on-demand toString renderer instead disabling it
Egor.Ushakov [Wed, 5 Jul 2017 14:09:12 +0000 (17:09 +0300)]
IDEA-175168 On-demand renderers - use on-demand toString renderer instead disabling it

5 years ago[ui] highlight usages color should get brighter for darcula, not darker
Julia Beliaeva [Tue, 4 Jul 2017 19:24:51 +0000 (22:24 +0300)]
[ui] highlight usages color should get brighter for darcula, not darker

When cursor is on a variable, its usages are highlighted and gutter marks are shown. But after "Highlight usages in file" action is invoked, those marks become darker. This is fine in light ui themes, but hard to use in dark themes since dark colors are indistinguishable from dark background. So in Darcula color should become brighter, not darker.
This fixes IDEA-168493.

5 years agoUpdate icons: 1) add new Stepik icons 2) add separate icon for Update adaptive course...
Valentina Kiryushkina [Wed, 5 Jul 2017 13:55:03 +0000 (16:55 +0300)]
Update icons: 1) add new Stepik icons 2) add separate icon for Update adaptive course action

5 years agoIDEA-175348 Find in path and editor search: filter list and checkboxes order cosmetics
Vassiliy.Kudryashov [Wed, 5 Jul 2017 13:40:39 +0000 (16:40 +0300)]
IDEA-175348 Find in path and editor search: filter list and checkboxes order cosmetics

5 years agoDon't shift 'dropdown icon' location
Vassiliy.Kudryashov [Wed, 5 Jul 2017 13:15:50 +0000 (16:15 +0300)]
Don't shift 'dropdown icon' location

5 years agoJava: Configure the path of module-info.java in the test for suggested visibility...
Pavel Dolgov [Wed, 5 Jul 2017 12:52:04 +0000 (15:52 +0300)]
Java: Configure the path of module-info.java in the test for suggested visibility inspection (IDEA-169200)

5 years agofix failing edu tests
Liana.Bakradze [Wed, 5 Jul 2017 12:39:34 +0000 (15:39 +0300)]
fix failing edu tests

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 5 Jul 2017 12:32:39 +0000 (15:32 +0300)]
Merge remote-tracking branch 'origin/master'

5 years ago+HighSierra
Konstantin Bulenkov [Wed, 5 Jul 2017 12:31:17 +0000 (15:31 +0300)]
+HighSierra

5 years agoAllow to use different JRE version to bundle in distributions for different platforms
Alexander Zolotov [Tue, 4 Jul 2017 16:31:30 +0000 (19:31 +0300)]
Allow to use different JRE version to bundle in distributions for different platforms

5 years agoDon't hardcode preferred size in .form, it always looks ugly in HiDPI
Vassiliy.Kudryashov [Wed, 5 Jul 2017 12:01:47 +0000 (15:01 +0300)]
Don't hardcode preferred size in .form, it always looks ugly in HiDPI

5 years ago[java] restores API compatibility appcode/173.705
Roman Shevchenko [Wed, 5 Jul 2017 11:57:06 +0000 (13:57 +0200)]
[java] restores API compatibility

5 years agoResolveTestCase: more useful error message. clion/173.704
Maxim Kropotov [Tue, 4 Jul 2017 15:27:16 +0000 (18:27 +0300)]
ResolveTestCase: more useful error message.

I forget which tests expect <caret> or a different marker.

5 years agosimilar to WEB-27460: don't wrap between tag and text in jsx
Maxim Kropotov [Tue, 4 Jul 2017 12:20:29 +0000 (15:20 +0300)]
similar to WEB-27460: don't wrap between tag and text in jsx

JSX whitespace rules mean wrapping will remove space

5 years agoPyCharm Edu: reverted javafx hack
Ekaterina Tuzova [Wed, 5 Jul 2017 11:51:00 +0000 (14:51 +0300)]
PyCharm Edu: reverted javafx hack

5 years agoadd viasual feedback and description for the "drop snippets" action
Eugene Zhuravlev [Wed, 5 Jul 2017 11:40:48 +0000 (13:40 +0200)]
add viasual feedback and description for the "drop snippets" action

5 years agoIDEA-175202 first line is hidden on opening of SQL console file
Dmitry Batrak [Wed, 5 Jul 2017 11:16:38 +0000 (14:16 +0300)]
IDEA-175202 first line is hidden on opening of SQL console file

5 years agodo not specify '--release' compilation option unless it is really needed (IDEA-174642) phpstorm/173.702
Eugene Zhuravlev [Wed, 5 Jul 2017 10:59:14 +0000 (12:59 +0200)]
do not specify '--release' compilation option unless it is really needed (IDEA-174642)

5 years ago[java] annotation completion in module-info files (IDEA-164119)
Roman Shevchenko [Wed, 5 Jul 2017 10:47:17 +0000 (12:47 +0200)]
[java] annotation completion in module-info files (IDEA-164119)

5 years agoPY-17120 Adding new conda repository isn't working
Ekaterina Tuzova [Tue, 4 Jul 2017 15:44:11 +0000 (18:44 +0300)]
PY-17120 Adding new conda repository isn't working

5 years agoPY-23783 Notify user about existed same name conda virtualenv
Ekaterina Tuzova [Tue, 4 Jul 2017 14:37:05 +0000 (17:37 +0300)]
PY-23783 Notify user about existed same name conda virtualenv

5 years agoPY-17739 Conda enviroment not being activated
Ekaterina Tuzova [Tue, 4 Jul 2017 14:15:05 +0000 (17:15 +0300)]
PY-17739 Conda enviroment not being activated

5 years agoPY-18513 Cannot create a new conda environment with Profession Edition 5.0.4
Ekaterina Tuzova [Tue, 4 Jul 2017 11:28:40 +0000 (14:28 +0300)]
PY-18513 Cannot create a new conda environment with Profession Edition 5.0.4

5 years agoPY-18184 Failed to install python packages using conda-script when creating project
Ekaterina Tuzova [Tue, 4 Jul 2017 10:49:41 +0000 (13:49 +0300)]
PY-18184 Failed to install python packages using conda-script when creating project

5 years agoPY-18703 Can no longer mix conda/pip under Conda env
Ekaterina Tuzova [Tue, 4 Jul 2017 10:01:59 +0000 (13:01 +0300)]
PY-18703 Can no longer mix conda/pip under Conda env

5 years agoturn off version checking for jshell-frontend.jar idea/173.701
Eugene Zhuravlev [Wed, 5 Jul 2017 10:37:11 +0000 (12:37 +0200)]
turn off version checking for jshell-frontend.jar

5 years agosupport guava's Lists.transform migration to stream api (IDEA-167163)
Dmitry Batkovich [Wed, 5 Jul 2017 10:18:32 +0000 (13:18 +0300)]
support guava's Lists.transform migration to stream api (IDEA-167163)

5 years agojson schema tree builder, rename control -> visited
Irina.Chernushina [Wed, 5 Jul 2017 10:10:21 +0000 (12:10 +0200)]
json schema tree builder, rename control -> visited

5 years agojson schema tree builder, use pointers to psi elements for visited check
Irina.Chernushina [Wed, 5 Jul 2017 09:47:10 +0000 (11:47 +0200)]
json schema tree builder, use pointers to psi elements for visited check

IDEA-CR-22644 json schema: pass cycle control structure as context of
schema expand

5 years agoa little bit of performance in case of many carets
Alexey Kudravtsev [Wed, 5 Jul 2017 09:32:28 +0000 (12:32 +0300)]
a little bit of performance in case of many carets

5 years agodo not lose exception
Alexey Kudravtsev [Wed, 5 Jul 2017 09:28:47 +0000 (12:28 +0300)]
do not lose exception

(all NPEs inside document processing ended up in "Caret model is in its update process" exception thrown from finishCommand being called in invalid context)

5 years agofolding regressions fixed
Alexey Kudravtsev [Tue, 4 Jul 2017 15:27:49 +0000 (18:27 +0300)]
folding regressions fixed

5 years agocleanup
Alexey Kudravtsev [Tue, 4 Jul 2017 15:24:21 +0000 (18:24 +0300)]
cleanup

5 years agoinspection settings: use property instead of hardcoded literal
Dmitry Batkovich [Wed, 5 Jul 2017 09:35:16 +0000 (12:35 +0300)]
inspection settings: use property instead of hardcoded literal

5 years agoinspection view: report invalid scope on rerun
Dmitry Batkovich [Wed, 5 Jul 2017 09:28:59 +0000 (12:28 +0300)]
inspection view: report invalid scope on rerun

5 years agorun inspection action: add inspection view scope to suggested (IDEA-175101) (properly...
Dmitry Batkovich [Wed, 5 Jul 2017 09:22:40 +0000 (12:22 +0300)]
run inspection action: add inspection view scope to suggested (IDEA-175101) (properly select directory scope)

5 years agoinspection view: rerun action cleanup
Dmitry Batkovich [Wed, 5 Jul 2017 09:08:09 +0000 (12:08 +0300)]
inspection view: rerun action cleanup

5 years agoconfigure expected class version for jshell-frontend.jar
Eugene Zhuravlev [Wed, 5 Jul 2017 09:10:24 +0000 (11:10 +0200)]
configure expected class version for jshell-frontend.jar

5 years agoIDEA-175031 speed up opening font combobox
Dmitry Batrak [Wed, 5 Jul 2017 09:01:02 +0000 (12:01 +0300)]
IDEA-175031 speed up opening font combobox

5 years agorun inspection action: add inspection view scope to suggested (IDEA-175101) (properly... appcode/173.697
Dmitry Batkovich [Wed, 5 Jul 2017 09:01:54 +0000 (12:01 +0300)]
run inspection action: add inspection view scope to suggested (IDEA-175101) (properly select custom scope)

5 years agobundle jshell-protocol in a separate jar clion/173.696
Eugene Zhuravlev [Wed, 5 Jul 2017 08:34:07 +0000 (10:34 +0200)]
bundle jshell-protocol in a separate jar

5 years agoCleanup (explanatory class name)
Roman Shevchenko [Wed, 5 Jul 2017 08:31:31 +0000 (10:31 +0200)]
Cleanup (explanatory class name)

5 years agojunit 5: update parameterized+ inspections to M5
Anna.Kozlova [Wed, 5 Jul 2017 08:25:32 +0000 (10:25 +0200)]
junit 5: update parameterized+ inspections to M5

5 years agoupdate junit 5 to M5
Anna.Kozlova [Wed, 5 Jul 2017 08:24:47 +0000 (10:24 +0200)]
update junit 5 to M5

5 years agoIDEA project configuration: get rid of explicit language level in jshell-frontend...
nik [Wed, 5 Jul 2017 07:57:12 +0000 (10:57 +0300)]
IDEA project configuration: get rid of explicit language level in jshell-frontend module

It's equal to the default project language level anyway.

5 years agoadded license info for "precompiled_jshell-frontend" library
Eugene Zhuravlev [Wed, 5 Jul 2017 07:52:09 +0000 (09:52 +0200)]
added license info for "precompiled_jshell-frontend" library

5 years agoIDEA project configuration: removed unnecessary test dependencies from gradle-tooling...
nik [Wed, 5 Jul 2017 07:13:16 +0000 (10:13 +0300)]
IDEA project configuration: removed unnecessary test dependencies from gradle-tooling-extension module

So it doesn't depend on 'util' module anymore.

5 years ago[file-history] stop suggesting to reset filters in file history when a commit is... pycharm/173.693 pycharm/173.694 webstorm/173.692
Julia Beliaeva [Wed, 5 Jul 2017 02:06:24 +0000 (05:06 +0300)]
[file-history] stop suggesting to reset filters in file history when a commit is not found

EA-102991

5 years ago[file-history] inline getVirtualFile method appcode/173.687 clion/173.690 dbe/173.691 phpstorm/173.686 pycharm/173.685 pycharm/173.688 rubymine/173.689
Julia Beliaeva [Tue, 4 Jul 2017 22:46:14 +0000 (01:46 +0300)]
[file-history] inline getVirtualFile method

5 years ago[file-history] inline getFilePath method
Julia Beliaeva [Tue, 4 Jul 2017 22:45:32 +0000 (01:45 +0300)]
[file-history] inline getFilePath method

5 years ago[file-history] fix FileHistoryColumnWrapper type parameters
Julia Beliaeva [Tue, 4 Jul 2017 22:15:59 +0000 (01:15 +0300)]
[file-history] fix FileHistoryColumnWrapper type parameters

5 years agoIG: new "'String.equals()' called with 'CharSequence' argument" inspection and quick fix
Bas Leijdekkers [Tue, 4 Jul 2017 20:45:18 +0000 (22:45 +0200)]
IG: new "'String.equals()' called with 'CharSequence' argument" inspection and quick fix

5 years agoadded "jshell-protocol" module to layouts
Eugene Zhuravlev [Tue, 4 Jul 2017 20:20:56 +0000 (22:20 +0200)]
added "jshell-protocol" module to layouts

5 years agoWrap module path in span tag with a path attribute (for Upsource)
Dmitry Trofimov [Tue, 4 Jul 2017 19:38:45 +0000 (22:38 +0300)]
Wrap module path in span tag with a path attribute (for Upsource)

5 years agoWrite importable module name instead of path in documentation
Dmitry Trofimov [Tue, 4 Jul 2017 19:35:19 +0000 (22:35 +0300)]
Write importable module name instead of path in documentation

5 years ago[file-history] call Application.isActive from EDT
Julia Beliaeva [Tue, 4 Jul 2017 18:01:58 +0000 (21:01 +0300)]
[file-history] call Application.isActive from EDT

EA-104077

5 years agoWrap module path in span tag with a path attribute (for Upsource)
Dmitry Trofimov [Tue, 4 Jul 2017 19:00:37 +0000 (22:00 +0300)]
Wrap module path in span tag with a path attribute (for Upsource)

5 years agoJava REPL support for JDK9 (project Kulla, JShell) (IDEA-161611)
Eugene Zhuravlev [Tue, 4 Jul 2017 18:11:12 +0000 (20:11 +0200)]
Java REPL support for JDK9 (project Kulla, JShell) (IDEA-161611)

5 years agoUpdate Kotlin to 1.1.3-2
Dmitry Jemerov [Tue, 4 Jul 2017 18:02:15 +0000 (20:02 +0200)]
Update Kotlin to 1.1.3-2

5 years ago[java] module lookup from library/JDK sources
Roman Shevchenko [Tue, 4 Jul 2017 17:57:20 +0000 (19:57 +0200)]
[java] module lookup from library/JDK sources

5 years agoexclude coverage patterns (IDEA-82234)
Anna.Kozlova [Tue, 4 Jul 2017 17:33:39 +0000 (19:33 +0200)]
exclude coverage patterns (IDEA-82234)

5 years agoIDEA-175168 On-demand renderers - use on-demand for filtered out toString enabled...
Egor.Ushakov [Tue, 4 Jul 2017 17:34:32 +0000 (20:34 +0300)]
IDEA-175168 On-demand renderers - use on-demand for filtered out toString enabled types

5 years agoEmmet: support quantifiers after groups clion/173.679
Alexander Zolotov [Tue, 4 Jul 2017 17:26:34 +0000 (20:26 +0300)]
Emmet: support quantifiers after groups

5 years agorelax ContainerUtilTest.testCOWListPerformanceAdd expectations
peter [Tue, 4 Jul 2017 17:03:41 +0000 (19:03 +0200)]
relax ContainerUtilTest.testCOWListPerformanceAdd expectations

5 years agoTests: move stable tests from staging group
Elizaveta Shashkova [Tue, 4 Jul 2017 17:05:25 +0000 (20:05 +0300)]
Tests: move stable tests from staging group

5 years agoTests: wait for temporary breakpoint command when running to line
Elizaveta Shashkova [Tue, 4 Jul 2017 16:54:55 +0000 (19:54 +0300)]
Tests: wait for temporary breakpoint command when running to line

5 years agoPY-22831: Share test detection logic between runner and PyProtectedMemberInspection
Ilya.Kazakevich [Tue, 4 Jul 2017 16:54:13 +0000 (19:54 +0300)]
PY-22831: Share test detection logic between runner and PyProtectedMemberInspection

There should be solid idea of "what is test" and both inspection and test runner should use it.

5 years agoPY-24770: CleanUp and unify test class detection
Ilya.Kazakevich [Mon, 19 Jun 2017 20:38:43 +0000 (23:38 +0300)]
PY-24770: CleanUp and unify test class detection

PythonUnitTestUtil been refactored, see its doc.
Code that is not test-case specific moved to PyClassExt.kt

New logic is the following:
* UnitTest believes any TestCase inheritor is test case, so its method
is test, its parent file is test and so on.
* Other runners think that any "test_" function is test when it is located
on toplevel or in test class (see PythonUnitTestUtil)

5 years agoBuild scripts: run application starters in headless mode idea/173.678
Alexander Zolotov [Tue, 4 Jul 2017 16:28:47 +0000 (19:28 +0300)]
Build scripts: run application starters in headless mode

5 years agoBuild scripts: disable building provided modules
Alexander Zolotov [Tue, 4 Jul 2017 16:25:38 +0000 (19:25 +0300)]
Build scripts: disable building provided modules

5 years agoBundledPluginsLister: create parent directories for target file
Ivan Chirkov [Tue, 4 Jul 2017 15:55:24 +0000 (17:55 +0200)]
BundledPluginsLister: create parent directories for target file

5 years agoIDEA-175031 speed up finding monospaced fonts for font combobox
Dmitry Batrak [Tue, 4 Jul 2017 15:46:36 +0000 (18:46 +0300)]
IDEA-175031 speed up finding monospaced fonts for font combobox

5 years ago[file-history] do not cast TreeNodeOnVcsRevision to VcsFileRevision
Julia Beliaeva [Tue, 4 Jul 2017 15:40:09 +0000 (18:40 +0300)]
[file-history] do not cast TreeNodeOnVcsRevision to VcsFileRevision

5 years agoCleanup (API)
Roman Shevchenko [Tue, 4 Jul 2017 15:36:50 +0000 (17:36 +0200)]
Cleanup (API)