Граф коммитов

718 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 0a78467896 Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
Robert Longson b8fffd1b06 Bug 470653 - nsSVGElement::AfterSetAttr should probably use insertionParent, not insertionParent of the bindingParent. r+sr=roc 2009-03-09 13:14:35 +00:00
Daniel Holbert 3f4092e862 Bug 481562: Don't create time container for an <svg> element until after it's been bound to a smil-enabled document. r+sr=roc 2009-03-07 13:40:08 -08:00
Robert Longson 43eecbf562 Backout patch for bug 361920 2009-02-27 14:13:53 +00:00
Robert Longson 47eb6b179e Bug 479968 - CreateSVGNumber should create a number initialised to 0. r+sr=roc 2009-02-25 10:08:44 +00:00
Arpad Borsos e20d1c56d5 Mochitest for Bug 342513 2009-02-23 19:39:46 +00:00
Robert Longson a094eff461 Bug 361920 - Incorrect unit conversion for SVGLength created through createSVGLength. r+sr=roc 2009-02-23 11:24:05 +00:00
Craig Topper f054d43eb2 Bug 435525 - Setting viewBox to empty string on a referenced SVG document from script does not cause an update. r+sr=roc 2009-02-19 13:53:46 +00:00
Martin 0439fa763d Bug 478570. SVG feConvolveMatrix 'order' attribute should default to 3, as per spec errata. r=roc,longsonr
--HG--
extra : rebase_source : 68e462f74e11f108735586bfde1441ad0b3760c3
2009-02-17 09:59:06 +00:00
Peter Van der Beken 6740ce42ec Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst. 2009-02-17 15:08:08 +01:00
Robert Longson 84b81d40ad Bug 477996 - scale transforms are not serialised correctly. r+sr=roc 2009-02-12 13:20:49 +00:00
Robert Longson cb484a75e6 Bug 476489 - Remove unused virtual methods from nsSVGFilterElement. r+sr=roc 2009-02-08 11:21:49 +00:00
Craig Topper 074d581c29 Bug 374111 - DeCOMtaminate SVG viewBox; r+sr=roc 2009-02-03 15:42:24 +01:00
Robert Longson 7399ad83b5 Bug 471165 - add missing test 2009-01-30 13:06:26 +00:00
Craig Topper 7901923474 Bug 474954. No frames need to implement nsISVGValue anymore. r+sr=roc
--HG--
extra : rebase_source : edd574369880b1745f0d5c33277fbcd5e5318dd3
2009-01-30 20:17:29 +13:00
Jonathan Watt 3eb6a93afb Bug 475181. Bounds-check feTile subregion size. r+sr=roc 2009-01-28 22:29:48 +13:00
Daniel Holbert 4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Brian Birtles 7e4a16aa3b Bug 474357, Calls to setCurrentTime, beginElementAt etc. should update the DOM state immediately. r+sr=roc
--HG--
extra : rebase_source : 7c69aae13ee1c1b4fff077a046e042bae9a4970d
2009-01-22 14:00:27 +13:00
Craig Topper 623a502daa Bug 471551. Stop duplicating SVG string attribute storage by having nsSVGString use the attribute value as the underlying base value (removing mBaseVal); also make mAnimVal an nsAutoPtr<nsString>. r=longsonr,r+sr=roc
--HG--
extra : rebase_source : 319ff11d4321f2f7f41a7d19f17435fe814b1079
2009-01-22 13:56:51 +13:00
Robert O'Callahan 96bd05744f Merged backout of bug 471551 2009-01-20 00:26:31 +13:00
Robert O'Callahan 1f829702e4 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13:00
Brian Birtles 802428be09 Bug 468996. Implement SMIL animateTransform element. r+sr=roc 2009-01-19 22:14:16 +13:00
Brian Birtles 9973adc34e Bug 474257. Implement SVG 1.1 erratum to make beginElementAt/endElementAt return void. r+sr=roc 2009-01-19 22:12:29 +13:00
Brian Birtles 48fbbe3ba1 Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc 2009-01-19 22:10:53 +13:00
Robert O'Callahan 8b97c81cd0 Bug 471551. Avoid duplicate string storage for SVG string attributes; let nsSVGString get the baseval from the element. Also change mAnimVal to an nsAutoPtr to minimize storage in the non-animated common case. r=longsonr,sr=roc 2009-01-19 22:03:31 +13:00
Craig Topper 523efb98ec Bug 473334. Devirtualize some nsSVGSVGElement methods. r=jwatt,sr=roc
--HG--
extra : rebase_source : 7a14a6c7697283a490696c43f3f62a23ad1beba4
2009-01-16 21:16:46 +13:00
Craig Topper 04ef5a295c Bug 473347. nsSVGLength2 DOM tearoffs need to check for infinity/NaN. r=jwatt,sr=roc
--HG--
extra : rebase_source : 5af871d159a32c86e31f0c6aaa2ca25e88f4d928
2009-01-16 21:16:06 +13:00
Brian Birtles 0a47d48dae Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Boris Zbarsky c32e2bb103 Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Benjamin Smedberg 3498a5f86e Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 73a6fab34b Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg 802d1a10c7 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Jeff Schiller f94052b1e2 Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc 2009-01-09 13:26:59 +13:00
Robert O'Callahan a51278c24f Fix obvious mistake in bug 470911 as well 2009-01-05 15:18:33 +13:00
Robert O'Callahan 96f9df7f7f Fix bustage for bug 470911, try harder^2 2009-01-05 15:15:49 +13:00
Robert O'Callahan 95debd473e Fix bustage for bug 470911, try harder 2009-01-05 15:13:49 +13:00
Robert O'Callahan 96da78e817 Fix bustage for bug 470911 2009-01-05 14:54:16 +13:00
Robert O'Callahan 112000f159 Bug 470911. Make the preserveAspectRatio attribute storage much simpler and make the DOM accessors use tear-offs. With help from Craig Topper. r+sr=roc
--HG--
extra : rebase_source : 1a073c76d07c0a4532b2caf9978ef5847b36dec8
2009-01-05 14:19:38 +13:00
Craig Topper 70985fa04f Bug 471165. Make SVG animated class storage an nsAutoPtr<nsString> and make the DOM 'className' object a tear-off. r=longsonr,sr=roc
--HG--
extra : rebase_source : 8ba937100e482ea0dab88a310ad378afd76c8953
2009-01-05 14:13:56 +13:00
Craig Topper f5cac90604 reverting 245acb960a88 2009-01-04 17:02:07 +00:00
Craig Topper 21b2d18fb0 Bug 471165 - Removing the class attribute doesn't clear class name. r=longsonr,sr=roc 2009-01-04 15:51:11 +00:00
Jesse Ruderman e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Peter Van der Beken 7089f3a54c Fix for bug 467671 (Leak 6 nsGlobalWindows due to DOMAnimatedLength not participating in cycle collection). 2008-12-30 17:32:22 +01:00
Daniel Holbert 8187f38cfe whitespace-only: Fix bad indentation on one line of nsSVGAnimatedTransformList.cpp 2008-12-29 17:40:08 -08:00
Craig Topper f16a5513ad Bug 471235 - IsAttributeMapped appears in many SVG class definitions with NS_IMETHODIMP_ instead of NS_IMETHOD_; r=longsonr sr=roc 2008-12-28 07:58:37 +01:00
Craig Topper 339840012e Bug 471239 - nsSVGElement::ParseAttribute doesn't return PR_TRUE for new style SVG strings; r=longsonr sr=roc 2008-12-27 23:52:30 +01:00
Olli Pettay 16839ee88b Bug 470571, r=longsonr, sr=roc 2008-12-27 21:20:44 +02:00
Robert Longson 1c4108c821 backout bug 465996 as it only works in restricted circumstances. 2008-12-07 11:26:13 +00:00
Zack Weinberg 5f09cf12fb Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
Robert Longson 6ddfbd9bd8 Bug 466576 - Null deref [@ nsSVGTransformList::GetValueString] after failed appendItem; r+sr=roc 2008-12-04 14:03:39 +01:00
Olli Pettay cb15ff06b9 Bug 464009, patch2, r+sr=sicking 2008-12-03 12:39:21 +02:00
Robert Longson 2d58977916 Bug 465996. Use Ellipse instead of Arc to draw circles. r+sr=roc 2008-12-03 10:02:32 +13:00
Robert O'Callahan 521f2e6f35 Bug 442633. Detect removal of href attribute on SVG <use> elements. r=longsonr,sr=mats 2008-12-03 09:37:18 +13:00
Shawn Wilsher 6e42ece5c7 Disabling test that was added with bug 463934. There appear to be rounding issues with part of the test.
This is going into a CLOSED TREE, but that's OK.  The bug that landed this test
fixed a large performance regression in Txul, and it looks like it's just an
issue with the test.
2008-11-29 16:07:43 -08:00
Robert Longson 598a7a8191 Bug 463934 - text bounds do not account for position properly
Landing this to see if it fixes bug 465222 - tsvg regression November 3 2008
r=roc, sr=roc, a1.9.1=beltzner
2008-11-29 11:23:57 -08:00
Peter Van der Beken fa0dba9913 Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst. 2008-11-27 18:45:25 +01:00
Robert Longson c4d00710fe Mochitests for bug 459953 2008-11-09 11:41:22 +00:00
Peter Van der Beken d30dca0b1b Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Ted Mielczarek 896d5b70b0 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Robert Longson 60de4e3ecc Bug 459953 - Some path segments have the wrong pathSegTypeAsLetter. r+sr=roc 2008-10-30 14:05:33 +00:00
Frédéric WANG a4e0e0c8e9 Bug 449746 - Switch content is not displayed with requiredExtensions="http://www.w3.org/1999/xhtml" or requiredExtensions="http://www.w3.org/1998/Math/MathML"; r=(longsonr + mozbugz + roc) 2008-10-29 05:21:06 +01:00
Brad Lassey ccdc1295e6 Bug 458953 - undef'ing LoadImage in nsSVGFilters.cpp breaks wince build r=roc 2008-10-16 10:53:36 -04:00
Robert Longson d42cc6f9a1 Fix mochitests for bug 437448 to only run once rather than twice 2008-10-11 16:48:35 +01:00
Robert Longson 878f31f201 Modify existing mochitest to cover bug 456282 2008-10-11 15:03:53 +01:00
Robert Longson 7517d71862 Bug 458087 - Use global comma separated tokeniser now that we have one. r+sr=roc 2008-10-11 13:40:43 +01:00
Boris Zbarsky 88512b418e Bug 433616. Fix the XML parser's bailing out on CSS loads blocked by the security manager, fix a base URI bug in <svg:use>, add some more tests. r=jst, sr=roc 2008-09-28 15:18:04 -04:00
Boris Zbarsky c9e6929f52 Bug 433616 part 3. Integration of externa resource documents into nsReferencedElement, plus some SVG fixups needed to handle nsReferencedElement returning an element from a different document, r+sr=roc 2008-09-28 15:16:15 -04:00
Boris Zbarsky ead0309499 Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron 171a2b46ae Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan 4f0fd7d2cb Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky 9599df476b Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky d326d65b0d Bug 433616. Fix the XML parser's bailing out on CSS loads blocked by the security manager, fix a base URI bug in <svg:use>, add some more tests. r=jst, sr=roc 2008-09-28 15:18:04 -04:00
Boris Zbarsky fbd4083bf9 Bug 433616 part 3. Integration of externa resource documents into nsReferencedElement, plus some SVG fixups needed to handle nsReferencedElement returning an element from a different document, r+sr=roc 2008-09-28 15:16:15 -04:00
Boris Zbarsky 72a7d1cba0 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Taras Glek ba02fffe86 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Robert Longson e8ff3730c6 Bug 455226 - Removing the xlink:href attribute of an feImage filter does not cause it to change; r+sr=bzbarsky 2008-09-20 17:07:54 +02:00
Taras Glek 74132a5585 bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky 215e95380a Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
Robert O'Callahan b52d3794d5 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Ted Mielczarek ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Jesse Ruderman bd9408fe90 Add testcase for bug 427325 as a crashtest 2008-09-06 13:36:22 -07:00
Robert O'Callahan fb7a994159 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert Longson f48fd6d7c3 Bug 450495 - Bustage fix 2008-08-17 15:35:58 +01:00
Robert Longson d388bfe998 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan 842b3fea92 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan 34de2392a2 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Robert O'Callahan c2e7c7baa2 Bug 449327. nsSVGObjectFrame::GetBBox should account for canvas TM. Also add some simple bbox tests even though they don't test this bug. r=longsonr,sr=mats 2008-08-15 22:24:01 +12:00
Robert Longson f9ae3d8f8b bug 302971 - Remove failing ex tests (still have em test for units with e in) 2008-08-12 18:58:25 +01:00
Robert Longson 0cc419aa45 bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert Longson 06d962c3ea Bug 448938 - Fix relative URIs in image filters and make href processing more consistent. r+sr=roc 2008-08-07 15:03:58 +01:00
Robert O'Callahan 05b3a72a9c Bug 448612. Remove incorrect assertion. r=longsonr,sr=mats 2008-08-06 12:28:49 +12:00
Robert Longson 07fd1bd933 bug 445101 - rendering does not change if systemLanguage attribute changes r=jwatt,sr=bzbarsky 2008-08-05 13:01:47 +01:00
Jonas Sicking b16bc2848c Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
Robert Longson 188cbc0412 Bug 448506 - support xlink:show attribute in links. r=jwatt,sr=roc 2008-08-01 10:52:23 +01:00
Daniel Holbert 7e618ebb7c Fixing a typo in a comment. 2008-07-24 14:57:28 -07:00
Ere Maijala 88c1909593 Merge commit for bug 112294 2008-07-23 10:32:44 +03:00
roc@localhost 720ceb1f92 Bug 445297. Optimize filters so that changes to the source image don't have to repaint the entire filter. r=longsonr,sr=mats 2008-07-23 14:15:27 +12:00
Daniel Holbert e0f69967f6 (No code changes) Remove executable bit from the files in content/svg/ that shouldn't be executable. 2008-07-22 17:29:29 -07:00
Robert O'Callahan 69aabc9ae4 Bug 445269. Change nsRect to nsIntRect in filter implementations to make it clear these are pixel rects. Also fix a few style nits. r=longsonr,sr=mats 2008-07-15 20:57:31 +12:00
Robert O'Callahan b2bdb8ad76 Bug 445081. Refactor code to use ComputeNormalizedHypotenuse ... relanding with a fix so that we don't lose precision and break SVG text mochitests. r=longsonr,sr=mats 2008-07-15 20:46:54 +12:00