idea/community.git
6 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Fri, 3 Jul 2015 13:25:08 +0000 (15:25 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoremove import. we don't really need dependency on Swing here
Konstantin Bulenkov [Fri, 3 Jul 2015 13:22:55 +0000 (15:22 +0200)]
remove import. we don't really need dependency on Swing here

6 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Fri, 3 Jul 2015 13:09:44 +0000 (16:09 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoCleanup (debug method implementation hidden; NPE fixed)
Roman Shevchenko [Fri, 3 Jul 2015 13:08:06 +0000 (16:08 +0300)]
Cleanup (debug method implementation hidden; NPE fixed)

6 years agoCleanup (warnings)
Roman Shevchenko [Fri, 3 Jul 2015 13:00:34 +0000 (16:00 +0300)]
Cleanup (warnings)

6 years agoIDEA-106141 (trailing annotations excluded from an incomplete reference expression)
Roman Shevchenko [Fri, 3 Jul 2015 13:00:02 +0000 (16:00 +0300)]
IDEA-106141 (trailing annotations excluded from an incomplete reference expression)

I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".

6 years ago[groovy] revert 7131400
Daniil Ovchinnikov [Fri, 3 Jul 2015 12:51:09 +0000 (15:51 +0300)]
[groovy] revert 7131400

6 years agoIDEA-142260 Focus issue with switching between spaces on mac
Denis Fokin [Fri, 3 Jul 2015 12:36:40 +0000 (15:36 +0300)]
IDEA-142260 Focus issue with switching between spaces on mac

6 years agoAllClassesSearchExecutor: wait for smart mode (IDEA-CR-3480)
peter [Fri, 3 Jul 2015 12:23:55 +0000 (14:23 +0200)]
AllClassesSearchExecutor: wait for smart mode (IDEA-CR-3480)

6 years agoJavaFilePasteProvider: normalize line separators appcode/142.2979
peter [Fri, 3 Jul 2015 12:08:56 +0000 (14:08 +0200)]
JavaFilePasteProvider: normalize line separators

6 years agoenable ProjectManagerImpl.LOG_PROJECT_LEAKAGE_IN_TESTS
peter [Fri, 3 Jul 2015 11:09:19 +0000 (13:09 +0200)]
enable ProjectManagerImpl.LOG_PROJECT_LEAKAGE_IN_TESTS

6 years agorefer to community home as $cj
Dmitry Jemerov [Fri, 3 Jul 2015 12:07:57 +0000 (14:07 +0200)]
refer to community home as $cj

6 years agoadd Kotlin runtime to PyCharm layouts (IDEA-142239)
Dmitry Jemerov [Fri, 3 Jul 2015 12:07:10 +0000 (14:07 +0200)]
add Kotlin runtime to PyCharm layouts (IDEA-142239)

6 years ago[groovy] abstract collection with consumer
Daniil Ovchinnikov [Fri, 3 Jul 2015 11:58:05 +0000 (14:58 +0300)]
[groovy] abstract collection with consumer

6 years agorestore coverage information for groovy files and for multiple classes in one java...
Anna Kozlova [Fri, 3 Jul 2015 11:54:30 +0000 (14:54 +0300)]
restore coverage information for groovy files and for multiple classes in one java file (IDEA-142057)

6 years agofix onDemand check for classes resolved to default imports like 'java.lang' (IDEA...
Anna Kozlova [Fri, 3 Jul 2015 10:36:43 +0000 (13:36 +0300)]
fix onDemand check for classes resolved to default imports like 'java.lang' (IDEA-141782)

6 years agointroduce 'Java' group for intentions (IDEA-142046)
Anna Kozlova [Fri, 3 Jul 2015 09:39:00 +0000 (12:39 +0300)]
introduce 'Java' group for intentions (IDEA-142046)

6 years agoensure left expression is processed before right in assignments (IDEA-140772)
Anna Kozlova [Thu, 2 Jul 2015 18:00:32 +0000 (21:00 +0300)]
ensure left expression is processed before right in assignments (IDEA-140772)

6 years agoIDEA-137539 Minimized editor tab is not bring up to front (remains minimized) when...
Vassiliy.Kudryashov [Fri, 3 Jul 2015 11:48:09 +0000 (14:48 +0300)]
IDEA-137539 Minimized editor tab is not bring up to front (remains minimized) when navigate to this file/class

6 years agoMethods to find significant leaf elements in PyPsiUtil have consistent names
Mikhail Golubev [Wed, 1 Jul 2015 12:16:01 +0000 (15:16 +0300)]
Methods to find significant leaf elements in PyPsiUtil have consistent names

6 years agoMake non-strict behavior of getNextNonCommentSibling more clear by adding correspondi...
Mikhail Golubev [Wed, 1 Jul 2015 12:06:20 +0000 (15:06 +0300)]
Make non-strict behavior of getNextNonCommentSibling more clear by adding corresponding parameter

6 years agoMove several related methods for navigating PSI and AST trees from PyUtil to PyPsiUtil
Mikhail Golubev [Wed, 1 Jul 2015 10:41:30 +0000 (13:41 +0300)]
Move several related methods for navigating PSI and AST trees from PyUtil to PyPsiUtil

6 years agoMerge remote-tracking branch 'origin/master'
irengrig [Fri, 3 Jul 2015 11:15:08 +0000 (13:15 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoMerge remote-tracking branch 'origin/master' pycharm/142.2978
Dmitry Trofimov [Fri, 3 Jul 2015 10:49:08 +0000 (12:49 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoProfiler: use binary serialization in case of JSON (PY-16319).
Dmitry Trofimov [Fri, 3 Jul 2015 10:45:02 +0000 (12:45 +0200)]
Profiler: use binary serialization in case of JSON (PY-16319).

6 years agoHelper.getFile()'s implementation requires read action
Oleg Sukhodolsky [Fri, 3 Jul 2015 10:18:04 +0000 (13:18 +0300)]
Helper.getFile()'s implementation requires read action

6 years agorevert 28a13b77d1b4d98bddcf68d6f7cff321c7c641e9 due to performance problems - skip...
Yaroslav Lepenkin [Fri, 3 Jul 2015 09:13:26 +0000 (12:13 +0300)]
revert 28a13b77d1b4d98bddcf68d6f7cff321c7c641e9 due to performance problems - skip read only blocks while building formatting model (IDEA-142200, should fix adjustLineIndent performance problem)

6 years agoIDEA-76396, IDEA-91965 precise mouse/trackpad scrolling in editor on Mac - disable... appcode/142.2977
Dmitry Batrak [Fri, 3 Jul 2015 10:10:58 +0000 (13:10 +0300)]
IDEA-76396, IDEA-91965 precise mouse/trackpad scrolling in editor on Mac - disable by default for now, as it doesn't work as desired anyway

6 years agoPer language wrap on typing reverted clion/142.2976
Rustam Vishnyakov [Fri, 3 Jul 2015 09:50:23 +0000 (12:50 +0300)]
Per language wrap on typing reverted

6 years agooptimisation: obtain all parents within one lock
Alexey Kudravtsev [Fri, 3 Jul 2015 09:50:56 +0000 (12:50 +0300)]
optimisation: obtain all parents within one lock

6 years agotest performance: disable listening of every document change
Alexey Kudravtsev [Fri, 3 Jul 2015 09:44:30 +0000 (12:44 +0300)]
test performance: disable listening of every document change

6 years agoremoved equals() because we can't make it symmetric
Alexey Kudravtsev [Thu, 2 Jul 2015 14:17:22 +0000 (17:17 +0300)]
removed equals() because we can't make it symmetric

6 years agooptimisation: double check locking in calcStubTree()
Alexey Kudravtsev [Thu, 2 Jul 2015 12:12:27 +0000 (15:12 +0300)]
optimisation: double check locking in calcStubTree()

6 years agooptimisation: access myExactFileNameMappings only if it's not empty
Alexey Kudravtsev [Thu, 2 Jul 2015 12:10:13 +0000 (15:10 +0300)]
optimisation: access myExactFileNameMappings only if it's not empty

6 years agonotnull
Alexey Kudravtsev [Thu, 2 Jul 2015 12:09:34 +0000 (15:09 +0300)]
notnull

6 years agooptimisation
Alexey Kudravtsev [Thu, 2 Jul 2015 11:48:21 +0000 (14:48 +0300)]
optimisation

6 years agonode.js: node js interpreter field: do not delete the value in the text field when...
irengrig [Fri, 3 Jul 2015 09:22:46 +0000 (11:22 +0200)]
node.js: node js interpreter field: do not delete the value in the text field when user clicks the combo box button

6 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Fri, 3 Jul 2015 09:19:55 +0000 (11:19 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agomore compact test after review IDEA-CR-3505
Maxim.Mossienko [Fri, 3 Jul 2015 09:13:34 +0000 (11:13 +0200)]
more compact test after review IDEA-CR-3505

6 years agoIDEA-CR-3419 move kt file according to code style
Vladimir Krivosheev [Fri, 3 Jul 2015 08:07:15 +0000 (10:07 +0200)]
IDEA-CR-3419 move kt file according to code style

6 years agofold CoreCommandProcessor lines in console stack traces
peter [Fri, 3 Jul 2015 08:28:45 +0000 (10:28 +0200)]
fold CoreCommandProcessor lines in console stack traces

6 years agoremove unused CharArray
peter [Thu, 2 Jul 2015 06:51:43 +0000 (08:51 +0200)]
remove unused CharArray

6 years agoleft diff editor: don't translate the check icon clion/142.2975 pycharm/142.2972
Sergey Ignatov [Fri, 3 Jul 2015 07:06:18 +0000 (10:06 +0300)]
left diff editor: don't translate the check icon

6 years agocleanup
Sergey Ignatov [Thu, 2 Jul 2015 16:46:28 +0000 (19:46 +0300)]
cleanup

6 years agoIDEA-14883 Run Configuration: Should have option to 'Run in background' appcode/142.2967 dbe/142.2964 idea/142.2968 phpstorm/142.2971 rubymine/142.2969 webstorm/142.2966
Vassiliy.Kudryashov [Thu, 2 Jul 2015 20:42:25 +0000 (23:42 +0300)]
IDEA-14883 Run Configuration: Should have option to 'Run in background'

6 years agoIDEA-14883 Run Configuration: Should have option to 'Run in background'
Vassiliy.Kudryashov [Thu, 2 Jul 2015 20:21:47 +0000 (23:21 +0300)]
IDEA-14883 Run Configuration: Should have option to 'Run in background'

6 years agoFileUtil.toCanonicalPath can now expand symlinks when it's required to build the... idea/142.2963
Anton Makeev [Thu, 2 Jul 2015 19:00:48 +0000 (21:00 +0200)]
FileUtil.toCanonicalPath can now expand symlinks when it's required to build the valid path that contains /../
* test adjusted to Windows behavior

6 years agoCleanup (test lambdification)
Roman Shevchenko [Thu, 2 Jul 2015 18:27:16 +0000 (21:27 +0300)]
Cleanup (test lambdification)

6 years agoEA-70357 AddMethodQualifierFix checks allowage of file modification
Dmitry Batkovich [Thu, 2 Jul 2015 18:13:54 +0000 (21:13 +0300)]
EA-70357 AddMethodQualifierFix checks allowage of file modification

6 years agoRestored licence for Cucumber-Java
Andrey Vokin [Thu, 2 Jul 2015 17:15:38 +0000 (20:15 +0300)]
Restored licence for Cucumber-Java

6 years agoIterables are converted to Stream using spliterator
Dmitry Batkovich [Thu, 2 Jul 2015 17:18:12 +0000 (20:18 +0300)]
Iterables are converted to Stream using spliterator

6 years agofix testdata
Anna Kozlova [Thu, 2 Jul 2015 17:06:34 +0000 (20:06 +0300)]
fix testdata

6 years agomethod refs: infer 'diamond' if constructor ref type is raw (IDEA-142142)
Anna Kozlova [Thu, 2 Jul 2015 14:44:48 +0000 (17:44 +0300)]
method refs: infer 'diamond' if constructor ref type is raw (IDEA-142142)

6 years agoStaticPseudoFunctionalStyleMethodInspection: doesn't throw exception when lambda...
Dmitry Batkovich [Thu, 2 Jul 2015 16:51:12 +0000 (19:51 +0300)]
StaticPseudoFunctionalStyleMethodInspection: doesn't throw exception when lambda is variable

6 years agoIDEA-82778 "Close all but pinned" action has no effect when there are no pinned tabs.
Vassiliy.Kudryashov [Thu, 2 Jul 2015 16:44:28 +0000 (19:44 +0300)]
IDEA-82778 "Close all but pinned" action has no effect when there are no pinned tabs.

6 years agoMerge remote-tracking branch 'origin/master' appcode/142.2958 clion/142.2959
Roman Shevchenko [Thu, 2 Jul 2015 16:15:51 +0000 (19:15 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoCleanup (assertions; typo)
Roman Shevchenko [Thu, 2 Jul 2015 16:14:40 +0000 (19:14 +0300)]
Cleanup (assertions; typo)

6 years agoIDEA-142174 (convention fixed in test)
Roman Shevchenko [Thu, 2 Jul 2015 16:14:07 +0000 (19:14 +0300)]
IDEA-142174 (convention fixed in test)

6 years agoReplace list with set to resolve linear scan on list remove (IDEA-142174)
Jim Purbrick [Thu, 2 Jul 2015 16:13:17 +0000 (19:13 +0300)]
Replace list with set to resolve linear scan on list remove (IDEA-142174)

LocalFileSystemImpl has a collection of folders to be watched and closing
of project / closing of IDEA causes removal of these folders. As the collection is
an array list this operation is O(n) which causes problems when more than 20000 folders
are being watched and registered in that collection.

6 years agoIDEA-142225 File template descriptions are wrapped when shouldn't + better padding...
Anton Makeev [Thu, 2 Jul 2015 16:00:59 +0000 (18:00 +0200)]
IDEA-142225 File template descriptions are wrapped when shouldn't + better padding in general description

6 years agocleanup
Dmitry Batkovich [Thu, 2 Jul 2015 15:57:07 +0000 (18:57 +0300)]
cleanup

6 years agoIDEA-141077 Allow easy live template sharing between different IDEA instances
peter [Thu, 2 Jul 2015 15:41:47 +0000 (17:41 +0200)]
IDEA-141077 Allow easy live template sharing between different IDEA instances

6 years agoenable cut & paste actions in modal context (copy is enabled already)
peter [Thu, 2 Jul 2015 15:39:31 +0000 (17:39 +0200)]
enable cut & paste actions in modal context (copy is enabled already)

6 years agoextract LiveTemplateTree class
peter [Thu, 2 Jul 2015 14:51:55 +0000 (16:51 +0200)]
extract LiveTemplateTree class

6 years agoIDEA-141973 Java else if: missing select word step
peter [Thu, 2 Jul 2015 14:03:08 +0000 (16:03 +0200)]
IDEA-141973 Java else if: missing select word step

6 years agoIDEA-142002 (Invalid CastConflictsWithInstanceof warning)
Bas Leijdekkers [Thu, 2 Jul 2015 15:43:11 +0000 (17:43 +0200)]
IDEA-142002 (Invalid CastConflictsWithInstanceof warning)

6 years agomake IG test light
Bas Leijdekkers [Thu, 2 Jul 2015 15:22:13 +0000 (17:22 +0200)]
make IG test light

6 years agoIG: remove some more duplication
Bas Leijdekkers [Thu, 2 Jul 2015 13:17:43 +0000 (15:17 +0200)]
IG: remove some more duplication

6 years agoIG: remove a little duplication
Bas Leijdekkers [Thu, 2 Jul 2015 13:00:04 +0000 (15:00 +0200)]
IG: remove a little duplication

6 years agoIG: fix "'try finally' replaceable with 'try' with resources" inspection quickfix...
Bas Leijdekkers [Thu, 2 Jul 2015 12:56:30 +0000 (14:56 +0200)]
IG: fix "'try finally' replaceable with 'try' with resources" inspection quickfix problem

6 years agoIG: fix "'try finally' replaceable with 'try' with resources" inspection problem
Bas Leijdekkers [Thu, 2 Jul 2015 10:34:19 +0000 (12:34 +0200)]
IG: fix "'try finally' replaceable with 'try' with resources" inspection problem

6 years agoIG: check for reassignment instead of if variable can be final
Bas Leijdekkers [Thu, 2 Jul 2015 10:10:42 +0000 (12:10 +0200)]
IG: check for reassignment instead of if variable can be final

6 years agoIG: remove a little duplication
Bas Leijdekkers [Thu, 2 Jul 2015 09:59:14 +0000 (11:59 +0200)]
IG: remove a little duplication

6 years agoIDEA-138936 File templates are not imported via File/Import Settings
Vladimir Krivosheev [Thu, 2 Jul 2015 15:45:17 +0000 (17:45 +0200)]
IDEA-138936 File templates are not imported via File/Import Settings

6 years agocleanup
Vladimir Krivosheev [Thu, 2 Jul 2015 15:43:42 +0000 (17:43 +0200)]
cleanup

6 years agocleanup
Vladimir Krivosheev [Thu, 2 Jul 2015 15:42:39 +0000 (17:42 +0200)]
cleanup

6 years agowrite directly to zip out without intermediate files
Vladimir Krivosheev [Thu, 2 Jul 2015 15:38:00 +0000 (17:38 +0200)]
write directly to zip out without intermediate files

6 years agoSmall optimization: do not retrieve JavaCodeStyleSettings on each JavaChildWrapArrang...
Yaroslav Lepenkin [Thu, 2 Jul 2015 15:33:58 +0000 (18:33 +0300)]
Small optimization: do not retrieve JavaCodeStyleSettings on each JavaChildWrapArranger#arrange call

6 years agoPseudoFunctionStyleMethodInspection: detection of functional type improved
Dmitry Batkovich [Thu, 2 Jul 2015 15:44:56 +0000 (18:44 +0300)]
PseudoFunctionStyleMethodInspection: detection of functional type improved

6 years agoIDEA-142216 Mac OS: "Platform and Plugins Updates" dialog (sheet message) doesn't...
Denis Fokin [Thu, 2 Jul 2015 15:35:42 +0000 (18:35 +0300)]
IDEA-142216 Mac OS: "Platform and Plugins Updates" dialog (sheet message) doesn't have focus when shown from "Find Action" popup

6 years agoIDEA-142050 Search and Replace All not working
Maxim.Mossienko [Thu, 2 Jul 2015 15:13:50 +0000 (17:13 +0200)]
IDEA-142050 Search and Replace All not working

6 years agoIDEA-142127 When search preview is enabled, allow to change currently selected previe...
Maxim.Mossienko [Thu, 2 Jul 2015 14:44:55 +0000 (16:44 +0200)]
IDEA-142127 When search preview is enabled, allow to change currently selected preview entry without leaving the search edit field

6 years agoIDEA-76396, IDEA-91965 precise mouse/trackpad scrolling in editor on Mac
Dmitry Batrak [Thu, 2 Jul 2015 14:56:32 +0000 (17:56 +0300)]
IDEA-76396, IDEA-91965 precise mouse/trackpad scrolling in editor on Mac

6 years agotests: bomb planted
Roman Shevchenko [Thu, 2 Jul 2015 14:54:57 +0000 (17:54 +0300)]
tests: bomb planted

6 years agoResolve members of all imported modules in both __init__.py and submodules (PY-14454...
Andrey Vlasovskikh [Thu, 2 Jul 2015 14:35:35 +0000 (17:35 +0300)]
Resolve members of all imported modules in both __init__.py and submodules (PY-14454, PY-14615)

We used to resolve members __init__.py of imported packages using only
the __init__.py itself, i.e. without considering their submodules. Now
we do that and we also don't filter unimported submodules because we
cannot detect them reliably. They might be imported in other modules
via some import chain.

6 years agoMerge remote-tracking branch 'origin/master'
irengrig [Thu, 2 Jul 2015 14:34:01 +0000 (16:34 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agonode.js: have caching service for keeping/recalculating known node.js interpreters...
irengrig [Thu, 2 Jul 2015 14:30:35 +0000 (16:30 +0200)]
node.js: have caching service for keeping/recalculating known node.js interpreters and their versions
use this component in node.js interpreter field; show version there
todo: how to show version for selected path in this component?

6 years agoRef.deref convenience method
Anton Makeev [Thu, 2 Jul 2015 14:22:20 +0000 (16:22 +0200)]
Ref.deref convenience method

6 years agoextract method: include method prams when extracting from lambda body (IDEA-142163)
Anna Kozlova [Thu, 2 Jul 2015 12:50:00 +0000 (15:50 +0300)]
extract method: include method prams when extracting from lambda body (IDEA-142163)

6 years agojunit: restore diff comparison for nested comparison failure exception (IDEA-142192)
Anna Kozlova [Thu, 2 Jul 2015 12:07:05 +0000 (15:07 +0300)]
junit: restore diff comparison for nested comparison failure exception (IDEA-142192)

6 years agotestng: provide test count on suite started
Anna Kozlova [Thu, 2 Jul 2015 11:59:14 +0000 (14:59 +0300)]
testng: provide test count on suite started

6 years agojunit: hide fully qualified name from parameterized test children
Anna Kozlova [Thu, 2 Jul 2015 11:55:02 +0000 (14:55 +0300)]
junit: hide fully qualified name from parameterized test children

6 years agojunit: compare suites by system.identityHashCode to avoid 'same parameter' problem...
Anna Kozlova [Thu, 2 Jul 2015 10:38:58 +0000 (13:38 +0300)]
junit: compare suites by system.identityHashCode to avoid 'same parameter' problem (IDEA-142153)

6 years agoFileUtil.toCanonicalPath can now expand symlinks when it's required to build the... phpstorm/142.2957
Anton Makeev [Thu, 2 Jul 2015 14:10:45 +0000 (16:10 +0200)]
FileUtil.toCanonicalPath can now expand symlinks when it's required to build the valid path that contains /../
* typos in JavaDoc fixed

6 years agoPseudoFunctionStyleMethodInspection: removed transformation of lambda generating...
Dmitry Batkovich [Thu, 2 Jul 2015 14:08:07 +0000 (17:08 +0300)]
PseudoFunctionStyleMethodInspection: removed transformation of lambda generating function, fixed most of type parameters issues

6 years agoIDEA-53898 Make bookmarks preview window (Shift+F11) resizable and remember its size
Vassiliy.Kudryashov [Thu, 2 Jul 2015 14:02:00 +0000 (17:02 +0300)]
IDEA-53898 Make bookmarks preview window (Shift+F11) resizable and remember its size

6 years agoCleanup (unneeded test parameters)
Roman Shevchenko [Thu, 2 Jul 2015 13:06:52 +0000 (16:06 +0300)]
Cleanup (unneeded test parameters)

6 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Thu, 2 Jul 2015 12:53:14 +0000 (15:53 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agojava: receiver parameter vetoed from rename
Roman Shevchenko [Thu, 2 Jul 2015 12:51:44 +0000 (15:51 +0300)]
java: receiver parameter vetoed from rename

6 years agojava: receiver parameter highlighting
Roman Shevchenko [Thu, 2 Jul 2015 12:29:22 +0000 (15:29 +0300)]
java: receiver parameter highlighting