Kan-Ru Chen (陳侃如)
5e23bbb507
Bug 797681 - Register GonkGPSGeoLocationProvider as a XPCOM service. r=dougt
2012-10-15 14:40:51 +08:00
David Zbarsky
53345541db
Backout 784bb7c5ea9c (Bug 799407) for bustage
2012-10-15 02:14:34 -04:00
David Zbarsky
16b60cf311
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Robert O'Callahan
e573a641c1
Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz
...
--HG--
extra : rebase_source : 4c4fbbe51069b58a023c7f40f70f9f13efc487e1
2012-10-10 23:25:57 +13:00
Robert O'Callahan
94b052ee0c
Bug 786740. When destroying all the frames in a line list, keep the line list and frame list valid at each step in case someone tries to walk the frame tree during frame destruction. r=mats
...
--HG--
extra : rebase_source : 7045daffc35fdaca02a74caa52a93a270c94cf74
2012-10-15 14:34:23 +13:00
Matt Woodrow
8760ddc9ae
Bug 795674 - Remove mNewDisplayItemData. r=roc
2012-10-12 15:39:46 +13:00
David Zbarsky
b1c274a0b4
Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc
2012-10-14 21:28:23 -04:00
Nicholas Nethercote
8653ecbff2
Bug 800187 (part 1) - Add memory reporter for the nsStyleSheetService. r=bz.
...
--HG--
extra : rebase_source : fc5c04daa0fd919f11470b090e38e9e8a5f19db6
2012-10-11 21:05:38 -07:00
David Zbarsky
9ca45780a1
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-14 16:56:03 -04:00
Mats Palmgren
3298e61f13
Bug 798691. r=roc
2012-10-14 20:27:37 +02:00
Jonathan Watt
accd375675
Reftest for bug 797231 (Clip path region is incorrect with direct2d). r=Bas.
2012-10-14 16:30:14 +01:00
Ehsan Akhgari
92678e0cd1
Remove nsSelectionIterator::mType because it is unused, no bug
2012-10-13 17:37:09 -04:00
Ehsan Akhgari
a671d59e7c
Remove nsGridRowGroupLayout::mRowColumn because it is unused, no bug
2012-10-13 17:34:22 -04:00
Robert O'Callahan
570d8fb6ce
Bug 626245. Part 5: Move plugin widgets before compositing the window, not after. r=matspal
...
--HG--
extra : rebase_source : 147afbc494e9b05f52b134ca6dd4f9635457d879
2012-10-10 23:25:57 +13:00
Robert O'Callahan
78fbac6550
Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
...
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
8aec82ec43
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Robert O'Callahan
e4b07bb2c9
Bug 626245. Part 3.5: Fix nsLayoutUtils::Transform functions to convert to correct appunits values for the destination frame. r=mats
...
--HG--
extra : rebase_source : d8130b84e38d5a0cdc84375e22d06951a405025b
2012-10-12 13:11:37 +13:00
Robert O'Callahan
28e795cc72
Bug 626245. Part 3: Make aAncestor const in TransformFrameRectToAncestor. r=matspal
...
--HG--
extra : rebase_source : d09fd6845a0405dd657fc0c0c1d43ebbab2bfc9d
2012-10-08 17:52:52 +13:00
David Zbarsky
a759821ae1
Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
...
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
fdfb2183aa
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-13 14:31:19 -04:00
Jeff Muizelaar
79fa5e64ff
Bug 799335. Fix unintenional image flash on tab switch. r=joe,dholbert
...
This was caused by bug 792199.
There are two parts to this fix:
1. Always decode during StartDecoding even if we already have a Decoder
(hopefully this is safe) This was a bug in the original patch.
2. After calling StartDecoding() we recheck if we're complete and abort if
we're not doing a SYNC_DECODE. Before this regression we would usually be done
decoding the image because of the decoding we did when we Locked all of the
images on tab switch.
--HG--
extra : rebase_source : 9db93075aad2f45c6cc70d27ef67468b4507642c
2012-10-12 16:04:32 -04:00
Jeff Muizelaar
46be3317c2
Bug 799335. Rename nsStyleImage::RequestDecode to StartDecoding. r=dholbert
...
Now that RequestDecode call StartDecoding this make more sense.
--HG--
extra : rebase_source : ded757b8c90cbc4e5d221c79d2704105e1051183
2012-10-12 16:04:03 -04:00
Andrew Quartey
b50ced0c60
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
ea52f5f496
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Jeff Hammel
358ea0a98e
Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ da60c88b8c
;r=ahal,r=wlach
2012-10-12 10:24:35 -07:00
Josh Matthews
e5b76c73ef
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
e9be8ac74c
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
31e9ef66cd
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Ed Morley
58b2b67062
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
730f7084d0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Ed Morley
6ab749ccb9
Backout 5b727a94eebd (bug 731974) for causing bug 797263 again
2012-10-12 11:25:17 +01:00
Nicholas Cameron
38e86da9ce
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
ab7f6035bf
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
b00b1e25b0
Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
...
This is a rollup of the following patches
- Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
- Remove mention of "meta" from TabChild. r=roc
- Remove some useless logging. r=roc
- Tag FrameMetrics with its composition bounds at paint time. r=roc
- Add a helper to calculate the render resolution for a FrameMetrics. r=roc
- Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
- BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
- Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
- Mechanically separate uses of zoom/resolution based on new definitions. r=roc
- Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
- Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Josh Matthews
b358502bb7
Merge backout.
2012-10-11 21:58:41 -04:00
Josh Matthews
e82f309179
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Daniel Holbert
4f4bdd344e
Bug 799647 part 2: reftest. r=dbaron
...
--HG--
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-block.xhtml
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-table.xhtml
2012-10-11 18:41:32 -07:00
Daniel Holbert
c9e80c7e5c
Bug 799647 part 1: Use style-context parent instead of frame parent when resolving "align-self:auto" on a flex item. r=dbaron
2012-10-11 18:41:05 -07:00
Josh Matthews
d64a2c9b5a
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
db4200e616
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
d09d8af2a1
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Ed Morley
af5fd4c00a
Backout b71e714d5957 (bug 795657) for burning
2012-10-11 14:54:14 +01:00
Ehsan Akhgari
1b5ab09074
Remove some unused variables, no bug
2012-10-11 09:19:35 -04:00
Robert O'Callahan
d5f28b3453
Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz
2012-10-10 23:25:57 +13:00
Matt Woodrow
709e249e49
Bug 797059 - Schedule a paint when slider frames change position. r=roc
2012-10-11 18:44:59 +13:00
Matt Woodrow
02c9d9c3ae
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
Ehsan Akhgari
60c0879cc1
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Olli Pettay
0f6bf5eed5
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Gregory Szorc
2c1dced77a
Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
...
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
28c7dd206c
Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
...
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.
--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Andrew Halberstadt
3ea52e5559
Bug 795099 - Add --gecko-path argument to runreftestb2g.py, r=jgriffin; DONTBUILD because NPOTB
2012-10-05 11:12:05 -04:00
Ehsan Akhgari
40919e491f
Merge mozilla-central into mozilla-inbound
2012-10-08 16:53:58 -04:00
Jacek Caban
beeae20eb5
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
b0c7c030c3
Bug 752786 - Disable one part of test_bug469613.xul for too many intermittent failures
2012-10-08 14:10:54 +01:00
Ed Morley
1517aafcca
Backout 739aff49b8bb (bug 731974) for turning browser_586068-reload.js permaorange on WinXP 3 days ago
2012-10-08 10:57:12 +01:00
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Matt Woodrow
7d5daf4218
Bug 800287 - Optimize display list processing. r=roc
2012-10-12 12:38:25 +13:00
Matt Woodrow
7a9bd0af9d
Bug 795674 - Add DisplayItemData debugging code. r=roc
2012-10-12 12:38:25 +13:00
Matt Woodrow
8b3fa0303c
Bug 795674 - Refactor DisplayItemData storage in FrameLayerBuilder. r=roc
2012-10-12 12:38:24 +13:00
Daniel Holbert
41c917c25a
Bug 800535: Switch var to unsigned in nsSimplePageSequenceFrame::PrePrintNextPage, to fix signed/unsigned-comparison build warning. r=bdahl
2012-10-11 14:33:25 -07:00
Daniel Holbert
d7b7c299ff
Bug 799775 part 2: Add decl to inherit "-moz-order" on table outer frames in ua.css. r=dbaron
...
--HG--
rename : layout/style/test/file_flexbox_order.html => layout/style/test/file_flexbox_order_table.html
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_table.html
2012-10-11 14:33:24 -07:00
Daniel Holbert
dcaf8c3429
Bug 799775 part 1: General mochitest for 'order' property reordering items in a flex container. rs=dbaron
2012-10-11 14:33:24 -07:00
Vladimir Vukicevic
77b95b1502
b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Masatoshi Kimura
50c0d83bb3
Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu
2012-10-10 06:32:37 -04:00
David Zbarsky
d70685476e
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Nicholas Nethercote
55a51f2401
Bug 768901 - Don't double-count shared nsCSSStyleSheetInners. r=bz.
...
--HG--
extra : rebase_source : f8ba1cce0b4b12915bc5faf2f9edfd56a5305178
2012-10-09 20:03:18 -07:00
Ryan VanderMeulen
ee3541d7aa
Merge m-c to inbound.
2012-10-09 21:11:06 -04:00
Jeff Walden
7d556d0048
Eliminate a few nullptr-to-bool conversions to avoid a clang warning (which we upgrade to error) in some clang revs. No bug, r=sparky
...
--HG--
extra : rebase_source : 6b45c8e1dd07449a5ebc34704c19e05fe155f628
2012-10-09 16:14:42 -07:00
Abhishek Potnis
2abf651a08
Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan
2012-10-08 21:45:12 +05:30
Jason Duell
85b41a7ffd
Bug 795203 - B2g: clear private data: cookies. r=mconnor,jduell
2012-09-28 17:03:00 -07:00
Boris Zbarsky
b8b844950a
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
0120d2ee48
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
090f4863f4
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
1b98127dec
Bug 793065. Keep mRootPresContext alive in case something crazy happens. r=mattwoodrow
2012-10-05 16:20:35 +13:00
David Keeler
8d8a0d6e3e
Bug 788829 - Call SetSizeConstraints even if a popup is not open. r=enndeakin
2012-09-12 17:10:09 -07:00
Masayuki Nakano
3df6480630
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
5ac763afdd
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
783c00c96e
Merge mozilla-central to mozilla-inbound
2012-10-06 21:47:07 +01:00
Ed Morley
fd14735924
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Ed Morley
bd0d1f6c0a
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
0f3e0f4a86
Bug 793484 - Optimise simple gradients. r=jwatt
2012-10-06 13:52:32 +01:00
Andrew Halberstadt
3c47c68070
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
d9ec7ac515
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
1964ca2b67
Fix typo. No bug, DONTBUILD.
2012-10-04 23:12:15 -07:00
Jesse Ruderman
895467e126
Remove trailing whitespace. No bug, DONTBUILD.
2012-10-04 23:12:15 -07:00
Andrew Quartey
52003ca06d
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
1839819e70
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Cameron McCormack
8290da709f
Bug 782888 - Do not propagate nsChangeHint_UpdateEffects to text nodes. r=bz
2012-10-05 12:47:52 +10:00
Robert O'Callahan
44b8a89b58
Bug 797797. Reftest.
...
--HG--
extra : rebase_source : 028a2835dd34e37a7dcf965bd2d23b004dce0bb9
2012-10-05 15:37:29 +13:00
Robert O'Callahan
b2f146a271
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
7edeb4ff2a
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
29308c09dd
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
2012-10-05 17:48:15 +01:00
Vladimir Vukicevic
4e6612830f
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Chris Lord
de6ceac9dc
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
7e2006d6a7
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
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
Gervase Markham
ee372dcfcd
Bug 759095 - remove stray references to tri-license.
2012-10-02 12:52:06 +01:00
Ed Morley
d078159b72
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Nathan Froyd
65c7ca9722
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
Jason Duell
62e32bff8b
Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell
2012-10-02 17:39:09 -07:00
Daniel Holbert
f2b8223253
Bug 796568 - cleanup in nsLayoutUtils: remove unnecessary "mozilla::" namespace prefix and convert some NULL to nullptr. r=mats
2012-10-02 17:18:48 -07:00