idea/community.git
6 years agoIG: try to make inspection non-quadratic
Bas Leijdekkers [Thu, 20 Oct 2016 14:05:55 +0000 (16:05 +0200)]
IG: try to make inspection non-quadratic

6 years agocommon logic extracted
Egor.Ushakov [Thu, 20 Oct 2016 17:44:12 +0000 (20:44 +0300)]
common logic extracted

6 years agoreact native stylesheets support: completion and color icons (WEB-23829)
Dennis Ushakov [Thu, 20 Oct 2016 17:38:05 +0000 (20:38 +0300)]
react native stylesheets support: completion and color icons (WEB-23829)

6 years agoTry to kill Git processes softly when they are cancelled dbe/171.295
Kirill Likhodedov [Thu, 20 Oct 2016 09:38:45 +0000 (12:38 +0300)]
Try to kill Git processes softly when they are cancelled

To avoid leaving index.lock. IDEA-148376

6 years agoIntroduce Killable (not Colored) ProcessHandler
Kirill Likhodedov [Thu, 20 Oct 2016 09:20:35 +0000 (12:20 +0300)]
Introduce Killable (not Colored) ProcessHandler

For those clients who don't need to be ANSI-coloring aware.

For compatibility reasons disable the soft-kill feature by default
for ColoredProcessHandler: in case any clients didn't expect it
when overriding the ColoredProcessHandler.

6 years agoMove ColoredProcessHandler from api to impl
Kirill Likhodedov [Thu, 20 Oct 2016 09:05:17 +0000 (12:05 +0300)]
Move ColoredProcessHandler from api to impl

The main reason is to be able to make it Killable, which depends
on many things from impl.
However, it doesn't look as an API at any case.

6 years agoIntroduce a factory to create various ProcessHandlers
Kirill Likhodedov [Thu, 20 Oct 2016 09:01:50 +0000 (12:01 +0300)]
Introduce a factory to create various ProcessHandlers

To be able to move implementations from api to impl,
in particular the ColoredProcessHandler.

6 years agoAdd a test for escape sequence in git commit message
Kirill Likhodedov [Wed, 28 Sep 2016 13:48:41 +0000 (16:48 +0300)]
Add a test for escape sequence in git commit message

It should be parsed literally.

The test is added to prevent potential regressions e.g. if some
ColoredProcessHandler is used.
Such regression was introduced in 6a40bdd (already reverted).

6 years agoFix expected and actual values order
Kirill Likhodedov [Wed, 28 Sep 2016 13:39:43 +0000 (16:39 +0300)]
Fix expected and actual values order

6 years agomethod breakpoint emulation - added checkbox for switching
Egor.Ushakov [Thu, 20 Oct 2016 17:00:44 +0000 (20:00 +0300)]
method breakpoint emulation - added checkbox for switching

6 years agoinline to anonymous: allow to inline from library (IDEA-162893)
Anna.Kozlova [Thu, 20 Oct 2016 17:01:21 +0000 (19:01 +0200)]
inline to anonymous: allow to inline from library (IDEA-162893)

6 years agoadd module dependency: check if there are modules to add dependency on
Anna.Kozlova [Thu, 20 Oct 2016 13:11:06 +0000 (15:11 +0200)]
add module dependency: check if there are modules to add dependency on

6 years agoinline chained constructor from library class
Anna.Kozlova [Thu, 20 Oct 2016 12:59:25 +0000 (14:59 +0200)]
inline chained constructor from library class

6 years agoEA-90302 - NSEE: AbstractAddToTestsPatternAction.collectPatternConfigurations
Anna.Kozlova [Thu, 20 Oct 2016 12:14:21 +0000 (14:14 +0200)]
EA-90302 - NSEE: AbstractAddToTestsPatternAction.collectPatternConfigurations

6 years agoinference on incomplete code (EA-90195 - AIOOBE: PsiTypesUtil.getParameterType)
Anna.Kozlova [Thu, 20 Oct 2016 12:07:51 +0000 (14:07 +0200)]
inference on incomplete code (EA-90195 - AIOOBE: PsiTypesUtil.getParameterType)

