Scott Johnson
f9e3245129
Bug 802311: Make max line box width adjustment API compute right edge of line boxes correctly to fix reflow-on-zoom issues. [r=dbaron]
2012-10-25 16:38:54 -05:00
Ryan VanderMeulen
0a11a998a5
Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes.
2012-10-25 07:53:36 -04:00
Robert O'Callahan
c83b18cd3f
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-25 00:35:29 +13:00
Mats Palmgren
9b604ab906
Bug 804641 - Work around Android armv6 compiler bug (again). r=roc
2012-10-24 01:34:54 +02:00
Robert O'Callahan
e62533e7a7
Bug 802457. Ensure that positioned children of intrinsic-height viewports are reflowed with the correct container height. r=mats
...
--HG--
extra : rebase_source : 389b5916de9b7a7bd4232f2c541ae0db7500ba2e
2012-10-23 14:48:12 +13:00
Robert O'Callahan
4f8d6f3962
Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal
2012-10-17 16:13:24 +13:00
Robert O'Callahan
7027f42f5d
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
...
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Robert O'Callahan
1584d41fa2
Bug 801763. Don't try to update geometry for plugin widgets with no parent. r=mats
...
--HG--
extra : rebase_source : d7d0f7c5536adc2cd0ad77c2b3169410f237d206
2012-10-17 17:51:57 +13:00
Timothy Nikkel
31bcc858c2
Bug 642257. If there are no plugins in the display list skip a potentially expensive compute visibility pass with accurate visible regions to determine plugin geometry because it is not needed. r=roc
...
If there is a plugin in a background tab and a complex scene in a foreground tab the accurate visible regions can cause us to bog down, for no good reason.
2012-10-18 00:34:58 -05:00
Matt Woodrow
dd83f2b21f
Bug 801784 - Only add invalidate children state flags up to the nearest display root. r=roc
2012-10-17 21:00:00 +13:00
Daniel Holbert
695056ee8a
Bug 799207: Reduce severity of assertion that checks baseline of flex item against sentinel value. r=dbaron
2012-10-16 19:04:33 -07:00
Daniel Holbert
cc6c460ffb
Bug 798666: Constrain cross size of auto-sized flex containers to be within min/max range. r=dbaron
2012-10-16 19:04:30 -07:00
Daniel Holbert
4695d22cd2
Bug 798235: For flex items in a vertical flex container, treat enumerated values for flex-basis as "auto". r=dbaron
2012-10-16 19:04:29 -07:00
Daniel Holbert
2fb62bd547
Bug 798020: Reduce severity of fatal assert about unconstrained-width flexbox, since gigantic widths in web content can reach our "unconstrained" sentinel value, and it's not actually dangerous. r=dbaron
2012-10-16 19:04:23 -07:00
Steven Michaud
5a116d7578
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Daniel Holbert
651180579f
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
David Zbarsky
e584460f90
Backout bug 779684 for topcrash
2012-10-15 14:35:50 -04:00
Trevor Saunders
31db47e358
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Josh Aas
c23d372216
Bug 598397: Remove support for Carbon NPAPI. r=smichaud
2012-10-15 08:38:34 -04: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
David Zbarsky
b1c274a0b4
Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc
2012-10-14 21:28:23 -04:00
David Zbarsky
9ca45780a1
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-14 16:56:03 -04:00
Ehsan Akhgari
92678e0cd1
Remove nsSelectionIterator::mType because it is unused, no bug
2012-10-13 17:37:09 -04: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
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
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
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
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
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
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04: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
Ehsan Akhgari
1b5ab09074
Remove some unused variables, no bug
2012-10-11 09:19:35 -04:00
Matt Woodrow
02c9d9c3ae
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
David Zbarsky
d70685476e
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Daniel Holbert
6275701898
Bug 799199: Use IndentBy() instead of looped "fputs" in nsHTMLFramesetBlankFrame's and nsLineBox's List() methods. r=bz
2012-10-08 13:06:04 -07:00
Daniel Holbert
234c143d3a
Bug 799196: Update signature for nsHTMLFramesetBlankFrame::List(). r=bz
2012-10-08 12:58:54 -07: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
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
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
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
Nathan Froyd
5375444878
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04: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
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
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
Ryan VanderMeulen
c7df9c8a33
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04: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
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
Steven Michaud
8650a61e2a
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Matt Woodrow
adcd47a275
Bug 795796 - Fix empty transactions. r=cjones
2012-10-01 17:29:02 +13:00
Kyle Huey
1ccfbe810b
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
a103215fb8
Merge m-i inm-c.
2012-09-30 13:19:15 +01:00
Daniel Holbert
6649dbc51c
Bug 666041 patch 8: Add special handling for "min-width: auto" value on flex items. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
9edb0fa952
Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
959680664c
Bug 666041 patch 6.5: Add flag to nsHTMLReflowState & ComputeSize for measuring auto height. r=dbaron
2012-09-29 23:38:46 -07:00
Matt Woodrow
3a3192fe2c
Bug 795611 - Call virtual InvalidateFrame from InvalidateFrameSubtree since nsTable*Frame overloads it. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
ca71a58ed9
Bug 795576 - Correctly add the NS_FRAME_UPDATE_LAYER_TREE when invalidating inside a popup. r=cjones
2012-09-30 19:20:24 +13:00
Scott Johnson
fea453f734
Bug 795313: Modify order of conditionals in UpdateFontInflationDataWidthFor() for performance enhancements. [r=dbaron]
2012-09-28 14:38:33 -05:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ed Morley
1c98ca1665
Bug 752786 - Disable one part of test_bug469613.xul on OS X 10.8 for too many intermittent failures
2012-09-28 15:45:29 +01:00
Robert O'Callahan
89111a8568
Bug 539356. Make PruneDisplayListForExtraPage prune print preview properly. r=mattwoodrow
...
PruneDisplayListForExtraPage wasn't pruning properly in print preview. It
was pruning to the RootReferenceFrame, which is per-page when printing normally,
but is the ancestor of all pages in print preview, so it wasn't doing anything in
print preview.
So, pass in the nsPageFrame we want to prune to. This prevents bogus
entirely-clipped-out display items appearing in the display list for the page.
2012-09-28 23:19:39 +12:00
Matt Woodrow
5b541f16bf
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
f4e72f1dd0
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
b393ee686c
Bug 539356 - Avoid some causes of unnecessary painting. r=roc
2012-09-26 11:59:56 +12:00
Matt Woodrow
82f400d981
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
de918ca279
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
967a15e46e
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
8243f6c21c
Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
2012-08-29 17:48:44 +12:00
Matt Woodrow
dcab94e36a
Bug 769922 - Implement nsDisplayAltFeedback, since it can draw outside of the frame's overflow rect. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
a3f71d5ce2
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
722d9c982d
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
026c09c663
Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
e195484e72
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
e79b288e75
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
12901c44ef
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
e6baaac399
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
...
* * *
imported patch move-by-correctly
2012-08-29 17:47:15 +12:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
cc33f42c8a
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
2012-08-29 17:39:01 +12:00
Matt Woodrow
c900597192
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
2012-08-29 17:39:01 +12:00
Leonard Camacho
15def26c27
Bug 524025 - Remove LL_* constants in nsLineLayout with separate booleans with field widths. r=dbaron
2012-09-27 21:26:40 -04:30
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Robert O'Callahan
1ac633331c
Bug 539356. Make PruneDisplayListForExtraPage prune print preview properly. r=mattwoodrow
...
PruneDisplayListForExtraPage wasn't pruning properly in print preview. It
was pruning to the RootReferenceFrame, which is per-page when printing normally,
but is the ancestor of all pages in print preview, so it wasn't doing anything in
print preview.
So, pass in the nsPageFrame we want to prune to. This prevents bogus
entirely-clipped-out display items appearing in the display list for the page.
2012-09-28 01:07:40 +12:00
Matt Woodrow
2d16b9b765
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
6daf7f245c
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
3dbcaaf211
Bug 539356 - Avoid some causes of unnecessary painting. r=roc
2012-09-26 11:59:56 +12:00
Matt Woodrow
11dba48580
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
9a9168f55a
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
5eaaebce0e
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
685876852c
Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
2012-08-29 17:48:44 +12:00
Matt Woodrow
2b22c734f5
Bug 769922 - Implement nsDisplayAltFeedback, since it can draw outside of the frame's overflow rect. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
7b249bb8e5
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
4efdb99b18
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
65b521fe41
Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
1534837d0c
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
6bcc0bc124
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
David Zbarsky
a1f09eb38a
Bug 790508: bustage fix r=me
2012-09-26 17:55:38 -04:00
David Zbarsky
ea68aaa45e
Bug 790508: Make sure we only create nsDisplayOpacity and nsDisplayTransform for the primary frame when content has async animations r=roc
2012-09-26 17:35:29 -04:00
David Zbarsky
715930c55a
Fix virtual dtor warning, no bug, blanket r=bz
2012-09-26 14:30:34 -04:00
Alexandre Dumont
01f3a22f41
Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
...
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Phil Ringnalda
16e0947c04
Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
...
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Matt Woodrow
d69121ebb6
Bug 792314 - Build full display lists for nsSimplePageSequence. r=roc
2012-09-20 11:26:35 +12:00
Matt Woodrow
aed7d4ce0a
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
db4e12dd09
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Bobby Holley
5af5a73d3d
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
Robert O'Callahan
f374e17a88
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
6b5d54dbcc
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
6d1e576d39
Back out bug 791616 due to test failure.
2012-09-24 21:55:16 +12:00
Robert O'Callahan
23238905de
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
dd556aca29
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
a6901aa486
Bug 792314 - Build full display lists for nsPageFrame. r=roc
2012-09-20 11:26:33 +12:00
Cameron McCormack
2923ff5556
Bug 791434 - Paint text shadows with the right alpha. r=roc
2012-09-18 08:24:02 +10:00
Chris Lord
2e05174430
Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
...
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 15:36:35 +01:00
Chris Lord
47481277ba
Backout bug 788202 for build failures.
2012-09-19 14:05:26 +01:00
Chris Lord
2e7ad14aa1
Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
...
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 12:39:53 +01:00
Karl Tomlinson
f2462795c9
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
Robert O'Callahan
cd1dc8d8c9
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
f9cec72758
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
Ryan VanderMeulen
6b5288025b
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Mats Palmgren
5d51d51e99
Bug 791601. r=roc
2012-09-18 01:05:05 +02:00
Mats Palmgren
7d2088c451
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
d1a58e8e6d
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
e98cd6bf45
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Graeme McCutcheon
fe52ce1abe
Bug 766181 - Require Selection::AddItem's aOutIndex param. r=roc
2012-09-17 14:54:01 +01:00
Ed Morley
d8eec8e75e
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
d21c8a19b6
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
Matt Woodrow
8684475c74
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Karl Tomlinson
3850ee1485
b=777946 use SetScaleToSize image layers even for non-XP_WIN plugins r=BenWa
...
--HG--
extra : transplant_source : %A8%2C%E3%0C%0A%DC%E7%3C%7E%94%D4%9A%7C%84m%1E%D1%AE%1Df
2012-09-17 17:20:10 +12:00
Robert O'Callahan
32b1f7bfc5
Bug 788877. Don't create nsDisplayFixedPosition items when the root scroll frame is inactive. r=Cwiiis
2012-09-14 12:02:01 +12:00
Robert O'Callahan
4eabb0291f
Bug 784410. Fix mousewheel scrolling to avoid scrolling frames that can't be scrolled by at least one device pixel. r=mats
2012-09-13 16:13:19 +12:00
Matt Woodrow
5e4a9f531a
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
cfe2575635
Bug 788044 - Make various functions take const parameters. r=roc
2012-09-13 12:32:53 +12:00
Makoto Kato
909aba1eb8
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Arnaud Sourioux
b20a9a4654
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Chris Lord
d52c9aa58b
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
bb16d413e7
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
David Zbarsky
d103f0c491
Bug 789960 - Fix crash in nsLayoutUtils::HasAnimationsForCompositor r=roc
2012-09-10 23:13:35 -04:00
Jim Mathies
0eb28a561b
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
6f3a540d19
Bug 783995 - enable animation of view element attributes. r=dholbert
2012-09-09 12:44:03 +01:00
Boris Zbarsky
3de0423419
Bug 601912. Implement <ol reversed>. r=dholbert
2012-09-07 22:30:24 -04:00
Mats Palmgren
5e3cd8af49
Bug 765409 - Make sure we reparent all child frames on our principal list (when lazily setting the parent), and no other frames. r=bz
2012-09-08 02:33:58 +02:00
Yu-Sian (Thomasy) Liu
3ca4f03c02
Bug 688382 - Add some logic for text-transform checking to avoid merging the first-letter text-frame with the rest. r=roc
2012-09-07 16:23:01 -04:00
Boris Zbarsky
0afd621df9
Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
...
--HG--
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html
rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html
rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
2012-09-07 10:51:34 -04:00
Cameron McCormack
09aeb61301
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
Ehsan Akhgari
51966b80a6
Bug 579517 follow-up: Remove NSPR types that crept in
...
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ryan VanderMeulen
559bc624f6
Merge m-c to inbound.
2012-09-05 17:52:28 -04:00
Scott Johnson
32391cde9d
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
bdahl@mozilla.com
d78b5c5a7f
Bug 788639 - crash in GetPrintCanvasElementsInFrame @ mozilla::layout::FrameChildListIterator::FrameChildListIterator, r=smaug
2012-09-05 12:02:27 -07:00
Daniel Holbert
7f5f15b6bd
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
89dfb7e636
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
Robert O'Callahan
b3739ebb38
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
9cdb4ee0d8
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
Brendan Dahl
f36e3d9c21
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Boris Zbarsky
4596d4afa2
Bug 787131. Move management of primary content state stuff from the nsSubDocumentFrame into the nsFrameLoader, so it works on display:none elements. r=jlebar
2012-09-04 23:00:26 -04:00
Daniel Holbert
16ff96590f
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
b0926860ac
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
Mats Palmgren
c099b899df
Bug 785555. r=roc
2012-09-04 02:00:38 +02:00
Aryeh Gregor
5cb11391e0
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Josh Matthews
1c909a96b0
Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe
2012-06-26 00:20:12 -04:00
Ehsan Akhgari
3c78f81f54
Bug 785720 - Move the MathML token frame leading/trailing whitespace trimming logic to nsTextFrame; r=roc
2012-08-30 21:32:02 -04:00
Masayuki Nakano
f0eaecb549
Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug
2012-08-30 10:05:16 +09:00
Robert O'Callahan
ac552f7834
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
Jonathan Watt
d64aea9f27
Bug 786387 - Add comments to document the subtleties of nsFrame::Reflow and better document the main dirty frame bits. r=bz.
2012-08-29 09:01:09 +01:00
Daniel Holbert
ca5399b74e
Bug 786031: Add parens around "&&" within "||" in nsFrame.cpp to fix GCC -Wparentheses build warnings. r=heycam
2012-08-28 11:14:52 -07:00
Mats Palmgren
e6fabaffe9
Bug 785324 - Return a FrameTarget with 'empty' flag set true when clicking on an empty block (also in the non-editable case). r=roc
2012-08-28 03:55:30 +02:00
Josh Matthews
9992fafc63
Back out bug 722861.
2012-08-27 15:31:29 -04:00
Josh Matthews
081b3a0cda
Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe
2012-06-26 00:20:12 -04:00
Chris Pearce
76f2fb0490
Bug 781279 - Forget update plugin geometry frame when presentation detaches. r=roc
2012-08-24 23:12:21 +12:00
Jonathan Kew
7059ab1905
bug 784837 - call SetPrimaryFrame earlier during nsSubDocumentFrame::Init. r=roc
2012-08-24 10:16:15 +01:00
Bobby Holley
d806bf9ec7
Bug 784560 - Fix more tests. r=mccr8
2012-08-23 11:45:28 -07:00
Cameron McCormack
e623346898
Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc
2012-08-23 11:24:19 +10:00
Ehsan Akhgari
8c296bbcd4
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
Ehsan Akhgari
61746bbaf1
Bug 768503 follow-up: fix the comment to match what the code does now
...
DONTBUILD
2012-08-21 17:09:10 -04:00
Chris Pearce
20bd89e05b
Bug 783824 - Don't stash the presentation (discard it if it was stashed) when subdoc frames are destroyed if the presentation is being destroyed. r=roc
2012-08-21 17:07:03 +12:00
David Zbarsky
b27894f902
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
L. David Baron
b7240dcf1a
Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame
2012-08-20 19:23:32 -07:00
Nicolas Silva
54dd2bf57f
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Masayuki Nakano
278ebaf46b
Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-20 01:46:21 +09:00
Charly Molter
4bba69d18c
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
Ed Morley
96e1689d08
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Daniel Holbert
d63af71024
Bug 783700: Switch nsColumnSetFrame::BuildDisplayList() to use nsFrameList::Enumerator for walking its child frames. r=dbaron
2012-08-17 18:12:01 -07:00
Daniel Holbert
4444c8b8b0
Bug 781869: Remove redundant "NS_FRAME_NO_MOVE_VIEW" bit in a few places where it's already implied from NS_FRAME_NO_MOVE_FRAME. r=dbaron
2012-08-17 12:04:06 -07:00
Ehsan Akhgari
8fbfc92703
Bug 768503: Only disable selection on non-editable content. r=roc
2012-08-16 11:51:46 -04:00
Chris Pearce
2d417c57f9
Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc
2012-08-17 16:25:19 +12:00
Chris Pearce
23bfa1c21b
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Chris Pearce
898cdaeb1f
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
Neil Deakin
b9bd1357f1
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
193db1ca6c
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Ed Morley
57fe127515
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Ed Morley
a15c1334fe
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Ed Morley
f047719a82
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-15 16:17:53 +01:00
Kyle Huey
433d46efea
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
9bf3c06eeb
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Kyle Huey
13ed261c0c
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Chris Pearce
c88c415a00
Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc
2012-08-14 17:39:11 +12:00
Chris Pearce
a74d3d3a5d
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Chris Pearce
9759154f6c
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
Timothy Nikkel
42175961f3
Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc
2012-08-13 21:59:44 -05:00
Chris Lord
07153819b1
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
Ryan VanderMeulen
212cdce23a
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
3ca9a6e26d
Bug 719320 part.11 Fix new test failures r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
649734f593
Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug
2012-08-12 10:42:36 +09:00
Aryeh Gregor
3304e571cb
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Masayuki Nakano
fd3f6f47bd
Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-15 09:52:07 +09:00
Ed Morley
a0bb24f111
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
16b8fe6939
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Jonathan Kew
32bd5b814c
bug 769303 - precompute intrinsic width of floats. r=roc
2012-08-10 12:16:52 +01:00
Robert O'Callahan
962fbb550e
Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
...
--HG--
extra : rebase_source : 0f6d4a64b2f3832deb2af1f9ae0d332db042e127
2012-08-09 23:17:40 +12:00
Robert O'Callahan
f982af7739
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jonathan Watt
525d643063
Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc.
2012-08-14 10:04:24 +01:00
Ed Morley
a0952f287d
Backout f67014b40e1e (bug 780345) for failures intest_page_scroll_with_fixed_pos.html
2012-08-09 13:17:52 +01:00
Ed Morley
6f3226343f
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Cameron McCormack
369658e4e3
Bug 655877 - Part 40: Factor out 'distance from point to rect' calculation from text frame selection routine. r=roc
2012-08-08 21:37:14 +10:00
Cameron McCormack
9ee7a5b1a1
Bug 655877 - Part 28: Paint SVG text frames using 'fill' not 'color'. r=roc
2012-08-08 21:37:13 +10:00
Cameron McCormack
b9841b9ddd
Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc
2012-08-08 21:37:13 +10:00
Cameron McCormack
42d55dff42
Bug 655877 - Part 26: Give nsTextFrames the ability to invoke callbacks after painting different parts of the text. r=roc
2012-08-08 21:37:12 +10:00
Robert O'Callahan
fc54b01db1
Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
2012-08-09 23:17:40 +12:00
Timothy Nikkel
530cbb11d5
Add crashtests from bug 460389 and bug 522170.
2012-08-07 13:25:39 -05:00
Chris Lord
bd93048cf7
Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
...
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
Jan Varga
c89ae3e144
Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc
2012-08-06 20:27:04 -04:00
Daniel Holbert
3882749c49
Bug 780728: Remove unused variable 'pixelRect' from nsDisplayCanvasBackground::Paint(). r=mattwoodrow
2012-08-06 14:55:41 -07:00
Aryeh Gregor
5662d18449
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Robert O'Callahan
e88fd7de46
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
David Zbarsky
a8ba5502f2
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
fe804d085c
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
David Zbarsky
d505b382d4
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Masayuki Nakano
41d0aba660
Bug 780436 Union actual text-decoration rect to the overflow rect of floating first letter's child r=roc
2012-08-06 09:52:19 +09:00
Ed Morley
1d8d82865d
Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7
2012-08-05 14:35:08 +01:00
Robert O'Callahan
078dd6ac15
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Cameron McCormack
a648e78918
Bug 655877 - Part 20: Make nsTextFrame QueryFrame-able. r=roc
2012-08-05 11:01:19 +10:00
Ms2ger
cb4d106015
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Jonathan Kew
2a787bd2bf
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00