Commit Graph

34216 Commits

Author SHA1 Message Date
Ehsan Akhgari
ac82e1045c Merge mozilla-central into mozilla-inbound 2012-10-08 16:53:58 -04:00
Jacek Caban
b21dfd24d5 Bug 799069: Unresolved vpx_codec_vp8_cx export in --disable-webrtc build r=jesup,derf 2012-10-08 10:56:17 -04:00
Ed Morley
42c894c446 Bug 752786 - Disable one part of test_bug469613.xul for too many intermittent failures 2012-10-08 14:10:54 +01:00
Ed Morley
ad52ccae25 Backout 739aff49b8bb (bug 731974) for turning browser_586068-reload.js permaorange on WinXP 3 days ago 2012-10-08 10:57:12 +01:00
Jason Duell
a54c38a647 Bug 795203 - B2g: clear private data: cookies. r=mconnor,jduell 2012-09-28 17:03:00 -07:00
Boris Zbarsky
ea25893c42 Bug 795221 part 4. Hook up <link> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-3.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
7f699883ea Bug 795221 part 3. Implement cycle collection for GroupRule objects. r=smaug,dbaron
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-2.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
fd9c6f7979 Bug 795221 part 1. Implement cycle collection for nsCSSStyleSheet objects, so we don't leak through them. r=smaug,dbaron
Each nsCSSStyleSheet has a pointer to a nsCSSStyleSheetInner.  The
nsCSSStyleSheetInner is shared across multiple stylesheets, in
general.  The nsCSSStyleSheetInner owns the rules and the child
stylesheets.

What this means is that a given rule object is effectively owned by
multiple sheets.  However, cycles can only form through rule objects
that have been JS-wrapped, and if we're JS-wrapping a rule object that
means we have ensured that it's owned by only one stylesheet.
Therefore, we only traverse and unlink mInner if it's uniquely owned
by our sheet.

Similarly, if our child sheets or any of their rules have been
JS-wrapped, that means that we must have an mInner that we own
outright.
2012-10-07 22:39:08 -04:00
Robert O'Callahan
ed5ba29431 Bug 793065. Keep mRootPresContext alive in case something crazy happens. r=mattwoodrow 2012-10-05 16:20:35 +13:00
David Keeler
26c7847d0b Bug 788829 - Call SetSizeConstraints even if a popup is not open. r=enndeakin 2012-09-12 17:10:09 -07:00
Masayuki Nakano
7718f4b75d Bug 795785 part.2 Scroll editor when caret is moved even if it's specified overflow: hidden; r=smaug 2012-10-08 03:45:51 +09:00
Masayuki Nakano
985cc75710 Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug 2012-10-08 03:45:51 +09:00
Ed Morley
44b97aef8e Merge mozilla-central to mozilla-inbound 2012-10-06 21:47:07 +01:00
Ed Morley
1bcac7940e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Ed Morley
24678699d7 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Robert Longson
288013f5c7 Bug 793484 - Optimise simple gradients. r=jwatt 2012-10-06 13:52:32 +01:00
Andrew Halberstadt
1f19f8c07e Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
Boris Zbarsky
41e33df4f9 Bug 790265. Changes that might attach a binding (e.g. state changes on <object> elements) should trigger a frame construction attempt even for display:none elements, so the binding will get attached. r=dholbert 2012-10-05 23:50:55 -04: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
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
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