Randell Jesup
a858a862db
Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf)
2012-10-04 12:09:35 -04:00
Jeff Muizelaar
fb8c5e5cd5
Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
...
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.
--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Nathan Froyd
5375444878
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
William Lachance
382c927895
Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
...
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:
* Removed FileError and AgentError exceptions, replaced with DMError
(having to manage three different types of exceptions was confusing,
all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
longer relevant
* pushFile no longer will create a directory to accomodate the file
if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
from the agent, instead of falling back to manual validation in the
case that we didn't
* isDir and dirExists had the same intention, but different
implementations for dmSUT. Replaced the dmSUT impl of getDirectory
with that of isDir's (which was much simpler). Removed
isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
(since the actual internal kill command will throw an exception
if the process doesn't exist)
In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Robert O'Callahan
81b338decc
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Ed Morley
e1e22ad162
Backout 739f8aac68a6 (bug 797708) for Win7 reftest-no-accel orange on a CLOSED TREE
2012-10-04 13:15:13 +01:00
Ed Morley
0748a2405b
Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions
2012-10-04 13:15:00 +01:00
Robert O'Callahan
cd1ea4aa32
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Robert O'Callahan
2a7363af3b
Bug 794709. Don't bother trying to compute an intelligent dirty rect when building display lists for nsSimplePageSequence and nsPageContentFrame children; it's nontrivial due to the transforms they introduce, and it doesn't matter anyway. r=mattwoodrow
2012-10-04 23:02:17 +13:00
Cameron McCormack
f7e5fadb7d
Bug 797708 - Test that gradients are positioned correctly on SVG text with a filter applied. r=longsonr
2012-10-04 18:28:32 +10:00
Cameron McCormack
4724a6b033
Bug 797691 - Tweak stroke-dasharray-and-text-01.svg to avoid slight rendering differences on Android. r=longsonr
2012-10-04 17:39:09 +10:00
Daniel Holbert
38afcaf96b
Bug 666041 / Bug 797022 followup: update "fails-if(Android)" annotations for android fuzziness in flexbox reftests, to address unexpected passes/fails.
2012-10-03 23:02:15 -07:00
Yu-Sian (Thomasy) Liu
58bc1b7fb5
Bug 594935: Add calc to parser, do calc in PaintGradient and add stop point to HasCalc(). r=bz
2012-10-03 22:31:56 -07:00
Chris Jones
a734561c9e
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=mattwoodrow,roc
2012-10-02 22:55:52 -07:00
Chris Jones
6a8aa4b23b
Bug 790505, part 2: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc
2012-10-02 22:55:50 -07:00
Chris Jones
8e7287f20e
Bug 790505, part 1: Have prerendered transform frames pretend that they don't have an opaque region so that we can move them around more efficiently. r=mattwoodrow
2012-10-02 22:55:50 -07:00
Daniel Holbert
7859bf8bf7
Bug 796212 followup: add #ifdef guard around static variables that are only used in #ifdef'd code, to fix build warning in non-MOZ_FLEXBOX-enabled builds.
2012-10-03 19:52:21 -07:00
Ryan VanderMeulen
5a509f3cc7
Merge m-c to inbound.
2012-10-03 22:24:20 -04:00
Ryan VanderMeulen
c7df9c8a33
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Daniel Holbert
622f456be4
Bug 797022: Turn on MOZ_FLEXBOX build flag to enable CSS3 flexbox in builds. r=bz
2012-10-03 19:08:43 -07:00
Ryan VanderMeulen
ab95313c1f
Merge m-c to inbound.
2012-10-03 18:19:17 -04:00
Cameron McCormack
a35ac63f8f
Bug 655877 - Part 23b: Add UA style sheet rules to map xml:space='preserve' to white-space:-moz-pre-discard-newlines on SVG text elements. r=jwatt
2012-10-04 07:32:35 +10:00
Jeff Muizelaar
c3e16c5475
Bug 794884. Make SupportImageWithMimeType return a bool. r=joe.
...
This cleans things up quite a bit.
---
content/base/src/nsObjectLoadingContent.cpp | 4 +---
docshell/base/nsWebNavigationInfo.cpp | 4 +---
image/src/imgLoader.cpp | 7 ++-----
image/src/imgLoader.h | 2 +-
layout/build/nsContentDLF.cpp | 4 +---
5 files changed, 6 insertions(+), 15 deletions(-)
2012-10-03 16:17:47 -04:00
Jeff Muizelaar
af82a52095
Bug 794884. Make SupportImageWithMimeType a static function. r=joe,r=bz
...
This removes supportImageWithMimeType from the idl and makes all the
callers call the static function directly. To do this we also need
to export imgLoader.h and imgRequest.h.
---
content/base/src/nsObjectLoadingContent.cpp | 9 ++-------
docshell/base/nsWebNavigationInfo.cpp | 8 +++++---
docshell/base/nsWebNavigationInfo.h | 5 -----
image/public/imgILoader.idl | 9 +--------
image/src/Makefile.in | 4 ++++
image/src/imgLoader.cpp | 2 +-
image/src/imgLoader.h | 1 +
layout/build/nsContentDLF.cpp | 5 ++---
8 files changed, 16 insertions(+), 27 deletions(-)
2012-10-03 16:17:40 -04:00
Zack Weinberg
11614caa8b
Merge revert of diagnostic round 2 for bug 536603. DONTBUILD
2012-10-03 09:01:01 -04:00
Daniel Holbert
ed4640d0bc
Bug 797601 part 3: Add a reftest to verify that the flexbox about:config pref works, and annotate the other flexbox reftests to turn on the pref for them. r=bz
2012-10-03 18:45:06 -07:00
Daniel Holbert
f495c06658
Bug 797601 part 2: Tweak flexbox mochitests to run in an iframe and have their parent-document set the pref before loading them. r=bz
...
--HG--
rename : layout/style/test/test_flexbox_align_self_auto.html => layout/style/test/file_flexbox_align_self_auto.html
rename : layout/style/test/test_flexbox_flex_grow_and_shrink.html => layout/style/test/file_flexbox_flex_grow_and_shrink.html
rename : layout/style/test/test_flexbox_flex_shorthand.html => layout/style/test/file_flexbox_flex_shorthand.html
rename : layout/style/test/test_flexbox_layout.html => layout/style/test/file_flexbox_layout.html
2012-10-03 18:44:15 -07:00
Daniel Holbert
db07ae0eca
Bug 797601 part 1: Add flexbox properties to mochitest files property_database.js and test_transitions_per_property.html IFF pref is enabled. r=bz
2012-10-03 18:44:11 -07:00
Ed Morley
6582dac750
Backout ffcdd896a1fa (bug 787947) for reftest failures
2012-10-03 13:43:19 +01:00
Nathan Froyd
47c3eda791
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Robert O'Callahan
cf862f164f
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Seth Fowler
ed479625af
Bug 786108 - Cache UTF-16 version of URI to prevent repeated conversions in the CSS scanner, and free the cache after a short time. r=bz
2012-10-03 15:28:57 -07:00
Chris Jones
263dc7d01e
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
6ed6eba931
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=roc
2012-10-02 22:55:52 -07:00
Chris Jones
a03ca9170e
Bug 790505, part 3: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc
2012-10-02 22:55:50 -07:00
Chris Jones
388ef7aad1
Bug 790505, part 1: Have prerendered transform frames pretend that they don't have an opaque region so that we can move them around more efficiently. r=mattwoodrow
2012-10-02 22:55:50 -07:00
Daniel Holbert
1c3ec77888
Bug 796212 part 2: Make pref "layout.css.flexbox.enabled" control whether -moz-flex and -moz-inline-flex are recognized as valid values for "display" property. r=bz
2012-10-02 22:04:50 -07:00
Daniel Holbert
03416aed4f
Bug 796212 part 1: Guard CSS3 flexbox properties behind about:config pref "layout.css.flexbox.enabled". r=bz
2012-10-02 22:04:50 -07:00
Ehsan Akhgari
80fd98a848
Merge backout
2012-10-02 23:16:47 -04:00
Ehsan Akhgari
5d0ab6fa28
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Brendan Dahl
9ddfd8b66c
Bug 789507 - Add watchdog for mozPrintCallbacks. r=smaug
2012-10-02 10:42:21 -07:00
Anthony Jones
5383d578e4
Bug 740580 - Add Azure support to nsCanvasFrame. r=roc
2012-10-02 22:09:12 -04:00
Ryan VanderMeulen
06032fe15d
Merge m-c to inbound.
2012-10-02 22:09:07 -04:00
Ryan VanderMeulen
913409a80c
Merge the last PGO-green inbound changeset to m-c.
2012-10-02 21:20:48 -04:00
Matt Woodrow
087f699aa3
Bug 796183 - Always invalidate the widget when doing empty transactions with a LayerManager. r=roc
2012-10-03 13:04:26 +13:00
Matt Woodrow
6e2109b0c9
Bug 795899 - Remove merged frame handling in BuildContainerLayerFor. r=roc
2012-10-03 13:03:34 +13:00
Robert O'Callahan
bd85577fbd
Bug 794579. Remove view from existing parent before setting it as the root view. r=tnikkel
2012-10-02 16:25:47 -05:00
Ed Morley
548ec830de
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-02 16:53:37 +01:00
Zack Weinberg
230a3c567d
Another round of diagnostics for bug 536603.
2012-10-02 09:50:19 -04:00
Zack Weinberg
782bddc8ac
Revert previous set of diagnostics for bug 536603.
2012-10-02 09:14:58 -04:00