Commit Graph

14469 Commits

Author SHA1 Message Date
Matt Woodrow
031ddfbe0e Bug 792314 - Build full display lists for nsSimplePageSequence. r=roc 2012-09-20 11:26:35 +12:00
Ryan VanderMeulen
7e1eac7739 Merge m-c to inbound. 2012-09-24 21:50:14 -04:00
Ryan VanderMeulen
84dd5fbb59 Merge the last PGO-green inbound changeset to m-c. 2012-09-24 20:47:13 -04:00
Kyle Huey
0d24c3121d Bug 793554: Devirtualize mozilla::css::Loader::[AddRef|Release] r=dbaron 2012-09-24 07:29:24 -07:00
Ryan VanderMeulen
d62232002d Merge the last PGO-green inbound changeset to m-c. 2012-09-23 21:26:39 -04:00
Olli Pettay
66ef33d79d Bug 793473, propagate mDontPrint to descendants, r=roc 2012-09-24 01:20:34 +03:00
Ryan VanderMeulen
819db48846 Merge m-c to inbound. 2012-09-23 15:26:30 -04:00
Zack Weinberg
61e26db869 Diagnostic instrumentation for bug 536603. 2012-09-23 11:18:10 -04:00
Jim Mathies
efdf204165 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Robert Longson
bbf734f7ef Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Cameron McCormack
d32604b3d0 Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr 2012-09-24 22:07:41 +10:00
Robert O'Callahan
fe5455c217 Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats 2012-09-24 16:38:16 +12:00
Robert O'Callahan
8a112bf9e6 Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats 2012-09-24 16:37:10 +12:00
Robert O'Callahan
ac17ee8de3 Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats 2012-09-24 16:30:33 +12:00
Robert O'Callahan
e1d57ecaf5 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
3ec611585f Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4efe1d3bfcb871b3474abb1a9029e5bafe175d9c
2012-09-24 16:38:16 +12:00
Robert O'Callahan
1adc46256e Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4e178c79f19f96eaa31711c63c117835b28bcc10
2012-09-24 16:37:10 +12:00
Robert O'Callahan
a9ec9035cd Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Matt Woodrow
73e57d8345 Bug 792314 - Build full display lists for nsPageFrame. r=roc 2012-09-20 11:26:33 +12:00
Matt Woodrow
944b66cc36 Bug 792314 - Make nsDisplayTransform support untransformed frames. r=roc 2012-09-20 11:14:07 +12:00
Matt Woodrow
65c75afdfb Bug 788044 - Apply the ContainerState offset to ImageLayers. r=roc 2012-09-24 14:56:39 +12:00
Phil Ringnalda
529f1dc146 Bug 782546 - make the todo_is() on linux32 a todo(false) since it's only consistent about being either true or false
--HG--
extra : rebase_source : 571e795503f90a4613ad448a6cb9e63dfff64126
2012-09-23 18:49:48 -07:00
Ryan VanderMeulen
dc52af1a16 Merge m-c to inbound. 2012-09-23 21:30:24 -04:00
Cameron McCormack
9a7b739569 Bug 790938 - Add a test for SVG-in-OpenType glyphs in a mask. r=eflores 2012-09-24 10:22:04 +10:00
Ehsan Akhgari
2f19f537bf Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
Matt Woodrow
ac91321e78 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Matt Woodrow
35030f54e2 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
addff1531c Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc 2012-09-25 08:29:14 +12:00
Cameron McCormack
d941f59602 Bug 791434 - Paint text shadows with the right alpha. r=roc 2012-09-18 08:24:02 +10:00
Matt Brubeck
24c6d5e17e Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Ray Cheung
800d34a6c9 Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Ehsan Akhgari
609f916ab7 Backout changeset 9f16bba541cc (bug 790499) becasuse of build bustage 2012-09-21 15:57:42 -04:00
Steven Lee
8b5c66d713 Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset, r=jlebar
--HG--
extra : rebase_source : ddd264047c861c3244dfdf43e695705ec675f066
2012-09-21 14:56:01 -04:00
Ehsan Akhgari
66eeeb5eb7 Merge mozilla-central into mozilla-inbound 2012-09-21 13:34:50 -04:00
Ehsan Akhgari
3dddb44c36 Bug 792302 - Add a more useful pseudo stack entry for flushing to FlushPendingNotifications; r=roc,BenWa 2012-09-20 19:19:48 -04:00
Olli Pettay
152a98509f Bug 790856, ensure bounds on the previous viewer, r=bz 2012-09-21 10:38:14 +03:00
Ms2ger
1fb64b56b6 Backout changeset d20023a4fda6 (bug 791434) for android R4 orange. 2012-09-20 13:56:49 +02:00
Ms2ger
93d99ce749 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
05d200bad7 Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Edwin Flores
2943b351c8 Bug 790072 - Fix crash when using -moz-objectFill property outside SVG glyphs r=roc 2012-09-19 17:03:25 +12:00
Cameron McCormack
3da514a5cf Bug 791434 - Paint text shadows with the right alpha. r=roc 2012-09-18 08:24:02 +10:00
Ehsan Akhgari
a17cac3016 Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Robert O'Callahan
13041e1a84 Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
227d5fd871 Bug 772726. Part 12: Mark test failure with Azure content drawing, due to apparent D2D drawing bug (bug 789402). r=bas 2012-09-08 00:43:35 +12:00
Robert O'Callahan
0f5bc3997c Bug 772726. Part 10: Reduce scale to avoid floating-point accuracy errors that cause small artifacts with D2D Azure content drawing. r=jwatt 2012-09-08 00:43:34 +12:00
Robert O'Callahan
e60846eff2 Bug 772726. Part 7: Avoid specifying "repeat" mode when rendering CSS gradients if we don't need it. r=padenot
D2D repeating gradients rasterize slightly differently to non-repeating gradients even when
the rendered area falls within a single tile, so a repeating gradient compared to a
non-repeating gradient (say one drawn in a canvas) can cause reftest failures.
2012-09-08 00:32:21 +12:00
Robert O'Callahan
ff8935ad31 Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas 2012-09-05 12:15:52 +12:00
Robert O'Callahan
dbaedfa862 Bug 772726. Part 5: Mark gradient tests as pass/fuzzy. r=bas
Avoiding unnecessary "repeat" mode makes some tests pass. On the other hand, with Azure content
drawing, some of the edges in radial gradients don't match up perfectly.
2012-09-08 00:43:34 +12:00
Karl Tomlinson
ee77291d1a b=777946 use SetScaleToSize image layers even for non-XP_WIN plugins r=BenWa
--HG--
extra : transplant_source : %A2%22M%A6%EF%05%12%C5%5E%D9%A9%5C%0B%99H%60%AD%11%2CK
2012-09-18 15:16:33 +12:00
L. David Baron
475d7bbcf4 Fix assertion failure causing orange. (Bug 774169) 2012-09-18 12:51:47 -07:00
Julian Viereck
d3cd6b36b2 Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Robert O'Callahan
c8bef43a8a Bug 468568. Part 0.8: Remove invalid assertion about matching containers. r=smaug
--HG--
extra : rebase_source : 6e9bb1fcf977dce8c3dc5fd807a20bfc06e625cb
2012-09-17 17:10:03 +12:00
Robert O'Callahan
2b4274a7a1 Bug 468568. Part 0.7: Fix nsPagePrintTimer inheritance. r=smaug
--HG--
extra : rebase_source : eaeac8451a30b698d8008bcd28a5c9e3d2cd745f
2012-09-17 17:07:32 +12:00
Robert O'Callahan
044d630715 Bug 468568. Part 0.6: Assert when ScheduleViewManagerFlush is called on a non-root. r=mattwoodrow
--HG--
extra : rebase_source : cf014da5cd7472fa036a5922c4ca9fff9aa93eac
2012-09-17 17:06:12 +12:00
L. David Baron
cf6c5ffdb1 Bug 774169, patch 4: Revert bug 719054 for prefixed -moz-transform but leave it for unprefixed transform. r=bzbarsky 2012-09-18 11:37:14 -07:00
L. David Baron
1359267ffc Bug 774169, patch 3: Treat -moz-transform as a shorthand rather than an alias so the parsing function can know whether it is parsing a prefixed transform. r=bzbarsky 2012-09-18 11:37:14 -07:00
L. David Baron
5a6fcd294a Bug 774169, patch 2: Add property_database.js entries for property aliases. r=bzbarsky
This adds entries for property aliases as though they are shorthands.
This fits with the CSS working group's recent resolution to describe
aliases as shorthands, recorded in
http://lists.w3.org/Archives/Public/www-style/2012Aug/0770.html .

