Commit Graph
1801 Commits
Author SHA1 Message Date
Oleg Romashin baa5307cac Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal 2012-02-07 12:22:53 -08:00
Mats Palmgren d178a11098 Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz 2012-05-09 21:53:15 +02:00
Nathan Froyd 293a874576 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Chris Pearce dfabb17145 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 f5aabcfe57 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 163abf3983 Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren ce720d1298 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 8aecc8a0ef Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc 2012-05-04 02:14:02 +02:00
Andreas Gal 2c4f0077fc 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 f2e505fb68 Bug 741247 - Dispatch touch events to the active tabs presShell. r=smaug 2012-04-26 14:40:05 -07:00
Masayuki Nakano 7537069ed1 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 d370caa7ab 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 50718d4ff5 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 0d48edf486 Backout 492d12fa8b65 (bug 732016) for regressions. a=regression 2012-04-23 11:13:33 -07:00
Timothy Nikkel 99bc437145 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 22b2032400 Bug 732016 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug 2012-04-17 10:08:23 -07:00
Timothy Nikkel 2c09f6c9ac 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) a49e674017 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Robert O'Callahan fb6a78d67b 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 75ce446ae2 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey 4cf42ddeb6 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Wes Johnston 66cb2a2c32 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Boris Zbarsky be8868c700 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 5529aea5fb Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc 2012-03-26 09:09:38 -07:00
Henri Sivonen b191345374 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Mats Palmgren b81fcb552d 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] 4be7089305 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Wes Johnston 00ff030faa Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug 2012-03-19 14:34:34 -07:00
Dão Gottwald cc99a23464 Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe] 68a2768804 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Jonathan Kew 8df57ba277 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 bbefdec4f2 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ali Juma 924f6e0e56 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 b0336ad72e Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Brad Lassey 93a7be53a4 bug 723597 - Spurious mouseover event fired on page load r=tn 2012-03-12 19:30:40 -04:00
Nicholas Nethercote 928c609cb2 Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey. 2012-02-21 07:10:11 -08:00
Nathan Froyd 20f5ce545a Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Masayuki Nakano c081325780 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 0c1ba7c23e merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Masayuki Nakano 528539b755 Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug 2012-02-21 12:19:18 +09:00
Jesse Ruderman eeffe742fe 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 1be1dd9c2e Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Daniel Holbert 26523c9618 Bug 728462: Remove declaration of no-longer-used 'GfxTextrunWordCacheMallocSizeOf'. r=jfkthame 2012-02-18 09:47:52 -08:00
Daniel Holbert 01ddc9a665 Bug 728480: Wrap MOZ_TOUCH-specific code in #ifdefs, to prevent unused-function build warnings. r=wesj 2012-02-17 17:27:39 -08:00
Bill McCloskey ca293fdba6 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Daniel Levin 1a7923dbbf Bug 710973 - Validate aYResolution in PresShell::SetResolution, don't validate aXResolution twice. r=tn 2012-02-16 14:29:05 +01:00
Nicholas Nethercote f25b63a365 Bug 689583 - Add names for memory multi-reporters. r=jlebar. 2012-02-06 17:02:59 -08:00
Cameron McCormack aa1fed3c9d Bug 724709 - Bring EnsureTextRun docs up to date. r=roc DONTBUILD 2012-02-07 10:37:08 +11:00
Nathan Froyd 7ebd169fc6 Bug 717659 - add telemetry for reflows in background tabs. r=bz 2012-02-03 12:27:42 +01:00
Jonathan Watt abde690b9d Bug 714839 - Make nsCSSFrameConstructor inherit nsFrameManager. r=bz. 2012-02-02 10:06:46 +00:00