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
Sergey Simonchik
6bf14193cb
SmartList implements RandomAccess
2015-05-28 13:26:40 +03:00
Anna Kozlova
dd52332925
testng: ensure configured by suite is checked (IDEA-140794)
2015-05-28 11:59:40 +02:00
Anna Kozlova
efb94d4052
tests statistics: ensure statistics data is validated for each row
2015-05-28 11:59:38 +02:00
Maxim.Mossienko
608eda06f8
flush serializers as earlier as possible to prevent one of the reasons of SerilizerNotFoundException (IDEA-136562). Serializers are initialized once so no extra io is introduced
...
(cherry picked from commit fa25663)
2015-05-28 11:49:58 +02:00
peter
1353093a3e
XmlPatterns.xmlAttributeValue: pick PsiNamePatternCondition from attributePattern
2015-05-28 11:19:19 +02:00
peter
ed7442e73d
StandardPatterns.and: join the conditions to make PsiNamePatternCondition extractable
2015-05-28 11:18:31 +02:00
peter
17ccd19a8e
XsltReferenceContributor: use patterns with name information
2015-05-28 11:17:31 +02:00
peter
a01beb190e
I18nReferenceContributor: use a pattern with name information
2015-05-28 11:16:26 +02:00
peter
2e57086d81
@NotNull
2015-05-28 11:04:06 +02:00
nik
2534a6253e
43 more test-only modules migrated to Java 8
2015-05-28 11:51:20 +03:00
Daniil Ovchinnikov
c4dace7fb0
[groovy] store console state in workspace.xml (IDEA-140460)
2015-05-28 02:06:31 +03:00
Eugene Zhuravlev
9f4d1618e3
adding beforeBuildProcessStarted BuildManager event
2015-05-28 00:07:27 +02:00
Konstantin Bulenkov
af936dc1f9
use JBUI.Borders.empty()
2015-05-27 23:39:55 +02:00
Konstantin Bulenkov
1bb8e4e0b3
use JBUI.Borders
2015-05-27 23:28:29 +02:00
Konstantin Bulenkov
db314b698f
cleanup
2015-05-27 23:23:46 +02:00
Konstantin Bulenkov
3a9517ca38
use renderer's font and align statistics text according to main baseline
2015-05-27 23:15:52 +02:00
Konstantin Bulenkov
cef0301af4
fix expandable time data for tests
2015-05-27 23:15:51 +02:00
Konstantin Bulenkov
c32fcd0020
cleanup remove unused imports
2015-05-27 23:15:50 +02:00
Anna Kozlova
fe1d319129
tests statistics: hide not passed statistics from the tree
2015-05-27 22:01:04 +02:00
Anna Kozlova
a21990d31e
overload resolution with varargs: don't prefer promitive varargs when no arg is provided (IDEA-140759)
2015-05-27 22:01:03 +02:00