Commit Graph

10966 Commits

Author SHA1 Message Date
Markus Stange
72eba8fa2a Bug 912953 - Use consistent rounding for the scroll offset transform. r=roc 2013-09-06 11:28:34 +02:00
Markus Stange
9a4af7e89a 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
d79f00f8b6 Bug 913247: Don't call imgIContainer::RequestRefresh during hashtable enumeration. r=jwatt 2013-09-06 09:48:26 +01:00
Corey Ford
18ef871386 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
03e7828db2 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
26ceee4fb5 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
51f479662d Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Nicholas Nethercote
1f32372424 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
22a073b7ea 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Botond Ballo
3c1ca05731 Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn 2013-08-30 13:22:33 -04:00
Georg Fritzsche
1355e7da57 Bug 899080 - Test fixup part 5 - layout. r=roc 2013-09-04 16:07:53 +02:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Ed Morley
81c848fe67 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Ed Morley
3d679673b4 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Jonathan Watt
7e60ad4ae6 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
59df7cfa3e Bug 909603. Remove invalid assertion. r=tn 2013-09-04 16:44:48 +12:00
Ryan VanderMeulen
cac805671d Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Kartikaya Gupta
66b37ff496 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
ad299f8964 Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:23 -04:00
Blake Kaplan
1f98b00a32 Bug 860123 - Use the right window's selection in some tests; r=ehsan 2013-09-03 15:01:00 -04:00
Nicholas Cameron
c0366ce176 BUg 910160. IWYU for gfx/src. r=roc 2013-09-02 10:21:01 +12:00
Ryan VanderMeulen
0ad450876e Merge m-c to b2g-inbound. 2013-08-30 13:42:41 -04:00
Kartikaya Gupta
cc96ea4f38 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
56bdc6aa7c 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
dc4eed8ded 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
e5090e25a7 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
7e052ef315 Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert 2013-08-28 15:39:07 -07:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
ac058efce4 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
2b8e6d47e8 Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz 2013-08-28 08:28:03 +01:00
Justin Lebar
35a65ed466 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
0acbeba404 Bug 905441 - Load style sheets from the parent into the child. r=bz 2013-08-27 13:10:39 -04:00
Martijn Wargers
114c49012c 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
11210ec9a7 Bug 858737 - check monotonic arg of requestAnimationFrame instead of the prefixed version. r=roc 2013-08-26 02:39:53 +03:00
Ehsan Akhgari
3b51534dbb 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
2c35f715fe Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats 2013-08-23 18:16:38 -04:00
Ehsan Akhgari
0e024fd271 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
4c5f4ab84f Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir 2013-08-23 13:56:20 -04:00
David Zbarsky
0135827acf Backout c619171e0070 for windows assertion failure on a CLOSED TREE 2013-08-23 14:58:41 -04:00
David Zbarsky
fa0754f81a Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir 2013-08-23 13:56:20 -04:00
Nicholas Cameron
4b66038b85 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
dfc3ae2fef Bug 907495 - Scrollbars cause content to be shifted in e10s (r=kats,mattwoodrow) 2013-08-22 13:18:11 -07:00
Kartikaya Gupta
1bbf96a8d3 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
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
49f603cd4d Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ehsan Akhgari
f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Ehsan Akhgari
48f413a43c 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
ac04716368 Bug 907489 - PresShell::HandleEvent() never initializes its "flags" variable (r=mattwoodrow) 2013-08-20 18:35:18 -07:00
Ehsan Akhgari
c2149cd1cf Bug 906790 follow-up: Unbreak ASAN builds 2013-08-20 17:48:00 -04:00
Scott Johnson
cca0d1756f 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
2621b190f1 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
James Kitchener
17378468b0 Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw 2013-08-19 09:11:50 -04:00
Wes Kocher
a62c3344f1 merge b2g-inbound to central 2013-08-16 15:30:59 -07:00
Kartikaya Gupta
20907cb1c8 Bug 901962 - Allow touch events to hit targets outside the CSS viewport. r=roc 2013-08-16 08:29:46 -04:00
Botond Ballo
4110c30f98 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
f3c2ea43d5 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
f76fcad70f 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
64c801d64f 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
f1fc9a981c Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Ms2ger
1daa386c13 Bug 904030 - Remove unnecessary make rules in layout/base/Makefile.in; r=glandium 2013-08-14 09:00:29 +02:00
Ms2ger
e358f27301 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
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
682a633069 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ryan VanderMeulen
3364547f5d Merge m-c to b2g-inbound. 2013-08-13 15:38:58 -04:00
Kartikaya Gupta
07be7dc6ba 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 (陳侃如)
3215631ba6 Bug 845169 - Add test case test_remote_passpointerevents.html r=roc 2013-08-08 15:43:59 +08:00
Kan-Ru Chen (陳侃如)
41345e7739 Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Mats Palmgren
5aaa7da647 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
1213991850 Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Markus Stange
7e0193ea5c Bug 904540 - Don't #include nsRefreshDriver.h in nsPresContext.h. r=roc 2013-08-14 13:29:51 +02:00
Trevor Saunders
99d8dc50c9 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Corey Ford
9adda71475 Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron 2013-08-08 17:20:17 -07:00
Nicholas Cameron
afbb0ff592 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
87703663bf Bug 901610 - Use nsStyleDisplay::IsRelativelyPositioned in constructing frames for IB splits. r=dbaron 2013-08-07 16:30:34 -07:00
Neil Deakin
8e1b7d6683 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
084ae6868c 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
c9990d038c Merge m-c to inbound. 2013-08-06 17:07:23 -04:00
Ryan VanderMeulen
444d71333a Merge m-c to fx-team. 2013-08-06 14:23:55 -04:00
Ryan VanderMeulen
bcb99ed62f Merge m-c to inbound. 2013-08-06 14:24:39 -04:00
Mats Palmgren
904d116536 Bug 873083 - Re-enable the 813372-1.html crashtest. r=ryanvm 2013-08-06 12:43:41 -04:00
Mats Palmgren
0cf5999bf0 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
28b741ee1c 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
cc4c6104ab 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
bd89481631 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
3bd4539a82 Bug 901175 - Test to verify that covered elements are not clickable [r=roc] 2013-08-03 09:01:49 -07:00
Timothy Nikkel
5c7b76636c 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
ad5ce3ee02 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Avi Halachmi
91d31fafd1 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
50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
bf6618a13c Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger
1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
9803a2ddf3 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Mike Hommey
2e729aa83d 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
6d7cde1795 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
David Zbarsky
a6ceba11ad Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
Timothy Nikkel
838822fcb6 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
3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
f8699dfe4e Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
Nicholas Cameron
ee43c163a4 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
8a51ad6d90 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
8383650c75 Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Corey Ford
479716c930 Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Nicholas Cameron
6a449045ab Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Cameron McCormack
ba1ba92bbe Bug 899385 - Update comments that incorrectly state nsIPresShell::AllocateBlah are fallible. r=dbaron 2013-07-31 10:52:32 +10:00
L. David Baron
4630a79d76 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
e858f28bd5 Bug 898329 patch 9: Fix indentation from previous patches. r=heycam 2013-07-30 17:36:12 -07:00
L. David Baron
d65b631606 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
15b84a4c52 Bug 898329 patch 7: Split ElementRestyler::Restyle into multiple functions. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
8a822d1d0f 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
20d571f36c Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
fe162ae7d7 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
bc4b860554 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
099ddebdb4 Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
08f05b299b Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
c6b0925b11 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
f14c99b5b7 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
2483ea2e02 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
7b58599cf0 Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
404c7c2333 Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
cdecdd4413 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
53a139827c Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
bec12fb9f3 Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
82a0a650a6 Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
8340d616ac Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
d81ab3552b Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
9925459f0e 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
a413b968a0 Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
9b61f8671b Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
ca739cf173 Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
6b056b0c80 Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
05e6a37bb5 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
ffe927da2c 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
fd758076bd Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky
faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
Kartikaya Gupta
b0a221b29b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Robert O'Callahan
f6a740f7f2 Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
David Zbarsky
0c95eabb49 Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G 2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
0b406f275b Bug 874073 - Skip crashtests/852293.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Ryan VanderMeulen
a62ef0e539 Bug 873083 - Skip crashtests/813372-1.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Ehsan Akhgari
2824b29025 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
769cb44b6f 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
669a28a75c 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
71ed3a62d3 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
1591b955e1 Merge m-c to inbound. 2013-07-26 01:24:55 -04:00
Ryan VanderMeulen
8a72e4a46d 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
0c56314e69 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
0bd2b965c3 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