idea/community.git
4 years agoMerge remote-tracking branch 'remotes/origin/pdolgov/javafxFieldToProperty'
Pavel Dolgov [Wed, 9 Nov 2016 12:20:19 +0000 (15:20 +0300)]
Merge remote-tracking branch 'remotes/origin/pdolgov/javafxFieldToProperty'

4 years agoIDEA-144646 Billion laughs in .idea/misc.xml or other files hangs idea for some time...
Dmitry Avdeev [Wed, 9 Nov 2016 12:01:42 +0000 (15:01 +0300)]
IDEA-144646 Billion laughs in .idea/misc.xml or other files hangs idea for some time and not open...

4 years agojava compiler tool extension API, needed for ASTReferenceCollector clion/171.839
Eugene Zhuravlev [Wed, 9 Nov 2016 11:52:08 +0000 (12:52 +0100)]
java compiler tool extension API, needed for ASTReferenceCollector

4 years agoWEB-21216 Debugger should show contents of Map/Set
Vladimir Krivosheev [Wed, 9 Nov 2016 11:16:41 +0000 (12:16 +0100)]
WEB-21216 Debugger should show contents of Map/Set

4 years agoconvert ObjectProperty to kotlin
Vladimir Krivosheev [Wed, 9 Nov 2016 10:43:06 +0000 (11:43 +0100)]
convert ObjectProperty to kotlin

4 years agoconvert ObjectProperty to kotlin
Vladimir Krivosheev [Wed, 9 Nov 2016 10:42:48 +0000 (11:42 +0100)]
convert ObjectProperty to kotlin

4 years agoconvert ObjectPropertyImpl to kotlin
Vladimir Krivosheev [Wed, 9 Nov 2016 10:39:21 +0000 (11:39 +0100)]
convert ObjectPropertyImpl to kotlin

4 years agoconvert ObjectPropertyImpl to kotlin
Vladimir Krivosheev [Wed, 9 Nov 2016 10:39:00 +0000 (11:39 +0100)]
convert ObjectPropertyImpl to kotlin

4 years ago[devkit] cleanup tests
Yann Cébron [Wed, 9 Nov 2016 11:02:42 +0000 (12:02 +0100)]
[devkit] cleanup tests

4 years ago[devkit] remove PluginXmlFunctionalTest#testPluginModule, duplicates #testPluginWithM...
Yann Cébron [Wed, 9 Nov 2016 10:50:17 +0000 (11:50 +0100)]
[devkit] remove PluginXmlFunctionalTest#testPluginModule, duplicates #testPluginWithModules

