Rik Cabanier
9f1afe3eea
Bug 902525 - part 3: Create a layer for content that stores the blend mode. r=roc
2013-09-15 16:24:16 -04:00
Rik Cabanier
b58954693a
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc
2013-09-15 16:24:06 -04:00
Timothy Nikkel
6193557598
Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats
2013-09-14 19:05:06 -05:00
Timothy Nikkel
5a0f35ceaa
Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
6099e77b01
Bug 847223. Part 5. Make AssumeAllImagesVisible usuable outside of PresShell. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
dc31dc79cb
Bug 847223. Part 2. Add a function to remove an image from the visible list. r=mats
2013-09-14 19:05:04 -05:00
Timothy Nikkel
5da4fdfe20
Bug 847223. Part 1. Use a hashtable instead of an array to store list of visible images on the presshell. r=mats
2013-09-14 19:05:04 -05:00
Masayuki Nakano
8f393ec07c
Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc
2013-09-14 11:39:41 +09:00
Ryan VanderMeulen
8dcb23387e
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Botond Ballo
9a202d2a4e
Bug 914825 - Compute FrameMetrics::mCompositionBounds correctly for the root scroll frame. r=tn
2013-09-10 17:47:14 -04:00
Corey Ford
9f2ee21577
Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc
2013-09-12 18:56:57 -07:00
Robert O'Callahan
11cb51eb99
Bug 906643. Part 5: Add nsIPresShell::AddPostRefreshObserver/RemovePostRefreshObserver. r=mats
2013-08-26 11:57:45 +12:00
Robert O'Callahan
e3f448411b
Bug 906643. Part 1: Add nsRefreshDriver::Add/Remove/PostRefreshObserver so we can receive notifications when a refresh has occurred, without triggering one. r=dbaron
...
--HG--
extra : rebase_source : fbfdd2678f4561f421fda2eb17e9e7ae8754f8d3
2013-08-20 01:08:44 +12:00
Tom Schuster
195b18c157
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Ryan VanderMeulen
9283daa4fd
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Kartikaya Gupta
7ea9a2c18b
Bug 912806 - Special-case the resolution behaviour on Fennec to work around other bugs. r=tn
2013-09-11 18:17:20 -04:00
Botond Ballo
13d4e37c9e
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Martijn Wargers
b489a617dd
Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher
2013-09-11 13:52:42 +02:00
Kartikaya Gupta
abd5cb0f8b
Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa
2013-09-11 13:20:43 -04:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Jeff Muizelaar
c18eea3d30
Bug 908726. Add AppUnits.h so we don't need nsDeviceContext.h for AppUnitsPerCSSPixel(). r=ehsan
2013-09-06 16:15:04 -04:00
Ed Morley
50ba829a39
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
9d7bc3d7f1
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Benoit Jacob
5479e2b22e
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Benoit Jacob
8dc80c7e0c
Bug 913603 - Trim nsRect.h - r=jrmuizel
2013-09-06 22:14:27 -04:00
Ryan VanderMeulen
62156c1cd4
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
66630c23e9
Merge m-c to b2g-inbound.
2013-09-06 18:01:09 -04:00
Bobby Holley
0fcc3886ab
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Corey Ford
5db567cbb1
Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert
2013-09-06 09:35:16 -04:00
Daniel Holbert
d7bc491639
Bug 913247 followup: Remove superfluous call to imagesToRefresh.Clear(). rs=bz
2013-09-06 10:57:40 -07:00
Ed Morley
9bfc81af4d
Merge mozilla-central and b2g-inbound
2013-09-06 16:24:22 +01:00
Botond Ballo
410f65165c
Bug 913205 - Compute offset of FrameMetrics::mCompositionBounds correctly. r=tn
2013-09-05 18:36:07 -04:00
Ms2ger
158740a338
Bug 774124 - Part b: Add include-what-you-use annotations to nsDisplayItemTypes.h and nsDisplayItemTypesList.h; r=roc
2013-09-06 08:40:30 +02:00
Ms2ger
db90573f0e
Merge m-c to inbound.
2013-09-06 12:31:58 +02:00
Markus Stange
6ebf300a4f
Bug 912953 - Use consistent rounding for the scroll offset transform. r=roc
2013-09-06 11:28:34 +02:00
Markus Stange
f6f7290494
Bug 912953 - Apply the scroll offset transform to inactive layer managers for LAYER_SVG_EFFECTS, too. r=roc
2013-09-06 11:28:02 +02:00
Daniel Holbert
c122699022
Bug 913247: Don't call imgIContainer::RequestRefresh during hashtable enumeration. r=jwatt
2013-09-06 09:48:26 +01:00
Corey Ford
1b743eac38
Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam
2013-09-05 15:47:08 -07:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Phil Ringnalda
cf2028664c
Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage
2013-09-04 21:49:16 -07:00
Nicholas Nethercote
86b7ae4c3a
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
e903e0f569
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Botond Ballo
8991615154
Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn
2013-08-30 13:22:33 -04:00
Georg Fritzsche
682e0d1143
Bug 899080 - Test fixup part 5 - layout. r=roc
2013-09-04 16:07:53 +02:00
Masatoshi Kimura
216f76200c
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Ed Morley
f509dcbf07
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Ed Morley
18a47a0e8e
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Jonathan Watt
01b166fcef
Bug 907503 - Fix invalidation for SMIL animation in SVG-as-an-image. r=roc
2013-09-04 11:39:31 +01:00
Robert O'Callahan
e7a331a54e
Bug 909603. Remove invalid assertion. r=tn
2013-09-04 16:44:48 +12:00
Ryan VanderMeulen
c6e97adff4
Merge m-c to b2g-inbound.
2013-09-03 17:44:34 -04:00
Kartikaya Gupta
e928b156af
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
Kartikaya Gupta
c1c69a59bf
Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:23 -04:00
Blake Kaplan
9225fd4fbb
Bug 860123 - Use the right window's selection in some tests; r=ehsan
2013-09-03 15:01:00 -04:00
Nicholas Cameron
a937f9cc25
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Ryan VanderMeulen
50d75135b0
Merge m-c to b2g-inbound.
2013-08-30 13:42:41 -04:00
Kartikaya Gupta
f5f0ff5641
Bug 907754 - Ensure that the zoom on the FrameMetrics is initialized correctly for all frames. r=tn
...
RecordFrameMetrics gets called on a variety of layers. Previously it would
incorrectly set mZoom for a number of these layers. For scrollable container
layers inside the main document, it would set the mResolution from the
presShell's resolution, thus compounding the painted resolution.
Furthermore, for iframes inside the document, it would assign mZoom the
value from TabChild's mLastMetrics, which is only meant to apply to the
top-level document. Prior to multi-apzc work these values were never used
so it didn't matter but now they are so they should be assigned correctly.
2013-08-30 13:11:01 -04:00
Masayuki Nakano
4a9d769635
Bug 910156 Add AssignKeyEventData() and AssignMouseEventData() for sharing the code in nsDOMEvent::DuplicatePrivateData() and nsDelayed*Event r=smaug
2013-08-30 11:10:32 +09:00
Timothy Nikkel
e870d6f974
Bug 910529. Part 2. In nsLayoutUtils::PaintFrame, display port and ignoring viewport scrolling should only happen when we are drawing the root frame. r=matt.woodrow
2013-08-28 22:38:15 -05:00
Timothy Nikkel
0e119dfb25
Bug 910529. Part 1: Remove second unneeded declaration of rootScrollFrame in nsLayoutUtils::PaintFrame. r=matt.woodrow
2013-08-28 22:37:42 -05:00
Seth Fowler
c9627e154d
Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert
2013-08-28 15:39:07 -07:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
9c0eab254b
Bug 831193 (part 14) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in layout/. r=jlebar.
...
--HG--
extra : rebase_source : 371e32e98e3c36daa5d70c40bace457d7072ddaa
2013-01-17 16:45:12 -08:00
Mark Banner
7251ececf1
Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz
2013-08-28 08:28:03 +01:00
Justin Lebar
4aeeb65d91
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Tom Schuster
6bbb683509
Bug 905441 - Load style sheets from the parent into the child. r=bz
2013-08-27 13:10:39 -04:00
Martijn Wargers
173f9f5ada
Bug 909043 - test_reftests_with_caret.html failing on b2g mochitest because of spellcheck test. r=ehsan
2013-08-26 17:46:42 +02:00
Avi Halachmi
5bc68011b2
Bug 858737 - check monotonic arg of requestAnimationFrame instead of the prefixed version. r=roc
2013-08-26 02:39:53 +03:00
Ehsan Akhgari
52416f5705
Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats
2013-08-23 18:20:19 -04:00
Ehsan Akhgari
9b11a89362
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -04:00
Ehsan Akhgari
2faab8bc9e
Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
...
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
David Zbarsky
214420a48a
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
David Zbarsky
2dcee164d7
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
c76b222982
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Nicholas Cameron
ec36fa0912
Bug 893330. Invalidate the frame area for box shadow display list items with border radius. r=mattwoodrow
2013-08-23 13:47:54 +12:00
Bill McCloskey
67aa4665dd
Bug 907495 - Scrollbars cause content to be shifted in e10s (r=kats,mattwoodrow)
2013-08-22 13:18:11 -07:00
Kartikaya Gupta
0089237c64
Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis
2013-08-22 12:41:51 -04:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4e45b3d52e
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
2a87c95927
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Ehsan Akhgari
d57def1e9f
Bug 681152 - Disable bug512295-1.html on all platforms because of intermittent failures
...
Landed on a CLOSED TREE with RyanVM's blessing
2013-08-21 11:07:03 -04:00
Bill McCloskey
d827fa534c
Bug 907489 - PresShell::HandleEvent() never initializes its "flags" variable (r=mattwoodrow)
2013-08-20 18:35:18 -07:00
Ehsan Akhgari
d703cca0e3
Bug 906790 follow-up: Unbreak ASAN builds
2013-08-20 17:48:00 -04:00
Scott Johnson
bb83cf55dd
Bug 746015: Add a nsDisplayGenericOverflow class that uses a frame's visual overflow rect as its bounds to correctly display column rules that lie outside of a column set frame's bounds. [r=dbaron]
2013-08-20 16:38:29 -05:00
Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
James Kitchener
20c9e8a036
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
Wes Kocher
26854193d4
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Kartikaya Gupta
9f500493a9
Bug 901962 - Allow touch events to hit targets outside the CSS viewport. r=roc
2013-08-16 08:29:46 -04:00
Botond Ballo
cc9d060ff1
Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn
2013-08-08 15:56:08 -04:00
Botond Ballo
c7e59f7954
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
L. David Baron
38b264af07
Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam
2013-08-14 21:58:37 -07:00
Robert O'Callahan
a97288e546
Bug 900785. Part 2: Make nsRefreshDriver use the WinUtils DWM APIs instead of loading the DLL itself. r=avih
2013-08-15 16:25:58 +12:00
Ms2ger
6c3982af30
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Ms2ger
106e39af77
Bug 904030 - Remove unnecessary make rules in layout/base/Makefile.in; r=glandium
2013-08-14 09:00:29 +02:00
Ms2ger
0c3b97da57
Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
...
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Ryan VanderMeulen
a9619b4c64
Merge m-c to b2g-inbound.
2013-08-13 15:38:58 -04:00
Kartikaya Gupta
d8c768311d
Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
...
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Kan-Ru Chen (陳侃如)
78cb6892fb
Bug 845169 - Add test case test_remote_passpointerevents.html r=roc
2013-08-08 15:43:59 +08:00
Kan-Ru Chen (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mats Palmgren
cc1f5b7f03
Bug 898913 - Look for the floating first-letter frame to remove on the kPushedFloatsList too. r=dholbert
2013-08-10 23:00:46 +00:00
Markus Stange
a16556961c
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Markus Stange
ca83e38918
Bug 904540 - Don't #include nsRefreshDriver.h in nsPresContext.h. r=roc
2013-08-14 13:29:51 +02:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Corey Ford
c1f2a8126d
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Nicholas Cameron
5c3ac83aa6
Bug 899884. Take into account the app unit to dev pixel ratio when reusing mask layers. r=roc
2013-08-09 21:42:05 +12:00
Corey Ford
894f250f52
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositioned in constructing frames for IB splits. r=dbaron
2013-08-07 16:30:34 -07:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
Benoit Girard
5d7998f39f
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Ryan VanderMeulen
7c6cdde735
Merge m-c to inbound.
2013-08-06 17:07:23 -04:00
Ryan VanderMeulen
569226ba78
Merge m-c to fx-team.
2013-08-06 14:23:55 -04:00
Ryan VanderMeulen
1ff98491e9
Merge m-c to inbound.
2013-08-06 14:24:39 -04:00
Mats Palmgren
d8c7a2d3c5
Bug 873083 - Re-enable the 813372-1.html crashtest. r=ryanvm
2013-08-06 12:43:41 -04:00
Mats Palmgren
e9ea9fcfb5
Bug 874073 - Re-enable the 852293.html test and disable the real culprit, 802902.html. r=ryanvm
2013-08-05 23:14:06 +00:00
Wes Johnston
78b040e4ca
Bug 901117 - Positioned event targetting should fluff even if there are body event listeners. r=tn
2013-08-05 11:25:27 -07:00
Tim Abraldes
43f4a03e54
bug 864247. If PermitUnload is called while another PermitUnload is being processed, simply allow the unload to happen. r=roc
2013-08-05 23:29:55 -07:00
Karl Tomlinson
48dac2e5b6
b=893523 clamp CSS pixel to nscoord conversion to nscoord_MIN,MAX r=roc
...
--HG--
extra : transplant_source : P%87%C2l%86%9AWu%CD%06%E5%22%D3%88/%80a%CE%80p
2013-08-05 14:58:41 +12:00
Matt Brubeck
5342ab9b44
Bug 901175 - Test to verify that covered elements are not clickable [r=roc]
2013-08-03 09:01:49 -07:00
Timothy Nikkel
4a491c37be
Bug 901175. Properly handle when the frame has an empty intersection with the exposed region for events. r pending roc
2013-08-03 00:46:19 -05:00
Cameron McCormack
975a0a23c3
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Avi Halachmi
7de7d90131
Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel
2013-08-02 23:29:57 +03:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
f28bde905f
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
65b9d384bf
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +02:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Nicolas Silva
f46dc128f3
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
David Zbarsky
4fa5d9c4b0
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-08-01 15:24:24 -07:00
Timothy Nikkel
9170934245
Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange
2013-08-01 15:42:34 -05:00
David Zbarsky
93caf8a63e
backout Bug 893117 for mochitest failure
2013-08-01 01:54:09 -07:00
David Zbarsky
aa2fc03e9f
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-31 23:12:40 -07:00
Nicholas Cameron
f0ce281635
Bug 897787. Use background-size in preference to background positioning area size for a background-image's preferered size. r=roc
2013-08-01 16:22:40 +12:00
Alex Xu
59fcd38f0a
Bug 900284: Use #ifdef ACCESSIBILITY around member variables only used inside #ifdef ACCESSIBILITY, to avoid clang warnings (and reduce object size with --disable-accessibility). r=dbaron
2013-07-31 19:15:19 -07:00
Timothy Nikkel
156274f060
Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
...
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Corey Ford
df05870c1e
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Nicholas Cameron
a2cdf1ab09
Bug 895873 - backout bug 893117 for Win8 mc bustage
2013-07-30 23:32:35 -04:00
Cameron McCormack
f4ab75b068
Bug 899385 - Update comments that incorrectly state nsIPresShell::AllocateBlah are fallible. r=dbaron
2013-07-31 10:52:32 +10:00
L. David Baron
17fe37d76a
Bug 898329 patch 10: Fix wrapping of comment that I just reintended. r=heycam
2013-07-30 17:36:12 -07:00
L. David Baron
9d6733d78c
Bug 898329 patch 9: Fix indentation from previous patches. r=heycam
2013-07-30 17:36:12 -07:00
L. David Baron
9b7ac3d29e
Bug 898329 patch 8: Use for loops instead of while loops for iterating extra style contexts. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
016d6d8b55
Bug 898329 patch 7: Split ElementRestyler::Restyle into multiple functions. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
720d37a092
Bug 898329 patch 6: Avoid using pseudoTag outside of what will be in RestyleManager::RestyleSelf. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
372c024c0e
Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
0d0cdd5410
Bug 898329 patch 4: Avoid using newContext outside of what will be in RestyleManager::RestyleSelf. r=heycam
...
This replaces newContext with mFrame->StyleContext(), which is a valid
replacement since all of the replacements are inside a test that we
don't have a framechange hint. If we have a framechange hint, then
mFrame still has its old style context.
2013-07-30 17:36:11 -07:00
L. David Baron
8c39cda548
Bug 898329 patch 3.5: Don't check undisplayed content if we're going to reframe. r=heycam
...
This avoids doing work that is unnecessary; if we're going to reframe
anyway, the frame destruction will clear the undisplayed content list,
and we'll then rebuild it when we recreate the frame (if needed).
It is also a prerequisite for patch 4, which replaces some uses of
newContext with mFrame->StyleContext(). These are the same as long as
we don't have a framechange hint, since when we do have a framechange
hint we leave the old style context on the frame to avoid violating
invariants. This patch ensures that all such uses replaced in patch 4
are actually inside a check that we don't have a framechange hint.
(Most of them already were.)
2013-07-30 17:36:11 -07:00
L. David Baron
069d654106
Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
6edf3e771d
Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
7b10df02a0
Bug 898329 patch 1: Remove null-checks on oldContext and newContext and avoid manual reference counting. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
aee2be3fd9
Bug 898209 patch 15: Use constructor flags on ElementRestyler's regular constructor to avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the second of two patches added on top to address review
comments on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
07bdb25977
Bug 898209 patch 14: Add constructor flags to ElementRestyler's regular constructor so we can avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the first of two patches added on top to address review comments
on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
8c05c48f7d
Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
812f86eb07
Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
52ab982fe7
Bug 898209 patch 11: Create and use member variables for accessibility notifications. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
a663478e1a
Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
59a41597b1
Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
6d0532d145
Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
739a42f65e
Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
9c7983dbd5
Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
4a58134c69
Bug 898209 patch 5: Remove the localContent variable in favor of writing mFrame->GetContent(). r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
62d516ab40
Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
59c10658b8
Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
2fa0e6ec12
Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
ef1ccb845b
Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
066f28abe6
Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
...
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
48ff61e4ab
Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam
2013-07-30 17:36:08 -07:00
Ryan VanderMeulen
02d1dbe0d8
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
David Zbarsky
0ee6634734
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-30 14:55:12 -07:00
Kartikaya Gupta
80fc21967b
Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow
2013-07-30 14:03:42 -04:00
Robert O'Callahan
343eac0301
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
David Zbarsky
f6bba95714
Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G
2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
58f2719347
Bug 874073 - Skip crashtests/852293.html due to frequent timeouts.
2013-07-26 13:35:33 -04:00
Ryan VanderMeulen
0120bc0723
Bug 873083 - Skip crashtests/813372-1.html due to frequent timeouts.
2013-07-26 13:35:33 -04:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Carsten "Tomcat" Book
f9fb745d15
Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE
2013-07-26 09:25:03 +02:00
Robert O'Callahan
aa23ef7e8f
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
...
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Robert O'Callahan
0410954212
Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
...
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Ryan VanderMeulen
34238c722c
Merge m-c to inbound.
2013-07-26 01:24:55 -04:00
Ryan VanderMeulen
10a360b66f
Backed out changesets 4f35e943f939 and da5fa63e90cb (bug 896250) for causing frequent OSX debug asserts on a CLOSED TREE.
2013-07-26 01:22:40 -04:00
Milan Sreckovic
470f1739fd
Bug 896250: Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Max Vujovic
a3d913c879
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Eitan Isaacson
c73d42317c
Bug 895711 - Mark new touches in touchstart as changed in HandleEventInner. r=smaug
2013-07-25 08:52:29 -07:00
Timothy Nikkel
c6f1c91b0a
Bug 837242. Part 3. Keep track of what area is exposed to events so that covered frames don't get events. r=roc
2013-07-30 11:22:46 -05:00
Timothy Nikkel
14c31d8c29
Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc
2013-07-30 11:22:43 -05:00
Mats Palmgren
966905cebe
Bug 897852 - Don't flush if we were destroyed. r=roc
2013-07-30 15:47:19 +00:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
10f3eae40e
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d3fdca2e8d
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ryan VanderMeulen
5857445120
Backed out 6 changesets (bug 827713) for reftest failures.
...
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
James Kitchener
213cb47d0c
Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw
2013-07-29 12:37:50 -04:00
Ms2ger
a9d7b5923b
Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc
2013-07-24 09:38:55 +02:00
Ms2ger
41fe2de641
Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug
2013-07-24 09:38:13 +02:00
Ryan VanderMeulen
160cd632e5
Backed out changeset 1e1b4d5c51b7 (bug 896250) to see if it fixes the Android reftest orange.
...
CLOSED TREE
2013-07-23 14:06:40 -04:00
Ed Morley
97e3c032bc
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Milan Sreckovic
0e50ee8587
Bug 896250 - Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Max Vujovic
cac859d2f2
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00