Commit Graph
90803 Commits
Author SHA1 Message Date
anna ec4df495b5 forbid anonymous -> lambda when conflicting local vars exist (IDEA-93589) 2012-10-31 13:30:58 +01:00
anna 846f6ab1fd install plugins from disc: use mac chooser when appropriate (IDEA-93912) 2012-10-31 13:30:57 +01:00
anna 32c1872fe0 eclipse: collapse plugins jars in one extension 2012-10-31 13:30:56 +01:00
Sergey Evdokimov 38d7ce2360 Revert bad commit 2012-10-31 16:14:57 +04:00
Eugene Zhuravlev acaac360e7 maven resource builder: properly handle FileNotFound exceptions when copying resources 2012-10-31 12:33:08 +01:00
Eugene Zhuravlev 7520f0a095 empty data text 2012-10-31 12:33:07 +01:00
Kirill Likhodedov 5c96dc4829 [diff] Fix saving DiffToolSettings
Forgot to implement PersistentStateComponent
2012-10-31 15:07:04 +04:00
Kirill Likhodedov b8a958ed54 [diff] Fix diff line separators for inline wrappers
* Create correct TextDiffType for line => use inline wrapper color instead of default.
* Don't draw the shadowed line, otherwise it mixes with inline diff highlighting (overdraws 1 top pixel of it with a lighter color).
2012-10-31 15:07:03 +04:00
Kirill Likhodedov 293a287c4c [diff] Draw shadowed lines instead of simple ones on gutter
Otherwise the transition from the editor to the gutter looks inconsistent.
2012-10-31 15:07:02 +04:00
Kirill Likhodedov 84b42b4c16 [diff] Don't display error stripes twice 2012-10-31 15:07:02 +04:00
Kirill Likhodedov 2abdf4f019 [diff] Draw diff line separators with the same color as diff type
FragmentHighlighterImpl#addBottomLine:
 - don't guess about type, pass fragment.getType.
 - call twice: for top and for bottom separators (but only once for insertion/deletion).

DiffMarkup:
 - remove the last-highlighter logic. Using double call of addLineMarker instead.
 - work with TextDiffType colors.
 - use a renderer to draw a nice shadowed line.
2012-10-31 15:07:01 +04:00
Kirill Likhodedov 3ac2186445 [diff] Make diff colors a bit more intensive
Otherwise they are too pale together with inline ones.
2012-10-31 15:07:00 +04:00
Kirill Likhodedov 7af486c6cd [diff] Highlight the whole line for inline fragment, but with less intensive color.
* Don't highlight the line marker renderer for inline changes - the line fragment wrapping them will be used.
* Therefore remove the code for adjusting text range height from the DiffLineMarkerRenderer.
* Introduce TextDiffType#myInlineWrapper for diff type of a fragment that is a wrapper for inline changes.
 - use special background color for such type.
 - refactor getTextAttributes: for scheme just return the color from scheme, all adjustments (for applied and for inline changes) are made in getTextAttributes(Editor).
* Create special inline TextDiffType instance where needed: in the LineBlocks (for DividerPolygons) and in the DiffMarkup (for the gutter and code highlighting).
2012-10-31 15:07:00 +04:00
Kirill Likhodedov be0f6c5513 [diff] Add "Gear" button to the toolbar with soft-wraps and other settings. IDEA-61492
* Make the merge tool settings be common for diff and merge. Rename to DiffMerge... and move to a common place.
* DiffMergeSettings is actual storage of the settings. But to let have different settings for diff and for merge, don't make it a PersistentStateComponent. Instead declare two subclasses, which are PersistentStateComponents themselves.
* DiffPanelImpl, DiffToolbarComponent: move toolbar creation from the constructor to setDiffRequest, since the toolbar now depends on editors.
* Hide the standard popup, invoked on the gutter. For detailed reasons list see 8cfda8e5 (same for merge tool).
2012-10-31 15:06:59 +04:00
Kirill Likhodedov 0b1681f960 [diff] Draw highlighters above gutters. Fix multiline inline fragments case
The height of the rectangle highlighted by the LineRenderer should be recalculated for any inline fragment: there are inline fragments occupying several lines (starting with the end of the first line, continuing thrown several whole lines, ending with the beginning of the last line).
2012-10-31 15:06:58 +04:00
Kirill Likhodedov 15efbf2b12 [diff] Draw highlighters above gutters. Step 5: fix line render for soft-wrapped inline fragments
PROBLEM:
inline fragment can appear on 2 visible soft-wrapped lines (in case of short diff, for example), but we draw them only on one.

SOLUTION:
Make DiffLineMarkerRenderer calculate the real visual height of the modified range and draw the rectangle with correct height.
2012-10-31 15:06:58 +04:00
Kirill Likhodedov 3b5e949038 [diff] Draw highlighters above gutters. Step 4: fix polygon colors for inline insertions/deletions
PROBLEM:
An inline insertion was shown as modification in the polygon, because the polygons are generated based on the type of the total fragment: a LineFragment, which contained children InlineFragments.

