Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Mark Capella
bcbc4b4882
Bug 988143 - Enable Gecko Touch in Fennec, SelectionCarets mods, r=ehsan
...
* * *
Bug 988143 - Enable Gecko Touch in Fennec, Add new Mobile prefs, r=ehsan
2015-05-14 22:06:13 -04:00
Mark Capella
64e7c281b2
Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan
2015-05-14 22:06:12 -04:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Morris Tseng
e27f56c6ff
Bug 1021499 - Enlarge touch/selection carets touch area. r=roc
2015-04-15 19:15:00 -04:00
Mark Capella
0dad84cbf9
Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin
2015-04-13 22:33:02 -04:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Kartikaya Gupta
80630ae293
Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan
2015-03-25 07:52:37 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ting-Yu Lin
644c017524
Bug 1140238 - Part 2: Adjust ranges after changing selection direction. r=mats
...
When dragging the second caret (eDirNext) over non-selectable elements,
the last range is not generated. Therefore when dragging the first
caret, we will change the selection direction to eDirPrevious, the last
range will be excluded by AutoPrepareFocusRange.
We add a new function to adjust generated bit and anchor focus range
after changing selection direction.
2015-03-18 03:26:00 -04:00
dvander@alliedmods.net
180525b39d
Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats)
2015-03-11 12:29:06 -07:00
David Anderson
4f9f0f0fe7
Backed out changeset de19c60e56bd
2015-03-11 12:28:28 -07:00
David Anderson
35b03dcb32
Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats)
2015-03-11 12:26:30 -07:00
Morris Tseng
1c291a2fae
Bug 1120750 - Part 1: Move GetSelectionBoundingRect to nsContentUtils. r=roc
2015-02-04 21:58:00 -05:00
Morris Tseng
2a401787bf
Bug 1130256 - Prevent unwanted scrolling event. r=roc
2015-02-05 21:13:00 +01:00
Jeremy Chen
4252e24e9e
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
a7f747ec15
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
98806e2664
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
56259cb050
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
84f589a772
Bug 1090682 - Do not consume NS_MOUSE_MOZLONGTAP if SelectWord failed. f=mtseng, r=roc
2014-12-24 19:14: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
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
peter chang
78fa7f29d4
Bug 1090008 Dispatch SelectionStateChanged event for blur, r=roc r=smaug
2014-11-27 18:56: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
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
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
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
Morris Tseng
bcbd06735c
Bug 1062735 - Part 4: Support non-editable fields for selection carets. r=roc
2014-10-16 23:17:00 +02: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
Morris Tseng
9bfbe4bd2f
Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc
2014-08-04 00:26:00 -04:00
Benoit Jacob
553e5b2a13
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Morris Tseng
6ab1d28b5b
Bug 987718 - Part 5: Add SelectionCarets; r=roc
2014-06-04 22:57:00 +02:00