idea/community.git
6 years agoMerge remote-tracking branch 'origin/master'
Konstantin Kolosovsky [Mon, 18 May 2015 13:50:55 +0000 (16:50 +0300)]
Merge remote-tracking branch 'origin/master'

Conflicts:
plugins/git4idea/src/git4idea/history/GitHistoryProvider.java

6 years agoIDEA-CR-2749 must not be strict — root could be requested
Vladimir Krivosheev [Mon, 18 May 2015 13:43:05 +0000 (15:43 +0200)]
IDEA-CR-2749 must not be strict — root could be requested

6 years agoIDEA-137908 External documentation (from javadoc.jar) is not shown
Vladimir Krivosheev [Mon, 18 May 2015 13:29:48 +0000 (15:29 +0200)]
IDEA-137908 External documentation (from javadoc.jar) is not shown

6 years agocleanup (prepare to fix IDEA-137908 External documentation (from javadoc.jar) is...
Vladimir Krivosheev [Mon, 18 May 2015 11:26:01 +0000 (13:26 +0200)]
cleanup (prepare to fix IDEA-137908 External documentation (from javadoc.jar) is not shown)

6 years agoPY-11561 Remove existing test case as it was replaced by more comprehensive one
Mikhail Golubev [Mon, 18 May 2015 13:07:09 +0000 (16:07 +0300)]
PY-11561 Remove existing test case as it was replaced by more comprehensive one

6 years agoPY-15927 Handle tuple parameters conflicts in "Add call super" quickfix
Mikhail Golubev [Mon, 18 May 2015 12:56:58 +0000 (15:56 +0300)]
PY-15927 Handle tuple parameters conflicts in "Add call super" quickfix

6 years agoPY-15867 Handle name collision between optional and required parameters
Mikhail Golubev [Mon, 18 May 2015 12:31:52 +0000 (15:31 +0300)]
PY-15867 Handle name collision between optional and required parameters

6 years agoPY-15867 Move Python 3 specific tests from PyQuickFixTest to Py3QuickFixTest
Mikhail Golubev [Mon, 18 May 2015 09:48:04 +0000 (12:48 +0300)]
PY-15867 Move Python 3 specific tests from PyQuickFixTest to Py3QuickFixTest

6 years agoPY-15867 Clean up in PyQuickFixTest and Py3QuickFixTest
Mikhail Golubev [Mon, 18 May 2015 09:42:44 +0000 (12:42 +0300)]
PY-15867 Clean up in PyQuickFixTest and Py3QuickFixTest

* Introduce overloaded version of doInspectionTest that doesn't
require name of test data file
* Add a few missing request IDs and place existing ones consistently
above corresponding methods
* Remove redundant "Py" and "QuickFix" parts from test names

6 years agoPY-11561 Preserve existing type annotations in the modified constructor
Mikhail Golubev [Thu, 14 May 2015 22:44:00 +0000 (01:44 +0300)]
PY-11561 Preserve existing type annotations in the modified constructor

6 years agoPY-15867 Improve AddCallSuperQuickFix to handle varargs and keyword-only parameters
Mikhail Golubev [Thu, 14 May 2015 10:13:12 +0000 (13:13 +0300)]
PY-15867 Improve AddCallSuperQuickFix to handle varargs and keyword-only parameters

6 years agoPY-15867 Initial cleanup in AddCallSuperQuickFix
Mikhail Golubev [Wed, 13 May 2015 18:07:59 +0000 (21:07 +0300)]
PY-15867 Initial cleanup in AddCallSuperQuickFix

6 years agoIDEA-140342 AltGr+г in ukrainian layout does not working
Denis Fokin [Mon, 18 May 2015 13:07:05 +0000 (17:07 +0400)]
IDEA-140342 AltGr+г in ukrainian layout does not working

6 years agoMake sure we don't have class cast exception because
Denis Zhdanov [Mon, 18 May 2015 13:00:14 +0000 (16:00 +0300)]
Make sure we don't have class cast exception because
UpsourceFileBasedIndex is not IS-A FileBasedIndexImpl

6 years agoModulesConfigurator.getModuleEditor optimization (IDEA-140360)
nik [Mon, 18 May 2015 12:55:21 +0000 (15:55 +0300)]
ModulesConfigurator.getModuleEditor optimization (IDEA-140360)

6 years agofixed lines mapping in bytecode viewer for decompiled code
Egor.Ushakov [Mon, 18 May 2015 12:16:36 +0000 (15:16 +0300)]
fixed lines mapping in bytecode viewer for decompiled code

6 years agoIDEA-135998: Do not suggest to replace 'matches' method with precompiled Pattern... clion/142.1840
nik [Mon, 18 May 2015 12:01:02 +0000 (15:01 +0300)]
IDEA-135998: Do not suggest to replace 'matches' method with precompiled Pattern in GWT Client Code

6 years agocom.jetbrains.typoscript v0.1.1 v0.1.0 were marked as incompatible
Maxim.Mossienko [Mon, 18 May 2015 11:21:53 +0000 (13:21 +0200)]
com.jetbrains.typoscript v0.1.1 v0.1.0 were marked as incompatible

6 years agodiff: do not require init() call on DiffRequestProcessor
Aleksey Pivovarov [Fri, 15 May 2015 14:24:19 +0000 (17:24 +0300)]
diff: do not require init() call on DiffRequestProcessor

* avoid potentially dangerous non-EDT calls
* we require explicit call for updateRequest() anyway

6 years agodiff: move context hints update/process into base class
Aleksey Pivovarov [Fri, 15 May 2015 16:38:23 +0000 (19:38 +0300)]
diff: move context hints update/process into base class

* avoid possible issues with dispose() order - we want to update hints before anything is destroyed

6 years agodiff: simplify rediff logic
Aleksey Pivovarov [Fri, 15 May 2015 14:27:51 +0000 (17:27 +0300)]
diff: simplify rediff logic

* move timer out of queue - it's rarely needed, and has non-obvious behavior
* dispose() is called on EDT now, so we don't need synchronization

6 years agodiff: dispose viewers in EDT
Aleksey Pivovarov [Fri, 15 May 2015 14:24:19 +0000 (17:24 +0300)]
diff: dispose viewers in EDT

avoid 'half-disposed' state with two-step disposing (on pooled and EDT threads)

6 years agodiff: destroy folding model in three-side viewer
Aleksey Pivovarov [Fri, 15 May 2015 16:29:55 +0000 (19:29 +0300)]
diff: destroy folding model in three-side viewer

6 years agofix CCE in Edit Project Group action
Konstantin Bulenkov [Mon, 18 May 2015 11:11:43 +0000 (13:11 +0200)]
fix CCE in Edit Project Group action

6 years agoIDEA-140303 Improve debugger settings popup wording
Egor.Ushakov [Mon, 18 May 2015 10:59:28 +0000 (13:59 +0300)]
IDEA-140303 Improve debugger settings popup wording

6 years agoscoped super class substitutor: process raw types correctly
peter [Mon, 18 May 2015 09:39:30 +0000 (11:39 +0200)]
scoped super class substitutor: process raw types correctly

6 years agojava resolve: don't add new variables to substitutor when correcting type by scope
peter [Mon, 18 May 2015 09:35:57 +0000 (11:35 +0200)]
java resolve: don't add new variables to substitutor when correcting type by scope

6 years agounpack JDKs: always use x64 jvm appcode/142.1839
nik [Mon, 18 May 2015 09:14:29 +0000 (12:14 +0300)]
unpack JDKs: always use x64 jvm

6 years agoIDEA-138942 Gradle: #JAVA_INTERNAL is suggested as Gradle JVM in Import Project Wizar... clion/142.1838
Vladislav.Soroka [Mon, 18 May 2015 08:59:27 +0000 (11:59 +0300)]
IDEA-138942 Gradle: #JAVA_INTERNAL is suggested as Gradle JVM in Import Project Wizard if no other JDKs is configured

6 years agoIDEA-140025 Ignore incorrect inline tags in doc comments, include all characters... idea/142.1837
Dmitry Batrak [Mon, 18 May 2015 08:36:18 +0000 (11:36 +0300)]
IDEA-140025 Ignore incorrect inline tags in doc comments, include all characters till whitespace in tag name, like javadoc tool does,

6 years agoTrying to use LocalFileSystemImpl in upsource
Denis Zhdanov [Mon, 18 May 2015 07:09:48 +0000 (10:09 +0300)]
Trying to use LocalFileSystemImpl in upsource

6 years agoCodeInsightTestFixture.complete should return the lookup elements generated during... appcode/142.1834 dbe/142.1831 pycharm/142.1835 rubymine/142.1829 webstorm/142.1830
peter [Sun, 17 May 2015 19:53:53 +0000 (21:53 +0200)]
CodeInsightTestFixture.complete should return the lookup elements generated during that completion, not a later one

6 years agoJavaClassSupersImpl: composeSubstitutors should honor all relevant type parameters...
peter [Sun, 17 May 2015 17:01:44 +0000 (19:01 +0200)]
JavaClassSupersImpl: composeSubstitutors should honor all relevant type parameters and only them

6 years agoPsiResolveHelperImpl.multiResolveConstructor: remove totally unneeded super class...
peter [Sun, 17 May 2015 16:39:43 +0000 (18:39 +0200)]
PsiResolveHelperImpl.multiResolveConstructor: remove totally unneeded super class substitutor calculation

6 years agoensure static method inherit default if container classes are inheritors
Anna Kozlova [Sun, 17 May 2015 15:39:18 +0000 (17:39 +0200)]
ensure static method inherit default if container classes are inheritors

6 years agodistinguish static and default methods in cls interfaces (IDEA-140371) appcode/142.1828 clion/142.1827
Anna Kozlova [Sun, 17 May 2015 11:27:10 +0000 (13:27 +0200)]
distinguish static and default methods in cls interfaces (IDEA-140371)

6 years agoupdate VirtualFileSystem.refreshAndFindFileByPath javadoc appcode/142.1825 idea/142.1826
peter [Sun, 17 May 2015 07:34:20 +0000 (09:34 +0200)]
update VirtualFileSystem.refreshAndFindFileByPath javadoc

6 years agoDart tests run configuration (although it doesn't work out-of-the-box please do not... appcode/142.1817 dbe/142.1822 pycharm/142.1820 webstorm/142.1821
Alexander Doroshko [Fri, 15 May 2015 18:14:11 +0000 (21:14 +0300)]
Dart tests run configuration (although it doesn't work out-of-the-box please do not delete it, it is used by Dart plugin developers)

6 years agotable structure tags should stop termination at table tag
Dennis Ushakov [Sat, 16 May 2015 16:05:10 +0000 (19:05 +0300)]
table structure tags should stop termination at table tag

6 years agonon-recursive html parsing appcode/142.1814 clion/142.1815
Dennis Ushakov [Fri, 15 May 2015 14:59:19 +0000 (17:59 +0300)]
non-recursive html parsing
updated html auto-close

6 years agothrowable variable not thrown: check lambda return appcode/142.1813
Anna Kozlova [Sat, 16 May 2015 11:00:50 +0000 (13:00 +0200)]
throwable variable not thrown: check lambda return

6 years agothrowable instance not thrown: check lambda return
Anna Kozlova [Sat, 16 May 2015 10:50:21 +0000 (12:50 +0200)]
throwable instance not thrown: check lambda return

6 years agoIDEA-23612 Handle overriding builtin exceptions. appcode/142.1810
peter [Sat, 16 May 2015 06:20:46 +0000 (08:20 +0200)]
IDEA-23612 Handle overriding builtin exceptions.

6 years agoadd setting to File Structure Popup. Initial appcode/142.1807 dbe/142.1805 idea/142.1802 rubymine/142.1804 webstorm/142.1806
Konstantin Bulenkov [Fri, 15 May 2015 21:51:26 +0000 (00:51 +0300)]
add setting to File Structure Popup. Initial

6 years agoNPE fix
Konstantin Bulenkov [Fri, 15 May 2015 21:50:03 +0000 (00:50 +0300)]
NPE fix

6 years agoSeparator fixed and glob used instead of regexp for PY-15869
Ilya.Kazakevich [Fri, 15 May 2015 21:48:37 +0000 (00:48 +0300)]
Separator fixed and glob used instead of regexp for PY-15869
TODO: add tests!

6 years agorefactor to avoid SOE and fail to stop problems ever (IDEA-140324)
Gregory Shrago [Fri, 15 May 2015 21:46:56 +0000 (00:46 +0300)]
refactor to avoid SOE and fail to stop problems ever (IDEA-140324)

6 years agounpackJdks: use proper home directory for 'ultimate' project
nik [Fri, 15 May 2015 19:40:33 +0000 (22:40 +0300)]
unpackJdks: use proper home directory for 'ultimate' project

6 years agomake gear as action popup (without icons)
Anna Kozlova [Fri, 15 May 2015 18:38:53 +0000 (20:38 +0200)]
make gear as action popup (without icons)

6 years agoskip exceptions returned from lambdas ThrowableIsNotThrown (IDEA-140336)
Anna Kozlova [Fri, 15 May 2015 17:20:25 +0000 (19:20 +0200)]
skip exceptions returned from lambdas ThrowableIsNotThrown (IDEA-140336)

6 years agorollback
Konstantin Bulenkov [Fri, 15 May 2015 18:17:30 +0000 (20:17 +0200)]
rollback

6 years agorollback
Konstantin Bulenkov [Fri, 15 May 2015 18:16:51 +0000 (20:16 +0200)]
rollback

6 years agorollback
Konstantin Bulenkov [Fri, 15 May 2015 18:15:35 +0000 (20:15 +0200)]
rollback

6 years agounpackJdks: move files using 'mv' command to preserve symlinks
nik [Fri, 15 May 2015 17:54:50 +0000 (20:54 +0300)]
unpackJdks: move files using 'mv' command to preserve symlinks

6 years agoOn attempt to remove readonly file NIO throws AccessDeniedException. If this is the...
Eugene Zhuravlev [Fri, 15 May 2015 17:30:57 +0000 (19:30 +0200)]
On attempt to remove readonly file NIO throws AccessDeniedException. If this is the case, try to remove the file with older java.io API

6 years agocleanup
Gregory.Shrago [Fri, 15 May 2015 17:04:56 +0000 (20:04 +0300)]
cleanup

6 years agounpackJdks: use 'tar' command instead of Ant task to preserve symlinks
nik [Fri, 15 May 2015 17:34:48 +0000 (20:34 +0300)]
unpackJdks: use 'tar' command instead of Ant task to preserve symlinks

6 years agoDarcula: fix combobox size
Alexander Kass [Fri, 15 May 2015 16:50:55 +0000 (19:50 +0300)]
Darcula: fix combobox size

6 years agoDBE: fix darcula button offsets
Alexander Kass [Fri, 15 May 2015 15:48:54 +0000 (18:48 +0300)]
DBE: fix darcula button offsets

6 years agoDarcula: fix text fields drawing
Alexander Kass [Fri, 15 May 2015 13:42:41 +0000 (16:42 +0300)]
Darcula: fix text fields drawing

6 years agosm ui: make test view predefined component (IDEA-126351)
Anna Kozlova [Fri, 15 May 2015 16:23:46 +0000 (18:23 +0200)]
sm ui: make test view predefined component (IDEA-126351)

6 years agoupdate to M11 syntax appcode/142.1801
Dmitry Jemerov [Fri, 15 May 2015 16:16:52 +0000 (18:16 +0200)]
update to M11 syntax

6 years agoextracted built-in server settings into a separate category
Egor.Ushakov [Fri, 15 May 2015 16:13:56 +0000 (19:13 +0300)]
extracted built-in server settings into a separate category

6 years agoIDEA-140341 Debugger stops in anonymous class constructor - allow initializers clion/142.1800
Egor.Ushakov [Fri, 15 May 2015 15:52:15 +0000 (18:52 +0300)]
IDEA-140341 Debugger stops in anonymous class constructor - allow initializers

6 years ago[log] Don't call Disposer.register from VisiblePackBuilderTest
Kirill Likhodedov [Fri, 15 May 2015 15:26:13 +0000 (18:26 +0300)]
[log] Don't call Disposer.register from VisiblePackBuilderTest

Since nobody calls dispose afterwards => a leak happens.

For this extract the DataGetter interface and use it in the
VisiblePackBuilder. Provide a stub implementation in the test.

6 years agoIDEA-140294 If you declare a variable and initialize it on the same line, autocomplet...
peter [Fri, 15 May 2015 15:04:06 +0000 (17:04 +0200)]
IDEA-140294 If you declare a variable and initialize it on the same line, autocomplete will suggest the new variable in that line

6 years agoisJavaLangObject->hasObjectQualifiedName
peter [Fri, 15 May 2015 14:23:55 +0000 (16:23 +0200)]
isJavaLangObject->hasObjectQualifiedName

6 years agoIDEA-140273 "Cannot @Grab without Ivy" error in 14.1
peter [Fri, 15 May 2015 14:03:53 +0000 (16:03 +0200)]
IDEA-140273 "Cannot @Grab without Ivy" error in 14.1

6 years agoIDEA Community run config on a par with the Ultimate one
Alexander Doroshko [Fri, 15 May 2015 15:17:19 +0000 (18:17 +0300)]
IDEA Community run config on a par with the Ultimate one

6 years agoScratches: open scratch editor first, then choose language or escape
Gregory.Shrago [Fri, 15 May 2015 15:00:34 +0000 (18:00 +0300)]
Scratches: open scratch editor first, then choose language or escape

6 years agofix formatting
Kirill Likhodedov [Fri, 15 May 2015 14:56:21 +0000 (17:56 +0300)]
fix formatting

6 years agoIDEA-140249 Keymap filter is broken for action groups
Sergey Malenkov [Fri, 15 May 2015 13:57:29 +0000 (16:57 +0300)]
IDEA-140249 Keymap filter is broken for action groups

6 years ago[vcs] remove unused constructor
Kirill Likhodedov [Thu, 14 May 2015 15:48:45 +0000 (18:48 +0300)]
[vcs] remove unused constructor

6 years ago[vcs] Don't call FilePathImpl constructor directly: use helper method
Kirill Likhodedov [Thu, 14 May 2015 14:17:49 +0000 (17:17 +0300)]
[vcs] Don't call FilePathImpl constructor directly: use helper method

6 years ago[vcs] Don't create FilePath object when not needed
Kirill Likhodedov [Thu, 14 May 2015 12:54:15 +0000 (15:54 +0300)]
[vcs] Don't create FilePath object when not needed

Use the given VirtualFile, or just String fileName.

6 years ago[vcs] Don't create FilePath object here since it is not used by callers.
Kirill Likhodedov [Thu, 14 May 2015 11:28:33 +0000 (14:28 +0300)]
[vcs] Don't create FilePath object here since it is not used by callers.

6 years agoremove unused method
Kirill Likhodedov [Thu, 14 May 2015 13:51:29 +0000 (16:51 +0300)]
remove unused method

6 years agoIG+IPP: remove a little duplication
Bas Leijdekkers [Fri, 15 May 2015 14:23:46 +0000 (16:23 +0200)]
IG+IPP: remove a little duplication

6 years agomake IG test light
Bas Leijdekkers [Fri, 15 May 2015 14:20:20 +0000 (16:20 +0200)]
make IG test light

6 years agoIG: teach "Non-constant String should be StringBuilder" inspection about polyadic...
Bas Leijdekkers [Fri, 15 May 2015 14:07:12 +0000 (16:07 +0200)]
IG: teach "Non-constant String should be StringBuilder" inspection about polyadic expressions

6 years agoIG: handle masked RuntimeException correctly in "Overly broad 'catch' block" inspection
Bas Leijdekkers [Fri, 15 May 2015 13:42:22 +0000 (15:42 +0200)]
IG: handle masked RuntimeException correctly in "Overly broad 'catch' block" inspection

6 years agoIG: handle classes and lambda's correctly in "Overly broad 'catch' block" inspection
Bas Leijdekkers [Fri, 15 May 2015 12:28:11 +0000 (14:28 +0200)]
IG: handle classes and lambda's correctly in "Overly broad 'catch' block" inspection

6 years agoIPP: remove ExceptionUtils duplication
Bas Leijdekkers [Fri, 15 May 2015 12:21:33 +0000 (14:21 +0200)]
IPP: remove ExceptionUtils duplication

6 years agoIG: handle try resource lists correctly in "Overly broad 'catch' block" inspection
Bas Leijdekkers [Fri, 15 May 2015 12:07:50 +0000 (14:07 +0200)]
IG: handle try resource lists correctly in "Overly broad 'catch' block" inspection

6 years agoIG: simplify ExceptionUtils
Bas Leijdekkers [Fri, 15 May 2015 10:59:31 +0000 (12:59 +0200)]
IG: simplify ExceptionUtils

6 years agoIG: enable "Lambda parameter naming convention" inspection
Bas Leijdekkers [Fri, 15 May 2015 10:17:11 +0000 (12:17 +0200)]
IG: enable "Lambda parameter naming convention" inspection

6 years agomake IG test light
Bas Leijdekkers [Thu, 14 May 2015 15:28:32 +0000 (17:28 +0200)]
make IG test light

6 years agoIDEA-140341 Debugger stops in anonymous class constructor
Egor.Ushakov [Fri, 15 May 2015 14:31:48 +0000 (17:31 +0300)]
IDEA-140341 Debugger stops in anonymous class constructor

6 years agohide brace highlighting popup when corresponding editor highlighters are cleared
Dmitry Batrak [Fri, 15 May 2015 14:06:44 +0000 (17:06 +0300)]
hide brace highlighting popup when corresponding editor highlighters are cleared

6 years agogradle: Added ability to retrieve a module's Java source level from Java.
Alex Ruiz [Wed, 13 May 2015 18:30:18 +0000 (21:30 +0300)]
gradle: Added ability to retrieve a module's Java source level from Java.

Change-Id: I5a0c2eae267cdeaf1a27c9016f278f7edbabfd91
(cherry picked from commit 76ebc2d)

6 years agogradle: fix gradle import when deprecated "out-of-process" mode used;
Vladislav.Soroka [Wed, 13 May 2015 14:41:16 +0000 (17:41 +0300)]
gradle: fix gradle import when deprecated "out-of-process" mode used;
IDEA-140243 Could not import any gradle project

6 years agoadded script to unpack JDK distributions
nik [Fri, 15 May 2015 13:52:59 +0000 (16:52 +0300)]
added script to unpack JDK distributions

6 years ago[groovy] fix space existance between token within strings (IDEA-140304)
Daniil Ovchinnikov [Fri, 15 May 2015 13:31:04 +0000 (16:31 +0300)]
[groovy] fix space existance between token within strings (IDEA-140304)

6 years agoIDEA-140114 Fixed encoding files paths with '@' symbol when passing parameters to...
Konstantin Kolosovsky [Fri, 15 May 2015 13:27:11 +0000 (16:27 +0300)]
IDEA-140114 Fixed encoding files paths with '@' symbol when passing parameters to svn command line client

6 years agodarcula ui: use the same border for password field
Sergey Ignatov [Fri, 15 May 2015 13:16:05 +0000 (16:16 +0300)]
darcula ui: use the same border for password field

6 years agocompressed OptionDescriptors (3mb down to 1mb) appcode/142.1799
Alexey Kudravtsev [Fri, 15 May 2015 12:59:48 +0000 (15:59 +0300)]
compressed OptionDescriptors (3mb down to 1mb)

6 years agolowercase tag names
Dennis Ushakov [Thu, 14 May 2015 15:37:32 +0000 (18:37 +0300)]
lowercase tag names

6 years agosync "idea.default" inspection profile in IU and IC projects clion/142.1798
Alexander Doroshko [Fri, 15 May 2015 12:32:49 +0000 (15:32 +0300)]
sync "idea.default" inspection profile in IU and IC projects

6 years agospeedup initial IElementType registration; test fix
Alexey Kudravtsev [Fri, 15 May 2015 11:54:01 +0000 (14:54 +0300)]
speedup initial IElementType registration; test fix

6 years agocleanup
Alexey Kudravtsev [Thu, 14 May 2015 18:11:45 +0000 (21:11 +0300)]
cleanup