Ting-Yu Lin
84f589a772
Bug 1090682 - Do not consume NS_MOUSE_MOZLONGTAP if SelectWord failed. f=mtseng, r=roc
2014-12-24 19:14:00 +01:00
Morris Tseng
b3956cdd31
Bug 1114853 - Part 5: Don't dispatch event when we're at drag mode. r=roc
2014-12-24 00:02:00 +01:00
Morris Tseng
2f9785c560
Bug 1114853 - Part 4: Bail out if selections are mismatch. r=roc
2014-12-29 20:02:00 +01:00
Morris Tseng
595f013ec0
Bug 1114853 - Part 3: Reset mSelectionVisibleInScrollFrames when visibility set to false. r=roc
2014-12-24 01:07:00 +01:00
Morris Tseng
74aba96f79
Bug 1114853 - Part 2: Remove useless SetVisibility calls. r=roc
2014-12-24 00:01:00 +01:00
pchang
e05b155890
Bug 1068474 - Limit the selection range based on the boundary of startcaret and endcaret. r=roc
2014-12-19 13:25:17 +08:00
Carsten "Tomcat" Book
94c934b09b
Backed out changeset 4aad6ecf4b7d (bug 1098161) for marionette test failures
2014-12-22 09:34:14 +01:00
Morris Tseng
5cb3628585
Bug 1109800 - Call CancelLongTapDetector when Selection carets are blurred. r=roc
2014-12-18 22:50:00 +01:00
pchang
7463f266b8
Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc
2014-12-19 14:04:45 +08:00
Phil Ringnalda
dccf3eedb4
Back out 155b9d4cb8cb (bug 1068474) for Marionette failures
2014-12-21 18:54:23 -08:00
pchang
faa50bbc8b
Bug 1068474 Limit the selection range based on the boundary of startcaret and endcaret, r=roc
...
---
layout/base/SelectionCarets.cpp | 13 +++++++++++++
layout/base/SelectionCarets.h | 8 ++++++++
2 files changed, 21 insertions(+)
2014-12-19 13:25:17 +08:00
Morris Tseng
e49c473a84
Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
2014-11-10 02:04:00 -05:00
Morris Tseng
7ea16aaeee
Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
2014-12-07 18:52:00 -05:00
Ting-Yu Lin
f47661ef92
Bug 1067728 - Part 5 - Dispatch updateposition after scroll end and reflow. r=roc, sr=smaug
...
Add a selection state "updateposition" and a field "visible" to indicate
that the current selection's boundingClientRect or visible is changed.
We dispatch this state after scrolling or reflowing is done.
2014-12-10 01:50:00 +01:00
Ting-Yu Lin
57ecef1608
Bug 1067728 - Part 4 - Refactor two functions in SeletionCarets. r=roc
...
Make DispatchSelectionStateChangedEvent() and GetSelectionBoundingRect()
become member functions of SeletionCarets so that they are easier to use
in later patches.
2014-12-08 01:55:00 +01:00
Ting-Yu Lin
4cc0337d66
Bug 1067728 - Part 2 - Hide start or end selection caret if it's out of scroll frame. f=mtseng, r=roc
...
nsLayoutUtils::IsRectVisibleInScrollFrames() had been used by
TouchCaret. We do the similar check for SelectionCarets.
2014-12-08 01:54:00 +01:00
Ryan VanderMeulen
a64e68352d
Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
...
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Morris Tseng
7ebccb0c29
Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
2014-11-10 02:04:00 +01:00
Morris Tseng
6613282fff
Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
2014-12-07 18:52:00 +01:00
Morris Tseng
15bc3a4aa2
Bug 1102135 - When select word, bailed out if frame is not selectable. r=roc
2014-11-27 23:57:00 +01:00
peter chang
78fa7f29d4
Bug 1090008 Dispatch SelectionStateChanged event for blur, r=roc r=smaug
2014-11-27 18:56:00 +01:00
peter chang
bb65c6b933
Bug 1090008 - Part 4 - Rename SelectionChange to SelectionStateChanged, r=smaug
2014-11-27 18:55:00 +01:00
pchang
caa30f7d54
Bug 1090008 -Part 1 - Refactor the logic to dispatch selectionchange to TextDialog, r=roc
2014-11-28 05:35:00 +01:00
Morris Tseng
d69d3866f9
Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
...
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Jonathan Kew
6a5c361e8b
Bug 1077515 - part 3 - Change desiredX (nscoord) to desiredPos (nsPoint) in nsPeekOffsetStruct, to support maintaining either vertical or horizontal position on inter-line moves. r=roc
2014-11-22 14:39:03 +00:00
Ting-Yu Lin
34d7f80254
Bug 1100243 - Fix wrong log in SelectionCarets::SetEndFrameVisibility(). r=mtseng
2014-11-17 00:05:00 +01:00
Morris Tseng
89a80a347d
Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
2014-11-10 02:04:00 +01:00
Morris Tseng
5e6cfa9ba4
Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
2014-11-10 02:03:00 +01:00
Ting-Yu Lin
484e868db0
Bug 1097094 - Keep a WeakPtr to nsDocShell in SectionCarets. r=roc
...
When SelectionCarets::Terminate() is called, it's not guaranteed that we
can get nsDocShell from PresContext. It causes that SelectionCarets
cannot remove itself as an observer.
To fix this, we keep a member WeakPtr<nsDocShell> so that we can always
have nsDocShell in SelectionCarets::Terminate().
2014-11-13 08:32:00 -05:00
Morris Tseng
fbfa29f0c0
Bug 1096169 - Handle selection carets overlapping case. r=roc
2014-11-12 23:03:00 -05:00
Morris Tseng
5998dde150
Bug 1094056 - Use nsCaret::GetGeometryForFrame to determine position of selection carets. r=roc
2014-11-11 22:54:00 +01:00
Ting-Yu Lin
b40f143209
Bug 1073457 - Launch long tap detector when APZ isn't enabled. f=mtseng, r=roc
...
LaunchLongTapDetector() is used to fire long tap to select word when
async pan zoom is not enabled. We should check if async pan zoom is
enabled rather than check whether it's on main process.
This can also fix selection carets not working on e10s.
2014-11-10 00:29:00 +01:00
Ting-Yu Lin
f7be8d5ee9
Bug 1094607 - Move scroll observer logic to SelectionCarets. r=roc
2014-11-05 22:00:00 +01:00
Ting-Yu Lin
38f76ce3a3
Bug 1094072 - Update selection carets after reflow. r=roc
...
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Morris Tseng
4942d31de9
Bug 1088559 - Also dispatch NotifyAsyncPanZoomStarted/NotifyAsyncPanZoomStopped to nsDocShell's child. r=roc
2014-10-29 02:03:00 -04:00
Morris Tseng
c3fb41b95c
Bug 1088552 - Change downPoint and movePoint from canvasframe's coordinate to rootframe's coordinate. r=roc
2014-10-28 18:25:00 -04:00
Ting-Yu Lin
b704123245
Bug 1087190 - Add debug log to SelectionCarets. f=mtseng, f=pchang, r=roc
2014-10-29 01:16:00 +01:00
Morris Tseng
bb8bf1f072
Bug 1074736 - Consider multiple range selection in selection caret. r=roc
2014-10-23 19:49:00 +02:00
Ryan VanderMeulen
956e0a87db
Backed out changesets 94c5f5317e4b, f43962d6b41e, and 6e0a13090cd8 (bug 1074736) for various carat-related Marionette failures.
2014-10-27 15:39:44 -04:00
Morris Tseng
9a523f32b7
Bug 1074736 - Consider multiple range selection in selection caret. r=roc
2014-10-23 19:49:00 +02:00
Carsten "Tomcat" Book
73e873dc28
Backed out changeset b1ab04e807c3 (bug 1074736)
2014-10-24 14:45:59 +02:00
Morris Tseng
741d4d71c6
Bug 1074736 - Consider multiple range selection in selection caret. r=roc
2014-10-23 19:49:00 +02:00
peter chang
3e7be77f06
Bug 1068461 - Locate the text frames from viewport frame to select word, r=roc
2014-10-15 10:43:29 +08:00
Morris Tseng
bcbd06735c
Bug 1062735 - Part 4: Support non-editable fields for selection carets. r=roc
2014-10-16 23:17:00 +02:00
Morris Tseng
64441f9a97
Bug 1062735 - Part 3: Change ReduceRectToVerticalEdge to 1 css pixel instead of 1 app unit. r=roc
2014-09-28 23:50:00 +02:00
Morris Tseng
65ad7cf07e
Bug 1062735 - Part 2: Add a preference to control non-editable fields support. r=roc
2014-09-28 23:49:00 +02:00
Morris Tseng
7f0e3748a4
Bug 1062735 - Part 1: Remove GetHintForPosition. r=roc
2014-09-28 23:48:00 +02:00
pchang
333ca2b9fa
Bug 1067243 - Refine the selection reason matching logic to toggle the visibility of selection carets. r=roc
2014-09-26 15:14:35 +08:00
peter chang
6171341241
Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan
2014-09-23 06:37:00 -04:00
Ting-Yu Lin
f5f9b2364a
Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc
2014-09-15 02:57:00 +02:00