6 years agoMinor Ipnb: make condition more readable
Valentina Kiryushkina [Thu, 20 Oct 2016 16:57:02 +0000 (19:57 +0300)]
Minor Ipnb: make condition more readable

6 years agoCleanup (formatting)
Roman Shevchenko [Thu, 20 Oct 2016 16:43:34 +0000 (18:43 +0200)]
Cleanup (formatting)

6 years ago[java] module path in app. run configuration
Roman Shevchenko [Thu, 20 Oct 2016 16:38:41 +0000 (18:38 +0200)]
[java] module path in app. run configuration

6 years agoImprove the explanation why global editor scheme is used for monospace
Kirill Likhodedov [Thu, 20 Oct 2016 16:25:58 +0000 (19:25 +0300)]
Improve the explanation why global editor scheme is used for monospace

6 years agorunnable->lambda cleanup
Ekaterina Tuzova [Thu, 20 Oct 2016 15:22:06 +0000 (18:22 +0300)]
runnable->lambda cleanup

6 years agorunnable cleanup
Ekaterina Tuzova [Thu, 20 Oct 2016 14:42:52 +0000 (17:42 +0300)]
runnable cleanup

6 years agoput cursor inside editable panel
Ekaterina Tuzova [Thu, 20 Oct 2016 14:29:29 +0000 (17:29 +0300)]
put cursor inside editable panel

6 years agoimproved view for editable panels in jupyter
Ekaterina Tuzova [Thu, 20 Oct 2016 12:50:15 +0000 (15:50 +0300)]
improved view for editable panels in jupyter

PY-20040 Too much whitespace in markdown cells

6 years agodoPostponedFormatting after formatting in completion after new (IDEA-CR-14717)
peter [Thu, 20 Oct 2016 16:10:31 +0000 (18:10 +0200)]
doPostponedFormatting after formatting in completion after new (IDEA-CR-14717)

6 years agoPY-21060 Fixed: Generic type hinting (PEP 484) breaks autocomplete
Semyon Proshev [Thu, 20 Oct 2016 15:57:08 +0000 (18:57 +0300)]
PY-21060 Fixed: Generic type hinting (PEP 484) breaks autocomplete

Update calculating class slots: if class or any ancestor doesn't have __slots__ then return null

6 years agoIDEA-158165 ui: fix goto popups preferred size
Aleksey Pivovarov [Thu, 20 Oct 2016 15:47:23 +0000 (18:47 +0300)]
IDEA-158165 ui: fix goto popups preferred size

6 years agonull argument checker: initialize memory state with nullable parameter states IDEA...
Dmitry Batkovich [Thu, 20 Oct 2016 15:43:01 +0000 (18:43 +0300)]
null argument checker: initialize memory state with nullable parameter states IDEA-162816

6 years ago[java] descriptor lookup in multi-release .jars (inline)
Roman Shevchenko [Thu, 20 Oct 2016 15:32:03 +0000 (17:32 +0200)]
[java] descriptor lookup in multi-release .jars (inline)

6 years agodon't grant read privileges to pooled threads that start after write action is resume...
peter [Thu, 20 Oct 2016 15:25:26 +0000 (17:25 +0200)]
don't grant read privileges to pooled threads that start after write action is resumed (IDEA-CR-14502)

6 years agoIDEA-162844 A simple copy of Default color scheme is flooded with inheritance definin...
Vladimir Krivosheev [Thu, 20 Oct 2016 15:23:29 +0000 (17:23 +0200)]
IDEA-162844 A simple copy of Default color scheme is flooded with inheritance defining attributes

6 years agoIDEA-161294 ui: fix Find Usages popup rendering under HiDPI
Aleksey Pivovarov [Thu, 20 Oct 2016 15:10:01 +0000 (18:10 +0300)]
IDEA-161294 ui: fix Find Usages popup rendering under HiDPI