SOLUTION:
After inline child fragments are identified, adjust the type of their parent fragment if needed.
That is, if the change is just insertion or just deletion, the parent fragment should be of the same type. However, if the parent fragment contains two child changes of different types (e.g. an insertion and a deletion inside a single line), the summary change is a modification.
2012-10-31 15:06:57 +04:00
Kirill Likhodedov e98a846648 [diff] Draw highlighters above gutters. Step 3: for inline changes
For inline changes the range being highlighted is 0 pixels high (it is calculated in EditorGutterComponentImpl#getLineRendererRectangle)
To avoid the problem, identify if the change is inline (InlineFragment occupying one line), and increase the height of the highlighter area to be 1 editor line high.
2012-10-31 15:06:57 +04:00
Kirill Likhodedov d241dfbd42 [diff] cleanup: nullable, notnull, fix warnings 2012-10-31 15:06:56 +04:00
Kirill Likhodedov 0ef12d6db0 [diff] Draw highlighters above gutters. Step 2: draw lines for deletion/insertion
DrawBorders should always be true to accomplish that.
So removing this parameter, since it is always true.
2012-10-31 15:06:55 +04:00
Kirill Likhodedov 6076a879dd [diff] Draw highlighters above gutters. Step 1: for line-wide changes.
Extract the DiffLineMarkerRenderer from the mergetool's ChangeHighlighterHolder, and reuse it for rangeMarkers in the DiffMarkup.
Remove LineRenderer since nobody uses it anymore.
2012-10-31 15:06:55 +04:00
Konstantin Bulenkov ae3bc1e3a5 don't use Color.BLUE 2012-10-31 11:54:51 +01:00
Konstantin Bulenkov 6635da7b92 new selection color 2012-10-31 11:50:59 +01:00
Konstantin Bulenkov 742c50933d IDEA-93565 Darcula - weird borders in context menus 2012-10-31 11:50:59 +01:00
Dmitry Avdeev c6c328d4a0 scratch mode is back 2012-10-31 14:47:01 +04:00
Dmitry Avdeev f8a873985d templates step re-layouted 2012-10-31 14:47:00 +04:00
Dmitry Avdeev 7533953db8 templates step re-layouted 2012-10-31 14:46:59 +04:00
Dmitry Avdeev 633c4f9271 margins adjusted 2012-10-31 14:46:59 +04:00
Dmitry Avdeev 3a79c6fbb4 old scratch mode commented out 2012-10-31 14:46:58 +04:00
Dmitry Avdeev f00ed6fb61 no additional steps for plugin module 2012-10-31 14:46:57 +04:00
Dmitry Avdeev 371ec2afff validation 2012-10-31 14:46:56 +04:00
Dmitry Avdeev 8e4af3609e project format supported 2012-10-31 14:46:55 +04:00
Dmitry Avdeev 58727b8dd9 cleanup 2012-10-31 14:46:54 +04:00
irengrig 936f5a944d svnkit 1.7.7. build 9491. With sqljet 1.1.5.
supposed to fix IDEA-85496 Getting svn: E200030: Commit failed (details follow): svn: E200030: BUSY
(Whether it is fixes requires "production" verification)
2012-10-31 14:40:59 +04:00
irengrig 62e8bd00f5 Merge remote branch 'origin/master' 2012-10-31 14:36:02 +04:00
irengrig d2fc83f245 svnkit 1.7.7. build 9491. With sqljet 1.1.5.
supposed to fix IDEA-85496 Getting svn: E200030: Commit failed (details follow): svn: E200030: BUSY
(Whether it is fixes requires "production" verification)
2012-10-31 14:34:20 +04:00
Eugene Kudelevsky 41109ecca3 IDEA-83565 fix filtering by log level in android logcat 2012-10-31 14:08:29 +04:00
Eugene Kudelevsky 1a3f81d7d2 android-jps: do not process recursive dependencies for mavenized modules 2012-10-31 14:08:28 +04:00
Eugene Kudelevsky 4d9ad4e952 IDEA-93002 merge 'choose java sdk' and 'choose build target' in one dialog 2012-10-31 14:08:26 +04:00
Eugene Kudelevsky fd2c2596c0 show 'details' button if there is only one broken class 2012-10-31 14:08:25 +04:00
Eugene Kudelevsky 34eaea7d05 make getRenderServiceFactory synchronized 2012-10-31 14:08:24 +04:00
Eugene Kudelevsky 1e45e6ff3e IDEA-93889 consider rsh as plain text files 2012-10-31 14:08:22 +04:00
Sergey Evdokimov 80525d9647 Show exceptions those were thrown during resolving. 2012-10-31 13:49:41 +04:00
Alexey Kudravtsev 54c6b14978 show call hierarchy for the containing method, not the usage view target
close button in navigate/call hierarchy fixed
2012-10-31 13:49:41 +04:00
Alexey Kudravtsev c00335b94f cleanup 2012-10-31 13:49:41 +04:00
sweinreuter 88cb23d63c IDEA-73088 XSL: Extract Template not working if first line is a comment 2012-10-31 10:48:07 +01:00
nik 1c54e42e40 loading jps model from eclipse: fixed adding library dependencies 2012-10-31 12:58:45 +04:00
nik 23fdb5f3ba jps model serialization: cleanup 2012-10-31 12:34:32 +04:00
nik 7de9c25941 IDEA-84180: Path in Java Compiler params doesn't get replaced with path variable 2012-10-31 12:34:32 +04:00
Konstantin Bulenkov 9d7f521538 revert 2012-10-31 09:27:21 +01:00