Jonathan Kew
3bccde9fe4
Bug 1162418 - Try to find a suitable non-zero dimension to use when containing block's inline-size depends on an SVG element which is specified as a percentage of its container. r=jwatt
2015-08-31 16:22:20 +01:00
Nicholas Nethercote
10d95cca57
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Cameron McCormack
be550d0652
Bug 1149542 - Part 3: Crashtest. r=dholbert
2015-08-08 11:40:04 +10:00
Robert O'Callahan
53c0044a87
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
2015-07-25 18:01:19 +12:00
Cameron McCormack
f3433b1648
Bug 1185266 - Look up painting properties on the SVGTextFrame when painting text frames that are direct children of <text>. r=jwatt
2015-07-24 09:22:01 +10:00
Cameron McCormack
67cc5004eb
Bug 1182496 - Don't create frames for SVG <text> descendants with failing conditional processing attributes. r=dholbert
2015-07-17 11:29:22 +10:00
Cameron McCormack
2bdad13a2e
Bug 1182964 - Replace use of nsTHashtable::EnumerateEntries with nsTHashtable::Iterator in layout/{style,svg}/. r=njn
2015-07-14 10:13:32 +10:00
Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Michael Layzell
7b46066b22
Bug 1181323 - Move nsSVGRenderingObserver's isupports/refcounting decl to subclasses, since one subclass (nsSVGFilterReference) already has its own redundant copy of the decl. r=dholbert
2015-07-09 20:32:00 +02:00
Nathan Froyd
46d6f38e68
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Tom Klein
aff81f2913
Bug 1178159 - Ignore stroke-linecap:"square" on circle and ellipse. r=longsonr
2015-06-29 20:19:00 +02:00
Markus Stange
30e6242c9e
Bug 1153845 - For CSS filters, make the primitive subregions big enough to contain the whole pre-filter visual overflow rect. r=roc
...
The BBox of the SVG element only includes its contents, not the SVG element's background color.
2015-05-28 15:51:58 -04:00
Jonathan Watt
cf5471486f
Bug 923193, part 4 - Implement support for the 'transform-origin' property in SVG. r=heycam
2015-05-24 22:40:37 +01:00
Nathan Froyd
f61c010661
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Birunthan Mohanathas
c316215317
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Jonathan Watt
f1759e35aa
Bug 1159053 - Cache SVG getBBox and objectBoundingBox calculations for better performance. r=heycam
2015-04-27 11:15:36 +01:00
Jonathan Kew
d5046e2945
Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc
2015-04-29 08:18:53 +01:00
Jonathan Kew
ecdfc1687f
Bug 1156366 - Support vertical writing modes and upright/sideways glyph orientation in SVG text-on-a-path. r=longsonr
2015-04-25 09:10:19 +01:00
Andrea Marchesini
b75af49c46
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Nicolas Silva
ba353fd7bd
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
51e181888b
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Jonathan Kew
a7937e6d5c
Bug 1153510
- Improve handling of vertical writing mode in SVG text frames. r=longsonr
2015-04-20 18:05:47 +01:00
Jonathan Kew
a7f770f526
Backout changeset 0b070d503800 (bug 1153510
) for mochitest orange on a CLOSED TREE
2015-04-20 18:51:20 +01:00
Jonathan Kew
5dcfe6e699
Bug 1153510
- Improve handling of vertical writing mode in SVG text frames. r=longsonr
2015-04-20 18:05:47 +01:00
Robert Longson
027e45d2a2
Bug 1142982 - implement dominant-baseline=middle properly. r=heycam
2015-04-08 16:18:33 +01:00
Nicolas Silva
f2da0db3a0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Robert Longson
207b8a5e76
Bug 1047973 - pattern with patternUnits=objectBoundingBox and preserveAspectRatio=... meet stretches to the size of a shape. r=dholbert
2015-04-07 08:45:59 +01:00
Ryan VanderMeulen
eccfcb8a87
Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test.
2015-04-06 11:22:00 -04:00
Tom Tromey
ddd9e95730
Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan
2015-04-03 08:17:00 -04:00
Cameron McCormack
6d744ea5c6
Bug 1149542 - Part 2: Track undisplayed characters before empty text frames properly. r=dholbert
2015-04-06 09:12:06 -04:00
Cameron McCormack
b16d8576de
Bug 1149542 - Part 1: Return early from SVG text layout if we discover mPositions is not long enough. r=dholbert
2015-04-06 09:11:55 -04:00
Daniel Holbert
e4d13d4630
Bug 1149222 part 2 - Make nsSVGImageFrame::PaintSVG use LayoutDeviceSize & LayoutDevicePixel::ToAppUnits, when setting up its dest-rect. r=mats
2015-04-03 19:48:12 +00:00
Mats Palmgren
3879e0afa3
Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Jonathan Kew
340b49773c
Bug 1145936 - Fix sizing of foreignObject with vertical writing mode. r=smontagu
2015-04-01 16:50:11 +01:00
Mats Palmgren
5bd17a127b
Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
2015-03-29 22:38:40 +00:00
Nicolas Silva
eae4d10b4d
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Andrea Marchesini
b212600c95
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
b95ba1ce10
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
2015-03-20 15:12:17 +11:00
Xidorn Quan
2de2f0c18e
Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
2015-03-17 19:10:15 +11:00
Robert Longson
4ca49248c1
Bug 1141636 - "Dubious loop test in nsSVGElement::GetAnimatedLengthListValues". r=cam f=longsonr
2015-03-12 00:39:00 +01:00
Carsten "Tomcat" Book
6d58aad7d5
Backed out changeset 5ad9cc334725 (bug 1141636) for suspicion of causing failures in wr tests
2015-03-12 13:05:40 +01:00
Robert Longson
51063915a4
Bug 1141636 - call GetAnimatedLengthListValues with valid arguments. r=heycam
2015-03-12 09:04:47 +00:00
Xidorn Quan
22877723df
Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
...
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
Robert Longson
c9163ea891
Bug 1140080 - ensure we only create stop frames for gradients. r=dholbert
2015-03-08 06:49:33 +00:00
L. David Baron
f2fc1a4f3c
Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
2015-03-03 17:03:19 -08:00
Andrea Marchesini
8df233265a
Bug 1134280 - Get rid of Tag() - patch 2.12 - layout/style, layout/svg - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Jonathan Watt
d51834a89d
Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam
2015-02-17 22:01:54 +00:00
Jonathan Watt
20cc82e1ae
Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam
2015-02-04 13:51:22 +00:00