6 years agodiff: scale splitter divider under HiDPI
Aleksey Pivovarov [Thu, 20 Oct 2016 14:05:41 +0000 (17:05 +0300)]
diff: scale splitter divider under HiDPI

6 years agoIDEA-162885 Diff window is not showing selections with background image enabled appcode/171.289 clion/171.290
Gregory.Shrago [Thu, 20 Oct 2016 14:27:37 +0000 (17:27 +0300)]
IDEA-162885 Diff window is not showing selections with background image enabled

6 years agofix Show Members option in Project View
Konstantin Bulenkov [Thu, 20 Oct 2016 14:19:15 +0000 (16:19 +0200)]
fix Show Members option in Project View

6 years agogradle: build project preview w/o request to gradle, there are two main reasons for...
Vladislav.Soroka [Thu, 20 Oct 2016 13:54:16 +0000 (16:54 +0300)]
gradle: build project preview w/o request to gradle, there are two main reasons for the change:
1. Slow project open - even the simplest project info provided by gradle can be gathered too long (mostly because of new gradle distribution download and downloading buildscript dependencies) (IDEA-136800)
2. Ability to open an invalid projects (e.g. with errors in build scripts) (IDEA-149593)

6 years agoinspection settings: add Stream.distinct() to have possibly not-null result when...
Dmitry Batkovich [Thu, 20 Oct 2016 13:46:58 +0000 (16:46 +0300)]
inspection settings: add Stream.distinct() to have possibly not-null result when multiple nodes are selected (follow-up 6f7d79f)

6 years agojavac ast indices: move tools.jar dependent parts to another classes (follow-up 768cee3)
Dmitry Batkovich [Thu, 20 Oct 2016 13:17:46 +0000 (16:17 +0300)]
javac ast indices: move tools.jar dependent parts to another classes (follow-up 768cee3)

6 years agotypo
Dmitry Batkovich [Thu, 20 Oct 2016 12:31:59 +0000 (15:31 +0300)]
typo

6 years ago[followup] IDEA-162563 Action menus do not have icons under HiDPI linux
Anton Tarasov [Thu, 20 Oct 2016 13:10:28 +0000 (16:10 +0300)]
[followup] IDEA-162563 Action menus do not have icons under HiDPI linux

- New interface: JBUI.JBIcon. EmptyIcon now implements it.
- New method: JBUI.scale(JBIcon)

6 years agoEA-89820 - NPE: HighlightDisplayLevel$SingleColorIcon.getColorInner dbe/171.283 idea/171.285
Sergey Ignatov [Thu, 20 Oct 2016 12:49:48 +0000 (15:49 +0300)]
EA-89820 - NPE: HighlightDisplayLevel$SingleColorIcon.getColorInner

6 years agomore streams 2
Egor.Ushakov [Thu, 20 Oct 2016 12:34:38 +0000 (15:34 +0300)]
more streams 2

6 years agoIDEA-162774 "Use inherited attributes" option reverts back to default value on Apply
Vladimir Krivosheev [Thu, 20 Oct 2016 12:29:22 +0000 (14:29 +0200)]
IDEA-162774 "Use inherited attributes" option reverts back to default value on Apply

6 years agocleanup
Vladimir Krivosheev [Thu, 20 Oct 2016 12:24:40 +0000 (14:24 +0200)]
cleanup

6 years agobuild javac ast index only when compilation invoked from IDE (re-fix of workaround)
Dmitry Batkovich [Thu, 20 Oct 2016 12:29:43 +0000 (15:29 +0300)]
build javac ast index only when compilation invoked from IDE (re-fix of workaround)

6 years agohandle dialects that use xml_tag_name token instead of just xml_name (WEB-23312) webstorm/171.281
Dennis Ushakov [Thu, 20 Oct 2016 11:48:37 +0000 (14:48 +0300)]
handle dialects that use xml_tag_name token instead of just xml_name (WEB-23312)

