idea/community.git
4 years agoFix conda activation on Windows (PY-21923)
Dmitry Trofimov [Wed, 14 Dec 2016 15:46:57 +0000 (16:46 +0100)]
Fix conda activation on Windows (PY-21923)

4 years agohtml tags completion in a2 inline template
Dennis Ushakov [Thu, 15 Dec 2016 13:20:35 +0000 (16:20 +0300)]
html tags completion in a2 inline template

4 years agojavac ast indices: prevent npe while recompilation of single file
Dmitry Batkovich [Thu, 15 Dec 2016 13:17:23 +0000 (16:17 +0300)]
javac ast indices: prevent npe while recompilation of single file

4 years agoPY-21447 Jupyter Notebook fails to properly handle IPython.display Markdown
Ekaterina Tuzova [Thu, 15 Dec 2016 13:12:35 +0000 (16:12 +0300)]
PY-21447 Jupyter Notebook fails to properly handle IPython.display Markdown

load remote mathjax because it can't resolve it's dependencies inside jar

4 years agogradle: tasks completion
Vladislav.Soroka [Thu, 15 Dec 2016 13:00:39 +0000 (16:00 +0300)]
gradle: tasks completion

4 years agoparallel modules loading
Dmitry Avdeev [Thu, 15 Dec 2016 12:42:10 +0000 (15:42 +0300)]
parallel modules loading

4 years agocleanup
Dmitry Avdeev [Tue, 13 Dec 2016 16:35:55 +0000 (19:35 +0300)]
cleanup

4 years agojavac ast indices: do not request for rebuild when only some part of project is under...
Dmitry Batkovich [Thu, 15 Dec 2016 12:32:13 +0000 (15:32 +0300)]
javac ast indices: do not request for rebuild when only some part of project is under compilation

4 years agogradle: properties completion (IDEA-126618)
Vladislav.Soroka [Thu, 15 Dec 2016 12:15:48 +0000 (15:15 +0300)]
gradle: properties completion (IDEA-126618)

4 years agovcs: remove dead code
Aleksey Pivovarov [Thu, 15 Dec 2016 12:09:24 +0000 (15:09 +0300)]
vcs: remove dead code

4 years agoremove annoying EC notification
Dennis Ushakov [Wed, 14 Dec 2016 13:50:46 +0000 (16:50 +0300)]
remove annoying EC notification

4 years agoIDEA-163336 use project disposable instead of application one if it exists
Sergey Malenkov [Thu, 15 Dec 2016 11:50:17 +0000 (14:50 +0300)]
IDEA-163336 use project disposable instead of application one if it exists

4 years agofix compilation appcode/171.1729 clion/171.1728
Vladimir Krivosheev [Thu, 15 Dec 2016 11:48:17 +0000 (12:48 +0100)]
fix compilation

4 years agospeed up save — track quicklist scheme state
Vladimir Krivosheev [Thu, 15 Dec 2016 10:47:33 +0000 (11:47 +0100)]
speed up save — track quicklist scheme state

4 years agospeed up save — track keymap scheme state
Vladimir Krivosheev [Thu, 15 Dec 2016 10:38:12 +0000 (11:38 +0100)]
speed up save — track keymap scheme state

4 years agoRestart Run Profile: check if project is not disposed
Vassiliy.Kudryashov [Thu, 15 Dec 2016 11:14:12 +0000 (14:14 +0300)]
Restart Run Profile: check if project is not disposed

4 years agoIDEA-163336 FileTextField memory leak phpstorm/171.1727
Sergey Malenkov [Thu, 15 Dec 2016 10:35:26 +0000 (13:35 +0300)]
IDEA-163336 FileTextField memory leak

4 years agoextract base class and create disposable tree
Sergey Malenkov [Thu, 8 Dec 2016 12:21:17 +0000 (15:21 +0300)]
extract base class and create disposable tree

