Closed
Bug 847120
Opened 11 years ago
Closed 11 years ago
Convert filter elements that implement nsIDOMSVGFilterPrimitiveStandardAttributes to WebIDL
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(29 files, 3 obsolete files)
417.63 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
402.16 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
4.70 KB,
patch
|
bzbarsky
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
218.39 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
23.65 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
44.29 KB,
patch
|
Ms2ger
:
review+
jwatt
:
feedback+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
385.79 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
15.19 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
319.09 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
21.55 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
297.70 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
23.93 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
275.69 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
26.16 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
238.42 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
18.20 KB,
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
215.45 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
25.13 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
197.44 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
15.31 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
187.54 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
21.78 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
164.16 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
33.35 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
128.11 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
21.32 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
105.82 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
24.82 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
8.97 KB,
patch
|
Ms2ger
:
review+
jwatt
:
feedback+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #720479 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #720480 -
Flags: review?(jwatt)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #720485 -
Flags: review?(Ms2ger)
Comment 4•11 years ago
|
||
Comment on attachment 720479 [details] [diff] [review] SVGFEMergeElement Review of attachment 720479 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/nsSVGFilters.cpp @@ +30,5 @@ > > +NS_INTERFACE_TABLE_HEAD(SVGFEMergeElement) > + NS_NODE_INTERFACE_TABLE3(SVGFEMergeElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) > +NS_INTERFACE_MAP_END_INHERITING(SVGFEMergeElementBase) NS_IMPL_ISUPPORTS_INHERITED3 @@ +30,5 @@ > > +NS_INTERFACE_TABLE_HEAD(SVGFEMergeElement) > + NS_NODE_INTERFACE_TABLE3(SVGFEMergeElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) > +NS_INTERFACE_MAP_END_INHERITING(SVGFEMergeElementBase) {}s get their own line for the constructor
Attachment #720479 -
Flags: review?(Ms2ger) → review+
Comment 5•11 years ago
|
||
Comment on attachment 720485 [details] [diff] [review] SVGFEFloodElement Review of attachment 720485 [details] [diff] [review]: ----------------------------------------------------------------- Same comments. For future reference, it would be nice to have one patch that *just* splits out the classes into their own file, and one that does the renaming/WebIDL stuff. ::: content/svg/content/src/nsSVGFilters.cpp @@ -2205,5 @@ > -public: > - virtual bool SubregionIsUnionOfRegions() { return false; } > - > - // interfaces: > - NS_DECL_ISUPPORTS_INHERITED Did you lose virtual bool SubregionIsUnionOfRegions() { return false; } ?
Attachment #720485 -
Flags: review?(Ms2ger) → review+
Comment 6•11 years ago
|
||
I think extending IsNodeOfType so that we have an eFilter (c.f. eAnimation) would be better than having a separate IsFilterElement method.
Assignee | ||
Comment 7•11 years ago
|
||
Using IsNodeOfType.
Attachment #720480 -
Attachment is obsolete: true
Attachment #720480 -
Flags: review?(jwatt)
Attachment #721012 -
Flags: review?(jwatt)
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #721586 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #721587 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #721588 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #721592 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #721593 -
Flags: review?(Ms2ger)
Comment 13•11 years ago
|
||
Comment on attachment 721586 [details] [diff] [review] Move SVGFEImageElement Review of attachment 721586 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, this was a *lot* easier to review.
Attachment #721586 -
Flags: review?(Ms2ger) → review+
Comment 14•11 years ago
|
||
Comment on attachment 721587 [details] [diff] [review] WebIDL API for FEImage Review of attachment 721587 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEImageElement.cpp @@ +15,5 @@ > namespace mozilla { > namespace dom { > > +JSObject* > +SVGFEImageElement::WrapNode(JSContext *aCx, JSObject *aScope, bool *aTriedToWrap) * to the left @@ +40,3 @@ > imgINotificationObserver, nsIImageLoadingContent, > imgIOnloadBlocker) > +NS_INTERFACE_MAP_END_INHERITING(SVGFEImageElementBase) NS_IMPL_ISUPPORTS_INHERITED7 @@ +284,5 @@ > +SVGFEImageElement::PreserveAspectRatio() > +{ > + nsRefPtr<DOMSVGAnimatedPreserveAspectRatio> ratio; > + mPreserveAspectRatio.ToDOMAnimatedPreserveAspectRatio(getter_AddRefs(ratio), this); > + return ratio.forget(); I'd r+ a better signature here
Attachment #721587 -
Flags: review?(Ms2ger) → review+
Comment 15•11 years ago
|
||
Comment on attachment 721012 [details] [diff] [review] Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=me
Attachment #721012 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/64c624853e92 https://hg.mozilla.org/integration/mozilla-inbound/rev/3710f0b135b8
Assignee | ||
Updated•11 years ago
|
Whiteboard: [leave open]
Assignee | ||
Updated•11 years ago
|
Attachment #721012 -
Flags: checkin+
Assignee | ||
Comment 17•11 years ago
|
||
Wrong bug number in commit message, so backed out and relanded the FEBlend patch: https://hg.mozilla.org/integration/mozilla-inbound/rev/9b7c6a46f1f6
Assignee | ||
Comment 18•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5d3ab7dd1095 https://hg.mozilla.org/integration/mozilla-inbound/rev/96357b85842e https://hg.mozilla.org/integration/mozilla-inbound/rev/808bbc2bc424 https://hg.mozilla.org/integration/mozilla-inbound/rev/cbf9f569d197
Assignee | ||
Updated•11 years ago
|
Attachment #720479 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #720485 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #721586 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #721587 -
Flags: checkin+
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/64c624853e92 https://hg.mozilla.org/mozilla-central/rev/5d3ab7dd1095 https://hg.mozilla.org/mozilla-central/rev/96357b85842e https://hg.mozilla.org/mozilla-central/rev/808bbc2bc424 https://hg.mozilla.org/mozilla-central/rev/cbf9f569d197
Flags: in-testsuite?
Comment 20•11 years ago
|
||
Comment on attachment 721588 [details] [diff] [review] Remove nsIDOMSVGURIReference Review of attachment 721588 [details] [diff] [review]: ----------------------------------------------------------------- Good riddance, but I'd like an SVG kind of guy to sign off on it :)
Attachment #721588 -
Flags: superreview?(jwatt)
Attachment #721588 -
Flags: review?(Ms2ger)
Attachment #721588 -
Flags: review+
Updated•11 years ago
|
Attachment #721592 -
Flags: review?(Ms2ger) → review+
Comment 21•11 years ago
|
||
Comment on attachment 721593 [details] [diff] [review] WebIDL API for FETile Review of attachment 721593 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFETileElement.cpp @@ +13,5 @@ > namespace mozilla { > namespace dom { > > +JSObject* > +SVGFETileElement::WrapNode(JSContext *aCx, JSObject *aScope, bool *aTriedToWrap) * to the left
Attachment #721593 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 22•11 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/cf778a07299d remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/d39b5acb8d83
Assignee | ||
Updated•11 years ago
|
Attachment #721592 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #721593 -
Flags: checkin+
Comment 23•11 years ago
|
||
Backed out in http://hg.mozilla.org/integration/mozilla-inbound/rev/72952b8e3e81 because Windows builds were doing the horrible "Error while running startup cache precompilation" that usually means a crash on startup, no, you can't be told where it crashed, but also retriggered after a clobber, because I always suspect a need to clobber these days. If your second builds are fine, then just reland with yet another clobber set, and touch /CLOBBER so people will know to clobber their builds, too.
Assignee | ||
Comment 24•11 years ago
|
||
Relanded with a clobber https://hg.mozilla.org/integration/mozilla-inbound/rev/885607afe05c https://hg.mozilla.org/integration/mozilla-inbound/rev/243f097d4ba5
Comment 25•11 years ago
|
||
Comment on attachment 721588 [details] [diff] [review] Remove nsIDOMSVGURIReference I'm not a superreviewer, but here's f=jwatt instead.
Attachment #721588 -
Flags: superreview?(jwatt) → feedback+
Assignee | ||
Comment 26•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8bdb5bb64b9e
Assignee | ||
Updated•11 years ago
|
Attachment #721588 -
Flags: checkin+
Comment 27•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/885607afe05c https://hg.mozilla.org/mozilla-central/rev/243f097d4ba5
Assignee | ||
Comment 29•11 years ago
|
||
Attachment #726235 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 30•11 years ago
|
||
Attachment #726236 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 31•11 years ago
|
||
Attachment #726237 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 32•11 years ago
|
||
Attachment #726238 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•11 years ago
|
Attachment #726236 -
Attachment is patch: true
Updated•11 years ago
|
Attachment #726235 -
Flags: review?(Ms2ger) → review+
Comment 33•11 years ago
|
||
Comment on attachment 726236 [details] [diff] [review] WebIDL ColorMatrix Review of attachment 726236 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEColorMatrixElement.cpp @@ +56,3 @@ > > +NS_INTERFACE_TABLE_HEAD(SVGFEColorMatrixElement) > + NS_NODE_INTERFACE_TABLE3(SVGFEColorMatrixElement, nsIDOMNode, nsIDOMElement, For nodes that use the new bindings, you don't need the _NODE_ part anymore. Just use the NS_IMPL_NSISUPPORTS_* macro instead? @@ +86,3 @@ > { > + return DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[VALUES], > + this, VALUES).get(); Don't need the .get() @@ +94,5 @@ > aSources.AppendElement(nsSVGStringInfo(&mStringAttributes[IN1], this)); > } > > nsresult > +SVGFEColorMatrixElement::Filter(nsSVGFilterInstance *instance, * to the left ::: content/svg/content/src/SVGFEColorMatrixElement.h @@ +9,5 @@ > +#include "nsSVGEnum.h" > +#include "nsSVGFilters.h" > +#include "SVGAnimatedNumberList.h" > + > +typedef nsSVGFE SVGFEColorMatrixElementBase; Move the typedef into the namespace if you drop the 'ns'?
Attachment #726236 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #726237 -
Flags: review?(Ms2ger) → review+
Comment 34•11 years ago
|
||
Comment on attachment 726238 [details] [diff] [review] WebIDL FEComposite Review of attachment 726238 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFECompositeElement.cpp @@ +58,4 @@ > > +NS_INTERFACE_TABLE_HEAD(SVGFECompositeElement) > + NS_NODE_INTERFACE_TABLE3(SVGFECompositeElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) Same @@ +121,4 @@ > } > > nsresult > +SVGFECompositeElement::Filter(nsSVGFilterInstance *instance, * to the left
Attachment #726238 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 35•11 years ago
|
||
(In reply to :Ms2ger from comment #33) > Comment on attachment 726236 [details] [diff] [review] > WebIDL ColorMatrix > > Review of attachment 726236 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGFEColorMatrixElement.cpp > @@ +56,3 @@ > > > > +NS_INTERFACE_TABLE_HEAD(SVGFEColorMatrixElement) > > + NS_NODE_INTERFACE_TABLE3(SVGFEColorMatrixElement, nsIDOMNode, nsIDOMElement, > > For nodes that use the new bindings, you don't need the _NODE_ part anymore. > Just use the NS_IMPL_NSISUPPORTS_* macro instead? > Actually there's no point in even having this macro or declaring nsISupports. When I finish moving all the filter elements I'm going to make nsSVGElement implement nsIDOMSVGElement and stop declaring nsISupports in all the subclasses, so I'll just change this then.
Assignee | ||
Comment 36•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1de3ed642b6d https://hg.mozilla.org/integration/mozilla-inbound/rev/1a4518e6fdb8 https://hg.mozilla.org/integration/mozilla-inbound/rev/8b5889e318d6 https://hg.mozilla.org/integration/mozilla-inbound/rev/66362cdd8519
Assignee | ||
Updated•11 years ago
|
Attachment #726235 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #726236 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #726237 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #726238 -
Flags: checkin+
Assignee | ||
Comment 37•11 years ago
|
||
Attachment #726478 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 38•11 years ago
|
||
Attachment #726479 -
Flags: review?(Ms2ger)
Updated•11 years ago
|
Attachment #726478 -
Flags: review?(Ms2ger) → review+
Comment 39•11 years ago
|
||
Comment on attachment 726479 [details] [diff] [review] Convert FEGaussianBlur Patch is empty.
Attachment #726479 -
Flags: review?(Ms2ger) → review-
Comment 40•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1de3ed642b6d https://hg.mozilla.org/mozilla-central/rev/1a4518e6fdb8 https://hg.mozilla.org/mozilla-central/rev/8b5889e318d6 https://hg.mozilla.org/mozilla-central/rev/66362cdd8519
Assignee | ||
Comment 41•11 years ago
|
||
Weird that the other one was empty...
Attachment #726479 -
Attachment is obsolete: true
Attachment #726751 -
Flags: review?(Ms2ger)
Comment 42•11 years ago
|
||
Comment on attachment 726751 [details] [diff] [review] Convert FEGaussianBlur Review of attachment 726751 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEGaussianBlurElement.cpp @@ +241,5 @@ > } > > void > +SVGFEGaussianBlurElement::GaussianBlur(const Image *aSource, > + const Image *aTarget, * to the left
Attachment #726751 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 43•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e23f5058335b https://hg.mozilla.org/integration/mozilla-inbound/rev/f999416ea047
Assignee | ||
Comment 44•11 years ago
|
||
Attachment #727039 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 45•11 years ago
|
||
Attachment #727040 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•11 years ago
|
Attachment #726478 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #726751 -
Flags: review+
Assignee | ||
Comment 46•11 years ago
|
||
Attachment #727040 -
Attachment is obsolete: true
Attachment #727040 -
Flags: review?(Ms2ger)
Attachment #727055 -
Flags: review?(Ms2ger)
Comment 47•11 years ago
|
||
Comment on attachment 727039 [details] [diff] [review] Move FEOffset Review of attachment 727039 [details] [diff] [review]: ----------------------------------------------------------------- Are you missing the Makefile changes here?
Comment 48•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e23f5058335b https://hg.mozilla.org/mozilla-central/rev/f999416ea047
Assignee | ||
Comment 49•11 years ago
|
||
(In reply to :Ms2ger from comment #47) > Comment on attachment 727039 [details] [diff] [review] > Move FEOffset > > Review of attachment 727039 [details] [diff] [review]: > ----------------------------------------------------------------- > > Are you missing the Makefile changes here? Yes, I forgot them. They're in the other patch.
Comment 50•11 years ago
|
||
Comment on attachment 727039 [details] [diff] [review] Move FEOffset Review of attachment 727039 [details] [diff] [review]: ----------------------------------------------------------------- r=me if you make the makefile changes in this patch.
Attachment #727039 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #727055 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 51•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b56cf513f3ce https://hg.mozilla.org/integration/mozilla-inbound/rev/94757fd7a4ca
Assignee | ||
Updated•11 years ago
|
Attachment #727039 -
Flags: checkin+
Assignee | ||
Updated•11 years ago
|
Attachment #727055 -
Flags: checkin+
Comment 52•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b56cf513f3ce https://hg.mozilla.org/mozilla-central/rev/94757fd7a4ca
Assignee | ||
Comment 53•11 years ago
|
||
Attachment #728452 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 54•11 years ago
|
||
Attachment #728453 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 55•11 years ago
|
||
Attachment #728454 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 56•11 years ago
|
||
Attachment #728469 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 57•11 years ago
|
||
Attachment #728506 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 58•11 years ago
|
||
Attachment #728508 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•11 years ago
|
Attachment #728506 -
Attachment description: Move FEDiffuseMap → Move FEDisplacementMap
Assignee | ||
Comment 59•11 years ago
|
||
Attachment #728578 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 60•11 years ago
|
||
Attachment #728579 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 61•11 years ago
|
||
Attachment #728580 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 62•11 years ago
|
||
Attachment #728581 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 63•11 years ago
|
||
Attachment #728582 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 64•11 years ago
|
||
Attachment #728583 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 65•11 years ago
|
||
Attachment #728584 -
Flags: review?(Ms2ger)
Updated•11 years ago
|
Attachment #728452 -
Flags: review?(Ms2ger) → review+
Comment 66•11 years ago
|
||
Comment on attachment 728453 [details] [diff] [review] Convert FESpecularLighting Review of attachment 728453 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFESpecularLightingElement.cpp @@ +9,2 @@ > > +NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(FESpecularLighting) Can you file a followup to make sure we remove the old one at some point? @@ +65,1 @@ > this); Maybe return mNumberPairAttributes[KERNEL_UNIT_LENGTH].ToDOMAnimatedNumber( nsSVGNumberPair::eFirst, this); to avoid the 80-columns limit. @@ +70,2 @@ > { > + return mNumberPairAttributes[KERNEL_UNIT_LENGTH].ToDOMAnimatedNumber(nsSVGNumberPair::eSecond, Same here @@ +75,5 @@ > //---------------------------------------------------------------------- > // nsSVGElement methods > > nsresult > +SVGFESpecularLightingElement::Filter(nsSVGFilterInstance *instance, * to the left ::: content/svg/content/src/nsSVGFilters.cpp @@ -2042,5 @@ > -//------------------------------------------------------------ > - > -typedef nsSVGFE nsSVGFELightingElementBase; > - > -class nsSVGFELightingElement : public nsSVGFELightingElementBase I'm pretty sure this doesn't belong here. ::: content/svg/content/src/nsSVGFilters.h @@ +22,5 @@ > class nsSVGFilterResource; > class nsSVGNumberPair; > > +#define DOT(a,b) (a[0] * b[0] + a[1] * b[1] + a[2] * b[2]) > +#define NORMALIZE(vec) \ Making those two inline functions would make me happy.
Attachment #728453 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728454 -
Flags: review?(Ms2ger) → review+
Comment 67•11 years ago
|
||
Comment on attachment 728469 [details] [diff] [review] Convert FEDiffuseLighting Review of attachment 728469 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEDiffuseLightingElement.cpp @@ +58,2 @@ > { > + return mNumberPairAttributes[KERNEL_UNIT_LENGTH].ToDOMAnimatedNumber(nsSVGNumberPair::eFirst, As before
Attachment #728469 -
Flags: review?(Ms2ger) → review+
Comment 68•11 years ago
|
||
Comment on attachment 728506 [details] [diff] [review] Move FEDisplacementMap Review of attachment 728506 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEDiffuseLightingElement.cpp @@ +4,5 @@ > * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ > > #include "mozilla/dom/SVGFEDiffuseLightingElement.h" > #include "mozilla/dom/SVGFEDiffuseLightingElementBinding.h" > +#include "nsSVGUtils.h" This doesn't belong here.
Attachment #728506 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728508 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728578 -
Flags: review?(Ms2ger) → review+
Comment 69•11 years ago
|
||
Comment on attachment 728579 [details] [diff] [review] Convert FEConvolveMatrix Review of attachment 728579 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGFEConvolveMatrixElement.cpp @@ +120,2 @@ > { > + return DOMSVGAnimatedNumberList::GetDOMWrapper(&mNumberListAttributes[KERNELMATRIX], Hmm, why does this have a different interface than all the others? Maybe file a bug. ::: content/svg/content/src/nsSVGBoolean.cpp @@ +104,5 @@ > aSVGElement->DidAnimateBoolean(mAttrEnum); > } > > +already_AddRefed<SVGAnimatedBoolean> > +nsSVGBoolean::ToDOMAnimatedBoolean(nsSVGElement *aSVGElement) * to the left
Attachment #728579 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728580 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728581 -
Flags: review?(Ms2ger) → review+
Updated•11 years ago
|
Attachment #728582 -
Flags: review?(Ms2ger) → review+
Comment 70•11 years ago
|
||
Comment on attachment 728583 [details] [diff] [review] Convert FETurbulence Review of attachment 728583 [details] [diff] [review]: ----------------------------------------------------------------- Sometimes I accidentally look at the interface you're dealing with and I wonder if the SVG WG was on crack...
Attachment #728583 -
Flags: review?(Ms2ger) → review+
Comment 71•11 years ago
|
||
Comment on attachment 728584 [details] [diff] [review] Remove nsIDOMSVGFilterPrimitiveStandardAttributes Review of attachment 728584 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/interfaces/svg/nsIDOMSVGFilters.idl @@ -1,3 @@ > -/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ > -/* This Source Code Form is subject to the terms of the Mozilla Public > - * License, v. 2.0. If a copy of the MPL was not distributed with this \o/ \o/ \o/ \o/ \o/ \o/ \o/
Attachment #728584 -
Flags: review?(Ms2ger)
Attachment #728584 -
Flags: review+
Attachment #728584 -
Flags: feedback?(jwatt)
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [leave open]
Assignee | ||
Comment 72•11 years ago
|
||
(In reply to :Ms2ger from comment #66) > Comment on attachment 728453 [details] [diff] [review] > Convert FESpecularLighting > > Review of attachment 728453 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGFESpecularLightingElement.cpp > @@ +9,2 @@ > > > > +NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(FESpecularLighting) > > Can you file a followup to make sure we remove the old one at some point? > > @@ +65,1 @@ > > this); > > Maybe > > return mNumberPairAttributes[KERNEL_UNIT_LENGTH].ToDOMAnimatedNumber( > nsSVGNumberPair::eFirst, this); > > to avoid the 80-columns limit. > > @@ +70,2 @@ > > { > > + return mNumberPairAttributes[KERNEL_UNIT_LENGTH].ToDOMAnimatedNumber(nsSVGNumberPair::eSecond, > > Same here > > @@ +75,5 @@ > > //---------------------------------------------------------------------- > > // nsSVGElement methods > > > > nsresult > > +SVGFESpecularLightingElement::Filter(nsSVGFilterInstance *instance, > > * to the left > > ::: content/svg/content/src/nsSVGFilters.cpp > @@ -2042,5 @@ > > -//------------------------------------------------------------ > > - > > -typedef nsSVGFE nsSVGFELightingElementBase; > > - > > -class nsSVGFELightingElement : public nsSVGFELightingElementBase > > I'm pretty sure this doesn't belong here. We need that because SpecularLighting inherits from it. I can file a followup to move it somewhere else if you want. > ::: content/svg/content/src/nsSVGFilters.h > @@ +22,5 @@ > > class nsSVGFilterResource; > > class nsSVGNumberPair; > > > > +#define DOT(a,b) (a[0] * b[0] + a[1] * b[1] + a[2] * b[2]) > > +#define NORMALIZE(vec) \ > > Making those two inline functions would make me happy.
Assignee | ||
Comment 73•11 years ago
|
||
Pushing everything except the last patch to avoid bitrot https://hg.mozilla.org/integration/mozilla-inbound/rev/46e4373d6d95 https://hg.mozilla.org/integration/mozilla-inbound/rev/9d3a5915e9e5 https://hg.mozilla.org/integration/mozilla-inbound/rev/240bee22606c https://hg.mozilla.org/integration/mozilla-inbound/rev/4d51bec2d507 https://hg.mozilla.org/integration/mozilla-inbound/rev/4813c1013888 https://hg.mozilla.org/integration/mozilla-inbound/rev/f5d415380052 https://hg.mozilla.org/integration/mozilla-inbound/rev/8bab36d9500f https://hg.mozilla.org/integration/mozilla-inbound/rev/3e25841f15c8 https://hg.mozilla.org/integration/mozilla-inbound/rev/9cbd2f80bd5f https://hg.mozilla.org/integration/mozilla-inbound/rev/e1267e72e21b https://hg.mozilla.org/integration/mozilla-inbound/rev/ee6e761d8186 https://hg.mozilla.org/integration/mozilla-inbound/rev/939f0488b0f7
Whiteboard: [leave open]
Comment 74•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/46e4373d6d95 https://hg.mozilla.org/mozilla-central/rev/9d3a5915e9e5 https://hg.mozilla.org/mozilla-central/rev/240bee22606c https://hg.mozilla.org/mozilla-central/rev/4d51bec2d507 https://hg.mozilla.org/mozilla-central/rev/4813c1013888 https://hg.mozilla.org/mozilla-central/rev/f5d415380052 https://hg.mozilla.org/mozilla-central/rev/8bab36d9500f https://hg.mozilla.org/mozilla-central/rev/3e25841f15c8 https://hg.mozilla.org/mozilla-central/rev/9cbd2f80bd5f https://hg.mozilla.org/mozilla-central/rev/e1267e72e21b https://hg.mozilla.org/mozilla-central/rev/ee6e761d8186 https://hg.mozilla.org/mozilla-central/rev/939f0488b0f7
Comment 75•11 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/a3aef14dc53a because something in the push caused, precipitated, whatever, bug 854225.
Depends on: 854225
Assignee | ||
Comment 76•11 years ago
|
||
Relanded up to ConvolveMatrix because try said its ok. https://hg.mozilla.org/integration/mozilla-inbound/rev/5548aa2bab63 https://hg.mozilla.org/integration/mozilla-inbound/rev/7b7400c085a4 https://hg.mozilla.org/integration/mozilla-inbound/rev/37aaffbdb6f6 https://hg.mozilla.org/integration/mozilla-inbound/rev/ec645e7f419c https://hg.mozilla.org/integration/mozilla-inbound/rev/7f6d59527eee https://hg.mozilla.org/integration/mozilla-inbound/rev/dea1e46826dc https://hg.mozilla.org/integration/mozilla-inbound/rev/f2af3063ab66 https://hg.mozilla.org/integration/mozilla-inbound/rev/5b7ed1616c62
Comment 77•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5548aa2bab63 https://hg.mozilla.org/mozilla-central/rev/7b7400c085a4 https://hg.mozilla.org/mozilla-central/rev/37aaffbdb6f6 https://hg.mozilla.org/mozilla-central/rev/ec645e7f419c https://hg.mozilla.org/mozilla-central/rev/7f6d59527eee https://hg.mozilla.org/mozilla-central/rev/dea1e46826dc https://hg.mozilla.org/mozilla-central/rev/f2af3063ab66 https://hg.mozilla.org/mozilla-central/rev/5b7ed1616c62
Assignee | ||
Comment 78•11 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/cba3d3a781d9 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/da0127725cb0 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/07257e38eb89 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/b32f8f514379
Comment 79•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cba3d3a781d9 https://hg.mozilla.org/mozilla-central/rev/da0127725cb0 https://hg.mozilla.org/mozilla-central/rev/07257e38eb89 https://hg.mozilla.org/mozilla-central/rev/b32f8f514379
Updated•11 years ago
|
Attachment #728584 -
Flags: feedback?(jwatt) → feedback+
Assignee | ||
Comment 80•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/54e4bbd35f15
Whiteboard: [leave open]
Comment 81•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/54e4bbd35f15
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•