Commit Graph
83322 Commits
Author SHA1 Message Date
peter a3fde695dd self-contained AddImpotActionTest 2012-06-04 15:02:28 +02:00
Alexander Kirillin 21d38b566d non-prefix matching in goto... actions 2012-06-04 16:56:02 +04:00
Roman Shevchenko c2eb2a8514 Untangle Java-based parsers 2012-06-04 16:51:04 +04:00
Kirill Likhodedov 2dd21e1213 [merge] Fix LineBlocksTest: TextDiffTypeEnum can be null. 2012-06-04 16:24:08 +04:00
Kirill Likhodedov 197d45e76a IDEA-86978 'IDEA' in a tooltip for 'Update Project' 2012-06-04 16:20:14 +04:00
Kirill Likhodedov 12385a8000 Merge remote-tracking branch 'origin/master' 2012-06-04 15:17:47 +04:00
Alexey Kudravtsev 84d77c47cc notnull 2012-06-04 15:01:09 +04:00
Alexey Kudravtsev 2395ed7e08 cleanup 2012-06-04 15:01:08 +04:00
Alexey Kudravtsev 47992a3ef3 notnull 2012-06-04 15:01:08 +04:00
Evgeny Zakrevsky 4df280152e commit dialog. summary panel. vertical indents reduced. 2012-06-04 14:55:28 +04:00
Evgeny Zakrevsky 78b97e9eaf bug with setting default titled border in internal mode 2012-06-04 14:55:27 +04:00
Kirill Likhodedov 8f620f1109 Merge branch 'merge_tool_improving' 2012-06-04 14:48:12 +04:00
Anton Makeev 040877b66b AppCode: xcode templates reworked 2012-06-04 12:40:03 +02:00
Danila Ponomarenko aa66aee347 unnecessary sor removed 2012-06-04 14:23:36 +04:00
Danila Ponomarenko 1c06d7099c CollectionFactory: java.util only 2012-06-04 14:23:36 +04:00
Danila Ponomarenko 639e90a5d9 CollectionFactory: factory methods added. Got rid of Guava dependency 2012-06-04 14:23:36 +04:00
Alexey Kudravtsev 43b14bcad0 virtual file pointers refactored for update speed 2012-06-04 13:23:59 +04:00
Alexey Kudravtsev faf7fc7289 IDEA-86896 Magic constant doesn't understand bit flag constants 2012-06-04 13:20:28 +04:00
Alexey Kudravtsev 0316e264fc optimization: getName() 2012-06-04 13:20:27 +04:00
Alexey Kudravtsev 1206e85070 cleanup 2012-06-04 13:20:26 +04:00
peter 53584d036f correctly refresh vfs in vcs tests 2012-06-04 11:08:26 +02:00
Roman Shevchenko bf3b222335 Keyword completion in method references; cleanup 2012-06-04 12:19:11 +04:00
Roman Shevchenko bd86a3e9bd Introduce method reference type; mute type check for it 2012-06-04 12:19:08 +04:00
Roman Shevchenko a55a6dd51b Simplify type check; remove stupid assertion 2012-06-04 12:19:06 +04:00
Roman Shevchenko f455ac5697 Prevent CCEs 2012-06-04 12:19:03 +04:00
Roman Shevchenko 1fa291a5b8 Cleanup 2012-06-04 12:19:01 +04:00
Roman Shevchenko 679ab25896 Method reverences language level highlighting 2012-06-04 12:18:58 +04:00
Maxim.Mossienko 94e69692bc change from future was temporarily removed 2012-06-04 01:46:38 +04:00
Maxim.Mossienko 527797ea27 added highSelectivityKey optimization hint, index key with such attribute is written directly to disk, bypassing efforts on key reducing during indexing phase. 2012-06-04 01:34:20 +04:00
Maxim.Mossienko 2b26d0a7cc do not write nonchanged data 2012-06-04 01:34:19 +04:00
peter 8ccfb29451 don't prefer getClass over HashMap.get 2012-06-03 17:01:34 +02:00
peter 6ea5d29d61 minor 2012-06-03 16:49:28 +02:00
peter 6f2a878c44 store byte[] instead of String when possible 2012-06-03 10:09:53 +02:00
Konstantin Bulenkov 35207aa7b4 IDEA-86891 NavigationGutterIconRenderer: improve display of "emptyText" 2012-06-02 18:09:19 +02:00
Dmitry Jemerov 2c11519b3c Merge remote-tracking branch 'origin/master' 2012-06-02 17:12:26 +02:00
Dmitry Jemerov 2b0ef7a836 correct URL of third-party plugin helpset (IDEA-86315) 2012-06-02 17:06:38 +02:00
Kirill Likhodedov 107dcc9f6f [merge] Display applied changes; allow applying both sides of a conflict.
OVERVIEW:
Don't hide highlighting markers on "apply", as it is done on "ignore".
Instead use a lighter highlighting: remove the background and paint a separator with a color of change type (red for conflict, green for insert, etc.).
Show, what has been changed, i.e. highlight both original side and the applied change in the base/result side.

