Commit Graph

37590 Commits

Author SHA1 Message Date
Ryan VanderMeulen
2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Ryan VanderMeulen
7bd9efe0db Merge m-c to birch. 2013-07-29 16:07:59 -04:00
Tomoaki Konno
e07a5ce083 Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Gijs Kruitbosch
917537e9e5 Merge m-c to UX. 2013-07-28 11:50:05 +02:00
Mike Conley
e181e23c37 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Daniel Holbert
5bdcb1fcc1 backout 5efda3c30be3 (the second cset for bug 873378) after dzbarsky backed out the first cset. (to fix Android R2 orange) 2013-07-26 18:43:13 -07:00
Ed Morley
7ae47f2c55 Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures 2013-07-29 11:09:26 +01:00
Ed Morley
66e22f5a1a Backed out changeset 7174bdf1201e (bug 857142) 2013-07-29 11:08:49 +01:00
Ed Morley
c310036f7a Backed out changeset c2f27bb078fd (bug 857142) 2013-07-29 11:08:46 +01:00
John Daggett
4fea08da93 Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-29 17:34:01 +09:00
John Daggett
a2145129e0 Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-29 17:33:52 +09:00
John Daggett
8b8b4b7b5f Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-29 17:33:35 +09:00
Matthew Noorenberghe
5dca60419c Merge mozilla-central to UX 2013-07-26 00:27:14 -07: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
Jonathan Kew
07dfcd07e9 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
John Schoenick
1382dfa912 Bug 874843 - Fix focus race in test on windows 8. r=roc 2013-08-05 12:13:09 -07: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
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
Mihnea Dobrescu-Balaur
274dd4ade4 Bug 873179 - Add support for JSReftests to B2G. r=ahal 2013-07-25 17:31:10 -07:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Masayuki Nakano
c0b17ccfe0 Bug 903715 Consume Enter keydown event if dropdown of <select> element is closed by it r=smaug 2013-08-14 15:34:03 +09:00
Ryan VanderMeulen
11280c4dfe Merge m-c to inbound. 2013-08-13 16:56:11 -04:00
Kyle Huey
2927f858f3 Bug 886080: Mark dynamic-feImage-01.svg as asserting. r=me 2013-08-13 11:16:47 -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
David Zbarsky
0c95eabb49 Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G 2013-07-26 13:20:23 -07:00
Gijs Kruitbosch
db1dd60d63 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Martijn Wargers
2b32beaaad Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Ed Morley
5d03ad2e85 Backed out changeset e27bd873b413 (bug 898361) for crashes on a CLOSED TREE 2013-07-31 16:00:27 +01:00
Dirk Schulze
e854bc2ed3 Bug 898361 - [CSS Filters] Implement parsing for drop-shadow. r=heycam 2013-07-31 09:26:45 -04:00
Corey Ford
479716c930 Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Ryan VanderMeulen
1aea707926 Merge m-c to fx-team. 2013-08-06 10:16:50 -04: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
Mina Almasry
21462c589f Bug 898455 - remove domUtils.getCSSValuesForProperty duplicate entries; r= bz
Removes duplicate entries from the values that are returned by getCSSValuesForProperty,
and returns url for the proper properties.
2013-07-29 14:42:51 +02:00
Gijs Kruitbosch
ebd16b1344 Merge m-c to ux 2013-07-24 17:44:40 +02:00
Ms2ger
3c48262d76 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
fe97b4a6ec Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc 2013-07-24 09:38:55 +02:00
Ms2ger
59ef6e7599 Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug 2013-07-24 09:38:13 +02:00
Ms2ger
3a8f212186 Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Ms2ger
5e67b6622c Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Gavin Sharp
9065e1e42c Bug 870100 followup: disable the thumbnail service in reftest/crashtest as well, a=RyanVM for CLOSED TREE 2013-07-23 11:16:25 -07:00
Ryan VanderMeulen
5ba309bbd0 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
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
Ryan VanderMeulen
6e81109389 Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson
98b8d3c09a Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] 2013-07-24 12:47:24 -05:00
Scott Johnson
11823f14fd Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-24 12:47:21 -05:00
Scott Johnson
e963713207 Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-24 12:47:17 -05:00
Scott Johnson
495d934c37 Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-24 12:47:12 -05:00
Scott Johnson
21103de30a Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-24 12:47:06 -05:00
Scott Johnson
528cb9f1bf Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-24 12:47:01 -05: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
Mats Palmgren
cde517b135 Bug 868327 - Only allow the drop-down menu to open above the combobox if there is room for it, otherwise open it below even though it doesn't fit. r=roc 2013-07-25 12:55:32 +00:00
Matthew Noorenberghe
ff94bc4ff2 Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Gijs Kruitbosch
bae02ad2bc Merge m-c to ux 2013-07-23 11:04:55 +02:00
Ryan VanderMeulen
27cd5f2dd4 Merge inbound to m-c. 2013-07-22 21:47:13 -04:00
Daniel Holbert
8dde80d3f4 Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth 2013-07-22 13:42:05 -07:00
Robert O'Callahan
7a84d00a9a Fix bustage for bug 886295 2013-07-22 16:30:18 +12:00
Robert O'Callahan
55bf3f0888 Bug 886295. Backout fix for bug 880854 to fix regression. r=mats
--HG--
extra : rebase_source : 66bc089c3ece4dbe4f6533fce97a902abdd4871a
2013-07-22 14:04:46 +12:00
James Willcox
95281770c1 Bug 888446 - Fuzz/fail more tests for SkiaGL r=gwright 2013-07-19 16:58:56 -04:00
Corey Ford
7df9a3d1f1 Bug 894629 - Reference containing block's content box for relatively positioned elements in RestyleManager::RecomputePosition. r=dbaron 2013-07-22 09:28:31 -07:00
Ryan VanderMeulen
e69fee0a8c Backed out changeset 123821ef07b4 (bug 893298) for Linux reftest failures. 2013-07-22 11:23:42 -04:00
Jeff Muizelaar
352e873c8e Bug 896489. Enable Azure CoreGraphics for content. r=joe
This only has an impact on OSX 10.7 and 10.8 because
it's only hooked up through OMTC right now.

