Commit Graph

955 Commits

Author SHA1 Message Date
Neil Deakin
b9d2d5f9e3 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Robert Longson
1da0ad8340 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
7e03ed3dfb Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
Daniel Holbert
1bc91e5a66 Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr 2012-05-21 13:38:50 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Longson
a0618adcda Bug 754592 - Lazily allocate conditional processing data. r=jwatt 2012-05-19 14:37:16 +01:00
Benjamin Smedberg
4f91700da9 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
6449306e50 Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Robert Longson
38cb4c47d9 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Robert Longson
3d82caf05b 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
cef9ecb825 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
75835eecfc 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
2977682c89 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
e5b7d2725a 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
e9638bfe86 Bug 751515 - Fix Crash with convertToSpecifiedUnits. r=dholbert 2012-05-04 08:41:42 +01:00
Shriram Kunchanapalli
bb6f3e9ec6 Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Phil Ringnalda
1f0b033b16 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
babbc77a31 Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Masatoshi Kimura
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Robert Longson
58735a46be Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Jonathan Watt
7ca527468b Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Robert Longson
3c0ce8608d Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc 2012-04-13 08:01:55 +01:00
Kyle Huey
50f43dd111 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
b1e7e0165e 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
bf00219e54 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
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Ms2ger
818ebb672e No bug - Remove an always-true check. 2012-03-29 23:12:55 +02:00
Ms2ger
968425f97e Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Peter Van der Beken
6fd0c1b877 Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jonathan Watt
ce86671d1b 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
cfd1f311f8 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
4ef8b576ac 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
ff7970ca9c Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 22:20:21 +11:00
Ryan VanderMeulen
05d65ad8b8 Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes. 2012-03-19 22:28:30 -04:00
Cameron McCormack
68182d3c91 Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 12:49:13 +11:00
Robert Longson
a46069d55c Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 18:24:35 +00:00
Robert Longson
0d32a0fedf Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 12:25:28 +00:00
Jonathan Watt
4c723d804d 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
70cbaa6b9e Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Robert Longson
9c2b5601f7 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Blake Kaplan
7a4eeff601 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
c3b954ffff 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
eeb3ddd72d Backout fe139851fb34 (bug 734079) for M1 orange 2012-03-12 00:23:35 +00:00
Jonathan Watt
d094133133 Bug 734079 - Give nsSVGSwitchElement::MaybeInvalidate a better name and comment. r=longsonr. 2012-03-11 23:04:37 +00:00
Boris Zbarsky
d9b813e56a 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
3fbca2db23 Merge central to inbound 2012-03-10 11:25:12 +01:00
Emanuel Hoogeveen
5dbd39a604 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
25e7cf48e1 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
3beb45c427 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
7a81195fe5 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
614603a7a2 Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Nicholas Nethercote
9d7b189319 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
7ad86b97e5 Bug 705236 part 1 - Allow trailing separator in SMIL values list; r=dholbert 2012-02-24 09:45:40 +09:00
Cameron McCormack
dcb4c35ec9 Bug 728661 - Remove CalcVectorAngle and use AngleOfVector instead. r=jwatt 2012-02-20 11:37:22 +11:00
Jonathan Watt
83728fb808 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
60272806aa 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
ddcd501d75 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
b63e9750b0 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
0bfc1ece4f 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
5913361070 Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Brian Birtles
be334cd8ff Bug 629200 part 25 - Remove unnecessary serialisation from setting SVGStringList; r=jwatt 2012-02-16 08:40:46 +09:00
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