Commit Graph

832 Commits

Author SHA1 Message Date
L. David Baron
90bd8753e1 Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Mats Palmgren
d329029d95 Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz 2012-05-16 19:32:40 +02:00
Mats Palmgren
ca5bacff08 Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz 2012-05-16 19:32:40 +02:00
Mats Palmgren
8d1bd9831d Bug 754480 - Remove unused mDragService member. part=1/3 r=bz 2012-05-16 19:32:40 +02:00
Trevor Saunders
8df11e79ab bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug 2012-04-06 17:54:38 -04:00
Robert O'Callahan
8a4183542c Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal 2012-05-16 17:40:57 +12:00
Oleg Romashin
7ad2071db0 Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal
--HG--
extra : rebase_source : 524add7c1080994dd1bc2345cbd6f54c15653d27
2012-02-07 12:22:53 -08:00
Mats Palmgren
30ee665eeb Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz 2012-05-09 21:53:15 +02:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Mats Palmgren
6c78ae7c6b Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
8582ded41c Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
125932d5d4 Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc 2012-05-04 02:14:02 +02:00
Andreas Gal
5d949cc38a Do background image scaling on the GPU. Part 1: Refactor nsCSSRendering to expose helpers we need in nsDisplayBackground::GetLayerState (bug 750172, r=roc). 2012-05-03 13:11:57 -07:00
Wes Johnston
c547164cd0 Bug 741247 - Dispatch touch events to the active tabs presShell. r=smaug 2012-04-26 14:40:05 -07:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
4d9504c5e9 Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
Timothy Nikkel
b9a7468478 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Joe Drew
3019e4b61c Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Timothy Nikkel
e472248f52 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Wes Johnston
9d43831eef Bug 732016 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug 2012-04-17 10:08:23 -07:00
Timothy Nikkel
c512b3f366 Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Robert O'Callahan
833e8a244f Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Kyle Huey
b9156a7e34 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
803a05ad74 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Wes Johnston
e0627db572 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Boris Zbarsky
c146ad9e16 Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug 2012-03-24 20:46:03 -04:00
Ehsan Akhgari
cbd5bcd53c Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
--HG--
extra : rebase_source : 3e5d2fafc028edb2940bef07302161670692d5a1
2012-03-26 09:09:38 -07:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Mats Palmgren
6fee80611d Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz 2012-03-20 19:02:38 +01:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Wes Johnston
624f845ca0 Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug 2012-03-19 14:34:34 -07:00
Dão Gottwald
6a83ce299e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
1157561543 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Jonathan Kew
6ed8fa15f1 bug 735647 - use larger buffers for key strings in ReflowCountMgr, and fix leakage & allocator mismatch. r=matspal 2012-03-15 09:00:25 +00:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ali Juma
f8d6403787 Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard 2012-03-12 11:50:15 -04:00
Ali Juma
42a0e56158 Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Brad Lassey
c12f116fa1 bug 723597 - Spurious mouseover event fired on page load r=tn
--HG--
extra : rebase_source : b8c820b54dc41160451eb2c16e1cec32be046951
2012-03-12 19:30:40 -04:00
Nicholas Nethercote
21e2aeb95c Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nathan Froyd
7adb7a65ea Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Masayuki Nakano
8b623ce6c9 Bug 707859 part.2 Forget PresShell::mSynthMouseMoveEvent when drag session prevents to dispatch it r=smaug 2012-02-24 13:41:33 +09:00
Rob Campbell
7fc1e05e22 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Masayuki Nakano
ae04179a47 Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug 2012-02-21 12:19:18 +09:00
Jesse Ruderman
90828e6fbc Bug 728717 - Make the 'Some pres arena objects were not freed' assertion fatal. r=bz 2012-02-19 12:40:14 -08:00
Jared Wein
43f524eb6a Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00