Tagir Valeev
1a40a9f877
RedundantCollectionOperation: warn on if(map.containsKey(x)) map.remove(x)
...
Review ID: IDEA-CR-28150
2018-01-22 13:39:09 +07:00
Tagir Valeev
c95dca14e9
ForLoopThatDoesntUseLoopVariable inspection removed (superceded by LoopConditionNotUpdatedInsideLoop)
...
Fixes IDEA-184207
LoopConditionNotUpdatedInsideLoop is on by default now
//noinspection ForLoopThatDoesntUseLoopVariable marks removed and other trivial warnings fixed
2018-01-22 12:24:43 +07:00
Tagir Valeev
b2518ed418
JavaBreakpointFiltersPanel: StringBuilder used
2018-01-22 12:09:48 +07:00
Tagir Valeev
f99f00334f
SideEffectChecker#isPure: volatile getters are not pure
2018-01-22 11:44:23 +07:00
Tagir Valeev
ec0b6e8c33
MethodPatternMap generified
2018-01-22 11:32:48 +07:00
Tagir Valeev
5493dfe432
Source purity inference: do not infer purity for methods which read volatile field (own field within the same class only)
...
Fixed commit fc0d240488
Review ID: IDEA-CR-28623
2018-01-22 10:34:50 +07:00
Konstantin Bulenkov
41b74f425a
update Splash and About screens for 2018.1 EAP
2018-01-21 23:35:33 +01:00
Bas Leijdekkers
0ec66ebae7
IPP: fix off-by-one error (IDEA-185274)
2018-01-21 17:39:32 +01:00
Bas Leijdekkers
84e4ac4c32
IG: ignore method if removing it would break compilation (IDEA-185066)
2018-01-21 17:39:32 +01:00
Julia Beliaeva
d867dbfb0d
[vcs-log] take collision possibility into account while resolving hashes
...
There could be several commits with the same prefix, in the same or in different repositories. In order to take that into account while resolving commits:
1. If a full commit hash is provided, check its existence in all repositories with containsCommit method.
2. If a prefix is provided, iterate and check all commits in all repositories.
3. On click select a commit in the same root, or just some commit when a commit in the same root is not available.
2018-01-21 19:30:21 +03:00
Julia Beliaeva
104a41a4ff
[vcs-log] add containsCommit method to the storage
2018-01-21 19:30:21 +03:00
Julia Beliaeva
66b3d4fa5d
[vcs-log] do not keep full details in DetailsPanel
2018-01-21 19:30:20 +03:00
Julia Beliaeva
1c2a61ba32
[vcs-log] walk through storage only once
2018-01-21 19:30:20 +03:00
Julia Beliaeva
bfc3f0de67
[vcs-log] keep resolved commits and use them for navigation
2018-01-21 19:30:19 +03:00
Julia Beliaeva
1ca5a9bcd9
[vcs-log] cancel previous resolving task on new selection and on dispose
2018-01-21 19:30:18 +03:00
Julia Beliaeva
fe3c54e6b4
[vcs-log] resolve hashes in background
2018-01-21 19:30:18 +03:00
Julia Beliaeva
96f0e5327f
[vcs-log] CommitPanel never gets LoadingDetails
2018-01-21 19:21:08 +03:00
Julia Beliaeva
caa7ad659e
[vcs-log] move html-generating methods out of CommitPanel
2018-01-21 19:21:08 +03:00
Julia Beliaeva
580a283bb9
[vcs-log] highlight hash in details and navigate to it in the log
2018-01-21 19:21:07 +03:00
Alexey Utkin
59879d73ad
CPP-2906 Code Fold of control flow statements (if/else, do/while, for, switch)
...
Fix take into account the injected languages (Doxygen comment in C++ as an example)
2018-01-21 17:47:35 +03:00
anstarovoyt
9e08f5892e
meteor & handlebars: fix unstable tests
...
we have to reset new area because if listener was registered
and "real area" contains the EP but "temp" area doesn't we will not notified listeners about area changes and as result cache after "temp" area processing will be not clear
2018-01-20 21:11:51 +03:00
Vassiliy.Kudryashov
a6d2688ceb
IDEA-184989 Navigating from preview should keep the cursor position
...
New registry key ide.find.preview.navigate.to.caret=true
2018-01-20 19:47:34 +03:00
Sergey Simonchik
14f72e1a2c
fix DaemonRespondToChangesTest.testLineMarkersDoNotBlinkOnBackSpaceRightBeforeMethodIdentifier (IDEA-CR-28647)
2018-01-20 16:53:00 +03:00
Nicolay Mitropolsky
2b594ba76c
Uast: UDeclaration.uastAnchor doc update
2018-01-20 10:50:43 +03:00
Nicolay Mitropolsky
e31e529efa
Uast: UAnnotation.namePsiElement added
...
as a workaround until Kotlin will implement `UAnnotationEx`
2018-01-20 10:50:43 +03:00
Ilya.Kazakevich
397df3a4e6
PY-21737: Flask conf. option must have 3 states
...
Flask may be:
* Enabled explicitly
* Disabled explicitly
* In unknown state
Once moved to explicit state, it can't be set back
2018-01-20 02:57:09 +03:00
peter
6eb6d16999
avoid additional commit during completion if it wasn't invoked inside injection (IDEA-CR-28641)
2018-01-19 23:46:45 +01:00
Sergey Simonchik
ed8c5c5b22
do not show run line markers in diff editors (WEB-30734)
2018-01-20 00:43:32 +03:00
peter
315b7969c1
migrate most usages of deprecated com.intellij.util.containers.HashMap/Set to java.util
2018-01-19 22:26:30 +01:00
Vassiliy.Kudryashov
4427f66fe7
Avoid EmptyStackException
2018-01-19 23:48:33 +03:00
Vassiliy.Kudryashov
4856c80ce9
IDEA-184989 Navigating from preview should keep the cursor position
2018-01-19 23:44:56 +03:00
Vladimir Krivosheev
3ee891791a
Revert "now external modules stored externally"
...
This reverts commit 39b8271
2018-01-19 21:18:41 +01:00
Vladimir Krivosheev
bb4f083022
Revert "now external modules stored externally"
...
This reverts commit 042e281
2018-01-19 21:18:30 +01:00
Dmitry Trofimov
6858c0e803
Clean-up module dependencies
2018-01-19 19:40:19 +01:00
Konstantin Bulenkov
85c436dc8a
change Mac OS X to macOS on About
2018-01-19 19:30:02 +01:00
Konstantin Kolosovsky
ac3d7ee043
Restore "SvnUtil.getWorkingCopyRoot()" for api compatibility, @NotNull
...
Deprecate "SvnUtil.getWorkingCopyRootNew()"
2018-01-19 21:27:27 +03:00
Sergey Ignatov
6dd4274124
fix progress bar for presentation and distraction free mode for HiDPI Linux
2018-01-19 21:02:57 +03:00
Sergey Ignatov
ae844ba9e3
use buildStatus in build scripts
2018-01-19 20:24:45 +03:00
Vladimir Krivosheev
fd00aaa588
external project storage: fix saving and loading facets
2018-01-19 18:21:38 +01:00
peter
852dea4f69
deprecate/remove com.intellij.util.containers.HashMap and friends
...
it confuses people but its performance benefits are unclear
if anyone really needs them, they can simulate that around `clear` call
2018-01-19 17:55:34 +01:00
peter
898809794b
an ability to opt out of document committing after completion
...
in some languages (e.g. C++) commit can be very expensive
2018-01-19 17:55:34 +01:00
Vladimir Krivosheev
da3abbd083
always call tearDown, small optimization
2018-01-19 17:43:58 +01:00
Dmitry Batrak
a7a9a7e716
IDEA-185183 Performance degradation in tests on 181 branch
...
forgotten case
2018-01-19 19:36:39 +03:00
Dmitry Batrak
4a1d5a5c44
IDEA-185183 Performance degradation in tests on 181 branch
...
further optimization - call parent.getChildren() only once for 'large' parents
2018-01-19 19:26:15 +03:00
Vladimir Krivosheev
042e281732
now external modules stored externally
2018-01-19 17:20:59 +01:00
Vitaliy.Bibaev
7f980af3b9
IDEA-171027 IDEA-175146 Forbid multiple clicks to update classes list
2018-01-19 19:00:29 +03:00
Vitaliy.Bibaev
79478c187d
IDEA-171027 IDEA-175146 Check environment mode to avoid exception
2018-01-19 19:00:29 +03:00
peter
686b2bcdd3
speedup Goto File on long patterns
2018-01-19 16:53:36 +01:00
Vladimir Krivosheev
39b8271900
now external modules stored externally
2018-01-19 16:50:36 +01:00
Semyon Proshev
54251cca16
Refix calculating receiver of inner class initialization (PY-23259, PY-26992)
...
Wrong receiver is returned in case of class initialization qualified with module.
2018-01-19 18:34:31 +03:00