Commit Graph
152558 Commits
Author SHA1 Message Date
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
Dmitry Batrak 0dbce46468 incapsulate rtl context determination in Caret instance 2015-05-28 15:08:43 +03:00
Dmitry Batrak 51076c82ad make prerequisites for mouse drag testing more discoverable 2015-05-28 15:08:42 +03:00
Dmitry Batrak 7b07521ac5 make it possible to select whole rtl line using mouse drag (treating x=0 point as located at line's logical start) 2015-05-28 15:08:41 +03:00
Dmitry Batrak 8f9788d1aa fix rtl context determination 2015-05-28 15:08:40 +03:00
Dmitry Batrak ebea232d78 fix subrun creation logic 2015-05-28 15:08:39 +03:00
Dmitry Batrak abbacbd9f7 fix painting of folded regions 2015-05-28 15:08:38 +03:00
Dmitry Batrak 6e19bca688 remove unreachable code 2015-05-28 15:08:37 +03:00
Dmitry Batrak fda18ac4bf javadoc cleanup 2015-05-28 15:08:36 +03:00
Dmitry Batrak a180474434 encapsulate direction flag into LogicalPosition and VisualPosition 2015-05-28 15:08:35 +03:00
Dmitry Batrak dd016ffe45 Deprecate unused code 2015-05-28 15:08:33 +03:00
Egor.Ushakov 2d8f9d7fc9 fixed command line wrapping on windows 2015-05-28 15:07:20 +03:00
Denis Fokin 6f511794c5 Disable LCD rendering for Retina displays by default 2015-05-28 15:03:42 +03:00
Dennis Ushakov 8d96f31a18 support multi-literal injections in JS
#WEB-8233 fixed
2015-05-28 14:29:06 +03:00
Vladimir Krivosheev 49440d5c30 fast fix - disable lock in tests 2015-05-28 12:49:05 +02:00
Vladimir Krivosheev ba77af1e5f fast fix - disable lock in tests 2015-05-28 12:46:27 +02:00