Commit Graph

1359 Commits

Author SHA1 Message Date
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