Commit Graph
152573 Commits
Author SHA1 Message Date
Anna Kozlova 5ffbec6759 method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730) 2015-05-28 19:42:08 +02:00
Dennis Ushakov 3b59425c3d support implicit head and body for html4
#WEB-2409 fixed
2015-05-28 20:05:14 +03:00
Dennis Ushakov fda4a6b55a try showing popup for whole editor area
#WEB-9022 fixed
2015-05-28 20:05:12 +03:00
Denis Fokin 682268e588 Retina displays should be antialiased without LCD rendering by default. 2015-05-28 20:00:32 +03:00
Sergey Malenkov 9ab3abfa81 Move the utility method to the utility class 2015-05-28 19:26:40 +03:00
Roman Shevchenko 58dc215b86 IDEA-138409 (postponed archive root refresh) 2015-05-28 18:20:37 +02:00
Egor.Ushakov 671549ec68 IDEA-136480 Debugger: Show vaues in editor: show hex values for primitives option triples the result 2015-05-28 19:17:56 +03:00
Dmitry Batrak 13fe87def8 remember editor.disable.rtl flag value at editor creation 2015-05-28 18:41:17 +03:00
Dmitry Batrak d97ae9d858 correct navigation in bidirectional text using keyboard arrow keys (with caret stopping and switching direction on ltr/rtl boundary) 2015-05-28 18:41:15 +03:00
Dmitry Batrak 961ee6f337 symmetric painting of caret direction mark 2015-05-28 18:41:14 +03:00
peter 241bfad0bd ReferenceProvidersRegistry micro-optimizations: get applicable ProviderInfo-s in just one map access, don't always synchronize getRegistrar 2015-05-28 17:14:49 +02:00
peter 4b589649c8 when vfs findChild fails, don't search the same array again in vain 2015-05-28 17:10:42 +02:00
peter 4f807b30c1 LiftShorterItemsClassifier: don't intern large arrays to avoid long pauses 2015-05-28 16:48:20 +02:00
nik b5cea3016c cross-platform zip dist: provide idea64.vmoptions for Mac (IDEA-140003) 2015-05-28 17:42:42 +03:00
peter 1d63af31b3 no java postfix templates in dumb mode (EA-66686 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-05-28 16:26:50 +02:00
peter 76a886eef5 no resolve-based Show VCS History for Selection in dumb mode (EA-68875 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-05-28 16:26:50 +02:00
peter 344cdfc966 enable slow findClass in AddImportAction (EA-66683 - INRE: FileBasedIndexImpl.handleDumbMode) 2015-05-28 16:26:49 +02:00
peter 339bf5d09a EA-67970 - CME: LiftShorterItemsClassifier.calculateToLift diagnostics 2015-05-28 16:26:49 +02:00
peter de5f7f2832 EA-64211 - assert: VfsData.getFileById diagnostics 2015-05-28 16:26:49 +02:00
Aleksey Pivovarov 7c8377934c IDEA-136797 respect PROXY_EXCEPTIONS in Tasks plugin and other places 2015-05-28 16:45:10 +03:00
Aleksey Pivovarov 12cdc2a86c IDEA-139870 vcs: avoid calling VcsVirtualFile.getFileType() in update()
this could lead to length(), that will lead to content loading from VCS
2015-05-28 16:45:09 +03:00
nik 875844fe4c class-file versions checks corrected 2015-05-28 16:43:28 +03:00
Dennis Ushakov 465b08c769 pass correct max offset + add xml comment characters to wrappable elements
#WEB-16691 fixed
2015-05-28 16:39:03 +03:00
Sergey Malenkov 8dfd2d9e5a Fix centering splash on multi-monitor configuration 2015-05-28 16:28:57 +03:00
Roman Shevchenko aa42a85754 test: junction file attributes test skipped on XP 2015-05-28 15:25:58 +02:00
Kirill Likhodedov c1c97df674 [vcs] FilePath: fix and add some javadocs + mark a method as @NotNull 2015-05-28 16:11:55 +03:00
Kirill Likhodedov 6190a392e3 [git] IDEA-95846 Check & define user name under progress
+ extract methods and DRY a similar check
2015-05-28 16:11:54 +03:00
Yaroslav Lepenkin 4eaf8165f3 Provided option to disable detect indent notification (IDEA-140459) 2015-05-28 15:55:40 +03:00
Egor.Ushakov f7e19e08aa show alternative source notification only when debugger is stopped in the file 2015-05-28 15:51:27 +03:00
Sergey Ignatov dcaec86b49 cleanup 2015-05-28 14:49:28 +02:00
Dmitry Avdeev eeac1ae07e TestDataLineMarkerProvider mapping fixed 2015-05-28 15:37:58 +03:00
Dmitry Avdeev 31684f533a cleanup 2015-05-28 15:37:57 +03:00
peter fd85bbc11d second completion: just don't restore prefix if we can't (EA-64214 - NA: LookupOffsets.getLookupStart) 2015-05-28 14:35:31 +02:00
peter 2721eb3f1a DataFlowInspectionBase: clarify logic about void lambdas 2015-05-28 14:35:31 +02:00
peter dfef5a13be silence InterruptedException when closing project during indexing (IDEA-140662) 2015-05-28 14:35:30 +02:00
peter b4800e3a31 JavaCompletionUtil: diagnostics for missing document (EA-55351) 2015-05-28 14:35:30 +02:00
peter bf0ea2f3b4 diagnostics and workaround for EA-68785 - CCE: ReferenceExpressionCompletionContributor.createMockReference 2015-05-28 14:35:30 +02:00
nik 70634cdfee cleanup 2015-05-28 15:23:50 +03:00
nik 4085e2392a capitalization fixes 2015-05-28 15:23:50 +03:00
nik 2340260dda quickfix adds annotations-java8.jar to classpath if language level permits (IDEA-123048) 2015-05-28 15:23:49 +03:00
nik cd1b0f5f31 build annotations.jar for Java 8 which contains @NotNull/@Nullable annotations which can be applied to types (IDEA-123048) 2015-05-28 15:23:49 +03:00
Kirill Likhodedov aacfd78f3c [vcs] inline & remove FilePathImpl#createChild + use correct separators 2015-05-28 15:16:51 +03:00
Kirill Likhodedov 0b1e2aef8d [svn] fix ContentRevision creation for locally non-existing directory
If local path is null, the directory flag should be passed explicitly.
2015-05-28 15:16:51 +03:00
Kirill Likhodedov 7b1f4f056a [vcs] Refactor FilePathImpl to make it less mutable and make the data flow more predictable
1. Don't store myVirtualFile reference which could be modified at any time by refresh() and hardRefresh().
   Instead store just path + isDirectory.
   Make getVirtualFile() query LFS.findFileByPath: it should be fast enough.
   (If it doesn't in some case,  the problem is most probably in the calling code which shouldn't try to convert FilePath to VirtualFile so many times).
   Make hardRefresh call LFS.refreshAndFindFileByPath: this will affect any further getVirtualFile invocation.
   Make refresh do nothing: its work is done in getVirtualFile now.
   Deprecate both methods.

2. Get rid of the virtualParent: it tried to solve some problem with deleted files,
   but if there were no parent as well, the problem would still exist.
   It is also no more compliant with current getVirtualFile() strategy.
   Deprecate VcsContextFactory creation by parent + name, since there seems no point in it anymore.

3. Don't store the File, store just the path, make it canonical on FilePathImpl creation.

4. Make equals & hashCode use the system hashing strategy.

5. Remove all constructors but one.
   But keep various utility methods (some of which are handy),
   which take the path from the provided object (VirtualFile, File, parent VirtualFile, etc).
2015-05-28 15:16:50 +03:00
Kirill Likhodedov bfe900af95 [vcs] deprecate unused doubtful annotation 2015-05-28 15:16:49 +03:00
Kirill Likhodedov 417fb1a84f [vcs] Remove FilePathImpl#setIsDirectory
The only usage has is senseless since knownAsDirectory covered
during the FilePath creation.
2015-05-28 15:16:49 +03:00
Kirill Likhodedov 02e9cb08f7 [vcs] FilePathImpl: extract non local file paths to a separate class
Motivation: less objects of a different nature in a single class.
2015-05-28 15:16:48 +03:00
Kirill Likhodedov 2992068079 [vcs] Deprecate FilePath#getDocument()
Document can be retrieved only for a virtual file,
so better to call it explicitly when needed.
2015-05-28 15:16:47 +03:00
Kirill Likhodedov 61d879a2a4 [vcs] Deprecate VcsContextFactory.create FilePath with directory detector
Detector is called right away, so there is no point in it.
Just inline the call & deprecate the method.
2015-05-28 15:16:47 +03:00
Kirill Likhodedov 4bfee6cf4e [vcs] ApplyPatchContext: remove unused methods
All of addAffectedFile, addPendingRename, registerMissingDirectory
update corresponding collections, but none of these collections are
queried anywhere.
2015-05-28 15:16:46 +03:00