Brian Birtles
a4cee8ae5a
Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc
2009-01-19 22:10:53 +13:00
Robert O'Callahan
9a8a9a01d5
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
4f9ced556d
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
d38bddc845
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
adf1d4fa7c
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
00e66d09cf
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
24e7cb1f78
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
50621e4f9f
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
d0b948876f
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
efd64b7e1d
Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc
2009-01-09 13:26:59 +13:00
Robert O'Callahan
4ef4ddca28
Fix obvious mistake in bug 470911 as well
2009-01-05 15:18:33 +13:00
Robert O'Callahan
dc7ce41957
Fix bustage for bug 470911, try harder^2
2009-01-05 15:15:49 +13:00
Robert O'Callahan
1bba11231b
Fix bustage for bug 470911, try harder
2009-01-05 15:13:49 +13:00
Robert O'Callahan
33e4a2f135
Fix bustage for bug 470911
2009-01-05 14:54:16 +13:00
Robert O'Callahan
f5ac70880b
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
5d6ba2df4a
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
26e18b4971
reverting 245acb960a88
2009-01-04 17:02:07 +00:00
Craig Topper
0e36e0cef5
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
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Peter Van der Beken
2b25dc0406
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
29eded8020
whitespace-only: Fix bad indentation on one line of nsSVGAnimatedTransformList.cpp
2008-12-29 17:40:08 -08:00
Craig Topper
48ae659bfa
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
4547ca3bd9
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
04dfa0f508
Bug 470571, r=longsonr, sr=roc
2008-12-27 21:20:44 +02:00
Robert Longson
ee47da1b58
backout bug 465996 as it only works in restricted circumstances.
2008-12-07 11:26:13 +00:00
Zack Weinberg
d6ddf74552
Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc
2008-12-04 21:01:37 -08:00
Robert Longson
6827a829f8
Bug 466576 - Null deref [@ nsSVGTransformList::GetValueString] after failed appendItem; r+sr=roc
2008-12-04 14:03:39 +01:00
Olli Pettay
865f72a9f1
Bug 464009, patch2, r+sr=sicking
2008-12-03 12:39:21 +02:00
Robert Longson
6c4a1e164f
Bug 465996. Use Ellipse instead of Arc to draw circles. r+sr=roc
2008-12-03 10:02:32 +13:00
Robert O'Callahan
943fd411b1
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
d217862ba4
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
beb1a27d17
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
97f5b22d33
Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst.
2008-11-27 18:45:25 +01:00
Robert Longson
5f10cfb549
Mochitests for bug 459953
2008-11-09 11:41:22 +00:00
Peter Van der Beken
e743beb9c4
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
26dab6f284
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Robert Longson
4e5857e669
Bug 459953 - Some path segments have the wrong pathSegTypeAsLetter. r+sr=roc
2008-10-30 14:05:33 +00:00
Frédéric WANG
7cc6add571
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
533ed3c416
Bug 458953 - undef'ing LoadImage in nsSVGFilters.cpp breaks wince build r=roc
2008-10-16 10:53:36 -04:00
Robert Longson
26e61e2385
Fix mochitests for bug 437448 to only run once rather than twice
2008-10-11 16:48:35 +01:00
Robert Longson
75086a347c
Modify existing mochitest to cover bug 456282
2008-10-11 15:03:53 +01:00
Robert Longson
7387509a64
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
0ffb67d7b2
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
806f011a3c
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
f819f89b7d
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
ba09bf22bc
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
016f579354
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
012ae72fd1
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
a1747d8210
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
b513c32fdf
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
f15bf80fc3
Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-09-28 15:15:22 -04:00
Taras Glek
390adbe464
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
7b1b731a6a
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
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Boris Zbarsky
284e2ff6c9
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
539a029252
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
468a3823fc
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
8910816179
Add testcase for bug 427325 as a crashtest
2008-09-06 13:36:22 -07:00
Robert O'Callahan
1499813be0
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
0cf414cc75
Bug 450495 - Bustage fix
2008-08-17 15:35:58 +01:00
Robert Longson
0f5abca8c0
Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc
2008-08-17 12:18:21 +01:00
Robert O'Callahan
65a0e17d1b
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690
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
b19aa85b24
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
f4851b1136
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
fc1670f89f
bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron
2008-08-12 15:02:22 +01:00
Robert Longson
2e3b78ad9a
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
7066642cc0
Bug 448612. Remove incorrect assertion. r=longsonr,sr=mats
2008-08-06 12:28:49 +12:00
Robert Longson
9a86e54736
bug 445101 - rendering does not change if systemLanguage attribute changes r=jwatt,sr=bzbarsky
2008-08-05 13:01:47 +01:00
Jonas Sicking
cfd4e7f824
Bug 28293: Implement defer attribute. r/sr=jst
2008-07-25 19:42:12 -07:00
Robert Longson
6ef4351766
Bug 448506 - support xlink:show attribute in links. r=jwatt,sr=roc
2008-08-01 10:52:23 +01:00
Daniel Holbert
7e33f206d5
Fixing a typo in a comment.
2008-07-24 14:57:28 -07:00
Ere Maijala
b900715bbc
Merge commit for bug 112294
2008-07-23 10:32:44 +03:00
roc@localhost
2b1f9eed61
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
66bd62213b
(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
ede547c05a
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
bfe75b2156
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
Robert O'Callahan
f90023250c
Backing out changeset 4624fef36355 (bug 445081) due to test failures on Windows and Mac
2008-07-15 16:36:19 +12:00
Robert O'Callahan
3f6b07d740
Bug 445081. Factor out code to create nsSVGUtils::ComputeNormalizedHypotenuse. r=longsonr,sr=mats
2008-07-15 15:12:40 +12:00
Robert O'Callahan
90e343b2fd
Bug 418201. Restrict filter processing to the dirty area. r=longsonr,sr=mats
2008-07-15 15:08:47 +12:00
Robert O'Callahan
50dec1e8a5
Bug 416305. Part 2: Introduce image flag to indicate that all the color channel values are equal, set it for source-alpha images, and optimize Gaussian blur when the color channel values are known to be all-zero. r=longsonr,sr=mats
2008-07-14 14:49:07 +12:00
Robert O'Callahan
ae151d6c10
Bug 416305. Part 1, fixing C++ bustage
2008-07-14 13:34:10 +12:00
Robert O'Callahan
133e8872e2
Bug 416305. Part 1: restructure SVG filters to remove the image dictionary and pass Image objects along edges of the filter primtive graph; filter primitive analysis and coordination is moved to nsSVGFilterInstance. r=longsonr,sr=mats
2008-07-14 13:21:25 +12:00
Robert Longson
67af1e3115
Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc
2008-07-13 12:30:48 +01:00
Jesse Ruderman
e435ef03c9
Add crashtest for bug 413174
2008-07-11 14:07:35 -07:00
Olli Pettay
4f3072b44e
Bug 443556, svg:use crashes, r+sr=roc
2008-07-09 13:50:48 +03:00
Daniel Holbert
478289af35
Comment-only change: s/effect/affect/, and added '.' at end of sentence.
2008-07-08 02:24:36 -07:00
Benjamin Smedberg
ec69c9db81
Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst
2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f
Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats
2008-06-26 10:41:04 +12:00
Robert O'Callahan
69788c0506
Bug 439375. Improve Gaussian blur inner loop. r=longsonr,sr=mats
2008-06-26 10:12:12 +12:00
Robert Longson
21ba289711
Bug 441339 - Simplify number-optional-number parsing. r+sr=roc
2008-06-24 13:54:11 +01:00
Robert Longson
4fa9e4bba2
Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). (removing obsolete files) r+sr=roc
2008-06-14 21:11:14 +12:00
Robert Longson
fe93116235
Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). (adding missed files) r+sr=roc
2008-06-14 21:09:44 +12:00
Robert Longson
9c1c1e8d06
Bug 437448. New-style nsSVGString (simpler and more efficient support for animated values). r+sr=roc
2008-06-14 21:01:02 +12:00
longsonr@gmail.com
2b2196fb52
Bug 429774. r+sr=roc,a1.9=beltzner
2008-04-23 05:35:28 -07:00
jruderman@hmc.edu
62881c12ae
Add crashtests
2008-04-22 21:12:49 -07:00
jwatt@jwatt.org
4f6cd96722
Bug 428228. Removing element from SVG <svg> crashes. r=longsonr, sr=roc, a=beltzner
2008-04-15 01:31:06 -07:00
jruderman@hmc.edu
4ad682b095
Add crashtest
2008-04-14 16:40:17 -07:00
jruderman@hmc.edu
613ec768d7
Fix bug 428841, Crash [@ nsSVGPathElement::GetPathSegAtLength] due to signedness error. r+sr=roc, a=damon
2008-04-14 16:38:50 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00