Alexey Kudravtsev
677a5280eb
annotate varargs methods with SafeVarargs or add corresponding external annotation to get rid of yellow callsites
2016-10-24 15:11:30 +03:00
Alexey Kudravtsev
e391391526
look for SafeVarargs in external annotations to get rid of yellow code when java8-level code calls java6-level varargs method.
2016-10-24 15:11:30 +03:00
Alexey Kudravtsev
cf5b631d63
cleanup
2016-10-24 15:11:30 +03:00
Alexey Kudravtsev
b05aa30957
lambdify, cleanup
2016-10-24 15:11:30 +03:00
Elizaveta Shashkova
98a6439c2a
Failed getting template line shouldn't break debugging for the current frame (PY-20545)
2016-10-24 15:01:38 +03:00
Dmitry Batrak
9085c59f36
Remove access to caret offset from a side thread without read action, result doesn't seem to be used anyway
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
71cde419d2
fix test
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
c8d8f09f6e
add a performance test for typing with multiple carets
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
f7dedd0656
avoid unnecessary position panel updates
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
ec3631efae
avoid using AsyncResult for synchronous operations in FileEditorManagerImpl
...
Each such operation involves Disposer.dispose call which generates a Throwable. When called thousand(s) of time within the same event, this creates a notable performance overhead
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
1593a974d5
avoid creation of exception per document change (exception is generated in Disposer.dispose() invoked from DaemonProgressIndicator.cancel())
...
in case of thousand(s) of document updates in a single event performance impact becomes noticeable
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
44c7bf2a13
optimize capturing of selection state in editor
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
c95289028a
remove extra validation check, it is irrelevant now when editor is allowed to be created only in EDT
...
the check had a notable performance impact when a lot of carets were present
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
ed9ee76efa
speed up painting of editor with a lot of carets
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
d41ae4952e
avoid unnecessary calculations
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
0283c32e3a
fix incorrect access to logical position cache (when it's in inconsistent state)
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
1728388687
avoid unnecessary editor size updates
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
421ec22f83
don't update mouse cursor for editor component unnecessarily (with multiple carets this introduces a notable performance penalty)
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
8917ba2e4c
invoke TypedHandlerDelegate.checkAutoPopup only for the primary caret (completion popup is supposed to be shown only for it)
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
89032a69ea
Correct handling of useCaretAndSelection flag in IterationState (caret information may not be available when it's false)
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
5f44eda62c
make getOffset() work correctly from a side thread (under read action)
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
fb495ec1dc
bring back heuristic to move caret after text insertion at caret position
...
many tests have failed without it being applied at postponed formatting stage
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
8a9b2638b8
allow requesting (potentially stale) values for logical/visual caret position from non-EDT threads
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
c88d079962
correct context validation
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
8833d3b6fb
Avoid O(caretCount^2) time on typing with multiple carets
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
8d59699704
remove commented code
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
5926596e25
don't perform per-caret position update on document change
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
3c090d3aef
don't perform per-caret selection update on document change
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Dmitry Batrak
00f77c2407
remove unneeded state
...
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Ekaterina Tuzova
ee3e3bd7ae
get rid of annoying markdown cell repaint
2016-10-24 14:53:34 +03:00
Ekaterina Tuzova
d190c6a482
PY-14904 IPython annoying cell evaluation
2016-10-24 14:53:34 +03:00
Ekaterina Tuzova
2113810429
lambda cleanup
2016-10-24 14:53:34 +03:00
Ekaterina Tuzova
fff8527d71
return focus to the panel after executing the cell
2016-10-24 14:53:34 +03:00
Elizaveta Shashkova
517292c9b2
Fix problems with editing multi-line commands (PY-21206)
2016-10-24 14:16:33 +03:00
Anton Tarasov
bd6f9eb1ab
Fix SizedIcon
2016-10-24 13:48:14 +03:00
Tagir Valeev
d51f09d0d5
Stream API Migration: fix cases when boxed collection is iterated with primitive parameter (inspired by PR https://github.com/JetBrains/intellij-community/pull/455 by FHannes)
2016-10-24 17:44:45 +07:00
Vladislav.Soroka
79184bf1f4
EA-90387 - NPE: GradleProjectCompositeSelectorDialog.createTree
2016-10-24 13:32:20 +03:00
Anna.Kozlova
6562174c08
EA-90397 - NPE: SafeDeleteJavaCallerChooser.lambda$null$
2016-10-24 12:31:29 +02:00
Anna.Kozlova
5393cf3715
EA-90388 - NPE: RefactoringListeners$ClassPackageAccessor.<init>
2016-10-24 12:31:29 +02:00
Kirill Likhodedov
c7c1af9656
Remove unused GitTreeDiffProvider implementation
...
It is used only for the RemoveRevisionsStateCache which is unused by Git
2016-10-24 13:19:47 +03:00
Vladimir Krivosheev
2f43d0f4e3
IDEA-161462: master password, part 2
2016-10-24 11:57:26 +02:00
Vladimir Krivosheev
232cd83cd6
IDEA-163040 Iml files marked as modified on perforce on project open
2016-10-24 11:51:45 +02:00
Vladislav.Soroka
1102670e66
IDEA-162545 Error:gradle-resources-test:project: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
2016-10-24 12:47:29 +03:00
Anna.Kozlova
5198585a45
fix error message
2016-10-24 11:45:44 +02:00
Anna.Kozlova
2015561947
setup multiselection for configuration context based on locations (IDEA-163025)
2016-10-24 11:45:44 +02:00
Egor.Ushakov
4fbbab703d
IDEA-162951 Esc must cancel template first, then close breakpoint popup
2016-10-24 12:40:26 +03:00
Dmitry Batrak
d3b4f70d3d
IDEA-160652 Move line causes inlays refresh
2016-10-24 12:38:34 +03:00
Kirill Likhodedov
d904edea8f
Update repository state before waiting for the VFS refresh
...
It was initially intended to do so, but previously the VFS refresh
was asynchronous, so the order of refresh() and update() methods
was not important. However, in 32533a4 the VFS refresh became sync,
thus update() became executed after the whole VFS refresh (which makes
no sense).
2016-10-24 12:33:44 +03:00
Roman Shevchenko
b053beb085
[platform] unneeded 'invokeLater()' call
2016-10-24 11:29:19 +02:00
Dmitry Avdeev
2464c2774b
IDEA-162888 NPE in ProjectViewImpl.changeViewCB
2016-10-24 12:24:40 +03:00