Commit Graph

1481 Commits

Author SHA1 Message Date
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
53807bd4e9 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Robert Longson
0150868481 Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
9472b0acf9 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
6498ee3556 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Ehsan Akhgari
2050b687cc Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Jonathan Watt
faa9392008 Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Robert Longson
5ccc8c4019 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Jonathan Watt
c06a0c60b8 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
35a8bfc76c Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Masatoshi Kimura
77b81c0275 Bug 743888 - Part 2: Update SVG exception types. r=jwatt 2012-06-13 21:12:37 -04:00
Robert Longson
89657d93ac Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Robert Longson
6d57bbf31d Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-08 08:54:39 +01:00
Aryeh Gregor
29b2ea5b20 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Ed Morley
3bd32a640c Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
9b3aba30d7 Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Robert Longson
8c6547e87a Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert 2012-06-06 09:15:53 +01:00
Robert Longson
fefd1ff8c2 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Robert Longson
d5b5f12a6e Bug 758505, Part 2: Avoid unnecessary invalidations on repeated calls to set the same animated value (most other non-list types). r=dholbert 2012-06-01 16:53:06 -07:00
Matt Woodrow
714c391777 Bug 758505, Part 1: Avoid unnecessary invalidations on repeated calls to set the same animated value (nsSVGLength2 part). r=dholbert 2012-06-01 16:52:15 -07:00
Robert Longson
51ba38af37 Bug 759124 - Implement useCurrentView. r=dholbert 2012-05-31 11:39:12 +01:00
Robert Longson
552f1b1d87 Bug 756988 - Mark some animation feature strings as supported. r=jwatt 2012-05-25 14:45:53 +01:00
Neil Deakin
403c3ccc83 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Robert Longson
f42e89af46 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
ee7ff5f484 Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
Daniel Holbert
77f79e7a88 Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr 2012-05-21 13:38:50 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Longson
bb1ba049a4 Bug 754592 - Lazily allocate conditional processing data. r=jwatt 2012-05-19 14:37:16 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
4fd52b5cbf Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Robert Longson
68d77a3a59 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Robert Longson
da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Brian Birtles
86afa969bf Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 1 infrastructure to support hyperlinking. r=dholbert 2012-05-17 10:56:57 +01:00
Jonathan Watt
f418b57d69 Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Jonathan Watt
14342d950c Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
8056ad42af Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Robert Longson
d9928f2c53 Bug 751515 - Fix Crash with convertToSpecifiedUnits. r=dholbert 2012-05-04 08:41:42 +01:00
Shriram Kunchanapalli
86b1d55b6f Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Phil Ringnalda
1d52ee7a7b Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
fab0bd775f Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Robert Longson
c8cc0fe2ef Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Jonathan Watt
bbd2635d4e Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Robert Longson
1187a6d7fd Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc 2012-04-13 08:01:55 +01:00
Kyle Huey
5e3fddb58d Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
b579ded900 Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Boris Zbarsky
ee79d7d84b Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Ms2ger
6c9f342a36 No bug - Remove an always-true check. 2012-03-29 23:12:55 +02:00
Ms2ger
2754f9e3ff Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Peter Van der Beken
cba2d2e2ac Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jonathan Watt
c4e6b7547e Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
607557fa95 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
858e883080 Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Cameron McCormack
19b598c34c Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 22:20:21 +11:00
Ryan VanderMeulen
d3f0c9d0b1 Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes. 2012-03-19 22:28:30 -04:00
Cameron McCormack
9db2e29ba4 Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 12:49:13 +11:00
Robert Longson
8934f3b783 Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 18:24:35 +00:00
Robert Longson
2b2c55dff9 Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 12:25:28 +00:00
Jonathan Watt
796c3ddca9 Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
Nathan Froyd
70907fb5f2 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Robert Longson
9b626bf890 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Blake Kaplan
662d0db31b Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Peter Van der Beken
ec969bf862 Add new DOM binding for SVG list classes. r=jst.
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Ed Morley
b9546dd6c4 Backout fe139851fb34 (bug 734079) for M1 orange 2012-03-12 00:23:35 +00:00
Jonathan Watt
840e4a84a2 Bug 734079 - Give nsSVGSwitchElement::MaybeInvalidate a better name and comment. r=longsonr. 2012-03-11 23:04:37 +00:00
Boris Zbarsky
333a19ad97 Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking 2012-03-10 10:13:52 -06:00
Marco Bonardo
483472ec0a Merge central to inbound 2012-03-10 11:25:12 +01:00
Emanuel Hoogeveen
bdce617c30 Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey 2012-03-09 21:50:34 -08:00
Daniel Holbert
303ac7cf78 Bug 734288: Use double math instead of float math for computing surface sizes in nsSVGFE::SetupScalingFilter. r=longsonr 2012-03-09 14:32:11 -08:00
Cameron McCormack
8a8040dc03 Bug 731813 - Do not attempt to serialize SVG attributes for mutation events if they do not exist. r=jwatt,bzbarsky
--HG--
extra : rebase_source : 6af188d032bdcd28a19b2da0f46e185cfd52b20d
2012-03-05 10:38:03 +11:00
Robert Longson
a2019bab87 Bug 732836 - stop asserts when width or height attributes are removed from a use element. r=dholbert 2012-03-07 10:50:36 +00:00
Robert Longson
f4b78cd17b Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Nicholas Nethercote
d73f98344b Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Brian Birtles
4a28491849 Bug 705236 part 1 - Allow trailing separator in SMIL values list; r=dholbert 2012-02-24 09:45:40 +09:00
Cameron McCormack
ca295e718c Bug 728661 - Remove CalcVectorAngle and use AngleOfVector instead. r=jwatt 2012-02-20 11:37:22 +11:00
Jonathan Watt
3864018bdb Bug 721920 - Honor the 'lang' and 'xml:lang' attributes in SVG as we do in HTML. r=bz. 2012-02-19 20:49:34 +00:00
Cameron McCormack
420df5aca2 Bug 620468 - Bail out earlier when computing CTM of an <svg> element with negative width/height attributes. r=longsonr 2012-02-19 22:17:12 +11:00
Robert Longson
dcb4be0401 Bug 696210 - Make DidAnimate methods non-virtual now that all overrides have been eliminated. r=jwatt 2012-02-19 09:04:06 +00:00
Jonathan Watt
6598b18ef8 Bug 660216, part 3 - getBBox and getCTM on foreignObject should/should not include 'x'/'y' offsets respectively. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
53393f795c Bug 660216, part 2 - Allow PrependLocalTransformsTo callers to specify which transforms they want. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
643ca48cdf Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Brian Birtles
4e768630d0 Bug 629200 part 25 - Remove unnecessary serialisation from setting SVGStringList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e53266bf13 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
5c6349f59c Bug 629200 part 22 - Remove unnecessary serialisation from setting SVGTransformList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
3066580868 Bug 629200 part 21 - Remove unnecessary serialisation from setting SVGPathSegList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e378090f95 Bug 629200 part 20 - Remove unnecessary serialisation from setting SVGPointList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
968769bbbe Bug 629200 part 19 - Remove unnecessary serialisation from setting nsSVGNumberList; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
52f4a9ce3c Bug 629200 part 18 - Remove unnecessary serialisation from setting nsSVGViewBox; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
e740b47772 Bug 629200 part 17 - Remove unnecessary serialisation from setting nsSVGPreserveAspectRatio; r=jwatt 2012-02-16 08:40:46 +09:00
Brian Birtles
05b3affab8 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
1fc48bd472 Bug 629200 part 15 - Remove unnecessary serialisation from setting nsSVGBoolean; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
80e405f0f9 Bug 629200 part 14 - Remove unnecessary serialisation from setting nsSVGAngle; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
9cd844974f Bug 629200 part 13 - Remove unnecessary serialisation from setting nsSVGIntegerPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
1f3dd3edf9 Bug 629200 part 12 - Remove unnecessary serialisation from setting nsSVGInteger; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
d81431bbb1 Bug 629200 part 11 - Remove unnecessary serialisation from setting nsSVGNumberPair; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
ab3beaefd2 Bug 629200 part 10 - Remove unnecessary serialisation from setting nsSVGNumber2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
814275663b Bug 629200 part 9 - Update attribute setting for SVGAnimatedLengthList; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
e80d82ace3 Bug 629200 part 8 - Remove unnecessary serialisation from setting nsSVGLength2; r=jwatt 2012-02-16 08:40:45 +09:00
Brian Birtles
a5bab9e970 Bug 629200 part 7 - Remove unnecessary serialisation from setting SVGEnum; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
3f73aeb971 Bug 629200 part 6 - Add test framework for modification events; r=jwatt 2012-02-16 08:40:44 +09:00
Brian Birtles
aa6bce14d2 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Robert Longson
75bfd8d921 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
989bcc0208 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Mounir Lamouri
be36ebc4ba Merge mozilla-central into mozilla-inbound. 2012-02-09 11:31:59 +01:00
Serge Gautherie
eb17a765d8 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
3597d04455 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
3cf3246000 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
a41a53c13c Bug 724703 - Mark a couple more functions on SVGLengthList as const. r=dholbert 2012-02-07 10:49:08 +11:00
Cameron McCormack
6158bb68dd Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
14d6cab89d Bug 619469 - animation should be disabled for failing conditional-processing conditions. r=dholbert 2012-02-05 23:17:23 +00:00
Panagiotis Koutsourakis
9c7dfb9706 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
cb47632788 Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Boris Zbarsky
af195dcd09 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
4ed39163d3 (no bug, comment-only) Fix broken link to feDiffuseLighting chunk of SVG spec. DONTBUILD 2012-02-01 17:55:05 -08:00
Jonathan Watt
df19099733 Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap. 2012-01-31 13:18:08 +00:00
Jonathan Watt
3be59db146 No bug. Fix orange for real.
--HG--
extra : rebase_source : 7dfa3d81e6c2103828627ab1c3def7a86eac7e18
2012-01-28 13:20:44 +00:00
Jonathan Watt
35795de943 No bug. Fix orange. 2012-01-28 12:08:27 +00:00
Jonathan Watt
fa0364daf6 Bug 711958 - Add a 'length' property to DOMSVGStringList. r=dholbert. 2012-01-28 10:43:34 +00:00
Jonathan Watt
1bf71f3dbb 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
05d3f21653 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
a9f6927413 Bug 718968 - Remove old include paths from Makefile.in. r=dholbert. 2012-01-18 11:49:00 +00:00
Daniel Holbert
bedaa1ea65 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
d382eb7335 Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Robert Longson
6dd534bbe4 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Bobby Holley
8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Jonathan Watt
b2807a33da 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
ea572ad911 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
dcfa1754b2 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
2d75e4a6ac 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
4844761460 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
869372f78c 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
77aa894da7 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
beed8018d0 Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt 2011-11-29 14:06:30 -08:00
Ms2ger
7440f2e640 Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Robert Longson
dd31b4edbf 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
a0715110cb 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
6b9b01a122 Bug 698195 - Use AfterSetAttr to process script href changes. r=dholbert 2011-11-19 09:00:04 +00:00
Ms2ger
4e03d81337 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
7a9dd20769 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Jonathan Watt
de6035b118 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
52ccc4cb61 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Robert Longson
032d99d10e Bug 699147 - Simplify lengthList parsing. r=jwatt 2011-11-09 12:58:34 +00:00
Robert Longson
3fbeca9285 Bug 280391 - implement SVGSVGElement.getElementById. r=jwatt,bzbarsky 2011-11-08 15:00:29 +00:00
Ed Morley
219d1eb56e Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
7ea8e12caa 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
8a393f7f40 Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Jonathan Watt
7c44aca343 Backout 12b227a42623, bug 653928 (changes to SVG arc path segment animation). 2011-11-02 19:15:32 +00:00
Mounir Lamouri
3a49db6e96 Bug 698534 - Fix build bustage when smil is disabled. r=dholbert 2011-11-01 20:22:30 +01:00
Robert Longson
4778a050df Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt
66f54fe5a4 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
f0eafefb12 Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Robert Longson
2e96bf74ce 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
7676345a9c 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
9139d5704e Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
2d83ed6c08 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
f2c48c50e8 Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Marco Bonardo
ea7024ac8c Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
5a92aedb22 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
2c2da3099f 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
92064e6d3f 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
b5e57820bf 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
de888b0589 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
bb5c591827 Backout changeset c49fd40bbd2b (bug 528444) for causing M1 orange; a=philor 2011-10-14 16:10:01 +01:00
Robert Longson
2dbaf01aba 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
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf 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
6aee1741d4 Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2b54e2d71f Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Ehsan Akhgari
33b859a0b7 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Robert Longson
938672ab18 Bug 691194 - Move filter element attribute processing to the frame class. r=dholbert 2011-10-09 18:17:29 +01:00
Robert Longson
dddc0cfe59 Bug 691298 - Remove aDoSetAttr arguments where callers always pass the same value. r=dholbert 2011-10-09 16:25:07 +01:00
Robert Longson
090ed7186b Bug 550047 - Removing attributes from most elements does not cause a refresh. r=dholbert 2011-10-08 07:32:44 +01:00
Robert Longson
e91a17958d Bug 693145 - Simplify class animation processing. r=dholbert 2011-10-18 13:43:57 +01:00
Peter Van der Beken
9fe2ac6cc5 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Boris Zbarsky
87d7169763 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
e9329ec38b Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
e5ead17a8f 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
387f4610a3 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson
b58e09e78f Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson
8b2778952e Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu
d2b70213ac 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
David Zbarsky
98b91d54fa Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Brian Birtles
8398e488ba Bug 602759 part 17 - Remove unnecessary BeforeSetAttr overrides; r=jwatt 2011-09-25 22:05:02 +01:00
Brian Birtles
45dbaa2bf0 Bug 602759 part 15 - Rename nsSVGTransformListParser as SVGTransformListParser; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformListParser.cpp => content/svg/content/src/SVGTransformListParser.cpp
rename : content/svg/content/src/nsSVGTransformListParser.h => content/svg/content/src/SVGTransformListParser.h
2011-09-25 22:04:32 +01:00
Brian Birtles
cfe493e614 Bug 602759 part 14 - Mark tests that now pass as such; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
0aa10c2fb2 Bug 602759 part 11 - Update nsSVGTransformListParser to use new SVG transform types; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
23a09913b7 Bug 602759 part 10 - Update SVG elements to use new SVG transform types; r=longsonr, r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
2800e76c9c Bug 602759 part 9 - Refactor nsSVGTransformSMILType to use SVGTransformSMILData; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformSMILType.cpp => content/svg/content/src/SVGTransformListSMILType.cpp
rename : content/svg/content/src/nsSVGTransformSMILType.h => content/svg/content/src/SVGTransformListSMILType.h
2011-09-25 22:04:31 +01:00
Brian Birtles
d52dbc204f Bug 602759 part 8 - Move nsSVGSMILTransform to SVGTransform; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
bdc7e4ee3e Bug 602759 part 7 - Refactor nsSVGAnimatedTransformList into SVGAnimatedTransformList and DOMSVGAnimatedTransformList and incorporate nsSVGTransformSMILAttr; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGAnimatedTransformList.cpp => content/svg/content/src/DOMSVGAnimatedTransformList.cpp
rename : content/svg/content/src/nsSVGAnimatedTransformList.h => content/svg/content/src/DOMSVGAnimatedTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
722c1262b1 Bug 602759 part 6 - Refactor nsSVGTransformList into SVGTransformList and DOMSVGTransformList; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformList.cpp => content/svg/content/src/DOMSVGTransformList.cpp
rename : content/svg/content/src/nsSVGTransformList.h => content/svg/content/src/DOMSVGTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
cc0d40be65 Bug 602759 part 5 - Refactor nsSVGTransform into SVGTransform and DOMSVGTransform; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransform.cpp => content/svg/content/src/DOMSVGTransform.cpp
rename : content/svg/content/src/nsSVGTransform.h => content/svg/content/src/DOMSVGTransform.h
2011-09-25 22:04:27 +01:00
Brian Birtles
12e71e95c7 Bug 602759 part 4 - Update DOMSVGPoint to use gfxMatrix; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
dc867fcc84 Bug 602759 part 3 - Rewrite nsSVGMatrix and use gfxMatrix instead; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGMatrix.cpp => content/svg/content/src/DOMSVGMatrix.cpp
rename : content/svg/content/src/nsSVGMatrix.h => content/svg/content/src/DOMSVGMatrix.h
2011-09-25 22:03:26 +01:00
Brian Birtles
036a332544 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
58f1da28a0 Bug 602759 part 1 - Refactor SVG list tests to correct assumptions about SMIL; r=jwatt 2011-09-25 22:03:26 +01:00
Robert Longson
a2e4f4c4cd Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00