Yaroslav Lepenkin [Wed, 14 Jan 2015 14:57:55 +0000 (16:57 +0200)]
Merge branch 'master' into no-reformat-dialog-on-reformat-code-action
Conflicts:
platform/lang-impl/src/com/intellij/codeInsight/actions/FormatChangedTextUtil.java
platform/lang-impl/src/com/intellij/codeInsight/actions/RearrangeCodeProcessor.java
platform/lang-impl/src/com/intellij/codeInsight/actions/ReformatCodeAction.java
Yaroslav Lepenkin [Wed, 14 Jan 2015 11:23:31 +0000 (13:23 +0200)]
Do not add import statement for java.lang classes when replacing fqn with import (IDEA-134529)
peter [Wed, 14 Jan 2015 09:32:31 +0000 (10:32 +0100)]
issue just one "too many uncommitted documents" per leaked test project
Yann Cébron [Wed, 14 Jan 2015 09:42:20 +0000 (10:42 +0100)]
@Bombed: advance default year
Vladimir.Orlov [Wed, 14 Jan 2015 08:29:07 +0000 (11:29 +0300)]
synchronized Updater with the new version from google.
Changes:
- Strict patches
- Directories as files
- Support for moving files
- Making use of critical files
- Zip file normalization for binary patches
- Mac patches from the application folder
Anna Kozlova [Tue, 13 Jan 2015 19:51:55 +0000 (20:51 +0100)]
copyright: remove trim for copyright text; normalize trims for keywords (IDEA-135077)
Anna Kozlova [Tue, 13 Jan 2015 19:12:24 +0000 (20:12 +0100)]
redundant lambda code block: ignore if language level is less than 1.8 (IDEA-135078)
Anna Kozlova [Tue, 13 Jan 2015 19:08:21 +0000 (20:08 +0100)]
stream migration: reject collection conversion if qualifier depends on loop parameter (IDEA-135104)
Anna Kozlova [Tue, 13 Jan 2015 18:43:41 +0000 (19:43 +0100)]
export to eclipse: title in error dialog changed to action name (IDEA-135147)
Anna Kozlova [Tue, 13 Jan 2015 18:41:37 +0000 (19:41 +0100)]
implement interface inside java 8+ interface should create default methods (IDEA-135105)
Anna Kozlova [Tue, 13 Jan 2015 16:12:01 +0000 (17:12 +0100)]
disable create subclass for scratch files (IDEA-135161)
Anna Kozlova [Tue, 13 Jan 2015 16:10:00 +0000 (17:10 +0100)]
inner class may be static: allow calls to super types of anonymous classes (IDEA-135144)
peter [Tue, 13 Jan 2015 18:42:11 +0000 (19:42 +0100)]
let completion isAutoPopup be the same as invocationCount==0 and be prepared that handleEmptyLookup is called
Dmitry Batkovich [Tue, 13 Jan 2015 18:02:10 +0000 (21:02 +0300)]
Another version of inspection tool configurable header: fixed wry layout of components
Kirill Likhodedov [Tue, 13 Jan 2015 17:07:44 +0000 (20:07 +0300)]
Merge remote-tracking branch 'origin/master'
Kirill Likhodedov [Tue, 13 Jan 2015 17:07:08 +0000 (20:07 +0300)]
[vcs] IDEA-134734 Better correctly compare 2 empty paths
Egor.Ushakov [Tue, 13 Jan 2015 16:59:16 +0000 (19:59 +0300)]
correct session was not selected in toolwindow on breakpoint hit
peter [Tue, 13 Jan 2015 16:33:41 +0000 (17:33 +0100)]
let completion isAutoPopup be the same as invocationCount==0
peter [Tue, 13 Jan 2015 16:07:17 +0000 (17:07 +0100)]
IDEA-135162 Smart Completion proposes nothing in catch statements
peter [Tue, 13 Jan 2015 15:31:09 +0000 (16:31 +0100)]
dfa: type values shouldn't be part of equivalence relations (IDEA-135134)
Kirill Likhodedov [Tue, 13 Jan 2015 16:03:31 +0000 (19:03 +0300)]
[vcs] IDEA-134734 Correctly compare 2 empty paths
Kirill Likhodedov [Tue, 13 Jan 2015 16:01:26 +0000 (19:01 +0300)]
[vcs] IDEA-134734 Protect against comparator errors.
Kirill Likhodedov [Tue, 13 Jan 2015 15:55:39 +0000 (18:55 +0300)]
Revert "IDEA-134734 ChangesComparator: more explicit isAncestor check"
this change is incorrect, because we need both YES and UNSURE
Kirill Likhodedov [Tue, 13 Jan 2015 15:35:33 +0000 (18:35 +0300)]
simplify: null is not possible here
Kirill Likhodedov [Tue, 13 Jan 2015 14:30:49 +0000 (17:30 +0300)]
javadoc
Kirill Likhodedov [Tue, 13 Jan 2015 12:57:10 +0000 (15:57 +0300)]
rename variables to more descriptive names
Egor.Ushakov [Tue, 13 Jan 2015 15:43:27 +0000 (18:43 +0300)]
fixed blinking ExecutionManagerTest.testRun
Eugene Zhuravlev [Tue, 13 Jan 2015 15:06:26 +0000 (16:06 +0100)]
do not throw exception on explicit isDisposed() check
Anna Kozlova [Tue, 13 Jan 2015 15:10:39 +0000 (16:10 +0100)]
generate equals/hashCode: ensure one @Override is inserted; extensions could also provide their annotations on equals/hashCode override;
tests: language level is 1.5 though jdk is mockJdk14 without @Override as expected -> fqns in test data
Anna Kozlova [Tue, 13 Jan 2015 14:49:16 +0000 (15:49 +0100)]
generate equals/hashCode: do not show @NotNull step for templates without notNull check
Anna Kozlova [Tue, 13 Jan 2015 14:00:07 +0000 (15:00 +0100)]
generate equals/hashCode: sort primitive fields up and leave natural ordering (IDEA-21339)
Dmitry Jemerov [Tue, 13 Jan 2015 14:19:10 +0000 (15:19 +0100)]
optimize Kotlin coverage performance: don't call PsiClass.getConstructors() unless we care about the results
Dmitry Jemerov [Tue, 13 Jan 2015 13:24:56 +0000 (14:24 +0100)]
optimize Kotlin coverage performance by avoiding calls to getContainingFile() on AbstractLightClass instances
Alexander Zolotov [Tue, 13 Jan 2015 12:27:52 +0000 (15:27 +0300)]
Emmet configurables should be searchable
peter [Tue, 13 Jan 2015 14:18:03 +0000 (15:18 +0100)]
fire at most one "unloaded psi changed" event per bulk vfs event
peter [Tue, 13 Jan 2015 11:34:41 +0000 (12:34 +0100)]
DefaultCompletionContributor: check for shortcut emptiness
Dmitry Batrak [Tue, 13 Jan 2015 13:56:25 +0000 (16:56 +0300)]
IDEA-133850 Add editor setting to disable rich-text copy
Anna Kozlova [Tue, 13 Jan 2015 13:48:33 +0000 (14:48 +0100)]
Merge remote-tracking branch 'origin/master'
Bas Leijdekkers [Tue, 13 Jan 2015 13:22:37 +0000 (14:22 +0100)]
new "'clone()' should have return type equal to the class it contains" inspection
Kirill Likhodedov [Tue, 13 Jan 2015 12:46:02 +0000 (15:46 +0300)]
[vcs] simplify: file is always not null here
Kirill Likhodedov [Tue, 13 Jan 2015 12:17:04 +0000 (15:17 +0300)]
[git] handle PCE separately
Anton Makeev [Tue, 13 Jan 2015 12:39:06 +0000 (13:39 +0100)]
Platform: race condition in global inspections fixed:
RefManager was passed to RefElement constructor, which in turn could call RefManager.getReference(psiElement), and cause unsynchronized access to RefElementImpl.add().
+ bug fixed in previous logic
Exception:
at java.util.ArrayList.add(ArrayList.java:352)
at com.intellij.codeInspection.reference.RefEntityImpl.add(RefEntityImpl.java:85)
at com.intellij.codeInspection.reference.RefFileImpl.<init>(RefFileImpl.java:40)
at com.intellij.codeInspection.reference.RefManagerImpl$4.compute(RefManagerImpl.java:480)
at com.intellij.codeInspection.reference.RefManagerImpl$4.compute(RefManagerImpl.java:470)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:893)
at com.intellij.codeInspection.reference.RefManagerImpl.getReference(RefManagerImpl.java:470)
at com.intellij.codeInspection.reference.RefManagerImpl.getReference(RefManagerImpl.java:448)
at com.intellij.codeInspection.ex.GlobalInspectionContextUtil.retrieveRefElement(GlobalInspectionContextUtil.java:35)
at com.intellij.codeInspection.GlobalInspectionUtil.createProblem(GlobalInspectionUtil.java:67)
at com.intellij.codeInspection.DefaultHighlightVisitorBasedInspection.checkFile(DefaultHighlightVisitorBasedInspection.java:115)
at com.intellij.codeInspection.ex.GlobalInspectionContextImpl$6.process(GlobalInspectionContextImpl.java:390)
at com.intellij.codeInspection.ex.GlobalInspectionContextImpl$6.process(GlobalInspectionContextImpl.java:383)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:122)
at com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:44)
at com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:85)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1107)
at com.intellij.concurrency.ApplierCompleter$2.run(ApplierCompleter.java:94)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.registerIndicatorAndRun(ProgressManagerImpl.java:282)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.registerIndicatorAndRun(ProgressManagerImpl.java:279)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:232)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:106)
Anna Kozlova [Tue, 13 Jan 2015 12:34:10 +0000 (13:34 +0100)]
generate equals/hashCode: pass wildcards as type arguments when needed (IDEA-127939)
Dmitry Jemerov [Tue, 13 Jan 2015 12:22:44 +0000 (13:22 +0100)]
Merge remote-tracking branch 'origin/master'
Dmitry Jemerov [Tue, 13 Jan 2015 12:21:10 +0000 (13:21 +0100)]
clarify javadoc a bit
Eugene Zhuravlev [Tue, 13 Jan 2015 12:03:50 +0000 (13:03 +0100)]
supporting sdk 9 and higher as compilation target
Anna Kozlova [Tue, 13 Jan 2015 11:38:28 +0000 (12:38 +0100)]
generate equals/hashCode: allow getters (IDEA-73860)
Sergey Simonchik [Tue, 13 Jan 2015 11:45:40 +0000 (14:45 +0300)]
JSTestDriver 140.727 and NodeJS 140.642 marked as incompatible
Alexander Zolotov [Tue, 13 Jan 2015 11:07:25 +0000 (14:07 +0300)]
Emmet: use language instead of file type while creating file in order to
avoid language substitutors
Konstantin Bulenkov [Tue, 13 Jan 2015 11:14:06 +0000 (12:14 +0100)]
fix ProgressBar drawing issues
Vladimir.Orlov [Tue, 13 Jan 2015 11:09:06 +0000 (14:09 +0300)]
Merge remote-tracking branch 'origin/master'
Vladimir.Orlov [Tue, 13 Jan 2015 10:50:20 +0000 (13:50 +0300)]
Merge remote-tracking branch 'origin/master'
Egor.Ushakov [Tue, 13 Jan 2015 10:38:30 +0000 (13:38 +0300)]
Merge remote-tracking branch 'origin/master'
Egor.Ushakov [Tue, 13 Jan 2015 10:37:37 +0000 (13:37 +0300)]
IDEA-129869 Evaluating expression for FileSystem API varargs getPath method produces IllegalArgumentException
Vladimir.Orlov [Tue, 13 Jan 2015 10:31:03 +0000 (13:31 +0300)]
Merge remote-tracking branch 'origin/master'
peter [Tue, 13 Jan 2015 10:28:06 +0000 (11:28 +0100)]
debugging PsiEventsTest.testRenameFileWithoutDir
Vladimir.Orlov [Tue, 13 Jan 2015 10:28:18 +0000 (13:28 +0300)]
OC-10936 AppCode inspector fails from the command line
Konstantin Bulenkov [Tue, 13 Jan 2015 10:16:18 +0000 (11:16 +0100)]
rollback using VALUE_STROKE_PURE
Dmitry Avdeev [Tue, 13 Jan 2015 09:59:27 +0000 (12:59 +0300)]
IDEA-15956 Ctrl-/ does not work in pointcut language
Maxim.Mossienko [Tue, 13 Jan 2015 09:45:02 +0000 (10:45 +0100)]
Merge remote-tracking branch 'origin/master'
Maxim.Mossienko [Tue, 13 Jan 2015 09:41:52 +0000 (10:41 +0100)]
php plugin 139.105 is marked incompatible
Dennis Ushakov [Tue, 13 Jan 2015 09:12:51 +0000 (12:12 +0300)]
replace annotator with editor notification
Alexander Zolotov [Tue, 13 Jan 2015 08:16:26 +0000 (11:16 +0300)]
Do not rely on standard html file type while generating Emmet template
Alexander Zolotov [Mon, 12 Jan 2015 18:35:08 +0000 (21:35 +0300)]
Reimplement emmet filters list with checkboxes
Alexander Zolotov [Mon, 12 Jan 2015 17:30:47 +0000 (20:30 +0300)]
Refactor Emmet configurable
- separate generator-specific configurables
- disable particular emmet generator via lookupAction
- show particular emmet generator configurable via lookupAction
Alexander Zolotov [Mon, 12 Jan 2015 15:07:52 +0000 (18:07 +0300)]
Ensure file is writable while updating tag
Dmitry Batrak [Tue, 13 Jan 2015 08:07:35 +0000 (11:07 +0300)]
remove a flag to disable multiple carets in editor and supporting legacy code
missed cleanup
Dmitry Batrak [Mon, 12 Jan 2015 16:17:17 +0000 (19:17 +0300)]
IDEA-121925 Allow to do multiple selections w/wout multiple carets per selection
fixed test failing on Mac
Dmitry Batrak [Mon, 12 Jan 2015 16:08:10 +0000 (19:08 +0300)]
fix for a folding model consistency issue
Konstantin Bulenkov [Mon, 12 Jan 2015 22:53:34 +0000 (23:53 +0100)]
HiDPI: fix console font size under darcula
Konstantin Bulenkov [Mon, 12 Jan 2015 22:42:28 +0000 (23:42 +0100)]
HiDPI: fix default InsetsUIResources in UIDefaults
Konstantin Bulenkov [Mon, 12 Jan 2015 22:41:38 +0000 (23:41 +0100)]
HiDPI: fix menu items
Anna Kozlova [Mon, 12 Jan 2015 20:55:59 +0000 (21:55 +0100)]
Merge remote-tracking branch 'origin/master'
Anna Kozlova [Mon, 12 Jan 2015 20:53:57 +0000 (21:53 +0100)]
fix line separators for tests
Bas Leijdekkers [Mon, 12 Jan 2015 20:51:14 +0000 (21:51 +0100)]
fix test
Anna Kozlova [Mon, 12 Jan 2015 20:22:54 +0000 (21:22 +0100)]
Merge remote-tracking branch 'origin/master'
Anna Kozlova [Mon, 12 Jan 2015 20:13:33 +0000 (21:13 +0100)]
extract method parameters suggester: change method copy context so calls inside method body could be resolved (aClass..getTypeParameterList() passed inside MethodElement.copyElement && aClass.processDeclarations implementations together cause that method calls to same class members can't be resolved); teach DuplicatesFinder to work on non-physical elements with correct context
peter [Mon, 12 Jan 2015 19:06:04 +0000 (20:06 +0100)]
IDEA-61368 Settings search doesn't find live templates
peter [Mon, 12 Jan 2015 19:04:25 +0000 (20:04 +0100)]
an API to contribute searchable options from plugins
Anton Makeev [Mon, 12 Jan 2015 18:02:17 +0000 (19:02 +0100)]
Merge remote-tracking branch 'origin/master'
Anton Makeev [Mon, 12 Jan 2015 18:00:18 +0000 (19:00 +0100)]
[revert] Platform: race condition in global inspections fixed
Anna Kozlova [Mon, 12 Jan 2015 17:44:03 +0000 (18:44 +0100)]
Merge remote-tracking branch 'origin/master'
Anna Kozlova [Mon, 12 Jan 2015 17:31:59 +0000 (18:31 +0100)]
Merge remote-tracking branch 'origin/master'
Dmitry Jemerov [Mon, 12 Jan 2015 17:01:07 +0000 (18:01 +0100)]
another race condition with accessing SrcFileAnnotator.myFile after it has been disposed (https://ea.jetbrains.com/browser/ea_reports/772151)
Dmitry Jemerov [Mon, 12 Jan 2015 16:58:11 +0000 (17:58 +0100)]
fail launcher generator on error
Dennis Ushakov [Mon, 12 Jan 2015 17:21:15 +0000 (20:21 +0300)]
Merge remote-tracking branch 'origin/master'
Dennis Ushakov [Mon, 12 Jan 2015 17:18:37 +0000 (20:18 +0300)]
Merge remote-tracking branch 'origin/master'
Anton Makeev [Mon, 12 Jan 2015 17:17:31 +0000 (18:17 +0100)]
Merge remote-tracking branch 'origin/master'
Dennis Ushakov [Mon, 12 Jan 2015 17:16:18 +0000 (20:16 +0300)]
Merge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Mon, 12 Jan 2015 16:58:47 +0000 (17:58 +0100)]
reuse Rectangles when layouting label
Konstantin Bulenkov [Mon, 12 Jan 2015 16:57:32 +0000 (17:57 +0100)]
+JBRectangle initial
Dennis Ushakov [Mon, 12 Jan 2015 17:11:50 +0000 (20:11 +0300)]
fix spaces stripping tests
Anton Makeev [Mon, 12 Jan 2015 17:09:19 +0000 (18:09 +0100)]
Platform: a few clarifying 'empty' messages
Anna Kozlova [Mon, 12 Jan 2015 17:07:59 +0000 (18:07 +0100)]
generate equals/hashCode: use special loader to include by short name
Sergey Savenko [Mon, 12 Jan 2015 17:02:40 +0000 (20:02 +0300)]
DBE-1058: enable/disable logic for prev/next parameter actions
Anna Kozlova [Mon, 12 Jan 2015 17:00:30 +0000 (18:00 +0100)]
generate equals/hashCode: remove checks for static fields as statics are already excluded from $members
Dennis Ushakov [Mon, 12 Jan 2015 16:51:25 +0000 (19:51 +0300)]
Merge remote-tracking branch 'origin/master'
Anna Kozlova [Mon, 12 Jan 2015 16:49:55 +0000 (17:49 +0100)]
generate equals/hashCode: catch exceptions from invalid templates
Dennis Ushakov [Mon, 12 Jan 2015 16:49:22 +0000 (19:49 +0300)]
keep markers until explicitly invalidated to keep syncing after last char is deleted
Eugene Zhuravlev [Mon, 12 Jan 2015 16:30:26 +0000 (17:30 +0100)]
reflecting changes in profiling API