Nicholas Nethercote
e1d2f44f23
Bug 1038663 (part 6, attempt 2) - Allow percentage values for 'word-spacing'. r=heycam.
2015-11-08 16:40:37 -08:00
Nicholas Nethercote
72d4c05707
Bug 1038663 (part 5, attempt 2) - Change GetSpacingFlags(). r=heycam.
2015-11-08 14:49:02 -08:00
Nicholas Nethercote
8fc4bb2082
Bug 1038663 (part 4, attempt 2) - Inline StyleToCoord(). r=heycam.
2015-11-08 14:49:02 -08:00
Nicholas Nethercote
04a6cdefa0
Bug 1038663 (part 3, attempt 2) - Factor out space width computation. r=heycam.
2015-11-08 14:48:58 -08:00
Nicholas Nethercote
7d210758ee
Bug 1038663 (part 2, attempt 2) - Move GetFirstFontMetrics() up. r=heycam.
2015-11-08 13:52:58 -08:00
Timothy Nikkel
67b58b3a99
Bug 1220114. Part 2. If a scroll frame is forced to layerize because of an active descendant scroll frame then set a displayport on the ancestor scroll frame so that next paint we don't have to force layerization after the fact and we can do a fully proper paint. r=mstange
2015-11-06 17:32:03 -06:00
Timothy Nikkel
90124c654c
Bug 1220114. Part 1. Change ScrollFrameHelper::DecideScrollableLayer to recompute the current animated geometry root any time mWillBuildScrollableLayer changes in addition to when usingDisplayPort changes. r=mstange
...
Changes in either one can result in AGRs being created or removed (although nothing removes them at this point in time).
2015-11-06 17:32:03 -06:00
Hiroyuki Ikezoe
2fa7ebc224
Bug 1197620 - Part 3: Terminate *all* animations if corresponding element style is changed to display:none. r=bbirtles
2015-11-06 07:21:38 +09:00
Nigel Babu
b5f9a51ba9
Backed out 6 changesets (bug 1038663) for Android opt R2 bustage
...
Backed out changeset 97e3492d6080 (bug 1038663)
Backed out changeset d176322f2d36 (bug 1038663)
Backed out changeset f69af9161252 (bug 1038663)
Backed out changeset 8bb77e5fad8c (bug 1038663)
Backed out changeset 954e57438f51 (bug 1038663)
Backed out changeset 16c0919101cd (bug 1038663)
2015-11-06 12:49:36 +05:30
Nicholas Nethercote
ffd3c374b7
Bug 1038663 (part 6) - Allow percentage values for 'word-spacing'. r=heycam.
2015-11-05 17:25:46 -08:00
Nicholas Nethercote
dd68dc05ae
Bug 1038663 (part 5) - Change GetSpacingFlags(). r=heycam.
...
Again, this doesn't make sense in isolation, but it will make it easier to
allow for percentage word-spacing in a subsequent patch.
2015-11-05 16:33:37 -08:00
Nicholas Nethercote
d74826c11a
Bug 1038663 (part 4) - Inline StyleToCoord(). r=heycam.
...
This doesn't make much sense by itself, but one of the call sites will be
changed in a subsequent patch.
2015-11-04 21:10:36 -08:00
Nicholas Nethercote
894f3c51ba
Bug 1038663 (part 3) - Factor out space width computation. r=heycam.
...
This will be reused in a subsequent patch.
2015-11-04 18:02:40 -08:00
Nicholas Nethercote
a64f843399
Bug 1038663 (part 2) - Move GetFirstFontMetrics() up. r=heycam.
...
This is necessary for a subsequent patch.
2015-11-04 18:02:20 -08:00
Timothy Nikkel
5b874069f1
Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond
2015-11-05 18:57:17 -06:00
Nicholas Nethercote
4d63791a37
Bug 1059014 (part 2) - Remove support for reflow on zoom event pending. r=dbaron.
...
This basically reverts part 2 of bug 836565.
2015-11-04 20:55:16 -08:00
Nicholas Nethercote
aeb04a8ee0
Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
...
This basically reverts bug 780258.
2015-11-04 20:25:01 -08:00
Jonathan Kew
e302780cd0
Bug 1221874 - Ignore the sideways-orientation flag when logical-coordinate classes are checking writing-mode compatibility. r=smontagu
2015-11-05 15:38:53 +00:00
Jonathan Kew
8f1c3ba424
Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu
2015-11-05 15:37:56 +00:00
Wes Kocher
0ddb2490fe
Backed out 3 changesets (bug 1176792) for WinXP/7 w(4) permafail
...
Backed out changeset 4d2f2e40bb5d (bug 1176792)
Backed out changeset 3de6f54e7f41 (bug 1176792)
Backed out changeset 887df043de31 (bug 1176792)
2015-11-04 15:42:38 -08:00
Daniel Holbert
b226e15ec9
Bug 1221112: When checking for ::before/::after while sorting flex items by DOM order, dig past placeholder to out-of-flow frame. r=mats
2015-11-04 07:48:59 -08:00
Mats Palmgren
43b7ea6d4b
Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert
2015-11-04 13:46:32 +01:00
Xidorn Quan
e7d93c6479
Bug 1216332 - Remove framearena helpers from abstract frame classes and stop them from being instantiated. r=dbaron
2015-11-04 20:57:35 +11:00
Robert O'Callahan
d728a4b713
Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
2015-10-21 16:27:50 +13:00
Mats Palmgren
09753a13e2
Bug 1211260 - [css-grid] Follow-up: address a code readability nit that I missed. r=dholbert
2015-11-03 22:33:16 +01:00
Mats Palmgren
d6729d7bd3
Bug 1176775 part 1 - [css-grid] Implement "Implied Minimum Size of Grid Items" (special min-width/height:auto behavior). r=dholbert
2015-11-03 21:45:33 +01:00
Mats Palmgren
0e6e30c968
Bug 1163435 part 1 - [css-grid][css-flexbox] Propagate an explicit CB width/height to the reflow state to resolve percentage lengths for grid items properly. Resolve percent against the size in the same axis for abs.pos. children too. r=dholbert
...
Grid items are supposed to use the size of their 'grid area',
not their grid container, as their containing block.
2015-11-03 21:45:33 +01:00
Mats Palmgren
fdc46165cd
Bug 1215957 - Start at the end of the explicit grid also when matching plain negative number lines. r=dholbert
2015-11-03 21:45:32 +01:00
Mats Palmgren
a00aac63b0
Bug 1215182 - [css-grid] Make our "Implicit Named Areas" detection match the spec. r=dholbert
2015-11-03 21:45:32 +01:00
Mats Palmgren
b8642b8f48
Bug 1211260 - Implement the new Grid Placement Conflict Handling: "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." r=dholbert
...
https://drafts.csswg.org/css-grid/#grid-placement-errors
2015-11-03 21:45:32 +01:00
Mats Palmgren
3ffd80ecac
Bug 1215099 part 2 - [css-grid] An empty grid should still have one explicit grid line in each axis. r=dholbert
2015-11-03 21:45:32 +01:00
Mats Palmgren
54f7181d83
Bug 1215099 part 1 - [css-grid] Backout bug 1206703
. r=dholbert
2015-11-03 21:45:32 +01:00
Nathan Froyd
a981f985cd
Bug 1220714 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in layout/; r=dholbert
2015-10-30 15:12:25 -04:00
Jim Chen
f076c50483
Bug 1219833 - Respect composition underline color; r=masayuki
...
nsTextFrame didn't use the composition underline color if the
composition didn't have a foreground color defined. This patch makes it
use the underline color if foreground color is not defined.
2015-11-03 11:53:58 -05:00
Mats Palmgren
98e140f28a
Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert
2015-11-03 17:52:40 +01:00
Mats Palmgren
ab072d3686
Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert
2015-11-03 17:52:40 +01:00
Mats Palmgren
f0dde85738
Bug 1151214 part 2 - [css-flexbox][css-align] Shim implemention for the new align/justify property values in flexbox layout (just to avoid fatal assertions). r=dholbert
2015-11-03 15:18:06 +01:00
Mats Palmgren
f5903bd1da
Bug 1176782 part 7 - [css-align] Update the flexbox layout code to use the new align/justify style constants and remove the old in the style system. r=cam
2015-11-03 15:18:06 +01:00
Mats Palmgren
7dfce92430
Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam
2015-11-03 15:18:06 +01:00
Mats Palmgren
7b3ecf8fdb
Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam
2015-11-03 15:18:06 +01:00
Mats Palmgren
ccab15b9de
Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam
2015-11-03 15:18:05 +01:00
Mats Palmgren
c213c1ed3b
Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam
2015-11-03 15:18:05 +01:00
Markus Stange
4fefc7082b
Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
2015-10-30 16:28:53 +01:00
Birunthan Mohanathas
94998cf5fe
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Robert O'Callahan
ea3babe9f6
Bug 264412. Optimize GetRenderedText. r=mats
...
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.
2015-10-30 19:22:33 +13:00
Robert O'Callahan
c9cf62c475
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
2015-10-30 19:23:10 +13:00
Ryan VanderMeulen
a36c7cfcd6
Bug 681489 - Add crashtest.
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen
a46beb2ec9
No bug - Various crashtest manifest cleanups.
2015-10-31 19:35:27 -04:00
Timothy Nikkel
fab9c3f0fa
Bug 1220020. Recompute the current animated geometry root when a child scroll frame forces us to be layerized, and therefore turns us into an animated geometry root. r=mstange
2015-11-01 11:45:40 -06:00
Ryan VanderMeulen
468f14ba78
Bug 871327 - Clean up assertion annotations on 791601.xhtml and add crashtest for referenced bug that was resolved WFM.
2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
0727da56af
Bug 481035 - Remove assertion annotation from 421671.html.
2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
f18fd5417b
Bug 623091 - Re-enable 348887-1.html.
2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
3bc0f45ada
Bug 859424 - Fix and re-enable 309322-4.html.
2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
5619b513f9
Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest.
2015-10-30 19:41:18 -04:00
Ryan VanderMeulen
80d8a5dd3d
Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest.
2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
38627c404a
No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed.
2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
d79c97e192
Bug 616052 - Add crashtest.
2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
1f3281bcbe
Bug 613629 - Add crashtest.
2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
e4f3e4abf9
Bug 613455 - Add crashtest.
2015-10-30 19:41:16 -04:00
Andrew McCreight
183abfaf12
Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap
2015-10-31 06:26:44 -07:00
Nathan Froyd
b90b6b1c62
Bug 1219903 - use UniquePtr<T[]> instead of delete[] calls in layout/generic/; r=dholbert
2015-10-29 16:16:13 -04:00
Carsten "Tomcat" Book
4bfbe87ad2
Backed out changeset d5d68c0258f3 (bug 1201330)
2015-10-30 14:44:06 +01:00
Markus Stange
c38bf4f8c7
Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
2015-10-27 17:18:03 +01:00
Matt Woodrow
afe8dd0b94
Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
2015-10-23 11:22:45 +13:00
Seth Fowler
199a0576af
Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn
2015-10-29 16:37:42 -07:00
Seth Fowler
522acf0996
Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn
2015-10-29 16:37:42 -07:00
Seth Fowler
fb69ea022a
Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn
2015-10-29 16:37:42 -07:00
Carsten "Tomcat" Book
00ce481644
Backed out changeset 0e8e25c04938 (bug 1216851) for reftest failures
2015-10-29 13:52:29 +01:00
Matt Woodrow
d343ae2196
Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
2015-10-23 11:22:45 +13:00
Cameron McCormack
422987e613
Bug 1219537 - Simplify a couple of PresContext() gets on nsIFrame/nsStyleContext. r=dholbert
2015-10-29 17:06:31 +11:00
Phil Ringnalda
51a93c44eb
Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
...
CLOSED TREE
Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Seth Fowler
e71bb162dc
Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn
2015-10-28 16:40:43 -07:00
Seth Fowler
a96fd4ed25
Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn
2015-10-28 16:40:43 -07:00
Seth Fowler
cef55f867e
Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn
2015-10-28 16:40:42 -07:00
David Anderson
a27af3298b
Assert that we do not attempt synchronous painting of windowless Desktop plugins. (bug 1218688 part 4, r=bsmedberg)
2015-10-28 10:50:53 -07:00
David Anderson
c2680d5da6
Remove Mac-specific synchronous plugin drawing code. (bug 1218688 part 3, r=benwa)
2015-10-28 10:50:45 -07:00
David Anderson
73f490902b
Remove Linux-specific synchronous plugin drawing code. (bug 1218688 part 2, r=jimm)
2015-10-28 10:50:41 -07:00
David Anderson
a96a14649c
Remove Windows-specific synchronous plugin drawing code. (bug 1218688 part 1, r=jimm)
2015-10-28 10:50:36 -07:00
Ryan VanderMeulen
9189947677
Bug 569193 - Add crashtest.
2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
32229669c2
Bug 417848 - Add crashtest.
2015-10-27 10:03:37 -04:00
Kyle Huey
fffe5cc829
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Ryan VanderMeulen
a409ef9440
Bug 1156257 - Add crashtest.
2015-10-25 16:20:16 -04:00
Jonathan Kew
7407253cb8
Bug 1216427 - part 2 - Ensure mouse selection does not split up a Regional Indicator flag symbol. r=emk
2015-10-26 10:47:18 +00:00
Jonathan Kew
2b2811e250
Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk
2015-10-26 10:47:16 +00:00
Ryan VanderMeulen
af975741b8
Bug 740199 - Add crashtest.
2015-10-25 00:06:24 -04:00
Ryan VanderMeulen
9bb1a9495a
Bug 597240 - Add crashtest.
2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
c6ced6b033
No bug - Remove e10s assertion annotation from font-inflation-762332.html.
2015-10-25 00:06:22 -04:00
Ryan VanderMeulen
617b728fc5
Bug 508154 - Add crashtest.
2015-10-24 15:03:19 -04:00
Sebastian Hengst
4e9fc4f250
Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
...
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan
c2b7cd7931
Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
2015-10-21 16:27:50 +13:00
Robert O'Callahan
37b74104b6
Revert incorrectly committed changes ab657569f554 and a396f4262479
2015-10-24 22:38:22 +13:00
Robert O'Callahan
162b00750e
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
2015-10-24 22:27:29 +13:00
Thinker K.F. Li
44195cbc46
Bug 1214212 - Remove clips from separator transform items. r=roc
2015-10-22 23:29:00 -04:00
Nathan Froyd
d7b3af33de
Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
...
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Seth Fowler
e80f06fcc5
Bug 1209765 (Part 7) - Support sync decoding and track draw results when drawing borders in nsImageFrame. r=tn
2015-10-22 19:54:49 -07:00
Seth Fowler
273ffd434e
Bug 1209765 (Part 6) - Support sync decoding and track draw results when drawing borders in nsColumnSetFrame. r=tn
2015-10-22 19:54:49 -07:00
L. David Baron
2018996f81
Bug 1216431 patch 1 - Give WritingMode an nsStyleVisibility* constructor. r=heycam
...
This is needed for patch 2.
2015-10-23 08:57:34 +09:00
Nicholas Nethercote
b5e1e5998d
Bug 1038663 (part 1) - Make nsStyleText::mWordSpacing an nsStyleCoord. r=heycam.
...
This makes mWordSpacing a lot more like mLetterSpacing, while maintaining the
existing "'normal' computes to 0px" behaviour.
2015-10-21 22:13:11 -07:00
Phil Ringnalda
33816637f7
Back out changeset 02d17c84afff (bug 1214212) for (mostly) transform-3d reftest failures
...
CLOSED TREE
2015-10-21 20:22:45 -07:00
Thinker K.F. Li
33bdcad644
Bug 1214212 - Remove clips from separator transform items. r=roc
2015-10-21 03:35:00 -04:00
David Anderson
dbb18481e6
Fix scrollbars on subframes not directing APZ events to the correct scrollframe. (bug 1213324, r=tn)
2015-10-20 02:39:34 -07:00
L. David Baron
723da81afb
Bug 1209603 patch 2 - Reduce calls to StyleVisibility() in WritingMode constructor. r=heycam
...
(I noticed this while writing patch 1.)
2015-10-19 20:42:28 -07:00
Daniel Holbert
6d3b2f1806
Bug 497495 late-breaking followup: s/GetAllocatedSize/GetFrameId/ in documentation, to reflect the same change having happened in code. (no review, comment-only, DONTBUILD)
2015-10-19 16:45:57 -07:00
Wes Kocher
8b65999123
Backed out changeset 668563c7fab8 (bug 1214077) for build failures
2015-10-19 16:21:44 -07:00
Xidorn Quan
ab0ec77c77
Bug 1214077 - Remove FRAMEARENA_HELPERS from nsRubyContentFrame. r=dholbert
2015-10-20 10:02:03 +11:00
Jim Mathies
a430dc90dc
Bug 1214878 - When async scrolling with e10s hide windowed plugins in sub documents. r=roc
2015-10-19 10:38:42 -05:00
Xidorn Quan
35dac0b5c1
Bug 1215360 - Render canvas anonymous content on top of the top layer. r=roc
2015-10-19 11:56:13 +11:00
Nathan Froyd
e4e2da55c9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nathan Froyd
5254890206
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano
f55e0e599e
Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug
2015-10-17 15:50:09 +09:00
Masayuki Nakano
40af506d54
Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug
2015-10-16 13:19:27 +09:00
Matt Woodrow
2f88e4c752
Bug 1211654 - Force opacity layers that were only created for APZ hit-testing information to always be inactive. r=mstange
2015-10-15 15:15:16 +13:00
Timothy Nikkel
0dc5f33ac7
Bug 1210578. Part 3. Create DecideScrollableLayer that encapsulates all logic to create display ports and build scrollable layers. r=mstange
...
For root scroll frames we need information about the async scrolling (or lack thereof) of the scroll frame before we get to ScrollFrameHelper::BuildDisplayList for the scroll frame. We need it in nsLayoutUtils::PaintFrame and nsSubdocumentFrame::BuildDisplayList. So we factor out all the code responsible for async scrolling decisions into one function we can call from all three places.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
a13b7ef304
Bug 1210578. Part 2. Rename shouldBuildLayer to couldBuildLayer to better reflect it's actual meaning. r=mstange
...
Also remove one use of the variable that is unnecessary.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
2f99683cbb
Bug 1210578. Part 1. Rename mShouldBuildScrollableLayer to mWillBuildScrollableLayer to better capture the meaning of the variable. r=mstange
2015-10-12 15:21:49 -05:00
Timothy Nikkel
974d9b64e0
Backout part 1 of bug 1195431 (cf841511b71a).
2015-10-12 15:21:48 -05:00
Timothy Nikkel
9bd367028c
Backout part 2 of bug 1195431 (2e5d1c6a4a0c).
2015-10-12 15:21:48 -05:00
Timothy Nikkel
8b4bf792f7
Backout part 3 of bug 1195431 (8270ee9be504).
2015-10-12 15:21:48 -05:00
Timothy Nikkel
01faab63e4
Bug 1210577. Remove useless virtual keyword from ScrollFrameHelper::ComputeScrollClip. r=mstange
2015-10-12 13:50:14 -05:00
David Anderson
0011f60b88
Fix inactive scroll frames sometimes creating very large, incorrect hit regions. (bug 1190112, r=tn)
2015-10-07 12:08:53 -07:00
Nicholas Nethercote
0c9936d9d3
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
e6cc09cd51
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Xidorn Quan
e57a2a7db3
Bug 1126230 part 8 - Implement painting part for the top layer. r=roc
2015-10-07 14:04:32 +11:00
Xidorn Quan
766af47f6d
Bug 1126230 part 7 - Add static method nsDisplayListBuilder::GetOutOfFlowData(). r=roc
2015-10-07 14:04:32 +11:00
Robert O'Callahan
122472677d
Bug 790260 - Crashtest.
2015-10-07 00:54:51 +02:00
Mats Palmgren
7a5052829f
Bug 790260 - Make CollectFloats remove the IS_PUSHED_FLOAT bit in case the float was collected from the PushedFloats list. r=roc
2015-10-07 00:54:51 +02:00
Jim Mathies
68e18f67e7
Bug 1137944 - Add plugin window handling for apz related notifications received by the content process. r=mstange
2015-10-06 14:23:25 -05:00
Jim Mathies
1137203dba
Bug 1137944 - Add a pref to control plugin window hiding. r=roc
2015-10-06 14:23:24 -05:00
Jim Mathies
42844195eb
Bug 1137944 - Add support for hiding plugin windows during async dom scroll operations managed in the content process. r=roc
2015-10-06 14:23:24 -05:00
Nigel Babu
fb218ed768
Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
...
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
7b07feb675
Bug 1126230 part 7 - Implement painting part for the top layer. r=roc
2015-10-02 16:34:09 +10:00
Xidorn Quan
2c12529067
Bug 1126230 part 6 - Add static method nsDisplayListBuilder::GetOutOfFlowData(). r=roc
2015-10-02 16:34:09 +10:00
Daniel Holbert
ce8a1c8000
Bug 1032613 part 2: Make RestyleManager::AddSubtreeToOverflowTracker skip frames that don't maintain overflow areas. r=dbaron
2015-10-01 20:05:26 -07:00
Daniel Holbert
cd44bce763
Bug 1032613 part 1: Promote FrameMaintainsOverflow to be a public nsIFrame method, & implement it using HasAllStateBits. r=dbaron
2015-10-01 20:05:25 -07:00
Tooru Fujisawa
2cbde0e629
Bug 1207495 - Remove use of expression closure from layout/. r=bz
2015-09-23 18:40:36 +09:00
Jim Mathies [:jimm]
92113d4c99
Bug 1158111 - "Add caching and control updating tab offset values in the child from the parent side". a=klotz
2015-09-28 12:35:00 +02:00
Kartikaya Gupta
23f24fcef2
Back out the bits of bug 1205087 that cache the AnimatedGeometryRoot on DisplayItem. r=backout
...
The change breaks some scenarios with APZ scrolling, in particular the code
that layerizes the scroll handoff chain for deeply nested scrollable frames.
2015-09-28 15:17:34 -04:00
Arpad Borsos
80c7012c5b
Bug 1208985 - Use height for scroll-snap-points-y
percentage values; r=kip
...
The CSS scroll snapping specification defines percentages to be
`relative to same axis of the padding-box of the scroll container`,
which means that y-axis should be based no height, not width.
2015-09-28 14:58:56 +02:00
L. David Baron
46a6f39633
Bug 1207157 patch 3 - Don't bother passing around the inline-end margin of replaced elements we consider clearing past floats, since we don't need it any more. r=jfkthame
2015-09-27 02:19:14 -07:00
L. David Baron
53d48675d5
Bug 1207157 patch 2 - Stop caring about a replaced element's margin-inline-end when determining whether it fits next to floats. r=jfkthame
...
The change to the 427129-table-caption test was just to make the
reference match the test.
The change to the other 427129 tests was duplicating the test that
failed, adjusting the reference for one version of it (no longer pushed
down), and testing an alternative pushed-down case for the other
version.
It's not clear to me how to test that that
1062963-floatmanager-reflow.html still tests what it originally tested,
given the code change that's happened since.
2015-09-27 02:19:14 -07:00
Jonathan Kew
62f04632f7
Bug 1208593 - Make the WritingMode::DebugString() method available even in non-DEBUG compilation (needed by --enable-dump-painting builds, for example). r=mchang
2015-09-27 08:51:02 +01:00
Matt Woodrow
1865dbb092
Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc
2015-09-24 18:26:36 -04:00
Matt Woodrow
c1b13e7499
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
2015-09-24 18:25:08 -04:00
Nicholas Nethercote
7be9d28dde
Bug 1207944 (part 4) - Use SetColor(const Color&) when setting from an nscolor. r=jwatt.
...
In various places SetColor() gets passed an nscolor. These are converted
(either implicitly or explicitly) to a gfxRBGA, and then to a gfx::Color.
This patch changes all these cases to avoid the middle step, by (a)
constructing a gfx::Color directly instead of an nscolor, or (b) by converting
an nscolor with Color::FromABGR().
2015-09-23 23:41:30 -07:00
Jonathan Kew
71b9c62e4e
Bug 1193519 pt 10 - Clean up remaining mentions of 'sideways-left' in code comments. r=dholbert
2015-09-24 10:23:35 +01:00
Jonathan Kew
a244425aaf
Bug 1193519 pt 4 - Reverse the direction of text-decoration offsets in sideways-lr mode. r=dholbert
2015-09-24 10:23:34 +01:00
Jonathan Kew
427bb40573
Bug 1193519 pt 3 - Handle writing-mode:sideways-lr in nsTextFrame selection and rendering. r=dholbert
2015-09-24 10:23:34 +01:00
Jonathan Kew
81770c36ba
Bug 1193519 pt 1 - Update coordinate conversions in WritingModes.h to account for sideways-lr writing mode. r=dholbert
...
* * *
Bug 1193519 pt 1.1 - Fix error in LogicalRect::LineLeft/Right accessors. r=dholbert
2015-09-24 10:23:34 +01:00
Michael Layzell
3820bf2c1a
Bug 1199288 - Rename mApplyUserSelectStyle to mUserInitiated, r=smaug
2015-09-23 23:28:36 -04:00
Jonathan Kew
7dc993802c
Bug 1193488 - patch 2 - Update the writing-mode representation printed by debugging code such as DumpFrameTree to reflect the new property values. r=dholbert
2015-09-23 22:16:11 +01:00
Jonathan Kew
f1c39f6570
Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert
2015-09-23 22:16:01 +01:00
Kartikaya Gupta
680e7c3e76
Bug 1195431 - Ensure that IsScrollingActive returns true even when called before mShouldBuildScrollableLayer has been set. r=tn
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
93d400d060
Bug 1195431 - Extract a helper function to determine if the scrollframe will build a scrollable layer. r=tn
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
1d43b2cc87
Bug 1195431 - Extract a couple of helper functions. r=tn
2015-09-23 09:34:41 -04:00
Mats Palmgren
733619921a
Bug 1206703
- [css-grid] In an empty grid all lines should be treated as 'auto' for abs.pos. items, i.e. snap to the padding edge. r=dholbert
2015-09-22 23:32:34 +02:00
Christoph Kerschbaumer
1745603555
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
Wes Kocher
9c40f87100
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
c533260e62
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
David Anderson
578a9a2262
Fix nsDisplayCanvasBackgroundColor to invalidate on color changes. (bug 1205970 part 1, r=mattwoodrow)
2015-09-18 18:45:05 -07:00
Thinker K.F. Li
c4820d6fca
Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a78d5fffcb
Bug 1097464 - Part 5: Fix preserve3d wording for nsIFrame. r=roc
2015-09-17 03:31:00 +02:00
Phil Ringnalda
3a9573e728
Back out 2 changesets (bug 1205087) for mass bustage
...
CLOSED TREE
Backed out changeset 0573cd4aed27 (bug 1205087)
Backed out changeset 11a3cb42f729 (bug 1205087)
2015-09-17 19:30:42 -07:00
Matt Woodrow
69fe1b8c9c
Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
2015-09-17 21:03:42 -04:00
Carsten "Tomcat" Book
42aa14ed8e
Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
...
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)
2015-09-17 16:24:43 +02:00
Thinker K.F. Li
0238a11403
Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
495ba1957f
Bug 1097464 - Part 5 - Fix preserve3d wording for nsIFrame. r=roc
2015-09-17 03:31:00 +02:00
Olli Pettay
2c7e5f0653
Bug 1205466
, make HasApzAwareListeners check faster, r=masayuki
2015-09-17 13:16:20 +03:00
Jonathan Kew
82916146d1
Bug 1193518 - Ensure that when we update a WritingMode after resolving dir=auto, we set the inline-dir bit appropriately as well as the inline-bidi bit. r=dholbert
2015-09-17 09:53:49 +01:00
Nicholas Nethercote
09b4a9e997
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Nicholas Nethercote
cae6e9971a
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Cameron McCormack
ed8f4f2166
Bug 1203766 - Part 1: Generate nsPresArena::ObjectIDs with a preprocessor-included file. r=bzbarsky
2015-09-17 12:08:19 +10:00
Mats Palmgren
5c3f38eefe
Bug 1204585 part 1 - [css-grid] Use the grid area's size when converting to physical coordinates for abs.pos. items. r=dholbert
...
It's the item's grid area that forms the containing block rect,
not the grid container.
2015-09-15 23:34:08 +02:00
Jonathan Kew
b9ed99273b
Bug 1202993 - Remove the logical-direction-based keywords for caption-side, and instead interpret the old physical keywords as logical sides. r=dholbert
2015-09-15 22:02:30 +01:00
Kartikaya Gupta
ce236341ca
Bug 1204535 - Hoist out the code to initially compute usingDisplayPort. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
eaa6f9a491
Bug 1204535 - Relocate comment to go with the line of code it's commenting. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
62e17f8922
Bug 1204535 - Rename usingDisplayport to usingDisplayPort for consistency. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
8822b05087
Bug 1204535 - Collapse redundant conditional block. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
a323fb8792
Bug 1204535 - Flatten conditional structure one level. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
57bb115d9f
Bug 1204535 - Remove no-op code. r=tn
2015-09-15 16:09:35 -04:00
Shu-yu Guo
45211869c8
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Hiroyuki Ikezoe
7309dd53ce
Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles
2015-09-14 23:42:00 +02:00
Matt Woodrow
54910ecde7
Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron
2015-09-14 14:17:40 -04:00
Masayuki Nakano
35331f6652
Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
a89904392c
Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug
2015-09-15 00:14:34 +09:00
Milan Sreckovic
9bee28830f
Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow
2015-09-10 12:31:00 +02:00
Ehsan Akhgari
8816119b00
Bug 1204291 - Null check the argument of AutoHideSelectionChanges::AutoHideSelectionChanges()
2015-09-12 22:58:46 -04:00
Michael Layzell
52bda64f0f
Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan
2015-09-12 17:56:46 -04:00
Michael Layzell
873c7b0ac1
Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug
2015-09-12 17:56:44 -04:00
Michael Layzell
f20336e5e1
Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan
2015-09-12 16:53:33 -04:00
Kartikaya Gupta
451162b0be
Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
2015-09-11 21:58:16 -04:00
Masayuki Nakano
8422379683
Bug 895274 part.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
5892096c1b
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
66c42b6030
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
L. David Baron
09521bbc9a
Bug 1174510 - Fix fallback from cursor formats that we don't support or that fail to decode to other cursor files. r=seth
...
Although I didn't test this theory, I think it's fixing a regression
from patch 3 in bug 1084136 (changeset e7ecd25d7e7c), which stopped
clearing other flags when an error occurred.
2015-09-11 08:17:40 -07:00
Masayuki Nakano
53a9373b86
Bug 895274 part.184 Rename NS_WHEEL_WHEEL to eWheel r=smaug
2015-09-11 01:59:54 +09:00
Markus Stange
ea041c6ffb
Bug 1181135 - Copy DisplayItemClips in order to avoid dangling pointers. r=tn
2015-09-09 19:08:03 -04:00
Mats Palmgren
e4b4886341
Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert
2015-09-04 22:06:58 +02:00
Mats Palmgren
3460aafd07
Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert
2015-09-04 22:06:58 +02:00
Mats Palmgren
5a398f9763
Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert
2015-09-04 22:06:57 +02:00
Mats Palmgren
c9c3bcbca6
Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert
2015-09-04 22:06:57 +02:00