The property_database.js entries themselves are copied from the
non-alias entries for the properties, with these changes:
 (1) The property name is changed to the prefixed form
 (2) The domProp entry is changed to the prefixed form
 (3) Adding alias_for entries for each property.
 (4) When type is CSS_TYPE_LONGHAND in the target of the alias, type for
     the alias is CSS_TYPE_SHORTHAND_AND_LONGHAND and a subproperties
     entry is added with the target of the alias.

There are also some indentation fixes to the copied entries in
property_database.js (made before they were copied, and thus affecting
the original as well).
2012-09-18 11:37:14 -07:00
L. David Baron
bf141c929e Bug 774169, patch 1: Make the property_database.js-based tests call getComputedStyle() for all properties that are expected to have longhand behavior. r=bzbarsky
This currently only affects the testing of overflow, but it will also
affect -moz-transform (and any other aliases implemented the same way)
after the later patches in this bug.

This special-cases text-decoration because text-decoration: inherit causes
the color to inherit in a way that we can't serialize the result (since
it's no longer "foreground").  (This isn't great; we might want to
consider fixing it somehow.)
2012-09-18 11:37:14 -07:00
L. David Baron
27ada1f07f Remove aPresContext parameter to nsStyleContext constructor and document parameters to constructor. (Bug 791416) r=bzbarsky 2012-09-18 11:37:13 -07:00
David Zbarsky
c41a42b108 Fix typo in comment, no bug, r=me 2012-09-18 14:01:03 -04:00
Robert O'Callahan
df9251aac1 Bug 777194. Part 10: Reenable test_transformed_scrolling_repaints_2 on all platforms, and test_transformed_scrolling_repaints on 64-bit Linux. 2012-09-14 15:49:24 +12:00
Robert O'Callahan
1d47c09d1a Bug 777194. Increase fuzz for failing MacOS 10.8 text-layout-01.svg. 2012-09-18 21:16:45 +12:00
Robert O'Callahan
5f6fb900a6 Bug 777194. Part 6: Testcase. r=jrmuizel 2012-08-17 11:40:11 +12:00
Robert O'Callahan
6fb1b72c6e Bug 777194. Part 5: When choosing a subpixel position to scroll to, align the new position with the position that was most recently used to rerender the scrolled layer(s). r=tnikkel
If we always align the new scroll position with the previous scroll position, we can accumulate error and
gradually drift out of alignment with the layer pixels until we exceed the tolerance and are forced to
rerender everything.
2012-08-17 11:40:10 +12:00
Robert O'Callahan
74380ec20c Bug 777194. Part 4: When a scrolled layer's visible region includes pixels that are outside the snapped clip rect, those pixels won't be valid after scrolling. r=mattwoodrow 2012-08-17 11:39:00 +12:00
Robert O'Callahan
64c9b766be Bug 777194. Part 8: Nudge transform matrix in ChooseScaleAndSetTransform to avoid math error. r=tnikkel 2012-08-25 16:41:46 +12:00
Ryan VanderMeulen
5cfafbf23a Backout c2b7be27e412 (bug 791644) due to mochitest orange. 2012-09-17 20:09:42 -04:00
Mats Palmgren
385207735d Bug 791601. r=roc 2012-09-18 01:05:05 +02:00
Mats Palmgren
7ff0d581c5 Bug 765621 - Drain the parent frame's overflow list before attempting to insert/append new child frames. r=bz 2012-09-18 01:05:05 +02:00
Matt Woodrow
e5d8da2359 Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Steve Workman
ac33fb67d7 Bug 782457: Add max offset and cues preloading support to nestegg; r=kinetik 2012-09-17 16:45:38 -04:00
Matt Brubeck
8f85d6a619 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Phil Ringnalda
c67631ce22 Bug 681138 - Disable test_reftests_with_caret.html's bug 106855-1.html and bug 106855-2.html on OS X 10.8, r=ehsan
--HG--
extra : rebase_source : a6ccff76eeb2173ad0e658958bc1d41c2d70d388
2012-09-15 10:35:19 -07:00
Matt Brubeck
6d927fa3a5 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Mark Capella
5a5ba0a45c Bug 785091 - Remove nsIEditorObserver, r=ehsan 2012-09-17 11:14:56 -04:00
Graeme McCutcheon
6e3081b400 Bug 766181 - Require Selection::AddItem's aOutIndex param. r=roc 2012-09-17 14:54:01 +01:00
Ed Morley
6a83e3de8d Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Peter Van der Beken
71b55b1f68 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Ms2ger
214123d03d Merge m-c to m-i. 2012-09-17 12:08:58 +02:00
Ms2ger
47a96e8525 Bug 788491 - Remove kSizeNotSet constants; r=roc 2012-09-17 10:37:20 +02:00
Matt Woodrow
ab9f5929bd Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc 2012-09-17 10:25:33 +12:00
Phil Ringnalda
34a36c45d3 Bug 788044 followup, mark 586683-1.html as fuzzy on 10.8 2012-09-16 10:16:02 -07:00
Matt Woodrow
891faaf4e5 Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc 2012-09-16 22:32:59 +12:00
Matt Woodrow
77745de1bf Bug 788044 - Make various functions take const parameters. r=roc 2012-09-13 12:32:53 +12:00
Robert Longson
ded52f5aa6 Bug 791427 - speed up smil/transform tests on Android. r=dholbert 2012-09-15 12:08:03 +01:00
Doug Sherk
6c4740a37a Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones 2012-09-14 21:16:32 -04:00
Markus Stange
21e524c8f8 Bug 788189. Account for the context menu offset in the stored position of a context menu popup so that we don't end up in an infinite loop continually adding the context menu offset. r=enndeakin 2012-09-14 16:17:08 -05:00
L. David Baron
83a028dd10 Make reftest harness print max difference and number of differing pixels on the TEST-UNEXPECTED-FAIL line so that it ends up in bugs. (Bug 789602) r=ted 2012-09-14 14:12:34 -07:00
L. David Baron
98ee92424c Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones 2012-09-14 14:12:34 -07:00
Makoto Kato
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Arnaud Sourioux
815396c1bb Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
Andrew Quartey
a925f34f59 Bug 786172 - Fire change event for file dropped on file select box r=mounir 2012-09-14 10:38:04 -04:00
Ryan VanderMeulen
e74ff0c918 Merge the last PGO-green inbound changeset to m-c. 2012-09-13 21:53:35 -04:00
Ben Turner
0d2700c567 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Phil Ringnalda
dd574015e1 Back out aee383cd56dc (bug 755943) for burning 2012-09-13 09:49:53 -07:00
Ben Turner
8c202f97de Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Adam Dane [:hobophobe]
f649a022db Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc 2012-09-12 21:53:28 -05:00