dvander@alliedmods.net
8274a27143
Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats)
2015-03-11 12:29:06 -07:00
David Anderson
c2a7ec14a4
Backed out changeset de19c60e56bd
2015-03-11 12:28:28 -07:00
David Anderson
a370836303
Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats)
2015-03-11 12:26:30 -07:00
Morris Tseng
f6684364a0
Bug 1120750 - Part 1: Move GetSelectionBoundingRect to nsContentUtils. r=roc
2015-02-04 21:58:00 -05:00
Morris Tseng
21650ba39d
Bug 1130256 - Prevent unwanted scrolling event. r=roc
2015-02-05 21:13:00 +01:00
Jeremy Chen
fe8fc4f7aa
Bug 1120358 - Part 1: Handle scroll position change that is not triggered by APZ. r=roc
2015-01-15 00:42:00 -05:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Morris Tseng
a2c88868d4
Bug 1117643 - Always send blur event to selection carets but cancel long tap detector when leaving document. r=roc
2015-01-05 01:15:00 +01:00
pchang
0b5289330f
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
Ting-Yu Lin
d0a4b621f0
Bug 1090682 - Do not consume NS_MOUSE_MOZLONGTAP if SelectWord failed. f=mtseng, r=roc
2014-12-24 19:14:00 +01:00
pchang
b32479bd71
Bug 1068474
- Limit the selection range based on the boundary of startcaret and endcaret. r=roc
2014-12-19 13:25:17 +08:00
Ting-Yu Lin
f674a2ec9b
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
09c7f0faf5
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
peter chang
483ecd1196
Bug 1090008 Dispatch SelectionStateChanged event for blur, r=roc r=smaug
2014-11-27 18:56:00 +01:00
Ting-Yu Lin
9b3563ea90
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
d0e550df52
Bug 1096169 - Handle selection carets overlapping case. r=roc
2014-11-12 23:03:00 -05:00
Ting-Yu Lin
892f540142
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
189652787e
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
d84b5f7745
Bug 1088552 - Change downPoint and movePoint from canvasframe's coordinate to rootframe's coordinate. r=roc
2014-10-28 18:25:00 -04:00
Morris Tseng
42158b0719
Bug 1062735 - Part 4: Support non-editable fields for selection carets. r=roc
2014-10-16 23:17:00 +02:00
peter chang
ae05a3086a
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
e3debbffab
Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc
2014-09-15 02:57:00 +02:00
Morris Tseng
e805832aca
Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc
2014-08-04 00:26:00 -04:00
Benoit Jacob
e1b7dbca34
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Morris Tseng
e0ddfe5e18
Bug 987718 - Part 5: Add SelectionCarets; r=roc
2014-06-04 22:57:00 +02:00