Commit Graph

893 Commits

Author SHA1 Message Date
Brian Birtles
accdaca7f8 Bug 629200 part 24 - Add wrapper for SVG types used in nsAttrValue so we don't need to export them; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
a256c4c378 Bug 629200 part 22 - Remove unnecessary serialisation from setting SVGTransformList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e4d0fa14ab Bug 629200 part 21 - Remove unnecessary serialisation from setting SVGPathSegList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
c2e37113c8 Bug 629200 part 20 - Remove unnecessary serialisation from setting SVGPointList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
301be6b8fc Bug 629200 part 19 - Remove unnecessary serialisation from setting nsSVGNumberList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
d46ad1c9a9 Bug 629200 part 18 - Remove unnecessary serialisation from setting nsSVGViewBox; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
179d570584 Bug 629200 part 17 - Remove unnecessary serialisation from setting nsSVGPreserveAspectRatio; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
7d76e187e3 Bug 629200 part 16 - Add mutation event tests for strings and classes and tidy up use of DidChangeString; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
b988ef00de Bug 629200 part 15 - Remove unnecessary serialisation from setting nsSVGBoolean; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
ed04233b8d Bug 629200 part 14 - Remove unnecessary serialisation from setting nsSVGAngle; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
db8d827803 Bug 629200 part 13 - Remove unnecessary serialisation from setting nsSVGIntegerPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
a46da63994 Bug 629200 part 12 - Remove unnecessary serialisation from setting nsSVGInteger; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
716553c410 Bug 629200 part 11 - Remove unnecessary serialisation from setting nsSVGNumberPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
da300b4aea Bug 629200 part 10 - Remove unnecessary serialisation from setting nsSVGNumber2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
82e52ab216 Bug 629200 part 9 - Update attribute setting for SVGAnimatedLengthList; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
9fca7d4aa4 Bug 629200 part 8 - Remove unnecessary serialisation from setting nsSVGLength2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
fb4cab0705 Bug 629200 part 7 - Remove unnecessary serialisation from setting SVGEnum; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
68b8d74b40 Bug 629200 part 6 - Add test framework for modification events; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
b01aa376a5 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Robert Longson
6bd66d29e8 Bug 711653: In SVG lighting calculations, when input surface is 1px wide, use a normal vector that points straight out of the page. r=dholbert 2012-02-13 14:04:19 -08:00
Jonathan Watt
45ad268897 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Mounir Lamouri
983257aab9 Merge mozilla-central into mozilla-inbound. 2012-02-09 11:31:59 +01:00
Serge Gautherie
9c30509e0d Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
DONTBUILD (log-string only).
2012-02-08 19:45:48 +01:00
Cameron McCormack
2f587e4b61 Bug 693790 - Don't abort on discrete by-animation of SVG length lists when there is no underlying value. r=dholbert 2012-02-09 09:12:50 +11:00
Jonathan Watt
17fd25faa7 Bug 724993 - "ASSERTION: Item should only return null for out-of-bounds access" after explicitly adding null. r=dholbert. 2012-02-08 20:09:01 +00:00
Cameron McCormack
4388f9d15e Bug 724703 - Mark a couple more functions on SVGLengthList as const. r=dholbert 2012-02-07 10:49:08 +11:00
Cameron McCormack
312ae769fe Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
a320f33afb Bug 619469 - animation should be disabled for failing conditional-processing conditions. r=dholbert 2012-02-05 23:17:23 +00:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Robert Longson
dc84569d62 Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Boris Zbarsky
eccedff6b7 Bug 723441. Add a way to store base URI object on nodes out-of-band, and use the for <use>-cloned content. r=dholbert 2012-02-02 15:50:50 -05:00
Daniel Holbert
18e41ee0ff (no bug, comment-only) Fix broken link to feDiffuseLighting chunk of SVG spec. DONTBUILD 2012-02-01 17:55:05 -08:00
Jonathan Watt
2b3483249b Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap. 2012-01-31 13:18:08 +00:00
Jonathan Watt
6cf1d24cc0 No bug. Fix orange for real.
--HG--
extra : rebase_source : 7dfa3d81e6c2103828627ab1c3def7a86eac7e18
2012-01-28 13:20:44 +00:00
Jonathan Watt
22924bf756 No bug. Fix orange. 2012-01-28 12:08:27 +00:00
Jonathan Watt
b14c7a2fa4 Bug 711958 - Add a 'length' property to DOMSVGStringList. r=dholbert. 2012-01-28 10:43:34 +00:00
Jonathan Watt
2831e60f32 Bug 721131 - Speed up build in content/svg/content/src - clean up #include directives in its header files. r=dholbert. 2012-01-26 09:57:21 +00:00
Robert Longson
61cc278b22 Bug 647914 - Horizontal and vertical SVG paths are omitted from bbox calculations if they have siblings. r=jwatt 2012-01-23 17:42:32 +00:00
Jonathan Watt
0788e372c8 Bug 718968 - Remove old include paths from Makefile.in. r=dholbert. 2012-01-18 11:49:00 +00:00
Daniel Holbert
9070fa4738 Bug 716699: Mark some SMIL and SVG-related directories as gcc-warning-free. r=jwatt 2012-01-11 00:32:38 -08:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Robert Longson
d9086c4d00 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Jonathan Watt
26b23f0bfa Bug 668163 - Map 'width' and 'height' on <svg> into style to stop <svg>'s computed width/height falling back to 150px x 300px when they're set to explicit percentage values that can be resolved (regression from bug 611099). r=dbaron. 2011-12-27 10:27:42 +00:00
Daniel Holbert
6cda14be64 Bug 710990: Replace duplicate aStartVal check with aEndVal check, in SVGOrientSMILType::Interpolate. r=jwatt
--HG--
rename : layout/reftests/svg/smil/anim-marker-orient-01.svg => layout/reftests/svg/smil/anim-marker-orient-02.svg
2011-12-19 10:03:45 -08:00
Ms2ger
6fd0287787 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Brian O'Keefe
1513850d8f Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Boris Zbarsky
17d09c5aec Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo. 2011-12-08 03:05:41 -05:00
Brian O'Keefe
ef0c3fd087 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Brian O'Keefe
05a8f0100a Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Daniel Holbert
76c367c005 Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt 2011-11-29 14:06:30 -08:00
Ms2ger
b1ff1b89a3 Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Robert Longson
581866451b Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
efb9f8f776 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Robert Longson
f8adc86119 Bug 698195 - Use AfterSetAttr to process script href changes. r=dholbert 2011-11-19 09:00:04 +00:00
Ms2ger
118e48e9c1 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
87cfab5086 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Jonathan Watt
02ee85d336 Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr. 2011-11-15 13:11:43 +00:00
David Zbarsky
4a23b35179 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Robert Longson
5ac58411e9 Bug 699147 - Simplify lengthList parsing. r=jwatt 2011-11-09 12:58:34 +00:00
Robert Longson
e68833b8e5 Bug 280391 - implement SVGSVGElement.getElementById. r=jwatt,bzbarsky 2011-11-08 15:00:29 +00:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Jonathan Watt
868fc90520 Backout 12b227a42623, bug 653928 (changes to SVG arc path segment animation). 2011-11-02 19:15:32 +00:00
Mounir Lamouri
6cc2587c0d Bug 698534 - Fix build bustage when smil is disabled. r=dholbert 2011-11-01 20:22:30 +01:00
Robert Longson
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Robert Longson
b1c939575c Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Robert Longson
24c0304698 Bug 653928 - Animation of path d attribute with elliptical arcs discrete instead of continuous when flags change. r=dholbert 2011-10-25 09:18:13 +01:00
Benjamin Smedberg
bd8fab352e Bug 694953 - Check the node type of an <svg:mpath> link before derefencing the link, not just the node name, r=dholbert 2011-10-20 12:03:18 -04:00
Robert Longson
9b0482ab73 Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
e3b2a10d49 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
64d601cee6 Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Marco Bonardo
96f6fdb983 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Robert Longson
e94dddbf2f Bug 528444 - Empty xlink:href treated like absent xlink:href on SVG script. r=dholbert 2011-10-14 19:25:58 +01:00
Ed Morley
5cd7df1bff Backout changeset c49fd40bbd2b (bug 528444) for causing M1 orange; a=philor 2011-10-14 16:10:01 +01:00
Robert Longson
43b89d47d6 Bug 528444 - Empty xlink:href treated like absent xlink:href on SVG script. r=dholbert 2011-10-14 14:50:56 +01:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Robert Longson
baf4f6d89e Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2e60074c52 Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Ehsan Akhgari
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Robert Longson
b4fd35944b Bug 691194 - Move filter element attribute processing to the frame class. r=dholbert 2011-10-09 18:17:29 +01:00
Robert Longson
47cd489a25 Bug 691298 - Remove aDoSetAttr arguments where callers always pass the same value. r=dholbert 2011-10-09 16:25:07 +01:00
Robert Longson
35051be845 Bug 550047 - Removing attributes from most elements does not cause a refresh. r=dholbert 2011-10-08 07:32:44 +01:00
Robert Longson
04eabdecc1 Bug 693145 - Simplify class animation processing. r=dholbert 2011-10-18 13:43:57 +01:00
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Boris Zbarsky
0747c80b9c Bug 692506. Make sure that SVG animated strings keep track of whether the base value is set correctly. r=longsonr 2011-10-06 16:53:23 -04:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Jonathan Watt
01b6cbbc31 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson
524e2377a2 Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00