Carsten "Tomcat" Book
214402e410
Backed out changeset 313ea7f814d3 (bug 1178847)
2015-07-21 08:34:57 +02:00
Kartikaya Gupta
86a7ae48ef
Bug 1178847 - Add a MobileViewportManager to manage setting the CSS viewport on B2G. r=botond,tn
...
The MobileViewportManager ("MVM") is responsible for setting the CSS viewport on
any of the following events:
- a page is painted for the first time (on the before-first-paint event)
- a meta-viewport tag is added (on the DOMMetaAdded event)
- the full-zoom is changed (on the FullZoomChanged event)
- if the window is resized (ResizeReflow gets called as part of normal layout
processing, and this will pick up a new CSS viewport from MVM)
If the CSS viewport changes or if it is the initial paint, the MVM additionally
calls SetResolutionAndScaleTo on the presShell to update the displayed zoom.
The APZ code in AsyncPanZoomController::NotifyLayersUpdated already has
corresponding code to accept this updated zoom when the CSS viewport changes.
2015-07-20 18:19:40 -04:00
Alex Henrie
38880220ff
Bug 941858 - Do not scale down elements passed to setDragImage. r=roc
...
--HG--
extra : rebase_source : de65096c15c4c4b22c8ae3a18143942e36adb3d9
2015-07-11 10:15:19 -06:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
L. David Baron
71b66d0c56
Bug 1169440 patch 6 - Add parameter to nsIFrame::FrameNeedsReflow to control handling of target being a reflow root. r=dholbert
2015-06-20 21:54:15 -07:00
David Anderson
127048bb86
Add an observer service notification for the first widget paint message. (bug 1173117 part 2, r=roc)
2015-06-18 13:42:39 -07:00
Kartikaya Gupta
49c13c1c35
Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
...
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Cameron McCormack
426f0f8f78
Bug 1169514 - Part 3: Use a shared preference style sheet across all pres contexts. r=jwatt
2015-06-16 11:34:48 +10:00
Cameron McCormack
4c1cfc10bd
Bug 1169514 - Part 2: Move noframes rules from the preferences style sheet to a cached UA style sheet. r=jwatt
2015-06-16 11:34:47 +10:00
Cameron McCormack
5492e00444
Bug 1169514 - Part 1: Move noscript rule from the preference style sheet to a cached UA style sheet. r=jwatt
2015-06-16 11:34:47 +10:00
Ryan VanderMeulen
dafb02e597
Backed out changeset 061363215959 (bug 1171371) for Android testAboutPage crashes.
...
CLOSED TREE
2015-06-04 17:00:56 -04:00
David Anderson
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Seth Fowler
5e88ac1467
Bug 1171371 - On memory-pressure, remove any stale images from the visible images list. r=tn
2015-06-04 11:08:19 -07:00
Mark Capella
b470913851
Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan
2015-05-14 22:06:12 -04:00
Ting-Yu Lin
da5ef9e181
Bug 1110039 - Part 4 - Hook new classes into the system. r=roc
...
The necessary modifications are the same as SelectionCarets. For
convenience, Touch/SelectionCarets will be disabled whenever
AccessibleCaret preference is enabled.
2015-04-24 02:08:00 +02:00
Eric Rahm
e1ce2b6323
Bug 1162673 - Part 1: Remove instances of #ifdef PR_LOGGING in layout. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:53:18 -07:00
Olli Pettay
bf115e16cf
Backout Bug 1149555 because of tresize regression, a=backout
...
--HG--
extra : rebase_source : dba4dca78f80ac6971ef03d519abbd8fe6919ace
2015-05-08 20:12:41 +03:00
Olli Pettay
bb9c4f4afa
Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron
...
--HG--
extra : rebase_source : 4828758667591a52ef8d15fa4812c65475ca484f
2015-05-05 17:56:01 +03: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
Maksim Lebedev
f60627631d
Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug
...
--HG--
extra : rebase_source : 9556dce20748b3b581f8e39df6992513e90f62ff
2015-04-14 11:46:39 -04:00
Ryan VanderMeulen
81c2e4fd75
Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test.
2015-04-06 11:22:00 -04:00
Tom Tromey
fe559bb884
Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan
2015-04-03 08:17:00 -04:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00: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
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Kartikaya Gupta
c6da1df376
Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond
2015-03-10 09:29:25 -04:00
Maksim Lebedev
0002fc671c
Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug
2015-02-20 02:12:00 -05:00
Seth Fowler
f852dd0b99
Bug 1125490 (Part 2) - Use an enumeration instead of a boolean to request discarding in nsIImageLoadingContent. r=tn
2015-02-06 02:51:12 -08:00
Seth Fowler
51eb16263e
Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn
2015-02-06 02:51:12 -08:00
Maksim Lebedev
7dc1f6bc6f
Bug 1129397 - Allocate function PresShell::DispatchEventToDOM. r=smaug
2015-02-04 05:19:00 +01:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Xidorn Quan
8315be6683
Bug 910532 part 2 - Prevent exiting fullscreen if escape is consumed by chrome. r=smaug
...
--HG--
extra : source : b18129bfc6a864ee580c54bd317a01d12ee62e33
2015-01-21 12:16:04 +11:00
Botond Ballo
9f93609fd6
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Ehsan Akhgari
81bc9cdcd9
Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc
2015-01-07 10:07:36 -05:00
Jonathan Kew
74d961eaf3
Bug 1077515 - part 6 - Create a new nsISelectionController::PhysicalMove command. r=roc
2014-11-22 14:39:03 +00:00
Gina Yeh
a9a5a8c2c1
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jonathan Watt
bf49eb7f25
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Mats Palmgren
3be9dbfbb8
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Kearwood (Kip) Gilbert
d657e33227
Bug 1010538 - Part 5 - Enable automatic smooth scrolling for anchor links. r=mstange
...
- When an anchor link is clicked, the SCROLL_SMOOTH_AUTO flag is now set by
PresShell::GoToAnchor when calling PresShell::ScrollContentIntoView.
- Added an arguement, aAnimateScroll, to PresShell:GoToAnchor to indicate that
the scroll may be animated. This will only be set to true when an anchor
link is clicked. Opening a page with an anchor link will not trigger
such animations.
2014-09-15 15:54:42 -07:00
Ryan VanderMeulen
f00e2738a4
Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
...
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)
CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
bd5a3188f8
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
...
---
b2g/app/b2g.js | 3 +
content/base/src/nsGkAtomList.h | 4 +
dom/events/EventNameList.h | 16 +++
dom/events/EventStateManager.cpp | 6 +
dom/ipc/PBrowser.ipdl | 2 +
dom/ipc/TabChild.cpp | 6 +-
dom/ipc/TabParent.cpp | 24 ++++
dom/ipc/TabParent.h | 1 +
layout/base/nsIPresShell.h | 12 +-
layout/base/nsPresShell.cpp | 250 ++++++++++++++++++++++++++++++++++++++
layout/base/nsPresShell.h | 26 ++++
modules/libpref/init/all.js | 3 +
12 files changed, 350 insertions(+), 3 deletions(-)
2014-10-14 15:09:24 +08:00
Cameron McCormack
1ea00788ea
Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky
2014-10-02 12:32:09 +10:00
Rik Cabanier
ce6c5dc0b7
bug 1058044 - Background-blend-mode no longer blends correctly for <html> elements. r=roc
2014-09-23 19:50:00 +02:00
Ehsan Akhgari
60360fc645
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04: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
d085b972a2
Bug 1048752. Part 2: Remove InvalidateOutsideCaret and MaybeInvalidateCaretPosition. r=tn
...
I'm quite sure DLBI means we don't need these anymore.
--HG--
extra : rebase_source : 6cb6cd7c160a46688793c6ab1cdded333aecdd61
2014-08-06 17:19:23 +12:00
Markus Stange
3262aee646
Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE
2014-08-08 18:05:40 +02:00
Markus Stange
42d041842e
Bug 987030 - Fix compressed paint timer scheduling. r=roc
2014-08-08 12:46:50 +02:00
Morris Tseng
e805832aca
Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc
2014-08-04 00:26:00 -04:00