4 years agoMerge remote-tracking branch 'origin/master'
Yann Cébron [Wed, 9 Nov 2016 10:28:46 +0000 (11:28 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoIDEA-163694 Devkit: fix IdeaPlugin DOM
Yann Cébron [Wed, 9 Nov 2016 10:27:57 +0000 (11:27 +0100)]
IDEA-163694 Devkit: fix IdeaPlugin DOM

4 years agoFixed WI-33855 Indent is missing on the next line after pressing enter after do keyword
Rustam Vishnyakov [Wed, 9 Nov 2016 10:22:58 +0000 (13:22 +0300)]
Fixed WI-33855 Indent is missing on the next line after pressing enter after do keyword

4 years agoIDEA-163725 DevKit: 'Navigate to testdata' action cannot find some testdata files...
Artem Khvastunov [Wed, 9 Nov 2016 10:15:08 +0000 (11:15 +0100)]
IDEA-163725 DevKit: 'Navigate to testdata' action cannot find some testdata files when test name contains '$' as a file path separator

4 years agoassertion for catching rogue NullPsiElement
Alexey Kudravtsev [Wed, 9 Nov 2016 09:40:49 +0000 (12:40 +0300)]
assertion for catching rogue NullPsiElement

4 years agocleanup
Alexey Kudravtsev [Tue, 8 Nov 2016 10:45:13 +0000 (13:45 +0300)]
cleanup

4 years agoreally wait for completion instead of just canceling the indicator to avoid "already...
Alexey Kudravtsev [Tue, 8 Nov 2016 10:35:36 +0000 (13:35 +0300)]
really wait for completion instead of just canceling the indicator to avoid "already disposed" exceptions from not-yet-completed tasks

4 years agouniteWith(DirectoriesScope) lost the first scope fixed
Alexey Kudravtsev [Tue, 8 Nov 2016 10:26:45 +0000 (13:26 +0300)]
uniteWith(DirectoriesScope) lost the first scope fixed

4 years agoeven more explaining encoding tooltip in status bar
Alexey Kudravtsev [Mon, 7 Nov 2016 13:10:49 +0000 (16:10 +0300)]
even more explaining encoding tooltip in status bar

4 years agoreveal the failure source earlier
Alexey Kudravtsev [Mon, 7 Nov 2016 12:45:55 +0000 (15:45 +0300)]
reveal the failure source earlier

4 years ago[project] requires Windows to build breakgen lib
Roman Shevchenko [Wed, 9 Nov 2016 09:44:55 +0000 (10:44 +0100)]
[project] requires Windows to build breakgen lib

4 years agocorrectly update index on file copy
peter [Wed, 9 Nov 2016 09:32:11 +0000 (10:32 +0100)]
correctly update index on file copy

4 years agosearchable options: ensure order of configurables
Anna.Kozlova [Wed, 9 Nov 2016 09:13:44 +0000 (10:13 +0100)]
searchable options: ensure order of configurables

4 years agoprovide empty default value when required
Anna.Kozlova [Tue, 8 Nov 2016 19:27:45 +0000 (20:27 +0100)]
provide empty default value when required

4 years agojavac ast indices: do not store duplicated references
Dmitry Batkovich [Wed, 9 Nov 2016 09:07:02 +0000 (12:07 +0300)]
javac ast indices: do not store duplicated references

4 years agoadd small gap to the left of the editor - one line mode only appcode/171.836 clion/171.835
Egor.Ushakov [Wed, 9 Nov 2016 08:56:42 +0000 (11:56 +0300)]
add small gap to the left of the editor - one line mode only

4 years agomore gist javadoc
peter [Wed, 9 Nov 2016 08:01:02 +0000 (09:01 +0100)]
more gist javadoc

4 years agomake bytecode analysis lazy (IDEA-133768)
peter [Wed, 9 Nov 2016 07:34:12 +0000 (08:34 +0100)]
make bytecode analysis lazy (IDEA-133768)

4 years agouse read/writeNullable in GrStubUtils
peter [Tue, 8 Nov 2016 14:53:00 +0000 (15:53 +0100)]
use read/writeNullable in GrStubUtils

4 years agoStreamApiMigrationInspection: NPE fixed (EA-91387)
Tagir Valeev [Wed, 9 Nov 2016 05:20:22 +0000 (12:20 +0700)]
StreamApiMigrationInspection: NPE fixed (EA-91387)

4 years agojavac ast indices: CompilerReferenceServiceImpl should be fail-safe and search should... pycharm/171.833 pycharm/171.834
Dmitry Batkovich [Wed, 9 Nov 2016 04:55:25 +0000 (07:55 +0300)]
javac ast indices: CompilerReferenceServiceImpl should be fail-safe and search should get back to source based even exceptions happen

4 years agojavac ast indices: test updated to be useful (javac visits classes in mixed order)
Dmitry Batkovich [Wed, 9 Nov 2016 04:47:10 +0000 (07:47 +0300)]
javac ast indices: test updated to be useful (javac visits classes in mixed order)

4 years agojavac ast indices: fix incremental hierarchy update
Dmitry Batkovich [Wed, 9 Nov 2016 04:30:13 +0000 (07:30 +0300)]
javac ast indices: fix incremental hierarchy update

4 years agounwind nested ScriptExceptions appcode/171.824 clion/171.829 dbe/171.830 idea/171.822 phpstorm/171.823 pycharm/171.825 pycharm/171.826 rubymine/171.828 webstorm/171.832
Gregory.Shrago [Wed, 9 Nov 2016 00:16:17 +0000 (03:16 +0300)]
unwind nested ScriptExceptions

4 years agotry last recently used loader first to speed up things dbe/171.821
Gregory.Shrago [Tue, 8 Nov 2016 22:27:25 +0000 (01:27 +0300)]
try last recently used loader first to speed up things

4 years agospecify null parent loader explicitly to fix debug-time issues
Gregory.Shrago [Tue, 8 Nov 2016 19:06:41 +0000 (22:06 +0300)]
specify null parent loader explicitly to fix debug-time issues

4 years agocleanup
Gregory.Shrago [Mon, 7 Nov 2016 18:00:20 +0000 (21:00 +0300)]
cleanup

4 years agouse Local.US pycharm/171.820
Konstantin Bulenkov [Tue, 8 Nov 2016 20:37:33 +0000 (02:37 +0600)]
use Local.US

4 years agoDisposing popup corrupts appearing popup (fix attempt #2)
Vassiliy.Kudryashov [Tue, 8 Nov 2016 19:28:49 +0000 (22:28 +0300)]
Disposing popup corrupts appearing popup (fix attempt #2)

4 years ago[groovy] get rid of GroovyClassSubstitution
Daniil Ovchinnikov [Tue, 8 Nov 2016 19:30:24 +0000 (22:30 +0300)]
[groovy] get rid of GroovyClassSubstitution

4 years ago[groovy] shorten GroovyCommonClassNames
Daniil Ovchinnikov [Tue, 8 Nov 2016 19:24:25 +0000 (22:24 +0300)]
[groovy] shorten GroovyCommonClassNames

4 years ago[groovy] process DGM with other extensions
Daniil Ovchinnikov [Tue, 8 Nov 2016 19:08:11 +0000 (22:08 +0300)]
[groovy] process DGM with other extensions

4 years ago!!!DEV VERSION UPDATE: DO NOT EDIT MANUALLY!!!
Anna.Kozlova [Tue, 8 Nov 2016 19:06:29 +0000 (20:06 +0100)]
!!!DEV VERSION UPDATE: DO NOT EDIT MANUALLY!!!

4 years agoIDEA-146454 Empty nodes in Project tree (do not cancel a tree updating for selection...
Sergey Malenkov [Tue, 8 Nov 2016 18:58:43 +0000 (21:58 +0300)]
IDEA-146454 Empty nodes in Project tree (do not cancel a tree updating for selection request)

4 years ago[platform] post-review fixes (IDEA-CR-15535)
Roman Shevchenko [Tue, 8 Nov 2016 18:46:41 +0000 (19:46 +0100)]
[platform] post-review fixes (IDEA-CR-15535)

4 years ago[platform] generified ComponentManager.getDisposed()
Roman Shevchenko [Tue, 8 Nov 2016 18:26:30 +0000 (19:26 +0100)]
[platform] generified ComponentManager.getDisposed()

(missed file)

4 years agoexpose class file by given source class
Anna.Kozlova [Tue, 8 Nov 2016 18:24:11 +0000 (19:24 +0100)]
expose class file by given source class

4 years agojunit 5 conversion: refresh view (IDEA-163691)
Anna.Kozlova [Tue, 8 Nov 2016 16:09:20 +0000 (17:09 +0100)]
junit 5 conversion: refresh view (IDEA-163691)

4 years agojunit 5: don't warn on fail with message that message is missing (IDEA-163692)
Anna.Kozlova [Tue, 8 Nov 2016 15:35:26 +0000 (16:35 +0100)]
junit 5: don't warn on fail with message that message is missing (IDEA-163692)

4 years agoextended javadoc
Anna.Kozlova [Tue, 8 Nov 2016 15:02:56 +0000 (16:02 +0100)]
extended javadoc

4 years ago[groovy] cleanup
Daniil Ovchinnikov [Tue, 8 Nov 2016 18:01:14 +0000 (21:01 +0300)]
[groovy] cleanup

4 years ago[groovy] @Singleton: make new instance inspection aware of property name
Daniil Ovchinnikov [Tue, 8 Nov 2016 17:45:37 +0000 (20:45 +0300)]
[groovy] @Singleton: make new instance inspection aware of property name

4 years ago[platform] generified ComponentManager.getDisposed()
Roman Shevchenko [Tue, 8 Nov 2016 17:54:09 +0000 (18:54 +0100)]
[platform] generified ComponentManager.getDisposed()

to avoid unchecked warnings on composition

4 years agoadd small gap to the left of the editor
Egor.Ushakov [Tue, 8 Nov 2016 17:53:30 +0000 (20:53 +0300)]
add small gap to the left of the editor

4 years ago[vcs]: NewEditChangelistPanel cosmetic fixes
Nadya Zabrodina [Tue, 8 Nov 2016 17:27:51 +0000 (20:27 +0300)]
[vcs]: NewEditChangelistPanel cosmetic fixes

* IDEA-107357, IDEA-86333;

4 years agodo not gather line numbers if not needed
Egor.Ushakov [Tue, 8 Nov 2016 17:19:56 +0000 (20:19 +0300)]
do not gather line numbers if not needed

4 years ago[groovy] @Singleton: add constructor inspection
Daniil Ovchinnikov [Tue, 8 Nov 2016 16:33:23 +0000 (19:33 +0300)]
[groovy] @Singleton: add constructor inspection
with ability to remove inappropriate constructor or mark @Singleton as
 non-strict

4 years ago[groovy] add transformations bundle
Daniil Ovchinnikov [Tue, 8 Nov 2016 16:23:15 +0000 (19:23 +0300)]
[groovy] add transformations bundle

4 years ago[groovy] get rid of GroovySingletonAnnotationInspection
Daniil Ovchinnikov [Tue, 8 Nov 2016 15:55:48 +0000 (18:55 +0300)]
[groovy] get rid of GroovySingletonAnnotationInspection

4 years agocleanup
Egor.Ushakov [Tue, 8 Nov 2016 16:03:40 +0000 (19:03 +0300)]
cleanup

4 years agoFixed IDEA-163377 Darcula scheme: Expired entry in Log Console should have foreground...
Rustam Vishnyakov [Tue, 8 Nov 2016 15:53:19 +0000 (18:53 +0300)]
Fixed IDEA-163377 Darcula scheme: Expired entry in Log Console should have foreground color

4 years ago[java decompiler] file name in a current progress indicator
Roman Shevchenko [Tue, 8 Nov 2016 16:06:07 +0000 (17:06 +0100)]
[java decompiler] file name in a current progress indicator

4 years ago[platform] decompiler calls in hierarchy browser (IDEA-163673)
Roman Shevchenko [Tue, 8 Nov 2016 16:04:11 +0000 (17:04 +0100)]
[platform] decompiler calls in hierarchy browser (IDEA-163673)

4 years ago[groovy] @Singleton support:
Daniil Ovchinnikov [Tue, 8 Nov 2016 14:31:18 +0000 (17:31 +0300)]
[groovy] @Singleton support:
- implement as AstTransformationSupport instead of gdsl
- add proper members
- support `property` parameter
- support `lazy` parameter

4 years ago[groovy] transformations api enchancements:
Daniil Ovchinnikov [Tue, 8 Nov 2016 14:29:12 +0000 (17:29 +0300)]
[groovy] transformations api enchancements:
- add MemberBuilder.constructor()
- add TransformationContext.getClassType()
- store important stuff inside transformation context

4 years ago[groovy] booleanValue() and stringValue() for annotation member value
Daniil Ovchinnikov [Tue, 8 Nov 2016 14:27:32 +0000 (17:27 +0300)]
[groovy] booleanValue() and stringValue() for annotation member value

4 years agoPY-21244 Suppress intention if references for some nested fields are unresolved
Mikhail Golubev [Tue, 1 Nov 2016 14:19:38 +0000 (17:19 +0300)]
PY-21244 Suppress intention if references for some nested fields are unresolved

4 years agoPY-21244 Properly enumerate nested fields without explicit name or index
Mikhail Golubev [Tue, 1 Nov 2016 12:24:38 +0000 (15:24 +0300)]
PY-21244 Properly enumerate nested fields without explicit name or index

Previously they were enumerated in the opposite order, i.e.
descendant fields had lower indexes than their parents. Existing tests
didn't caught that problem because I misinterpreted the method
UsefulTestCase#assertSameElements(), should have used
UsefulTestCase#assertOrderedEquals() instead.

4 years agoPY-21243 Suppress intention if chunks are resolved into RHS of % as a fallback
Mikhail Golubev [Mon, 31 Oct 2016 18:45:58 +0000 (21:45 +0300)]
PY-21243 Suppress intention if chunks are resolved into RHS of % as a fallback

As a fallback value PySubstitutionChunkReference resolves into the
right operand of "%" operator whenever it cannot find individual
expressions for multiple positional formatted fields or a field with
a key. I explicitly check and suppress the intention for such cases.
In future it's better to introduce some sort of "strict resolve"
semantic in the PySubstitutionChunkReference so as do these checks
twice.

4 years agoPY-21245 Handle quotes in lookup items inside multiline string literals better
Mikhail Golubev [Mon, 31 Oct 2016 18:07:00 +0000 (21:07 +0300)]
PY-21245 Handle quotes in lookup items inside multiline string literals better

Namely, allow lookup items that contain quotes in some cases if the
containing string literal is multiline, hence there is still a suitable
type of quotes to wrap injected string literal into.

The orignal error described in the issue has been fixed earlier as
part of other changes for PY-21161.

4 years agorestore @Throws(ExecutionException::class)
Vladimir Krivosheev [Tue, 8 Nov 2016 15:08:49 +0000 (16:08 +0100)]
restore @Throws(ExecutionException::class)

4 years agospeedup method bpts calculation - cache classesByName
Egor.Ushakov [Tue, 8 Nov 2016 14:56:06 +0000 (17:56 +0300)]
speedup method bpts calculation - cache classesByName

4 years agobetter text for messages
Egor.Ushakov [Tue, 8 Nov 2016 14:34:58 +0000 (17:34 +0300)]
better text for messages

4 years agodisable emulation only for base native methods
Egor.Ushakov [Tue, 8 Nov 2016 13:49:45 +0000 (16:49 +0300)]
disable emulation only for base native methods

4 years agouse non-bold font on splash screen (IDEA-163681)
Dennis Ushakov [Tue, 8 Nov 2016 14:59:34 +0000 (17:59 +0300)]
use non-bold font on splash screen (IDEA-163681)

4 years agoassign paths for jbTabs titles (IDEA-163178)
Anna.Kozlova [Tue, 8 Nov 2016 14:50:04 +0000 (15:50 +0100)]
assign paths for jbTabs titles (IDEA-163178)

4 years agocleanup
Vladimir Krivosheev [Tue, 8 Nov 2016 14:33:28 +0000 (15:33 +0100)]
cleanup

4 years agoDEA-CR-15513 FileDocumentManager.getInstance().saveAllDocuments() should be called...
Vladimir Krivosheev [Tue, 8 Nov 2016 14:33:19 +0000 (15:33 +0100)]
DEA-CR-15513 FileDocumentManager.getInstance().saveAllDocuments() should be called before state.execute(-1)

4 years agoSSR: report more bad search and replacement patterns (related to IDEA-102898)
Bas Leijdekkers [Tue, 8 Nov 2016 14:10:24 +0000 (15:10 +0100)]
SSR: report more bad search and replacement patterns (related to IDEA-102898)

4 years agoSSR: cleanup messages
Bas Leijdekkers [Tue, 8 Nov 2016 13:56:29 +0000 (14:56 +0100)]
SSR: cleanup messages

4 years agoDaemonAnalyzerTestCase: invoke intention in a write-safe context
peter [Tue, 8 Nov 2016 14:12:20 +0000 (15:12 +0100)]
DaemonAnalyzerTestCase: invoke intention in a write-safe context

4 years agoPass formatting mode via CodeStyleSettings (for Enter handler)
Rustam Vishnyakov [Tue, 8 Nov 2016 13:57:41 +0000 (16:57 +0300)]
Pass formatting mode via CodeStyleSettings (for Enter handler)

4 years agoMerge remote-tracking branch 'origin/master'
Yann Cébron [Tue, 8 Nov 2016 14:12:23 +0000 (15:12 +0100)]
Merge remote-tracking branch 'origin/master'

4 years ago[devkit] merge ExtensionPointBeanClassInspection into PluginXmlDomInspection
Yann Cébron [Tue, 8 Nov 2016 14:11:36 +0000 (15:11 +0100)]
[devkit] merge ExtensionPointBeanClassInspection into PluginXmlDomInspection

fix existing suppression IDs

4 years agojavac ast indices: check that project is not disposed after rebuild
Dmitry Batkovich [Tue, 8 Nov 2016 14:07:58 +0000 (17:07 +0300)]
javac ast indices: check that project is not disposed after rebuild

4 years agotput: unknown terminal "emacs" (PY-14999)
Elizaveta Shashkova [Tue, 8 Nov 2016 14:04:21 +0000 (17:04 +0300)]
tput: unknown terminal "emacs" (PY-14999)

Do not set "TERM" variable to emacs, because sometimes it isn't supported and may lead to errors. Also it doesn't fix problems with paging in IPython and this bug should be fixed properly: PY-21370

4 years agocleanup, reduce usage of DefaultProgramRunner
Vladimir Krivosheev [Tue, 8 Nov 2016 14:00:12 +0000 (15:00 +0100)]
cleanup, reduce usage of DefaultProgramRunner

4 years agoFix typo in the name of IDENTIFIER token type in JSON grammar
Mikhail Golubev [Tue, 8 Nov 2016 11:56:07 +0000 (14:56 +0300)]
Fix typo in the name of IDENTIFIER token type in JSON grammar

I re-generated JFlex lexer and GrammarKit parser accordingly. I had to
adjust the macro for WHITE_SPACE token, though, since GrammarKit
generates weird "WHITE_SPACE=\s" for some reason.

4 years ago[java] missing project build directory diagnostics (EA-91290)
Roman Shevchenko [Tue, 8 Nov 2016 14:01:05 +0000 (15:01 +0100)]
[java] missing project build directory diagnostics (EA-91290)

4 years agojavac ast indices: javac class processing order may be differ from by-file order...
Dmitry Batkovich [Tue, 8 Nov 2016 13:57:05 +0000 (16:57 +0300)]
javac ast indices: javac class processing order may be differ from by-file order (no tests)

4 years agoIDEA-150317 Debugger: Evaluate dialog: Expression Mode button shows wrong mnemonic
Sergey Malenkov [Tue, 8 Nov 2016 13:52:00 +0000 (16:52 +0300)]
IDEA-150317 Debugger: Evaluate dialog: Expression Mode button shows wrong mnemonic

4 years agoIDEA-160744 'Stop' field should be renamed + update preview webstorm/171.815
Alexey Utkin [Tue, 8 Nov 2016 13:29:04 +0000 (16:29 +0300)]
IDEA-160744 'Stop' field should be renamed + update preview

4 years ago[devkit] merge ExtensionPointBeanClassInspection into PluginXmlDomInspection
Yann Cébron [Tue, 8 Nov 2016 13:25:46 +0000 (14:25 +0100)]
[devkit] merge ExtensionPointBeanClassInspection into PluginXmlDomInspection

4 years agoreplace processor with 1-limit with FindProcessor to stop at first element
Anna.Kozlova [Tue, 8 Nov 2016 13:14:59 +0000 (14:14 +0100)]
replace processor with 1-limit with FindProcessor to stop at first element

4 years agoupdate moved file
Anna.Kozlova [Tue, 8 Nov 2016 13:08:59 +0000 (14:08 +0100)]
update moved file

4 years agosplit write action so dialogs won't be shown from inside
Anna.Kozlova [Tue, 8 Nov 2016 13:05:06 +0000 (14:05 +0100)]
split write action so dialogs won't be shown from inside

4 years agounnecessary parenthesis for expression lambda (IDEA-163676)
Anna.Kozlova [Tue, 8 Nov 2016 10:21:31 +0000 (11:21 +0100)]
unnecessary parenthesis for expression lambda (IDEA-163676)

4 years agoremove unused/unneeded programm runners, BasicProgramRunner is able to run async
Vladimir Krivosheev [Tue, 8 Nov 2016 13:00:57 +0000 (14:00 +0100)]
remove unused/unneeded programm runners, BasicProgramRunner is able to run async

4 years agoadd missed ide.mac.native.save.dialog
Vladimir Krivosheev [Tue, 8 Nov 2016 12:31:59 +0000 (13:31 +0100)]
add missed ide.mac.native.save.dialog

4 years agosimplify — remove DebuggableRunConfiguration.RunConfigurationWithConditionalRun interface
Vladimir Krivosheev [Tue, 8 Nov 2016 10:19:50 +0000 (11:19 +0100)]
simplify — remove DebuggableRunConfiguration.RunConfigurationWithConditionalRun interface