Birunthan Mohanathas
a8939590de
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
498dfe1a92
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
b470913851
Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan
2015-05-14 22:06:12 -04:00
Andrea Marchesini
085da9302a
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
6184cd18a5
Bug 1021499 - Enlarge touch/selection carets touch area. r=roc
...
--HG--
extra : histedit_source : 86209694d0b0704554a3a61d08741d02ea1a57cc
2015-04-15 19:15:00 -04:00
Mark Capella
6f1202dd58
Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin
2015-04-13 22:33:02 -04:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Kartikaya Gupta
52c482890f
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
883849ee32
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
b79c10f9e3
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.
--HG--
extra : rebase_source : 1622818b9cbbc82e02188ec7ea8ac7951ba6f634
2015-03-18 03:26:00 -04:00
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