Robert O'Callahan
c944a09c1f
Bug 637852. Part 16: Mark newly-passing reftests.
...
Various tests that used to fail on Android now pass. One test that used to fail on Mac passes now too.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
5483e21601
Bug 637852. Part 15: Don't round mOuterRect/mInnerRect if there's a scale factor in the current transform. r=joe
...
This avoids losing information when we're drawing into a high-resolution ThebesLayer. It works well with the
previous patch; for identity scale, this rounding of the inner/outer rects ensures pixel alignment of the edges,
but with non-identity scale the rectangle snapping ensures pixel alignment of the edges. This fixes reftest failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0e8a6f7390
Bug 637852. Part 14: Try to use snappable rects to draw solid borders instead of using stroke, when a scaling transform is present. r=joe
...
The goal here is to avoid antialiased border edges when drawing into high-resolution ThebesLayers. This fixes test failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
c37c544c23
Bug 637852. Part 13: Allow snapping of text baselines to occur when there's a scale in the current transform. r=tnikkel
...
This allows baselines to be snapped properly when drawing into high-resolution ThebesLayers.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
08cb8f63ce
Bug 637852. Part 12: Dump layer trees and display lists to stdout instead of stderr so that they stay in order with window.dump() and other output. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
ce7be9d494
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
8b4e1a91a8
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
a97f0fea4e
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
829914f298
Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
783029e208
Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
9ddbfbb285
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
723e5c86ee
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
...
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.
This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
91a72cf57f
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
c2827bc133
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
ac135884a6
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
29044a8c64
Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
...
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Mounir Lamouri
72941f614e
Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz
2011-06-22 12:41:00 +02:00
Kai Liu
45ddb6bd2e
Bug 661846: Move the Windows classic/XP native menu padding calculation from GetWidgetBorder to GetWidgetPadding. r=jmathies
2011-06-22 12:32:50 +02:00
bjarne@runitsoft.com
f214931bd5
Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne
2011-06-22 10:49:35 +02:00
Makoto Kato
1499241aa5
Bug 655655 - decom nsIPosixLocale. r=smontagu
...
--HG--
rename : intl/locale/public/nsIPosixLocale.h => intl/locale/public/nsPosixLocale.h
2011-06-22 16:34:27 +09:00
Makoto Kato
1f2eea3d5f
Bug 182279 - select.add() should have the second parameter optional. r=smaug
2011-06-22 16:33:30 +09:00
Ehsan Akhgari
b7a8a832db
Merge mozilla-central into mozilla-inbound
2011-06-22 03:06:01 -04:00
Masayuki Nakano
94f0f12f0c
Bug 664917 Add Preferences API for getting default pref values r=roc, feedback=bz
2011-06-22 15:39:10 +09:00
Bas Schouten
4d1fc71a1e
Followup to bug 661973: Fix bug with COM outparams and add convenience operators. r=cjones
2011-06-21 21:44:00 -07:00
Trevor Saunders
4cbc70432d
bug 659018 - nsIAccessibleEvent::EVENT_NAME_CHANGED not handled for atk r=surkov
...
From 783c75c83cee406c15b962f5ac10582f7ab9b354 Mon Sep 17 00:00:00 2001
---
accessible/src/atk/nsAccessibleWrap.cpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
2011-06-15 22:12:32 -07:00
Luke Wagner
fc4372b957
Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
...
--HG--
rename : js/src/perfect.js => js/src/tests/js1_1/regress/perfect.js
2011-06-21 10:26:22 -07:00
Ehsan Akhgari
7372d32b50
Backout changeset 5fe20ec0229c (bug 15529) because it breaks jsreftests
2011-06-21 18:52:32 -04:00
Ehsan Akhgari
5572ffd103
Merge the last green changeset on mozilla-inbound into mozilla-central
2011-06-21 17:46:35 -04:00
Olli Pettay
2d2b7cff83
Bug 664467 - Unlink content/html some more, r=sicking
...
--HG--
extra : rebase_source : 8821bba1a7651bf96f862ca98a0cf179aaf5ea60
2011-06-22 00:12:50 +03:00
Paul O’Shannessy
7b0432fb14
Bug 625016 - Restore windows closed in succession to quit (non-OSX only) [r=dietrich]
2011-06-21 11:09:07 -07:00
Paul O’Shannessy
f912088fb2
Backout 3b59c196aaf9 - no bug # in commit message
2011-06-21 11:06:02 -07:00
Paul O’Shannessy
65bca0d683
Bug 665260 - Store start time in sessionstore data [r=dietrich]
2011-06-21 10:44:10 -07:00
Paul O’Shannessy
8b11e411f2
Users have app tab and panorama data loss depending on window close order [r=dietrich]
2011-06-21 10:44:10 -07:00
Jared Wein
e53a45ad27
Bug 665217. Handling corrupt statements in finally blocks. [r=zpao]
2011-06-21 10:44:10 -07:00
Paul O’Shannessy
9b31b86272
Bug 571997 - Copy Password doesn't ask for master password while Show Passwords does [r=dolske]
2011-06-21 10:44:09 -07:00
Daniel Holbert
5beebd3d47
Bug 656244: Finish *all* remaining parsing in SVGDocumentWrapper::OnStopRequest. r=hsivonen
2011-06-21 10:38:44 -07:00
Luke Wagner
1b9fa5ce84
Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
...
--HG--
rename : js/src/perfect.js => js/src/tests/perfect.js
2011-06-21 10:26:22 -07:00
Philipp von Weitershausen
592de97477
Merge services-central and mozilla-central
2011-06-21 21:34:45 +02:00
Mounir Lamouri
c24399e777
Bug 665845 - Fixes to content/html/content/test/test_bug561634.html. r=ehsan
2011-06-21 18:50:12 +02:00
Mounir Lamouri
fe1d5828bd
Bug 665841 - Move some tests to HTML Forms test directory. rs=smaug
...
--HG--
rename : content/html/content/test/test_bug566160.html => content/html/content/test/forms/test_formaction_attribute.html
rename : content/html/content/test/test_bug589696.html => content/html/content/test/forms/test_formnovalidate_attribute.html
rename : content/html/content/test/test_bug555559.html => content/html/content/test/forms/test_input_email.html
rename : content/html/content/test/test_bug344615.html => content/html/content/test/forms/test_input_url.html
rename : content/html/content/test/test_bug562932.html => content/html/content/test/forms/test_label_control_attribute.html
rename : content/html/content/test/test_bug565538.html => content/html/content/test/forms/test_mozistextfield.html
rename : content/html/content/test/test_bug556013.html => content/html/content/test/forms/test_novalidate_attribute.html
rename : content/html/content/test/test_bug346485.html => content/html/content/test/forms/test_output_element.html
rename : content/html/content/test/test_bug345512.html => content/html/content/test/forms/test_pattern_attribute.html
rename : content/html/content/test/test_bug345822.html => content/html/content/test/forms/test_required_attribute.html
2011-06-21 18:50:47 +02:00
Mounir Lamouri
88ef132dc9
Bug 665012 - r=bz
2011-06-21 18:51:34 +02:00
Mounir Lamouri
fdb6ac3e0e
Bug 658037 (2/2) - r=bz
2011-06-21 18:52:01 +02:00
Mounir Lamouri
8692cfd266
Bug 658037 (1/2) - r=bz
2011-06-21 18:52:22 +02:00
Ed Morley
089654ad1f
Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc
2011-06-21 17:37:47 +02:00
Ed Morley
70e7a17812
Bug 665595 - Fix unused variable warning in ExternalHelperAppParent.cpp; r=dwitte
2011-06-21 17:37:46 +02:00
Ed Morley
6733296f4b
Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc
2011-06-21 17:37:45 +02:00
Ed Morley
c5976c60c2
Bug 665391 - Remove unused variable maiAtkHyperlink from nsMaiHyperlink.cpp getUriCB(); r=surkov
2011-06-21 17:37:44 +02:00
Ed Morley
d8dfc4e971
Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst
2011-06-21 17:37:44 +02:00
Ed Morley
d833770ced
Bug 665389 - Remove unused variable rv from nsPSPrinterList::Init; r=roc
2011-06-21 17:37:43 +02:00
Ed Morley
41438b42dd
Bug 665387 - Remove unused variable document from nsHtml5TreeOperation::Perform; r=hsivonen
2011-06-21 17:37:41 +02:00