6 years agomarkdown4j dependency for ipnb appcode/171.278 clion/171.277
Ekaterina Tuzova [Thu, 20 Oct 2016 11:15:39 +0000 (14:15 +0300)]
markdown4j dependency for ipnb

6 years agologging for EA-90265 - IAE: CanonicalTypes$Array.<init>
Anna.Kozlova [Thu, 20 Oct 2016 10:11:39 +0000 (12:11 +0200)]
logging for EA-90265 - IAE: CanonicalTypes$Array.<init>

6 years agohide add new array expression for non inferred types
Anna.Kozlova [Thu, 20 Oct 2016 10:09:18 +0000 (12:09 +0200)]
hide add new array expression for non inferred types

6 years agologging for EA-90262 - assert: RedundantCastUtil$MyIsRedundantVisitor.processCall
Anna.Kozlova [Thu, 20 Oct 2016 09:49:35 +0000 (11:49 +0200)]
logging for EA-90262 - assert: RedundantCastUtil$MyIsRedundantVisitor.processCall

6 years agocompletion: infer Throwable for thrown bounds in completion so more candidates would...
Anna.Kozlova [Thu, 20 Oct 2016 09:26:37 +0000 (11:26 +0200)]
completion: infer Throwable for thrown bounds in completion so more candidates would be applicable (IDEA-162710)

6 years agoreverted incorrect anyMatch usage phpstorm/171.273
Egor.Ushakov [Thu, 20 Oct 2016 10:12:43 +0000 (13:12 +0300)]
reverted incorrect anyMatch usage

6 years agoui: remove SwitchManager actions from Keymap
Aleksey Pivovarov [Thu, 20 Oct 2016 08:53:51 +0000 (11:53 +0300)]
ui: remove SwitchManager actions from Keymap

follow-up: 66273ce

6 years agoSSR: add test case for this. or super. qualified method call appcode/171.269 clion/171.270
Bas Leijdekkers [Thu, 20 Oct 2016 08:50:32 +0000 (10:50 +0200)]
SSR: add test case for this. or super. qualified method call

6 years agoImmediatePainterTest: restore keyboard focus manager in tearDown()
Pavel Fatin [Thu, 20 Oct 2016 08:40:11 +0000 (10:40 +0200)]
ImmediatePainterTest: restore keyboard focus manager in tearDown()

6 years agobuild javac ast index only when compilation invoked from IDE: reused existing property
nik [Thu, 20 Oct 2016 08:41:17 +0000 (11:41 +0300)]
build javac ast index only when compilation invoked from IDE: reused existing property

6 years agodelete ReflectionUtil.defineClass (IDEA-CR-14734)
peter [Thu, 20 Oct 2016 08:35:09 +0000 (10:35 +0200)]
delete ReflectionUtil.defineClass (IDEA-CR-14734)

6 years agobuild javac ast index only when compilation invoked from IDE
nik [Thu, 20 Oct 2016 07:58:13 +0000 (10:58 +0300)]
build javac ast index only when compilation invoked from IDE

It makes no sense to build it in standalone mode and this also may lead to exceptions in case of improperly configured classloaders (IDEA-162877)

