Robert O'Callahan
926420a445
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
66baa7fbda
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Mats Palmgren
5efcc4ab00
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
3c16b96179
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Matt Brubeck
0e175dfa7d
Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red
2012-09-17 11:11:30 -07:00
Phil Ringnalda
8946c36817
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
a50face047
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
Matt Woodrow
ad9a9edc59
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Robert O'Callahan
7c9b20f926
Bug 777194. Part 9: Don't do snapped image drawing if there's rotation in the CTM. r=tnikkel
2012-09-04 10:32:20 +12:00
Matt Woodrow
464976376b
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
d6a87a4ee6
Bug 788044 - Make various functions take const parameters. r=roc
2012-09-13 12:32:53 +12:00
Arnaud Sourioux
a84a1b22ad
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Adam Dane [:hobophobe]
0c4755bc0c
Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc
2012-09-12 21:53:28 -05:00
Daniel Holbert
5d107bb76c
Bug 791037: s/IsInlineOutside/IsInlineOutsideStyle/ in #ifdef MOZ_FLEXBOX code to fix compile error when flexbox is defined. r=dbaron (DONTBUILD because this is in code that's NPOTB for now)
2012-09-13 12:55:27 -07:00
Chris Lord
64ae8fd282
Bug 786502 - Test that scrolling a fixed background doesn't cause painting. r=roc
...
Add a test that makes sure that scrolling a page with a fixed background
doesn't cause that background to repaint.
--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/base/tests/chrome/blue-32x32.png
2012-09-13 11:35:16 +01:00
Chris Lord
d4f38f7c0a
Bug 786502 - Fix background-attachment:fixed scrolling with page. r=roc
...
Fix the size check in nsDisplayBackground::ShouldFixToViewport so that async
scrolling of fixed backgrounds works correctly when zoomed in on Firefox
Mobile. Also make IsFixedItem in nsDisplayList public and use it in
FrameLayerBuilder, so that fixed items are determined and treated consistently.
2012-09-13 11:34:34 +01:00
Chris Lord
0f17d35c1d
Bug 786502 - Separate background layers into separate items. r=roc
...
Separate out background layers into separate display-list items, so that
backgrounds that are a mix of fixed and non-fixed layers will be treated
individually.
2012-09-13 11:34:23 +01:00
L. David Baron
ac90d018cc
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
2012-09-11 21:05:03 -07:00
Matt Woodrow
774b0a92d9
Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
335db2b413
Bug 789396 - Don't overwrite the existing mContainerLayerGeneration value on ThebesLayerItemsEntrys. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
89e3cced95
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12:00
Wes Johnston
f8acc67e7b
Bug 790164 - Keep contentPresShell alive while sending touch events. r=smaug
2012-09-11 13:28:06 -07:00
Bobby Holley
abb56bcab8
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-11 01:05:10 -07:00
Phil Ringnalda
6881ce7451
Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android
2012-09-10 20:57:31 -07:00
Phil Ringnalda
64e3b68078
Bug 705570 - skip every crashtest with an <applet> in it on OS X 10.7 and 10.8, since they leak if Java isn't installed
2012-09-10 19:50:18 -07:00
Matt Brubeck
7fee52908e
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Jim Mathies
bf296876b6
Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc
2012-09-10 16:02:23 -05:00
Robert Longson
d6bf23f66c
Bug 783995 - enable animation of view element attributes. r=dholbert
2012-09-09 12:44:03 +01:00
Ryan VanderMeulen
92376215fb
Backout bug 788914 and bug 789494 due to intermittent jsreftest crashes.
2012-09-07 19:40:57 -04:00
L. David Baron
77cd0aa639
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky
2012-09-07 15:57:06 -07:00
Bobby Holley
b6e6ea060f
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-07 11:28:56 -07:00
L. David Baron
81693a03dd
Remove ForceCompare methods from style structs. (Bug 779968, patch 7) r=bzbarsky
2012-09-07 10:13:36 -07:00
L. David Baron
9ae6c3259d
Make nsStyleContext::CalcStyleDifference force comparison based on the parent's hint instead of the style struct ForceCompare methods. (Bug 779968, patch 6, the main patch) r=bzbarsky
...
This propagates the non-inherited (in the nsChangeHint sense, not the
CSS inheritance sense) parts of the parent's change hint through
ReResolveStyleContext so that we can use them in
nsStyleContext::CalcDifference. In the cases where we don't know the
parent's hint, we assume the worst, that all the non-inherited hints
were present in the parent's style change.
This should be a significant performance improvement handling simple
style changes (such as a style attribute change setting a non-inherited
property) on elements with large numbers of descendants that have data
in ForceCompare structs that can't be stored in the rule tree (for
example, margins or widths in em or rem units).
2012-09-07 10:13:36 -07:00
L. David Baron
2b664f79ba
Refix bug 731521 in the new setup for forcing comparison in nsStyleContext::CalcDifference, since we can no longer rely on nsStyleBorder::ForceCompare. (Bug 779968, patch 5) r=bzbarsky
2012-09-07 10:13:36 -07:00
L. David Baron
5b62990545
Abstract nsChangeHint_NonInherited_Hints into a function so that it accurately reports the reflow cases to all callers. (Bug 779968, patch 4) r=bzbarsky
...
This is in preparation for adding an additional caller.
nsChangeHint_NonInherited_Hints will be reintroduced in patch 6, but as
the maximum set of such hints rather than the minimal set, and with the
less confusing name nsChangeHint_Hints_NotHandledForDescendants.
2012-09-07 10:13:36 -07:00
Ed Morley
f66e09e47d
Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html
2012-09-07 09:15:34 +01:00
Bobby Holley
9cc9440049
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-06 22:55:18 -07:00
Cameron McCormack
0306878c88
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Boris Zbarsky
d91716f0ab
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
L. David Baron
6521fcaca1
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
L. David Baron
155fbd91e4
Remove the easy-to-remove uses of enablePrivilege in layout/base/tests/. (Bug 788603) r=roc
2012-09-05 22:43:21 -07:00
Edwin Flores
3c306b446c
Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:47 +12:00
Edwin Flores
f5a2675bcf
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
4e81980066
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
251aabceb4
Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron
2012-09-06 16:58:44 +12:00
Nicholas Cameron
7be949957a
Bug 786817. Initialise ThebesDisplayItemLayerUserData::mMaskClipCount. r=roc
2012-09-06 16:07:53 +12:00
Scott Johnson
3ea152f05b
Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron]
2012-09-05 16:39:34 -05:00
Daniel Holbert
308b52b954
Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron
2012-09-05 14:13:37 -07:00
Daniel Holbert
bf35cd8c0f
Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron
2012-09-05 14:13:37 -07:00
L. David Baron
5a826b49fb
Convert bidi_numeral_test.js from CR-LF to LF line endings. No bug.
2012-09-05 13:31:01 -07:00
Chris Jones
bfcb73a0c2
Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc
2012-09-05 09:23:45 -07:00
Robert O'Callahan
33cd6a744c
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
...
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
03f9163b45
Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
...
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Daniel Holbert
c62fdc18d3
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
bb17bc6aff
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Brendan Dahl
4478101696
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Simon Montagu
fba947c973
Don't forget to empty the buffer after ResolveParagraph. Bug 788086, r=roc
2012-09-04 00:46:43 -07:00
Nicholas Cameron
210b488f66
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-04 13:02:56 +12:00
Nicholas Cameron
3fdbcff687
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-04 13:02:56 +12:00
Nicholas Cameron
e78f249443
Back out bug 769021, bug 786817
2012-09-03 22:47:51 +12:00
Nicholas Cameron
0d44d4a95d
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-03 22:35:33 +12:00
Nicholas Cameron
90e033f0ae
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-03 22:35:33 +12:00
Ed Morley
eaff9ae281
Backout 03cb77f8d75d (bug 769021), 04fd792509d6 (bug 786817) for burning the tree
2012-09-03 09:20:05 +01:00
Nicholas Cameron
b56388c6aa
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-03 18:58:07 +12:00
Nicholas Cameron
219d6ac104
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-03 18:58:07 +12:00
Robert O'Callahan
1b7000f104
Bug 780847. Built-in support for mouse/touch events targeting nodes within a certain radius via heuristics. r=mats,smaug
...
--HG--
extra : rebase_source : 13a350bb6c993e5a23e54657cbe9f22c287036ad
2012-08-20 12:02:42 +12:00
Robert O'Callahan
93553ee043
Bug 780847. Fix nsLayoutUtils::IsProperAncestorFrame(CrossDoc) to handle case where aAncestorFrame == aCommonAncestor == aFrame->GetParent(). r=mats
...
--HG--
extra : rebase_source : 9f8d01c7049a701ac5bcf633ee605443b81aec35
2012-08-20 10:25:49 +12:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
David Zbarsky
6e58310da8
Bug 780692 Part 2.5: Rename GetRootFrameThroughViews to GetNearestFrameContainingPresShell. r=tn
2012-08-30 17:19:26 -04:00
David Zbarsky
4485a7c33f
Bug 780692 Part 2: Flush layout when handling touch events r=smaug
2012-08-30 14:41:09 -04:00
Chris Lord
6f2be640b7
Bug 786672 - Use the scrolled frame for nsDisplayScrollLayer when finding the active scrolled root. r=roc
...
The underlying frame of an nsDisplayScrollLayer can change and end up returning
different values when finding the active scrolled root. Instead of relying on
display-item ordering/merging, get the scrolled frame from the item (which was
already storing it).
2012-08-30 08:31:16 +01:00
L. David Baron
6fc05d0321
Print which bits have errors to try to distinguish overwriting from hardware problems. (Bug 785737) r=roc
2012-08-29 18:27:01 -07:00
Ehsan Akhgari
dae032a5cb
Bug 579517 follow-up: Remove NSPR types that crept in
...
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Ehsan Akhgari
0c5fa1f0c9
Bug 782062 - Do not attempt to move frames with views in their subtree without doing a reflow to prevent the view position from getting out of sync; r=roc
...
--HG--
extra : rebase_source : 2e4ea7d139dc953a4c3d525b15e5753fb585e057
2012-08-29 09:46:09 -04:00
Robert O'Callahan
359c775087
Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats
2012-08-29 23:21:40 +12:00
Chris Lord
8751a59609
Bug 785333 - Make sure layers are only associated with a single frame. r=roc
...
Use Layer user-data to ensure that a Layer doesn't end up being found multiple
times for different frames during construction.
2012-08-29 11:53:34 +01:00
Chris Lord
be2d43f5f8
Bug 785333 - Keep track of merged frames with all display items. r=roc
...
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-29 11:53:27 +01:00
Chris Lord
1c5321c712
Bug 785333 - Store container layers against merged frames. r=roc
...
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.
This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-29 11:53:20 +01:00
Chris Lord
1ceab1b264
Bug 785333 - Don't rely on layer ordering in ContainerState::Finish. r=roc
...
Rather than relying on a particular ordering of layers in
ContainerState::Finish, use ContainerLayer::Reposition to more reliably remove
old, unused layers.
2012-08-29 11:53:06 +01:00
Boris Zbarsky
ba7b968a58
Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron
2012-08-28 13:10:08 -04:00
Ryan VanderMeulen
efe470216a
Merge m-c to inbound.
2012-08-27 22:54:14 -04:00
Gavin Sharp
4a0a74bd3f
Back out bug 785333 (revisions 79345542f853 and a1756976e61d) to fix crasher bug 785626
2012-08-27 16:41:19 -07:00
Philipp von Weitershausen
d158b5747c
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Paul Adenot
236a18cd38
Bug 761393 - Add telemetry probes to guess the retention time. r=taras
2012-08-26 21:12:36 -07:00
Paul Adenot
965ed92866
Bug 761393 - Cache the gfxPatterns using an nsExpirationTracker and an hashtable. r=dbaron
2012-08-26 21:09:46 -07:00
David Zbarsky
171fe60ac8
Fix 2 logging calls I added today to also log the element and it's id, no bug, r=me
2012-08-26 00:14:31 -04:00
David Zbarsky
b20ba33014
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04:00
David Zbarsky
18258768e4
Bug 785648 - Improve OMTA logging r=cjones
2012-08-25 21:27:28 -04:00
David Zbarsky
0ce914d650
[Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug
2012-08-25 00:09:48 -04:00
Benoit Girard
2a77bce07f
Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
...
--HG--
extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
2012-08-23 22:07:21 -04:00
Chris Lord
f1d99acd96
Bug 785333 - Keep track of merged frames with all display items. r=roc
...
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-24 16:17:22 +01:00
Chris Lord
8646631b2f
Bug 785333 - Store container layers against merged frames. r=roc
...
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.
This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-24 16:17:22 +01:00
Chris Lord
0e353016e5
Bug 781516 - Remove DisplayItemDataEntry.mIsMergedFrame. r=roc
...
This is unnecessary as it just duplicates the functionality of
mIsSharingContainerLayer.
2012-08-24 11:59:37 +01:00
Ehsan Akhgari
991a3567bb
Bug 579517 follow-up: Remove NSPR types that crept in
2012-08-27 12:28:11 -04:00
Chris Lord
405f514d29
Bug 771154 - Invalidate only the frame rect when new frames come into view. r=roc
...
Instead of forcing a full-layer invalidation when new frames appear, invalidate
only the bounds of the frame. Invalidating untrusted geometry still causes a
full-layer invalidation.
2012-08-23 12:14:47 +01:00
Chris Lord
1ed92dbcdb
Bug 781516 - Fix invalidation caused by unprocessed merged frames. r=roc
...
As clip items aren't processed, they have no associated layer entries. This is
a problem when a clip item's underlying frame is the same as one that gets
merged into a container layer, as display-item data will be created, but no
layer entry will be added. This will cause it to be removed on the next
layer-build, and cause a full invalidation.
Fix this by adding an 'mIsMergedFrame' entry to DisplayItemDataEntry and setting
it on all merged frames in BuildContainerLayerFor. This property stops the
entry from being removed when it gets updated.
2012-08-23 09:30:53 +01:00
David Zbarsky
e992387408
Bug 784846 - The ShouldPrerender check for async animations is wrong r=mattwoodrow
2012-08-23 02:05:27 -04:00
Ehsan Akhgari
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
242fa304fe
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
Doug Sherk
abb9aad31c
Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones
2012-08-21 21:37:06 -07:00
David Zbarsky
05b13cba8d
Bug 784239 - Perform async animations even when not all properties can be asyncified r=roc
2012-08-21 21:48:47 -04:00
Ehsan Akhgari
bf55f3f86b
Bug 688575 - Disable layout/base/tests/bug482484.html on Windows because of focus issues which cause it to fail intermittently
2012-08-21 15:05:25 -04:00
Ehsan Akhgari
048a457788
Bug 689435 - Disable layout/base/tests/bug644428-1.html on Windows because of focus issues which cause it to fail intermittently
...
--HG--
extra : rebase_source : bac1343efa68c1833ce517bb7b63a61406ace14e
2012-08-21 14:01:21 -04:00
David Zbarsky
8ec03cd866
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
David Zbarsky
3154e1b535
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Kyle Huey
342d6878b6
Bug 783379: Remove unnecessary (wrong) optimization of image decoding notifications. r=roc
...
--HG--
extra : rebase_source : d485d0f5bbe35dc969712ca50654c8671b033c80
2012-08-20 17:14:04 -07:00
Ehsan Akhgari
845651448b
Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
...
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
15b5fb7346
Bug 776401 Part 2: Add animation to the layer and then add segments directly to it r=roc
2012-08-20 09:35:42 -04:00
David Zbarsky
9adfa01a55
Bug 776401 Part 1: Avoid copying animation segments when creating animations r=roc
2012-08-20 09:35:42 -04:00
David Zbarsky
7589db83b4
Bug 783835 - Compositor needs to know the css property being animated r=roc
2012-08-20 09:35:41 -04:00
Matt Woodrow
cd52b25d80
Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc
2012-08-20 22:00:49 +12:00
Matt Woodrow
7cf26992d4
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
Nicolas Silva
75542595f3
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Charly Molter
0ca4358d6c
Bug 776265 - changing the way ComputeHeightValue works to make it work just
...
like ComputeWidthValue already does. this fixes {min,max}-height + adding
reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Chris Pearce
d704c5b5a0
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Masayuki Nakano
10a635820a
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Robert O'Callahan
ae8069738e
Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
...
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
2012-08-10 23:10:12 +12:00
Neil Deakin
db533c012d
Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug
2012-08-15 14:52:40 -04:00
Neil Deakin
fb4d59f2de
Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders
2012-08-15 14:52:37 -04:00
Neil Deakin
2ed511feda
Bug 743975 - move theme and window size done events to direct calls, r=smaug
2012-08-15 14:52:35 -04:00
Ed Morley
83e4908d83
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Kyle Huey
0cc1845191
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
c95d073d8c
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Kyle Huey
2e07e6f8c2
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Chris Pearce
c0a35c0950
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Simon Montagu
ea7a4c97c7
Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc
2012-08-13 20:51:36 -07:00
Chris Lord
906a062c5f
Bug 777260 - Fix invalidations on transform items in container layers. r=roc
...
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.
Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
3266d5fafb
Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
...
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
6c70546f8f
Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
24a276180b
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Scott Johnson
85bca5a2ff
Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron]
2012-08-11 13:33:36 -05:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Neil Deakin
953592e2fe
Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin
2012-08-13 15:05:34 -04:00
Matt Woodrow
e9e1b28a99
Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc
2012-08-13 22:11:40 +12:00
Matt Woodrow
d1983dab73
Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc
2012-08-13 22:11:33 +12:00
Matt Woodrow
2ebb996f8c
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Ed Morley
7e6bb0b90b
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
295f1c1b81
Backing out f89374c446c2 for build bustage (bug 691591)
2012-08-10 23:55:51 +12:00
Robert O'Callahan
72c3ab6e67
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
80a3eb3d06
Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
...
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
--HG--
extra : rebase_source : f967398e3b327dff8fcfbd2fc95f2e4eae8ae9d7
2012-08-10 23:10:12 +12:00
Chris Lord
b2f8ecf01c
Bug 779269 - Implement a TryMerge method for nsDisplayFixedPosition. r=roc
...
Allow nsDisplayFixedPosition items that share the same fixed-pos frame to be
merged. This avoids a bug where the Google PDF viewer document image gets
re-rendered offset on the initial frame of a scroll when layer acceleration is
enabled.
2012-08-10 09:36:33 +01:00
Robert O'Callahan
d2d218e577
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ed Morley
b5f4776008
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
374d1023c2
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00