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
Jeremy Chen
b81f2619bf
Bug 1122805 - v3 Update carets' positions based on coordinates of the root frame. r=roc
2015-02-05 01:36:00 +01: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
Ting-Yu Lin
48139f3c66
Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc
2014-12-08 01:53:00 +01:00
Ting-Yu Lin
0e32f17319
Bug 1067728 Part 1 - Generalize scroll frame boundary checking logic. f=mtseng, r=roc
2014-12-08 01:52:00 +01:00
Ting-Yu Lin
a1cdae7705
Bug 1082486 - Part 4 - Check whether nsCaret shows in the scroll frame. r=roc
...
This patch check whether nsCaret shows in scroll frame. If yes, touch
caret will show, and its position will be clamp to scroll frame as
before. Otherwise, we hide it since the nsCaret will not be seen in this
case.
2014-10-16 22:03:00 +02:00
Ting-Yu Lin
4e2fc8bd36
Bug 1082486 - Part 3 - Refactor UpdatePosition(). r=roc
...
GetTouchCaretPosition() is needed in a later patch.
2014-10-15 03:05:00 +02:00
Ting-Yu Lin
d6a6255879
Bug 1082486 - Part 2 - Make GetCanvasFrame() returns nsCanvasFrame*. r=roc
...
PresShell::GetCanvasFrame() already returns nsCanvasFrame*, and it's
needed to access nsCanvasFrame's method in a later patch.
2014-10-14 03:07:00 +02:00
Morris Tseng
1a503e62a4
Bug 1067231 - Send touch caret tap event. r=ehsan
2014-10-12 23:44:00 +02:00
Ryan VanderMeulen
46d55d6995
Backed out changeset 0f7fe4800ace (bug 1027631) for non-unified bustage.
...
CLOSED TREE
2014-10-09 13:16:32 -04:00
Morris Tseng
d1862b0e6a
Bug 1067231 - Send touch caret tap event. r=ehsan
...
DONTBUILD
--HG--
extra : rebase_source : 0dfc843425bccd13da56fd17d9d854352b07f9a3
2014-10-07 02:28:00 -04:00
Ryan VanderMeulen
b3ab357b12
Backed out changeset 0f7fe4800ace for landing with the wrong bug number.
...
--HG--
extra : rebase_source : fe37a4e6b566cb2121079ad95bfdce99ab997d33
2014-10-09 11:39:12 -04:00
Morris Tseng
9261b9ccdd
Bug 1027631 - Send touch caret tap event. r=ehsan
2014-10-07 02:28:00 -04:00
Ting-Yu Lin
ff1b58b09c
Bug 1078991 - Add TouchCaret::GetCaretFocusFrame(). r=roc
2014-10-06 21:02:00 -04:00
Ting-Yu Lin
24e605550c
Bug 1065244 - Part 3 - Fix SelectionCarets::SelectWord() is hard to trigger. f=mtseng, r=roc
...
Fix this issue by deploying the same logic as selection carets in
TouchCaret::IsOnTouchCaret().
2014-09-15 02:58:00 +02:00
Robert O'Callahan
2489dc1f01
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
b8bd1730f3
Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
...
I got tired of slow build turnarounds every time I modified nsCaret.h.
--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Ting-Yu Lin
4099ebe260
Bug 1016184 - Part 3b: Revise touch caret visibility logic. f=pchang, r=ehsan
...
* Refactor UpdateTouchCaret() into smaller functions.
* Update touch caret in PresShell::DidDoReflow() and
PresShell::UnsuppressAndInvalidate() if needed.
2014-07-27 00:15:00 +02:00
Ting-Yu Lin
ac20b2f613
Bug 1016184 - Part 3a: Fix typos and minor style changes. r=ehsan
...
Also group the private section together, and remove the protect section
since TouchCaret is a MOZ_FINAL class.
2014-07-27 00:13:00 +02:00
Morris Tseng
e2277374e8
Bug 1023041 - Part 2: Generate correct event when dragging touch caret. r=roc
2014-08-04 00:24:00 -04:00
Ryan VanderMeulen
908eceaa30
Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
...
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Ting-Yu Lin
ebba7aea48
Bug 1016184 part 3b - Revise touch caret visibility logic. f=pchang, r=ehsan
...
* Refactor UpdateTouchCaret() into smaller functions.
* Update touch caret in PresShell::DidDoReflow() and
PresShell::UnsuppressAndInvalidate() if needed.
2014-07-27 00:15:00 +02:00
Ting-Yu Lin
c882c29267
Bug 1016184 part 3a - Fix typos and minor style changes. r=ehsan
...
Also group the private section together, and remove the protect section
since TouchCaret is a MOZ_FINAL class.
2014-07-27 00:13:00 +02: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
Phoebe Chang
2bcba7c1cc
Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs
2014-06-03 15:08:45 +08:00