Commit Graph
195564 Commits
Author SHA1 Message Date
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
Nadya Zabrodina e593d4dff9 [diff]: move toggle diff preview action into separated class 2017-05-17 17:22:56 +03:00
Nadya Zabrodina 20ad59ddbb [diff]: move preview panel with horizontal splitter into separated class
* create common refreshable diff processor class, rename method
* add javadoc for refreshable RequestProcessor
2017-05-17 17:22:55 +03:00
Nadya Zabrodina be35049bde [patch]: create patch content viewer and diff tool
* show patch content as a diff if no local file was found
 for shelved change (IDEA-166238, IDEA-155689);
2017-05-17 17:22:54 +03:00
Nadya Zabrodina 8b481db96f [diff]: remove hacky code with write-once document and add WriteAction 2017-05-17 17:22:53 +03:00
Nadya Zabrodina 570528accd [diff]: move scrollToChange method implementation to its base class 2017-05-17 17:22:52 +03:00
Nadya Zabrodina 7984542877 [patch]: cleanUp - make proper diff title capitalization 2017-05-17 17:22:51 +03:00
Nadya Zabrodina 27901e20aa [shelf]: implement show diff and show diff with local from shelvedView
* for new and deleted files get content directly from patch/local file;
* for modified files:
  - try to detect base if base found show diff local or base with
   patch applied on base;
  - if no base detected then show diff with local and patch applied
   to local (maybe somehow);
2017-05-17 17:22:50 +03:00
Nadya Zabrodina 2649c411a4 [patch]: rename method
* add an ability to get single hunk text for any single hunk patches,
 e.g. deleted, new files changes
2017-05-17 17:22:49 +03:00
Nadya Zabrodina c77c624dcb [diff]: add an ability to show diff notifications in PatchDiffViewer
* change DiffContext to UserDataHolder in getCustomNotifications method;
* make ApplyPatchDiffRequest extends UserDataHolder;
2017-05-17 17:22:48 +03:00
Nadya Zabrodina 3f0a6dea63 [patch]: cleanUp - change Result diff content panel title to Current 2017-05-17 17:22:47 +03:00
Nadya Zabrodina 2d3041c2dc [patch]: get rid of Getters, remove unnecessary invokeAndWait 2017-05-17 17:22:46 +03:00
Nadya Zabrodina 5f0ed26635 [patch]: add an ability to call getBaseVersionContent from any Thread
* use Task.WithResult instead of VcsUtil.runVcsProcessWithProgress which
 is EDT required method;
* optimize try/catch blocks;
* add annotation;
2017-05-17 17:22:45 +03:00
Nadya Zabrodina 06a7e1d503 [shelf]: do not load history if the base texts are already inside patch 2017-05-17 17:22:44 +03:00
Nadya Zabrodina 140109f1eb [shelf]: annotate as Nullable 2017-05-17 17:22:43 +03:00
Nadya Zabrodina d06642558c [shelf]: cleanUp and lambdify 2017-05-17 17:22:42 +03:00
Dmitry Batkovich ad459c2dd8 inspection settings: parent elements do not become "changed" after changing inspection severity (IDEA-173023) 2017-05-17 17:03:07 +03:00
Dmitry Batkovich 907e36cce5 javadoc html lint inspection: should have no suppress actions in inspection view as well as in editor (IDEA-173021) 2017-05-17 16:44:56 +03:00
Yaroslav Lepenkin b4e9f613b6 [stats-collector] composition instead of inheritance, refactoring 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin 307b4fda34 [stats-collector] minor 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin bf43894b60 [stats-collector] annotate as @JvmField to prevent from scrambling 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin bf5a66ee8d [stats-collector] updated copyrights 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin a1587b94b7 [stats-collector] sessions filter simplified 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin 2f37539d4d [stats-collector] if any deserialization error encountered dump to error stream 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin 5f5989bcf5 [stats-collector] introduced DeserializationResult to fail early 2017-05-17 16:03:46 +03:00
Yaroslav Lepenkin e62cfa8bce [stats-collector] minor 2017-05-17 16:03:46 +03:00
Vladimir Krivosheev 47549afe8a ModuleManagerImpl must use projectOpened using ProjectComponent, not message bus
move ProjectComponent.projectOpened out of event processing — it is part of project initialization contract, but message bus projectOpened it is just an event

