Граф коммитов

34196 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert f1c75c2a7a Bug 797953: Mark flexbox-widget-* reftests as having a some occasionally fuzzy pixels (at corners of buttons) 2012-10-05 11:50:29 -07:00
Ed Morley 4ef3ea11bf Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Vladimir Vukicevic ef31101c74 b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Chris Lord cf58bd6fa0 Bug 795674 - Reinstate underlying frame swap when merging nsDisplayScrollLayer. r=roc
This swap was removed with the work in Bug 785333, as layers were associated
with merged frames as well as their underlying frames. Since DLBI, this is no
longer the case, so reinstate this temporary fix for a very common case of
the underlying frame of a display-item changing.
2012-10-05 10:56:49 +01:00
Cameron McCormack 1e4e5df0b3 Bug 797708 - Test that gradients are positioned correctly on SVG text with a filter applied. r=longsonr 2012-10-05 18:35:53 +10:00
Jesse Ruderman 1c9fb1a4db Fix typo. No bug, DONTBUILD. 2012-10-04 23:12:15 -07:00
Jesse Ruderman 7d5a230e25 Remove trailing whitespace. No bug, DONTBUILD. 2012-10-04 23:12:15 -07:00
Andrew Quartey 58aa97ec8b Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey 6a3e28f73b Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Cameron McCormack 949660d475 Bug 782888 - Do not propagate nsChangeHint_UpdateEffects to text nodes. r=bz 2012-10-05 12:47:52 +10:00
Robert O'Callahan 2c8530a23d Bug 797797. Reftest.
--HG--
extra : rebase_source : 028a2835dd34e37a7dcf965bd2d23b004dce0bb9
2012-10-05 15:37:29 +13:00
Robert O'Callahan fc36d68166 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
--HG--
extra : rebase_source : 6e51ff9514f66e24765bae74a6348afc65367d76
2012-10-05 15:29:56 +13:00
Randell Jesup 61f2eb940e 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 62bb43ba59 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 4519571cb1 Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04:00
William Lachance c5f092dab4 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 95881d4837 Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Ed Morley 3f6cca789a Backout 739f8aac68a6 (bug 797708) for Win7 reftest-no-accel orange on a CLOSED TREE 2012-10-04 13:15:13 +01:00
Ed Morley 1c8a7ade37 Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions 2012-10-04 13:15:00 +01:00
Robert O'Callahan 3320a9af10 Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Robert O'Callahan 35db8fe81d 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 9142ee329c 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 dd644b20fe 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 1353103a88 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 e7b15a81a9 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 d069aa6366 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 bae3518548 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 d0b64fa16d 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 25d7089020 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 b6d564dac8 Merge m-c to inbound. 2012-10-03 22:24:20 -04:00
Ryan VanderMeulen 657d66adaf Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391. 2012-10-03 22:13:14 -04:00
Daniel Holbert e3a3eec59c 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 c8cb8dc8b8 Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
Cameron McCormack 7fc49e541b 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 d14ebc63da 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 bd55aae8e0 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 475c763dcb Merge revert of diagnostic round 2 for bug 536603. DONTBUILD 2012-10-03 09:01:01 -04:00
Daniel Holbert c32749caf3 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 2c2c008e96 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 d7dc5f8035 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 e6e722ad0c Backout ffcdd896a1fa (bug 787947) for reftest failures 2012-10-03 13:43:19 +01:00
Nathan Froyd 413535eb4a 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 b9d615c5a1 Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel 2012-09-25 15:25:48 +12:00
Seth Fowler 15aee59cde 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 38cde694be Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones 3d0d3d6cab 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 6f9a885d04 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 c4d0b9e681 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 ebaf07fb9a 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 eb4ab40a1f 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