For conflicting changes, on apply neither remove nor apply the second "variant" of the conflict. Instead propose to apply (or ignore) the second variant below the first one.
This fixes IDEA-36811 "Add ability to merge in lines from both left and right in three way merge".

DETAILS:
* Define Change#onApplied handled differently:
   - for the SimpleChange update highlighting & remove apply/ignore actions & update the ChangeList
   - for the ConflictChange additionally break the connection between left-to-base and right-to-base changes via the MergeConflict by nullifying the non-applied change in one case and defining its own MergeConflict for this non-applied change.
   - Update MergeConflict and MergeList to be aware of nullable changes in semi-applied MergeConflict.
* Make ChangeType and TextDiffType modifiable: each one can be applied.
   - TextDiffType returns different background for applied changes (no background actually).
   - ChangeType displays different line separator for applied changes.
* Manage ChangeList#myAppliedChanges collection of the changes which has been applied.
   Pass both myChanges (not applied yet) and myAppliedChanges in getLineBlocks(), but make LineBlocks be aware of not-sorted Changes collection.
* Make LineBlocks depend on TextDiffType rather than on TextDiffTypeEnum to get correct coloring attribute for applied changes.
* Some javadocs, cleanups and code style fixes.

KNOWN PROBLEMS:
* Applied deletion is not easy to find, because it occupies zero place in both original and resulting side.
* "Ignore" works differently from "apply" in that way that highlighting is completely removed for "ignore" (as it were): not sure if it should be fixed or that corresponds to the nature of "ignore" action name.
* Trapezium-dividers are the same for applied changes as for non-applied. Will be changed.
2012-06-02 16:49:39 +04:00
Konstantin Bulenkov 62fba858de icons 2012-06-02 12:09:16 +02:00
Konstantin Bulenkov 6f74da07af icons 2012-06-02 12:01:38 +02:00
Bas Leijdekkers 8192883779 IDEA-86900 (Intention "Make 'append' chain into 'append' sequence" fails on 'delete' in the chain) 2012-06-01 22:35:44 +02:00
Maxim.Mossienko 90b39d9706 fix leak of direct byte buffers 2012-06-01 23:43:14 +04:00
Evgeny Zakrevsky d790c05d58 IDEA-78605 Bookmarks list may be opened unlimited times 2012-06-01 23:18:15 +04:00
Evgeny Zakrevsky 6661308bac IDEA-82611 Settings: 3-level JavaScript settings may be flatted 2012-06-01 23:18:14 +04:00
Evgeny Zakrevsky fa9b543a71 bug with setting default titled border in internal mode 2012-06-01 23:18:13 +04:00
Evgeny Zakrevsky 947850c13f bug with setting default titled border in internal mode 2012-06-01 23:18:13 +04:00
Evgeny Zakrevsky 975469ad73 IDEA-78614 Ptoject-tree items are not launching by press Enter. 2012-06-01 23:18:12 +04:00
Roman Shevchenko 95534a1d3c First take on method references 2012-06-01 22:09:48 +04:00
Maxim Shafirov 68851cbe31 even more places to reference AllIcons 2012-06-01 21:42:27 +04:00
Anna Kozlova 472d16982d commented tests for use interface where possible refactoring 2012-06-01 21:40:09 +04:00
Anna Kozlova b839853c4a restore safe delete preview: once view was closed all preview from reruns were treated as already canceled 2012-06-01 21:40:08 +04:00