--HG--
extra : rebase_source : 91b413be68ed0eaef9ef1c55a0ec730e89eac1e0
2013-07-22 10:54:10 -04:00
Bear Travis
151341e046 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
John Schoenick
14dbea4c39 Bug 874843 - Cleanup plugin_focus_helper test events to try and fix intermittent orange. r=roc 2013-07-22 08:55:19 -04:00
Gijs Kruitbosch
45a1ad5f32 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
c8e922ef53 Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
Ryan VanderMeulen
76ce8020e7 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Robert O'Callahan
1343917050 Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow 2013-07-18 10:10:13 -04:00
L. David Baron
a65b6c2ed4 Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00
Jesse Ruderman
39339b3d6c Detab layout/reftests/bidi/dirAuto/setDir.js. (No bug, DONTBUILD) 2013-07-23 22:58:58 -07:00
Cameron McCormack
30c78e5711 Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-24 15:13:54 +10:00
Gijs Kruitbosch
685b353834 Merging m-c to UX 2013-07-17 21:02:17 +02:00
Mark Hammond
0ca51642ad Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Blake Kaplan
81c5c9caea Bug 898926 - Add reftest. r=sicking 2013-08-06 17:31:30 -07:00
Robert O'Callahan
f6a740f7f2 Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
Seth Fowler
48bacd080e Bug 885939 (Part 3) - Disable SVG reftests involving extreme viewboxes that fail due to integer overflow. r=me 2013-07-16 15:41:36 -04:00
Seth Fowler
b44af38222 Bug 885939 (Part 2) - Add reftests for SVG image stretching and scaling. r=dholbert 2013-07-16 15:41:33 -04:00
Ryan VanderMeulen
7400a62dd5 Bug 877690 - Fix typo in test. DONTBUILD 2013-07-16 13:52:01 -04:00
Mike Conley
e87883ceef Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Benoit Girard
3fe1857dbd Bug 894773 - Don't force layers on single opacity change. r=roc
--HG--
extra : rebase_source : 1f4807150ad7776aa1e90ded322149cf57f212ff
2013-07-16 22:56:16 -04:00
Ed Morley
99d2010a54 Bug 899349 - Change 366537-1.xhtml random-if to skip-if 2013-08-02 17:20:21 +01:00
Ehsan Akhgari
b9980dbc97 Bug 579517 follow-up: Remove NSPR types that crept in 2013-08-02 12:09:54 -04:00
Ed Morley
23d45c71a6 Bug 886080 - Mark dynamic-feImage-01.svg random-if on Linux for intermittent failures 2013-08-02 16:08:18 +01:00
Ed Morley
abed4a7ca7 Bug 899349 - Mark crashtests/366537-1.xhtml random-if due to intermittent failures
--HG--
extra : rebase_source : 890e6bc38f6823c5c64d9678102cd1df14db5790
2013-08-02 16:05:39 +01:00
Neil Deakin
57f881022c Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-02 11:37:05 -04:00
Nicolas Silva
6d7cde1795 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
David Zbarsky
08edbc4f4a Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
a6ceba11ad Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
8423ce77eb Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
Matthew Noorenberghe
575b9d6619 Bug 900354 - Ignore sub-resource loads for Azure recordings. r=Bas
--HG--
extra : rebase_source : 815b88638f5d828f133c92ec2ff94c25c0fa92a7
2013-08-01 14:55:28 -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
f53061a41d merge backout 2013-08-01 01:54:34 -07:00
David Zbarsky
3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
Nicholas Cameron
a518fa0c24 merge backout, a=me 2013-08-01 18:39:19 +12:00
Nicholas Cameron
b4b5c9799b back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
David Zbarsky
a8e04c91cc Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
f8699dfe4e Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
d52c9a362c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
c95bd05797 Bug 874721; fuzz some tests. r=Bas 2013-08-01 16:53:00 +12:00
Nicholas Cameron
3a462f7b43 Bug 897787. New test to catch the scaling bug. r=roc 2013-08-01 16:24:28 +12:00
Nicholas Cameron
3b91d31f04 Bug 897787. Test changes. r=roc 2013-08-01 16:22:48 +12: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
Daniel Holbert
695ff36341 Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats 2013-07-31 18:59:25 -07:00
Stephen Pohl
29b7462867 Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Corey Ford
e7787542d4 Bug 898797 - Reftests for relatively positioned floats. r=dholbert 2013-07-29 18:34:05 -07:00
Corey Ford
8a75e63592 Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron 2013-07-29 21:53:13 -07:00
Ehsan Akhgari
192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
f1fc9a981c Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Jonathan Kew
c79c573b77 bug 904555 - clean up use of nsRect APIs in layout. r=roc 2013-08-14 13:27:20 +01:00
Jonathan Kew
30cfe09d1d bug 879963 - reftests for regressions caused when multiple rules refer to the same proxy. r=jdaggett 2013-07-26 16:48:35 +01: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
Markus Stange
7e52591eee Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc 2013-08-14 13:29:11 +02:00
Markus Stange
575a74e089 Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc 2013-08-14 13:19:55 +02:00
Jonathan Watt
de06458c91 Bug 901955 - Get 'opacity' property changes on SVG working again. r=roc 2013-08-14 10:51:00 +01:00
Gijs Kruitbosch
39c713e176 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Gijs Kruitbosch
0d6dd47ed2 Merge mozilla-central and ux 2013-07-15 14:13:14 +02:00
Wes Kocher
b68938ecb2 Backed out changeset fa6ef0b63025 (bug 889515) for OSX browser-chrome bustage on a CLOSED TREE
--HG--
extra : amend_source : f0064ef485170a679744ea3e211535a9d58f0fc9
2013-07-14 20:59:36 -07:00
Matthew Noorenberghe
3cb1da3f70 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
Matt Woodrow
f8f9c46878 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Mats Palmgren
c34b7f3a13 Bug 883676 - Implement 'page-break-inside:avoid' also for the case where the block reflow is COMPLETE but does not fit in the available height. r=roc 2013-07-13 13:18:17 +00:00
Stephen Pohl
29f1f3b9cf Bug 870917: Fix overlay scrollbars in XUL trees to fade and disappear correctly instead of pulsating continuously. r=roc 2013-07-12 23:19:37 -04:00
Jared Wein
2fd0580f86 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-11 21:19:16 -04:00
Masayuki Nakano
345d20234e Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil 2013-07-25 15:09:29 +09:00
Masayuki Nakano
71f4fb98cb Bug 501496 part.10 nsXULPopupManager should handle keydown events for non-printable keys r=enndeakin 2013-07-25 15:09:29 +09:00
Masayuki Nakano
ab8eca4513 Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
John Daggett
9903bd2223 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
e2baf5a4ad Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
1858ab68cb Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Mats Palmgren
e677cfd801 Bug 303896 - Refactor AttributeChanged() to follow code style and make it easier to read (no functional change). r=ehsan 2013-07-24 23:03:39 +00:00
Mats Palmgren
127dd8ead1 Bug 303896 - Turn on displaying the selection when the 'disabled' attr is removed if the element has focus. r=ehsan 2013-07-24 23:03:38 +00:00
Bem Jones-Bey
83b9d6959e Bug 829958 - Fix intrinsic width calculation to take into account the scroll frame created when overflow isn't visible. r=bz 2013-07-12 17:24:17 -04:00
David Zbarsky
0849600afa Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-09 21:17:52 -04:00
Ryan VanderMeulen
2ae0ffbbc8 Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Daniel Holbert
7e1eec97eb Bug 892108: Simplify a SVG check to use HasViewBoxOrSyntheticViewBox(). r=jwatt 2013-07-10 16:20:54 -07:00
David Zbarsky
f6f620d05f Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Bear Travis
a03478bd24 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Mina Almasry
e2e5a517b5 Bug 899230 - domUtils.getCSSValuesForProperty doesn't return "logical" and "physical" any list. r=bz
This patch prevents inIDOMUtils from returning logical and physical from any list.
2013-07-30 15:38:01 -04:00
Max Vujovic
ba787de1f1 Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam 2013-07-30 15:38:01 -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
Bobby Holley
9d466e12cc Bug 901106 - Eliminate the nsJSRuntime namespace. r=mrbkap 2013-08-19 16:24:29 -07: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
Ehsan Akhgari
cf5e28e06b Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -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
Gijs Kruitbosch
6cd359a5e6 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
2e40ca7f86 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02:00
James Kitchener
da2109a8bb Bug 827713 - Tests for merged script elements. r=fredw 2013-08-19 09:12:06 -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
James Kitchener
c2c5076532 Bug 827713 - Make mmultiscripts more like msubsup. r=karlt 2013-08-19 09:11:48 -04:00
James Kitchener
0326b18d57 Bug 827713 - Changes to mmultiscripts to support merging of script elements. r=karlt 2013-08-19 09:09:34 -04:00
John Daggett
03504b2684 Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert 2013-08-19 19:26:44 +09:00
Mina Almasry
52824c3d8a Bug 717181 - Make <fieldset> invalid if they contain an invalid form control; r=mounir
This adds a CSS psuedo class to fieldset that acts much in the same way as the one
on form.
2013-08-16 20:32:47 -04:00
David Zbarsky
9ce94de31b Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Chris Lord
10605e0e62 Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
e3186541d9 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord
baaed043f6 Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
John Daggett
ae8f359c4b Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-30 05:01:24 +09:00
John Daggett
e96b5011ab Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
8eb7f1edcc Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Ryan VanderMeulen
ab9671a83e 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
Ryan VanderMeulen
03a8ca6b72 Bug 827713 - Adjust expected assertion annotations to fix WinXP debug mochitest orange. 2013-07-29 15:13:50 -04:00
Wes Kocher
32c45cb67c Backout b131b1f08ffc for oranges on a CLOSED TREE 2013-07-10 15:06:01 -07:00
Blake Kaplan
40aae55618 Bug 860123. r=ehsan 2013-07-08 15:06:01 -04:00
Ryan VanderMeulen
03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders
108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
James Kitchener
e5c50c21e1 Bug 827713 - Part 4: Tests for merged script elements. r=fredw 2013-07-29 12:38:24 -04:00
James Kitchener
b933e0b355 Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw 2013-07-29 12:37:50 -04:00
James Kitchener
7a810f636d Bug 827713 - Part 3: Make mmultiscripts more like msubsup. r=karlt 2013-07-29 12:37:01 -04:00
James Kitchener
e639ee5410 Bug 827713 - Part 1: Changes to mmultiscripts to support merging of script elements. r=karlt 2013-07-29 12:36:23 -04:00
Dirk Schulze
27731f2af6 Bug 898361 - Implement parsing for drop-shadow. r=heycam 2013-08-05 17:02:27 +10:00
Matthew Noorenberghe
868df59a58 Bug 894796 - Ignore about:blank loads for gfx recording to prevent prematurely closing the window. r=Bas
--HG--
extra : rebase_source : 05e49e728cc6696b2d15cda67548ac86140d9fe2
2013-06-28 23:26:28 -04:00
David Zbarsky
5dba986973 Bug 895116: Remove some duplicated reftests r=roc 2013-07-21 04:16:29 -07:00
L. David Baron
a643510184 Bug 896138 patch 9: Move RecomputePosition to a more logical place in the .cpp file, near other hint handling implementations. No review. 2013-07-20 12:14:25 -07:00
L. David Baron
0a56a39306 Bug 896138 patch 8: Add setter for RestyleManager::mInStyleRefresh rather than using friend. r=heycam (within review comments for patch 4)
(The friend declaration is still needed for access to RestyleElement,
which I'd rather leave private.)
2013-07-20 12:14:25 -07:00
L. David Baron
2e0c82c9c0 Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam 2013-07-20 12:14:25 -07:00
L. David Baron
539703de44 Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.

Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
6686ee84a1 Bug 896138 patch 5: Expose UndisplayedNode list from nsFrameManager. r=heycam
This is needed for the following patch, which leaves the undisplayed map
in nsFrameManager rather than moving it to RestyleManager (I think one
could argue for either way, but it was easier not to move it).
2013-07-20 12:14:25 -07:00
L. David Baron
a7c8d44db9 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
L. David Baron
84393c60bd Bug 896138 patch 3: Remove forward declaration of struct that hasn't been in this class since changeset e0df6dfdaaca (Bug 479655 part 3). r=heycam 2013-07-20 12:14:24 -07:00
L. David Baron
62621bb025 Bug 896138 patch 2: Add a RestyleManager class. r=heycam
The later patches in this series will move restyling code into this file
from nsCSSFrameConstructor and nsFrameManager.
2013-07-20 12:14:24 -07:00
L. David Baron
3dab5e1ef8 Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam 2013-07-20 12:14:24 -07:00
Jeff Muizelaar
90280cc831 Bug 895135. Avoid normalizing gradients to a smaller interval than 0..1. r=roc
Previously if we had all the stops at the same location, we'd end up putting
them all at 0. This makes things harder for backends that implement gradients
with a lookup table because they don't have room for multiples entries at the
zero location. If instead we leave the stops at the same location on the 0-1
line we'll have a better chance of drawing them correctly.

--HG--
extra : rebase_source : d57553d90e3eef288ca41576573f1c1def97da7e
2013-07-20 08:58:10 -04:00
Nicholas Cameron
cf168d842a Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron
e17f999789 Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc
--HG--
extra : rebase_source : b6fa8a526f8642089d9cd6af47948006f2673ab6
2013-07-19 20:39:58 +12:00
Ryan VanderMeulen
cf60fd0d26 Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Reuben Morais
25c86ec559 Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
Robert O'Callahan
399d3edad1 Bug 894931. Add reftest. r=dbaron 2013-07-19 11:22:40 -04:00
Simon Montagu
d1adeb99a2 Move the caret invalidation from CharacterDataChanged to CharacterDataWillChange so that the text doesn't change under the caret before invalidation. Bug 887631, r=ehsan 2013-07-19 17:44:46 +03:00
Mina Almasry
d0e202df25 Bug 895076 - domUtils.getCSSValuesForProperty now returns non keyword values. r=bz
This patch makes getCSSValuesForProperty return some none keyword values: auto,
normal, none, all, calc, -moz-calc, -moz-element, -moz-element-rect, rgb, hsl, -moz-rgba, -moz-hsla, rgba, hsla, cubic-bezer, and steps.
2013-07-19 10:32:52 -04:00
Bear Travis
99080c7766 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Mina Almasry
63736e952d Bug 291082 - preventDefault now blocks keyboard navigation in select-one drop-down lists. r=mounir, r=Neil
This patch makes select drop-down lists respect preventDefault keypress event, and so the select list doesn't process them anymore.
2013-07-19 10:32:51 -04:00
Jonathan Kew
83bfaa5b69 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
50ab64699b bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
de12b8e12a bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01: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