Closed
Bug 847120
Opened 12 years ago
Closed 12 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)
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bzbarsky
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
jwatt
:
feedback+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Ms2ger
:
review+
jwatt
:
feedback+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #720479 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #720480 -
Flags: review?(jwatt)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #720485 -
Flags: review?(Ms2ger)
Comment 4•12 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•12 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•12 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•12 years ago
|
||
Using IsNodeOfType.
Attachment #720480 -
Attachment is obsolete: true
Attachment #720480 -
Flags: review?(jwatt)
Attachment #721012 -
Flags: review?(jwatt)
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #721586 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #721587 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #721588 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #721592 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #721593 -
Flags: review?(Ms2ger)
Comment 13•12 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•12 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•12 years ago
|
||
Comment on attachment 721012 [details] [diff] [review]
Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes
r=me
Attachment #721012 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 16•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave open]
Assignee | ||
Updated•12 years ago
|
Attachment #721012 -
Flags: checkin+
Assignee | ||
Comment 17•12 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•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #720479 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #720485 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #721586 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #721587 -
Flags: checkin+
Comment 19•12 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•12 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•12 years ago
|
Attachment #721592 -
Flags: review?(Ms2ger) → review+
Comment 21•12 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•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #721592 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #721593 -
Flags: checkin+
Comment 23•12 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•12 years ago
|
||
Comment 25•12 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•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #721588 -
Flags: checkin+
Comment 27•12 years ago
|
||
Comment 28•12 years ago
|
||
Assignee | ||
Comment 29•12 years ago
|
||
Attachment #726235 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 30•12 years ago
|
||
Attachment #726236 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 31•12 years ago
|
||
Attachment #726237 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 32•12 years ago
|
||
Attachment #726238 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•12 years ago
|
Attachment #726236 -
Attachment is patch: true
Updated•12 years ago
|
Attachment #726235 -
Flags: review?(Ms2ger) → review+
Comment 33•12 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•12 years ago
|
Attachment #726237 -
Flags: review?(Ms2ger) → review+
Comment 34•12 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•12 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•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #726235 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #726236 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #726237 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #726238 -
Flags: checkin+
Assignee | ||
Comment 37•12 years ago
|
||
Attachment #726478 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 38•12 years ago
|
||
Attachment #726479 -
Flags: review?(Ms2ger)
Updated•12 years ago
|
Attachment #726478 -
Flags: review?(Ms2ger) → review+
Comment 39•12 years ago
|
||
Comment on attachment 726479 [details] [diff] [review]
Convert FEGaussianBlur
Patch is empty.
Attachment #726479 -
Flags: review?(Ms2ger) → review-
Comment 40•12 years ago
|
||
Assignee | ||
Comment 41•12 years ago
|
||
Weird that the other one was empty...
Attachment #726479 -
Attachment is obsolete: true
Attachment #726751 -
Flags: review?(Ms2ger)
Comment 42•12 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•12 years ago
|
||
Assignee | ||
Comment 44•12 years ago
|
||
Attachment #727039 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 45•12 years ago
|
||
Attachment #727040 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•12 years ago
|
Attachment #726478 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #726751 -
Flags: review+
Assignee | ||
Comment 46•12 years ago
|
||
Attachment #727040 -
Attachment is obsolete: true
Attachment #727040 -
Flags: review?(Ms2ger)
Attachment #727055 -
Flags: review?(Ms2ger)
Comment 47•12 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•12 years ago
|
||
Assignee | ||
Comment 49•12 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•12 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•12 years ago
|
Attachment #727055 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 51•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #727039 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Attachment #727055 -
Flags: checkin+
Comment 52•12 years ago
|
||
Assignee | ||
Comment 53•12 years ago
|
||
Attachment #728452 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 54•12 years ago
|
||
Attachment #728453 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 55•12 years ago
|
||
Attachment #728454 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 56•12 years ago
|
||
Attachment #728469 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 57•12 years ago
|
||
Attachment #728506 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 58•12 years ago
|
||
Attachment #728508 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•12 years ago
|
Attachment #728506 -
Attachment description: Move FEDiffuseMap → Move FEDisplacementMap
Assignee | ||
Comment 59•12 years ago
|
||
Attachment #728578 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 60•12 years ago
|
||
Attachment #728579 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 61•12 years ago
|
||
Attachment #728580 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 62•12 years ago
|
||
Attachment #728581 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 63•12 years ago
|
||
Attachment #728582 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 64•12 years ago
|
||
Attachment #728583 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 65•12 years ago
|
||
Attachment #728584 -
Flags: review?(Ms2ger)
Updated•12 years ago
|
Attachment #728452 -
Flags: review?(Ms2ger) → review+
Comment 66•12 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•12 years ago
|
Attachment #728454 -
Flags: review?(Ms2ger) → review+
Comment 67•12 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•12 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•12 years ago
|
Attachment #728508 -
Flags: review?(Ms2ger) → review+
Updated•12 years ago
|
Attachment #728578 -
Flags: review?(Ms2ger) → review+
Comment 69•12 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•12 years ago
|
Attachment #728580 -
Flags: review?(Ms2ger) → review+
Updated•12 years ago
|
Attachment #728581 -
Flags: review?(Ms2ger) → review+
Updated•12 years ago
|
Attachment #728582 -
Flags: review?(Ms2ger) → review+
Comment 70•12 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•12 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•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [leave open]
Assignee | ||
Comment 72•12 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•12 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•12 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•12 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•12 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•12 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•12 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•12 years ago
|
||
Updated•12 years ago
|
Attachment #728584 -
Flags: feedback?(jwatt) → feedback+
Assignee | ||
Comment 80•12 years ago
|
||
Whiteboard: [leave open]
Comment 81•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•