MessageBus will fire all queued messages, so, if you will fire some event in your handler (projectOpened), all other handlers (projectOpened and other) will be fired. And this breaks expectation (other project opened handler must be invoked .
2017-05-17 14:54:04 +02:00
Egor.Ushakov 36265d4f24 IDEA-172928 Improve notification that line breakpoints won't work in decompiled file (when there's no debug information) 2017-05-17 15:46:11 +03:00
Egor.Ushakov 469aedb132 IDEA-169057 Emulated method breakpoints does not work with decompiled code 2017-05-17 15:46:11 +03:00
Anton Tarasov 5fd2f2c0a8 IDEA-173017 JavaFX WebView not HiDPI rendering on Windows 10 2017-05-17 15:27:13 +03:00
Rustam Vishnyakov 2241688309 Fix a problem with failing comparison when a color attribute is changed in Default scheme 2017-05-17 15:25:15 +03:00
Alexander Kass 85a2e4681c DBE: deduplicate platform test initialisation logic 2017-05-17 15:24:01 +03:00
Vladislav.Soroka 243302493f Gradle: do not override gradle daemon default ttl if it's not set explicitly (IDEA-172934) 2017-05-17 15:19:38 +03:00
Irina.Chernushina ed6b45b2c9 WEB-26859 PsiInvalidElementAccessException when call 'Remove unused export' in vue files
Fix: do not format in the middle (before the actual refactoring). Element gets invalidated before the actual operation. Also, it does not have much sense.
- in the platform part, I introduced additional callback to be called _after_ refactoring. I did not want to change the behaviour of other parts
- since the element is being deleted, after-reformatting should remove extra new lines/spaces, with respect to whether the element was inline
Special problem is evaluating the range where to remove new lines/spaces after the refactoring; in the presence of the fact that actually parent-of-the-parent of the passed element can be removed (if the was wrapping statement which does not contain no more meaningful elements)
That's why I am creating the collection of contexts around the element being deleted, and for its parents
One test became worse :( - with deleting also the js doc, which became empty
(UnusedLocalSymbols6)
 Do not know how it managed to work before and I think in this particular case the extra newline does not cost the price of possible error, if we try to also process this

(cherry picked from commit 9f08aa4)
2017-05-17 14:09:21 +02:00
Vladislav.Soroka 30408540a6 ExternalSystemProjectsWatcher: release batch file change subscription on the project close 2017-05-17 14:58:42 +03:00
Alexey Kudravtsev 10e3f6a870 cleanup 2017-05-17 14:53:32 +03:00
Alexey Kudravtsev 77a6a254d2 diagnostic for EA-101294 - IVFAE: VirtualDirectoryImpl.doFindChild 2017-05-17 14:40:26 +03:00
Alexey Kudravtsev 18c3ec3078 jdk 6-compatible 2017-05-17 14:40:26 +03:00
Alexey Kudravtsev a16b875656 avoid NoSuchMethodError under jdk9 2017-05-17 14:40:26 +03:00
Dmitry Batkovich 30b6b67af1 inspection view: remove waiting cursor when right panel is loading 2017-05-17 13:53:54 +03:00
Dmitry Batkovich f2c48ac436 cleanup 2017-05-17 13:53:54 +03:00
Dmitry Batkovich 8597d2a7de inspection view: do not merge class nodes if classes have the same name but containing files are different (EA-100834, EA-97801, IDEA-172904) 2017-05-17 13:53:54 +03:00
Denis Fokin 62098dcc60 IDEA-165950 National keyboard layouts support 2017-05-17 13:53:10 +03:00