Tagir Valeev
f2442e32fa
ConvertSwitchToIfTest: test5 rewritten as getClass() is now pure
2017-05-18 14:36:52 +07:00
Tagir Valeev
1fccd8f503
BulkMethodInfo, UseBulkOperationInspectionTest: fixes after review IDEA-CR-21146
2017-05-18 12:27:59 +07:00
Tagir Valeev
c41245708f
Bytecode analysis: purity inference improvement (also fixes IDEA-172989):
...
1. Lambda/method reference creation is pure
2. String concatenation is pure
3. Constructor which only modifies own fields (calls setters, etc.) is pure
4. Exception creation is pure
5. A few hardcoded native methods
2017-05-18 10:52:53 +07:00
Tagir Valeev
af20bc97d0
DFA: ignore ranges for float/double (was introduced during DfaFactType merge)
2017-05-18 10:52:52 +07:00
Maxim.Mossienko
b60ae89a6c
No space between line number and code when exporting found occurrences to text file (IDEA-157440)
2017-05-18 01:04:03 +02:00
Ilya.Kazakevich
29c484ca42
PY-18154: Add sudo-like tool for windows to deal with UAC
...
When admin user launches Intellij, Windows revokes many
user privileges to improve safety for admin users (that is how UAC works).
One can't access "Program Files": any attempt to write something there
leads on ACCESS_DENIED(5) error even if NTFS reports file is writable
The only way to elevate privileges is to launch process as elevated.
"Elevator.sln" is Win32API app that launches command
as elevated. See its sources for more info.
2017-05-18 01:26:28 +03:00
Konstantin Aleev
8a84c3bad8
RunDashboard: fix action presentation test
2017-05-17 22:51:25 +02:00
Vassiliy.Kudryashov
f5e575a634
IDEA-171010 Idea doesn't close properly some project windows
...
The exception is caught, new logging may help with further investigations
2017-05-17 22:56:44 +03:00
Konstantin Kolosovsky
5dc17cc55f
Simplify "VcsManagerConfigurable"
2017-05-17 21:02:00 +03:00
Konstantin Kolosovsky
fd1e203371
Remove deprecated "SearchableConfigurable.Parent.isVisible()" overrides
...
Affected configurables are already registered using corresponding
"ConfigurableProvider" instances
2017-05-17 21:02:00 +03:00
Konstantin Kolosovsky
b0f712e0e8
Simplify "Subversion" configuration directory settings UI
...
Use "Use custom configuration directory" checkbox. So configuration
directory browsing control is enabled if and only if checkbox is
selected.
IDEA-170598
2017-05-17 21:02:00 +03:00
Konstantin Kolosovsky
4ad41e2906
Use child configurables instead of tabs to group "Subversion" settings
...
IDEA-170598
2017-05-17 21:02:00 +03:00
Konstantin Kolosovsky
53d094bfd7
Register "Subversion" vcs settings in plugin.xml
...
Using common "<projectConfigurable />" approach instead of just
overriding "AbstractVcs.getConfigurable()". This will allow creating
child configurables under "Subversion" while still preserving lazy
approach.
2017-05-17 21:02:00 +03:00
Konstantin Kolosovsky
2af67f5c26
Simplify "VcsManagerConfigurable" - reuse "ConfigurableWrapper"
...
Instead of creating custom wrapper for vcs configurables. All vcs
configurables are still lazy initialized.
2017-05-17 21:01:59 +03:00
Konstantin Kolosovsky
85fe0ea68c
Extract each tab of svn settings to separate panel
2017-05-17 21:01:59 +03:00
Egor.Ushakov
b0aeeed567
EA-101403 - Throwable: ExceptionUtil.currentStackTrace
2017-05-17 20:09:57 +03:00
Yann Cébron
051a31d28e
IDEA-166505 DOM: support more builtin converters
2017-05-17 19:06:09 +02:00
Egor.Ushakov
b87c41269a
IDEA-172772 Action "Resume program" is not available when IDEA is updating indexes
2017-05-17 20:00:59 +03:00
Vladislav.Soroka
7189297a08
external system import builder should take into account reused existing modules
2017-05-17 19:49:46 +03:00
Dmitry Batkovich
1426fb2cb6
PreferMostUsed weigher: push down the weigher after proximity
2017-05-17 19:26:00 +03:00
Egor.Ushakov
d2d43506a6
EA-97500 - NPE: ToStringRenderer.overridesToString
2017-05-17 19:15:09 +03:00
Aleksey Pivovarov
e6a24a9909
git: remove unused parameter
2017-05-17 18:57:23 +03:00
Aleksey Pivovarov
33c520e7b0
vcs: @Deprecate createFilePathOnDeleted method
...
* it is not different from createFilePath
2017-05-17 18:57:23 +03:00
Aleksey Pivovarov
ca93c5ec36
vcs: remove unused deprecated method
2017-05-17 18:57:23 +03:00
Aleksey Pivovarov
685d6d6842
vcs: @NotNull
2017-05-17 18:57:23 +03:00
Aleksey Pivovarov
c7ce73a82e
vcs: remove unused method
2017-05-17 18:57:23 +03:00
Aleksey Pivovarov
19e567607a
vcs: remove SVN specific getters from common class
2017-05-17 18:57:23 +03:00
Yann Cébron
9b643f388a
[devkit] Cleanup/align/format inspection descriptions
2017-05-17 17:55:55 +02:00
Anton Tarasov
96ef3e613a
Fix DeferredIconImpl super class, and some refactoring
...
This fixes wrong scaling of DeferredIconImp via IconUtil.scale(..)
2017-05-17 18:22:25 +03:00
Bas Leijdekkers
f62ab7deaa
SSR: fix test
2017-05-17 16:58:38 +02:00
Bas Leijdekkers
3a74c47d57
IPP: handle incomplete code better
2017-05-17 16:58:38 +02:00
Bas Leijdekkers
65af085484
IPP: NPE fix (EA-98815)
2017-05-17 16:58:38 +02:00
Dmitry Batkovich
0c4bb15a60
inspection settings: increase additional padding on mac os (similar to plugin table)
2017-05-17 17:38:53 +03:00
Dmitry Batkovich
bf18b79ced
Revert: inspection settings: move checkboxes in inspection tree to the left side (because poor mac os users have transparent scroll bar)
2017-05-17 17:38:52 +03:00
Nadya Zabrodina
d73487e6a5
[patch]: cleanUp - method rearrangement
2017-05-17 17:23:14 +03:00
Nadya Zabrodina
96dd1c74ad
[patch]: refactoring
...
* make ApplyPatchForBaseRevisionTexts.java immutable;
* remove Warning list from ApplyPatchForBaseRevisionTexts, use LOG.warn;
* extract applying onto baseContent, found base, local as methods;
* do not apply patch onto wrong base someHow: if base is presented then
patch has to be applied exactly otherwise -> warn;
2017-05-17 17:23:12 +03:00
Nadya Zabrodina
263ce7232a
[patch]: cleanUp - method refactoring
2017-05-17 17:23:11 +03:00
Nadya Zabrodina
d58e85fe25
[patch]: change CharSequence to String, cleanUp, add annotations
2017-05-17 17:23:10 +03:00
Nadya Zabrodina
264852ffc1
[diff]: rename class
2017-05-17 17:23:08 +03:00
Nadya Zabrodina
80285fd1ee
[shelf]: rename and convert to interface DiffPreviewUpdateProcessor
2017-05-17 17:23:07 +03:00
Nadya Zabrodina
975b9668b0
[shelf]: add reentrantLock for accessing patch info data from cache
2017-05-17 17:23:05 +03:00
Nadya Zabrodina
6f17ebb857
[shelf]: remove useless FilePath refresh
2017-05-17 17:23:04 +03:00
Nadya Zabrodina
2e6103bbeb
[shelf]: create wrapper and implement shelved preview for binaries
...
* update preview if patchFile changed;
2017-05-17 17:23:03 +03:00
Nadya Zabrodina
c19201cb24
[shelf]: cleanUp - extract methods, add annotations, add timeStamp info
...
* introduce PatchInfo class to store timestamp for last patch parsing;
* change cached loaded patches map types to accept PatchInfo as a value;
* extract isPatchFileChangedOrNotLoaded method for future usages;
2017-05-17 17:23:02 +03:00
Nadya Zabrodina
3a895e21e7
[shelf]: change patch PreLoader storage map to SoftHardCacheMap
2017-05-17 17:23:02 +03:00
Nadya Zabrodina
834ce64151
[shelf]: rename class and set preview toggle state according to setting
2017-05-17 17:23:01 +03:00
Nadya Zabrodina
52b099b6db
[diff]: ability to provide custom panel title for patch diff request
2017-05-17 17:23:00 +03:00
Nadya Zabrodina
3023956a97
[shelf]: cleanUp - extract binary content revision creation
2017-05-17 17:22:59 +03:00
Nadya Zabrodina
ff2a979ab8
[shelf]: fix annotation
2017-05-17 17:22:58 +03:00
Nadya Zabrodina
a53d267096
[shelf]: implement shelf preview for text shelved changes;
...
* add action on the toolbar;
* now preview wouldn't be changed if shelved patch file was changed;
* todo: need to Implement wrapped for properly refresh and implement
for binary shelved files also;
2017-05-17 17:22:57 +03:00