4 years agoFix IDEA-165466 Stream API migration: automatically simplify emptyList().stream(...
Tagir Valeev [Thu, 15 Dec 2016 10:11:57 +0000 (17:11 +0700)]
Fix IDEA-165466 Stream API migration: automatically simplify emptyList().stream() to empty()
SimplifyStreamApiCallChainsInspection refactoring: simplifyCollectionStreamCalls extracted;

4 years agoEDU-794 Disable stepik settings if no educational projects are opened rubymine/171.1726
Valentina Kiryushkina [Thu, 15 Dec 2016 10:02:18 +0000 (13:02 +0300)]
EDU-794 Disable stepik settings if no educational projects are opened

4 years agoconsole: speed optimisation
Alexey Kudravtsev [Wed, 14 Dec 2016 10:52:49 +0000 (13:52 +0300)]
console: speed optimisation

4 years agocleanup
Alexey Kudravtsev [Wed, 14 Dec 2016 10:05:22 +0000 (13:05 +0300)]
cleanup

4 years agoDisable pyqt tests on windows until the conda package update
Elizaveta Shashkova [Thu, 15 Dec 2016 09:08:32 +0000 (12:08 +0300)]
Disable pyqt tests on windows until the conda package update

4 years agoSimplifyStreamApiCallChainsInspection#handleToArray simplified via getQualifierMethodCall appcode/171.1725 clion/171.1724
Tagir Valeev [Thu, 15 Dec 2016 08:47:35 +0000 (15:47 +0700)]
SimplifyStreamApiCallChainsInspection#handleToArray simplified via getQualifierMethodCall

4 years agoIDEA-165395 Replace stream API with loop: l.stream().toArray(String[]::new)
Tagir Valeev [Thu, 15 Dec 2016 08:36:32 +0000 (15:36 +0700)]
IDEA-165395 Replace stream API with loop: l.stream().toArray(String[]::new)

4 years agodownload_kotlin script corrected to properly download latest Kotlin builds
nik [Thu, 15 Dec 2016 08:36:34 +0000 (11:36 +0300)]
download_kotlin script corrected to properly download latest Kotlin builds

4 years agoEDU-800 Broken adaptive course creation
Ekaterina Tuzova [Thu, 15 Dec 2016 08:24:36 +0000 (11:24 +0300)]
EDU-800 Broken adaptive course creation

4 years agoPsiUtil#isIncrementDecrementOperation: loosen argument contract to nullable;
Tagir Valeev [Thu, 15 Dec 2016 07:15:02 +0000 (14:15 +0700)]
PsiUtil#isIncrementDecrementOperation: loosen argument contract to nullable;
RefactoringUtil#isPlusPlusOrMinusMinus is replaced everywhere with PsiUtil#isIncrementDecrementOperation (IDEA-CR-16815)

4 years agoLambdaGenerationUtil: disable if expression is accessed for writing pycharm/171.1722 pycharm/171.1723
Tagir Valeev [Thu, 15 Dec 2016 04:51:58 +0000 (11:51 +0700)]
LambdaGenerationUtil: disable if expression is accessed for writing

Fixes IDEA-165482 Optional.isPresent suggests to replace the code which assigns the variable defined outside

4 years agoReduced copy-paste logic to check PsiElement being increment/decrement or used in...
Tagir Valeev [Thu, 15 Dec 2016 04:14:07 +0000 (11:14 +0700)]
Reduced copy-paste logic to check PsiElement being increment/decrement or used in write

4 years agoIDEA-165397 Replace stream API with loop: support lambdas as toArray argument webstorm/171.1721
Tagir Valeev [Thu, 15 Dec 2016 02:49:50 +0000 (09:49 +0700)]
IDEA-165397 Replace stream API with loop: support lambdas as toArray argument

4 years agoTox test verbosity improved appcode/171.1719 clion/171.1715 dbe/171.1717 idea/171.1713 phpstorm/171.1720 pycharm/171.1712 pycharm/171.1718 rubymine/171.1714
Ilya.Kazakevich [Wed, 14 Dec 2016 22:55:10 +0000 (01:55 +0300)]
Tox test verbosity improved

4 years ago[groovy] remove duplicate code
Daniil Ovchinnikov [Wed, 14 Dec 2016 19:09:21 +0000 (22:09 +0300)]
[groovy] remove duplicate code

4 years ago[groovy] get rid of GrTopLevelDefinition, organize GrTopStatement hierarchy
Daniil Ovchinnikov [Wed, 14 Dec 2016 19:04:14 +0000 (22:04 +0300)]
[groovy] get rid of GrTopLevelDefinition, organize GrTopStatement hierarchy

4 years agoCompilerReferencesFindUsagesTest add enable/disable of the service
Dmitry Batkovich [Wed, 14 Dec 2016 19:31:03 +0000 (22:31 +0300)]
CompilerReferencesFindUsagesTest add enable/disable of the service

4 years agojavac indices: enable by default & disable in tests, again
Dmitry Batkovich [Wed, 14 Dec 2016 19:27:15 +0000 (22:27 +0300)]
javac indices: enable by default & disable in tests, again

4 years agorevert javac indices: enable by default
Dmitry Batkovich [Wed, 14 Dec 2016 18:42:30 +0000 (21:42 +0300)]
revert javac indices: enable by default

4 years agodo not fail compilation because of problems in custom extensions;
Eugene Zhuravlev [Wed, 14 Dec 2016 18:14:24 +0000 (19:14 +0100)]
do not fail compilation because of problems in custom extensions;
exceptions from custom extensions are now logged

4 years agojavac indices: enable by default
Dmitry Batkovich [Wed, 14 Dec 2016 18:12:18 +0000 (21:12 +0300)]
javac indices: enable by default

4 years agoCollectionAddAllCanBeReplacedWithConstructorInspection: replace log assertions with...
Dmitry Batkovich [Mon, 5 Dec 2016 16:20:08 +0000 (19:20 +0300)]
CollectionAddAllCanBeReplacedWithConstructorInspection: replace log assertions with conditional if statements (EA-92609)

4 years agoNPE: AddVariableInitializerFix.runAssignmentTemplate EA-92483
Dmitry Batkovich [Mon, 5 Dec 2016 16:16:51 +0000 (19:16 +0300)]
NPE: AddVariableInitializerFix.runAssignmentTemplate EA-92483

4 years ago[groovy] completely get gid of byShape flag
Daniil Ovchinnikov [Wed, 14 Dec 2016 17:58:26 +0000 (20:58 +0300)]
[groovy] completely get gid of byShape flag

4 years agohighlight inaccessible array component type (IDEA-165434)
Anna.Kozlova [Wed, 14 Dec 2016 16:44:26 +0000 (17:44 +0100)]
highlight inaccessible array component type (IDEA-165434)

4 years agosupport navigation in stacktraces where class fqns are prefixed with module name...
Anna.Kozlova [Wed, 14 Dec 2016 14:25:55 +0000 (15:25 +0100)]
support navigation in stacktraces where class fqns are prefixed with module name (IDEA-165456)

4 years ago[groovy] fix expection on super reference in trait without supertypes (EA-74829)
Daniil Ovchinnikov [Wed, 14 Dec 2016 16:30:34 +0000 (19:30 +0300)]
[groovy] fix expection on super reference in trait without supertypes (EA-74829)

4 years agoIDEA-157763 Settings repository for IDE: new UI (after review)
Alexander Lobas [Wed, 14 Dec 2016 15:52:33 +0000 (18:52 +0300)]
IDEA-157763 Settings repository for IDE: new UI (after review)

4 years agoCleanup (test name)
Roman Shevchenko [Wed, 14 Dec 2016 15:54:26 +0000 (16:54 +0100)]
Cleanup (test name)

4 years ago[platform] restores and documents update channel selection behavior
Roman Shevchenko [Wed, 14 Dec 2016 15:31:23 +0000 (16:31 +0100)]
[platform] restores and documents update channel selection behavior

A previous fix made the channel selection incompatible with 2016.2; this commit restores compatibility and makes the result less dependent on the order of channels.

4 years agoRegexpFilter: don't treat "error:/some/path" as a Windows "r:/" path
peter [Wed, 14 Dec 2016 15:25:45 +0000 (16:25 +0100)]
RegexpFilter: don't treat "error:/some/path" as a Windows "r:/" path

4 years agofix according IDEA-CR-16798 for issue PY-21905
Ekaterina Tuzova [Wed, 14 Dec 2016 15:14:23 +0000 (18:14 +0300)]
fix according IDEA-CR-16798 for issue PY-21905

4 years agosmoother ProgressDialog moving when EDT is not very responsive appcode/171.1710 clion/171.1709 rubymine/171.1711
peter [Wed, 14 Dec 2016 14:40:37 +0000 (15:40 +0100)]
smoother ProgressDialog moving when EDT is not very responsive

4 years agoDBE: Registry property for limit on generic dialect phpstorm/171.1708
dmitriy.tseyler [Wed, 14 Dec 2016 14:07:21 +0000 (17:07 +0300)]
DBE: Registry property for limit on generic dialect

4 years agoParametersListUtil — accepts CharSequence
Vladimir Krivosheev [Wed, 14 Dec 2016 13:48:34 +0000 (14:48 +0100)]
ParametersListUtil — accepts CharSequence

4 years agoui: fix PasswordField rendering under HiDPI
Aleksey Pivovarov [Wed, 14 Dec 2016 13:15:40 +0000 (16:15 +0300)]
ui: fix PasswordField rendering under HiDPI

follow-up: 393c155

4 years agogradle: use proper delegate strategy
Vladislav.Soroka [Wed, 14 Dec 2016 13:45:11 +0000 (16:45 +0300)]
gradle: use proper delegate strategy

4 years agoRestore the ability to add maya interpreter to PyCharm (PY-21723)
Dmitry Trofimov [Wed, 14 Dec 2016 13:29:48 +0000 (14:29 +0100)]
Restore the ability to add maya interpreter to PyCharm (PY-21723)

4 years agoA separate option to keep trailing spaces on caret line, IDEA-164345 [IDEA-CR-16664]
Rustam Vishnyakov [Wed, 14 Dec 2016 12:52:57 +0000 (15:52 +0300)]
A separate option to keep trailing spaces on caret line, IDEA-164345 [IDEA-CR-16664]

4 years agofix excludes
Eugene Zhuravlev [Wed, 14 Dec 2016 13:29:33 +0000 (14:29 +0100)]
fix excludes

4 years agogradle: resolve domain objects within domain container closure as GrLightField to...
Vladislav.Soroka [Wed, 14 Dec 2016 13:04:27 +0000 (16:04 +0300)]
gradle: resolve domain objects within domain container closure as GrLightField to have such candidates with less priority as resolved methods, see org.jetbrains.plugins.groovy.lang.resolve.processors.GroovyResolverProcessorImpl.getCandidates

4 years agoinclude jps-builders-6 artifact in layouts
Eugene Zhuravlev [Wed, 14 Dec 2016 13:00:24 +0000 (14:00 +0100)]
include jps-builders-6 artifact in layouts

4 years agoextract jps-builders-6 module with java6 runtime compatible code
Eugene Zhuravlev [Wed, 14 Dec 2016 12:22:50 +0000 (13:22 +0100)]
extract jps-builders-6 module with java6 runtime compatible code

4 years agoadd caret movements to editor stress test appcode/171.1705 clion/171.1704 dbe/171.1706 idea/171.1707 webstorm/171.1703
Dmitry Batrak [Wed, 14 Dec 2016 11:36:37 +0000 (14:36 +0300)]
add caret movements to editor stress test

4 years agocleanup in DeleteAction
Dmitry Batrak [Tue, 13 Dec 2016 12:20:09 +0000 (15:20 +0300)]
cleanup in DeleteAction

4 years agoavoid caret/selection boundaries/fold region boundaries/inlays getting inside surroga...
Dmitry Batrak [Wed, 14 Dec 2016 09:53:47 +0000 (12:53 +0300)]
avoid caret/selection boundaries/fold region boundaries/inlays getting inside surrogate pairs (for IDEA-72989)

4 years agoIDEA-72989 IDE Editor — Buggy Supplementary Plane Unicode Symbol Support
Dmitry Batrak [Wed, 7 Dec 2016 10:18:52 +0000 (13:18 +0300)]
IDEA-72989 IDE Editor — Buggy Supplementary Plane Unicode Symbol Support

4 years agoremove unused code
Dmitry Batrak [Thu, 8 Dec 2016 11:45:44 +0000 (14:45 +0300)]
remove unused code

4 years agonode js rc producer — fix isConfigurationFromContext
Vladimir Krivosheev [Wed, 14 Dec 2016 11:30:02 +0000 (12:30 +0100)]
node js rc producer — fix isConfigurationFromContext

4 years agomerge: abort patch applying in read-only documents
Aleksey Pivovarov [Wed, 14 Dec 2016 09:48:12 +0000 (12:48 +0300)]
merge: abort patch applying in read-only documents

4 years agomerge: abort merge resolve in read-only documents
Aleksey Pivovarov [Wed, 14 Dec 2016 10:51:50 +0000 (13:51 +0300)]
merge: abort merge resolve in read-only documents

Ex: if the "Clear Read-Only Status" dialog was canceled

This is a possible cause of
EA-92767 - IOOBE: LineSet.checkLineIndex
EA-92274 - IOOBE: TextMergeViewer$MyThreesideViewer$MyMergeModel.processDocumentChange
EA-90298 - IOOBE: LineSet.checkLineIndex
EA-81265 - IOOBE: LineSet.checkLineIndex

4 years agodiff: remove unused field
Aleksey Pivovarov [Wed, 14 Dec 2016 10:03:50 +0000 (13:03 +0300)]
diff: remove unused field

4 years agodiff: notify caller that command was cancelled because document is ReadOnly
Aleksey Pivovarov [Wed, 14 Dec 2016 09:50:58 +0000 (12:50 +0300)]
diff: notify caller that command was cancelled because document is ReadOnly

4 years agoStreamToLoopInspection#ensureCodeBlock refactored to use PsiTreeUtil.mark/releaseMark...
Tagir Valeev [Wed, 14 Dec 2016 10:55:46 +0000 (17:55 +0700)]
StreamToLoopInspection#ensureCodeBlock refactored to use PsiTreeUtil.mark/releaseMark (IDEA-CR-16755)
RefactoringUtil#expandExpressionLambdaToCodeBlock reverted (now changes there unnecessary)
void single-expression lambda support

4 years agojetbrains.dic + "polyfill(s)" (code that implements a feature on web browsers that...
Sergey Simonchik [Wed, 14 Dec 2016 10:45:20 +0000 (13:45 +0300)]
jetbrains.dic + "polyfill(s)" (code that implements a feature on web browsers that do not support the feature)

4 years agodirect call to inheritance idea/171.1700
Anna.Kozlova [Wed, 14 Dec 2016 10:35:53 +0000 (11:35 +0100)]
direct call to inheritance

4 years agomethod refs: ensure raw substitutor is not used for second search case to build retur...
Anna.Kozlova [Wed, 14 Dec 2016 10:17:48 +0000 (11:17 +0100)]
method refs: ensure raw substitutor is not used for second search case to build return type constraints (IDEA-165239)

4 years ago@NotNull
Anna.Kozlova [Wed, 14 Dec 2016 10:04:45 +0000 (11:04 +0100)]
@NotNull

4 years agocheck intersection types for inheritance inheritance
Anna.Kozlova [Wed, 14 Dec 2016 10:01:35 +0000 (11:01 +0100)]
check intersection types for inheritance inheritance

4 years agoUse RectanglePainter instead of drawRect to meet HiDPI
Sergey Malenkov [Wed, 14 Dec 2016 10:05:19 +0000 (13:05 +0300)]
Use RectanglePainter instead of drawRect to meet HiDPI

4 years agocleanup
Alexey Kudravtsev [Wed, 14 Dec 2016 09:50:21 +0000 (12:50 +0300)]
cleanup

4 years agoIDEA-165197 NullPointerException in IndentsPass may break plugins
Alexey Kudravtsev [Wed, 14 Dec 2016 09:47:24 +0000 (12:47 +0300)]
IDEA-165197 NullPointerException in IndentsPass may break plugins

4 years agoprefer to use java.util.function.Function
Vladimir Krivosheev [Wed, 14 Dec 2016 09:37:52 +0000 (10:37 +0100)]
prefer to use java.util.function.Function

extract RUN_TEST_TOOLTIP_PROVIDER

4 years agoreduce visibility to make refactorings easier
Alexey Kudravtsev [Tue, 13 Dec 2016 13:00:17 +0000 (16:00 +0300)]
reduce visibility to make refactorings easier

4 years agominor optimisation: fused loops
Alexey Kudravtsev [Tue, 13 Dec 2016 12:23:34 +0000 (15:23 +0300)]
minor optimisation: fused loops

4 years agocall allHighlightsForRangeAreProduced((0,3)) even in case of runVisitors() called...
Alexey Kudravtsev [Tue, 13 Dec 2016 12:23:13 +0000 (15:23 +0300)]
call allHighlightsForRangeAreProduced((0,3)) even in case of runVisitors() called for visible element with range (0,3) which generated some info, then runVisitors() called for the the file with range (0,3).

4 years agocheck HighlightInfo.highlighter still belongs to its HighlightInfo before disposing...
Alexey Kudravtsev [Tue, 13 Dec 2016 12:19:15 +0000 (15:19 +0300)]
check HighlightInfo.highlighter still belongs to its HighlightInfo before disposing. (It could be scheduled for deletion and reused for another unrelated highlight info)

4 years agoreplaced assertions with exceptions
Alexey Kudravtsev [Mon, 12 Dec 2016 11:50:39 +0000 (14:50 +0300)]
replaced assertions with exceptions

4 years agocleanup
Alexey Kudravtsev [Mon, 12 Dec 2016 11:49:24 +0000 (14:49 +0300)]
cleanup

4 years agoIDEA-164566 [UIUtil.createImage(g2d, ...) to better handle null g2d] appcode/171.1698 clion/171.1699
Anton Tarasov [Wed, 14 Dec 2016 08:44:18 +0000 (11:44 +0300)]
IDEA-164566 [UIUtil.createImage(g2d, ...) to better handle null g2d]

4 years agoLambdaGenerationUtil#canBeUncheckedLambda: supports statements; checks control-flow...
Tagir Valeev [Wed, 14 Dec 2016 08:43:50 +0000 (15:43 +0700)]
LambdaGenerationUtil#canBeUncheckedLambda: supports statements; checks control-flow breaks;
Fix for IDEA-165369 Replace Optional.isPresent() should be disabled if the thenBranch contains non-local control flow

4 years agojunit: update plugin description
Anna Kozlova [Wed, 14 Dec 2016 08:13:30 +0000 (09:13 +0100)]
junit: update plugin description

4 years agoCondition -> ConditionalExpression (IDEA-CR-16701)
Tagir Valeev [Wed, 14 Dec 2016 05:53:23 +0000 (12:53 +0700)]
Condition -> ConditionalExpression (IDEA-CR-16701)

4 years agoRedundantCastUtil#isCastToSerializable public method; used in LambdaCanBeMethodCallIn...
Tagir Valeev [Wed, 14 Dec 2016 05:33:56 +0000 (12:33 +0700)]
RedundantCastUtil#isCastToSerializable public method; used in LambdaCanBeMethodCallInspection; handlePredicate split into two methods (IDEA-CR-16756)

4 years agoregexp: fix lexing of "omit number in quantifier" appcode/171.1696 clion/171.1693 dbe/171.1691 idea/171.1690 pycharm/171.1688 pycharm/171.1695 rubymine/171.1689 webstorm/171.1687 webstorm/171.1697
Bas Leijdekkers [Tue, 13 Dec 2016 14:40:37 +0000 (15:40 +0100)]
regexp: fix lexing of "omit number in quantifier"

4 years agoregexp: remove ugly test only method
Bas Leijdekkers [Tue, 13 Dec 2016 14:21:47 +0000 (15:21 +0100)]
regexp: remove ugly test only method

4 years agoregexp: split parsing test into dialect specific parts
Bas Leijdekkers [Tue, 13 Dec 2016 14:17:04 +0000 (15:17 +0100)]
regexp: split parsing test into dialect specific parts

4 years agoregexp: every escaped character is legal in js's regexp dialect
Bas Leijdekkers [Tue, 13 Dec 2016 07:52:46 +0000 (08:52 +0100)]
regexp: every escaped character is legal in js's regexp dialect

4 years agoenable test now that issue is fixed
Bas Leijdekkers [Fri, 9 Dec 2016 10:39:38 +0000 (11:39 +0100)]
enable test now that issue is fixed

4 years agoregexp: improved highlighting of character ranges
Bas Leijdekkers [Thu, 8 Dec 2016 16:51:54 +0000 (17:51 +0100)]
regexp: improved highlighting of character ranges

4 years ago[vcs-log] minor: lambdify
Julia Beliaeva [Tue, 13 Dec 2016 17:49:13 +0000 (20:49 +0300)]
[vcs-log] minor: lambdify

4 years ago[vcs-log] minor: convert anonymous to inner
Julia Beliaeva [Tue, 13 Dec 2016 17:47:47 +0000 (20:47 +0300)]
[vcs-log] minor: convert anonymous to inner