6 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Thu, 20 Oct 2016 07:45:42 +0000 (09:45 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoenforce that threads created during modal indexing don't leave it (IDEA-CR-14502)
peter [Thu, 20 Oct 2016 07:18:25 +0000 (09:18 +0200)]
enforce that threads created during modal indexing don't leave it (IDEA-CR-14502)

6 years agoremove InstanceofCheckerGenerator since JMH shows no advantages of "instanceof" vs...
peter [Thu, 20 Oct 2016 07:05:42 +0000 (09:05 +0200)]
remove InstanceofCheckerGenerator since JMH shows no advantages of "instanceof" vs Class#isInstance (IDEA-CR-14734)

6 years agoIDEA-162694 Improve "Merge filter chain" intention pycharm/171.267 pycharm/171.268
Tagir Valeev [Thu, 20 Oct 2016 04:19:25 +0000 (11:19 +0700)]
IDEA-162694 Improve "Merge filter chain" intention

6 years ago[dbe] fix css in doc popup for tables appcode/171.254 appcode/171.259 clion/171.253 dbe/171.265 idea/171.258 phpstorm/171.260 pycharm/171.261 pycharm/171.262 rubymine/171.264 webstorm/171.266
Sergey Ignatov [Wed, 19 Oct 2016 21:27:01 +0000 (00:27 +0300)]
[dbe] fix css in doc popup for tables

6 years agoIDEA-162863 Don't remember password by default if “Remember password” is unchecked
Gregory.Shrago [Wed, 19 Oct 2016 20:39:58 +0000 (23:39 +0300)]
IDEA-162863 Don't remember password by default if “Remember password” is unchecked

6 years agofix compilation
Dmitry Batkovich [Wed, 19 Oct 2016 19:46:49 +0000 (22:46 +0300)]
fix compilation

6 years agojavac ast indices: remove JavaCompilerElementRetriever#asPsi()
Dmitry Batkovich [Wed, 19 Oct 2016 19:41:47 +0000 (22:41 +0300)]
javac ast indices: remove JavaCompilerElementRetriever#asPsi()

6 years agojavac ast indices: add synchronized access to indices
Dmitry Batkovich [Wed, 19 Oct 2016 19:36:50 +0000 (22:36 +0300)]
javac ast indices: add synchronized access to indices

6 years agojavac ast indices: remove redundant read action
Dmitry Batkovich [Wed, 19 Oct 2016 19:35:57 +0000 (22:35 +0300)]
javac ast indices: remove redundant read action

6 years agoseparate jdk version limits for jps process and javac compiler
Eugene Zhuravlev [Wed, 19 Oct 2016 19:17:37 +0000 (21:17 +0200)]
separate jdk version limits for jps process and javac compiler

6 years ago@NotNull
Daniil Ovchinnikov [Wed, 19 Oct 2016 19:15:11 +0000 (22:15 +0300)]
@NotNull

6 years agoIDEA-162800 Run indicator missing from run and debug popups
Vassiliy.Kudryashov [Wed, 19 Oct 2016 19:08:06 +0000 (22:08 +0300)]
IDEA-162800 Run indicator missing from run and debug popups

6 years ago[groovy] @DelegatesTo provider API
Daniil Ovchinnikov [Wed, 19 Oct 2016 17:03:34 +0000 (20:03 +0300)]
[groovy] @DelegatesTo provider API

6 years ago[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:58:04 +0000 (19:58 +0300)]
[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider

6 years ago[groovy] prepare for @DelegatesTo provider API
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:54:28 +0000 (19:54 +0300)]
[groovy] prepare for @DelegatesTo provider API

- move constants from GrDelegatesToUtil
- move GrDelegatesToUtil to another package
- extract DelegatesToInfo

6 years ago[groovy] place is not needed to compute closure delegate/strategy
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:49:39 +0000 (19:49 +0300)]
[groovy] place is not needed to compute closure delegate/strategy

6 years agodetect consistently junit 5 in scope (IDEA-162858)
Anna.Kozlova [Wed, 19 Oct 2016 18:00:04 +0000 (20:00 +0200)]
detect consistently junit 5 in scope (IDEA-162858)

6 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 19 Oct 2016 17:48:09 +0000 (19:48 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoCleanup (code reuse; formatting)
Roman Shevchenko [Wed, 19 Oct 2016 17:47:31 +0000 (19:47 +0200)]
Cleanup (code reuse; formatting)

6 years agogriffon darcula icons
Konstantin Bulenkov [Wed, 19 Oct 2016 17:40:51 +0000 (19:40 +0200)]
griffon darcula icons

6 years agoemulate method exit breakpoints as well
Egor.Ushakov [Wed, 19 Oct 2016 17:31:39 +0000 (20:31 +0300)]
emulate method exit breakpoints as well

6 years agoremoved redundant casts
Egor.Ushakov [Wed, 19 Oct 2016 17:04:32 +0000 (20:04 +0300)]
removed redundant casts

6 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 19 Oct 2016 17:28:52 +0000 (19:28 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoconstructor completion: implement anonymous methods after arg live template (IDEA...
peter [Wed, 19 Oct 2016 17:23:08 +0000 (19:23 +0200)]
constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717)

6 years agoconstructor completion: insert the chosen constructor and position the caret accordin...
peter [Wed, 19 Oct 2016 16:53:38 +0000 (18:53 +0200)]
constructor completion: insert the chosen constructor and position the caret accordingly (IDEA-CR-14717)

6 years agodfa: honor control transfer instructions when performing auxiliary analyses (IDEA...
peter [Wed, 19 Oct 2016 16:37:05 +0000 (18:37 +0200)]
dfa: honor control transfer instructions when performing auxiliary analyses (IDEA-162557)

6 years agoOnly /bin/bash has --rcfile, so name the script accordingly; On Mac /bin/sh is alias...
Dmitry Trofimov [Wed, 19 Oct 2016 17:27:46 +0000 (19:27 +0200)]
Only /bin/bash has --rcfile, so name the script accordingly; On Mac /bin/sh is alias for /bin/bash, so we handle that as well

6 years agoSSR: fix matching super calls
Bas Leijdekkers [Wed, 19 Oct 2016 17:09:03 +0000 (19:09 +0200)]
SSR: fix matching super calls

6 years agoupdate sdk icon
Konstantin Bulenkov [Wed, 19 Oct 2016 17:26:30 +0000 (19:26 +0200)]
update sdk icon

6 years ago/bin/sh doesn't have source command. But it has . instead
Dmitry Trofimov [Wed, 19 Oct 2016 17:20:50 +0000 (19:20 +0200)]
/bin/sh doesn't have source command. But it has . instead

6 years agonew inference: erasure of type parameters with proper bounds (IDEA-162544)
Anna.Kozlova [Wed, 19 Oct 2016 17:16:04 +0000 (19:16 +0200)]
new inference: erasure of type parameters with proper bounds (IDEA-162544)

6 years agoupdate groovy icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:44:09 +0000 (18:44 +0200)]
update groovy icons

6 years agoupdate ant task icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:43:43 +0000 (18:43 +0200)]
update ant task icons

6 years agoupdate griffon icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:38:57 +0000 (18:38 +0200)]
update griffon icons

6 years agoupdate ant icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:37:36 +0000 (18:37 +0200)]
update ant icons

6 years agoremove ant target icons for darcula
Konstantin Bulenkov [Wed, 19 Oct 2016 16:17:47 +0000 (18:17 +0200)]
remove ant target icons for darcula

6 years agoPut terminal shell integration scripts in build
Dmitry Trofimov [Wed, 19 Oct 2016 17:12:32 +0000 (19:12 +0200)]
Put terminal shell integration scripts in build

6 years agohtml files are not xml property file pycharm/171.247
Maxim.Mossienko [Wed, 19 Oct 2016 16:44:02 +0000 (18:44 +0200)]
html files are not xml property file

6 years ago[tests] modernized path list building test
Roman Shevchenko [Wed, 19 Oct 2016 16:48:10 +0000 (18:48 +0200)]
[tests] modernized path list building test

6 years ago[vcs]: deprecate reportsIgnoredDirectories method
Nadya Zabrodina [Wed, 19 Oct 2016 13:57:59 +0000 (16:57 +0300)]
[vcs]: deprecate reportsIgnoredDirectories method

6 years ago[hg]: return copy of ignored files to be thread safe, optimize size
Nadya Zabrodina [Wed, 19 Oct 2016 11:51:35 +0000 (14:51 +0300)]
[hg]: return copy of ignored files to be thread safe, optimize size

6 years ago[vcs]: add listener for Async update IgnoredHolder model changes
Nadya Zabrodina [Mon, 17 Oct 2016 14:31:09 +0000 (17:31 +0300)]
[vcs]: add listener for Async update IgnoredHolder model changes

* refresh view when update mode changed;