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

754 Коммитов

Автор SHA1 Сообщение Дата
longsonr 6e5e275ae5 Bug 1518646 - Export things from dom/smil in the mozilla namespace properly r=birtles 2019-01-09 00:34:14 +00:00
Edgar Chen 2f22be013f Bug 1512297 - Do not need to clear image broken state in BindToTree call; r=smaug
ImageLoadingContent will take care of updating element to correct state, we don't need to do this.
Especially for HTMLImageElement, because it may not reload the image after BindToTree (
e.g. the selected source isn't changed), clearing broken state may put element into
incorrect state.

The original code seems from https://bugzilla.mozilla.org/show_bug.cgi?id=491063#c32
for a performance reason, however I test the http://mozilla.pettay.fi/moztests/1x1image.html
again on recent codebase, I don't see difference with/without applying this patch.

--HG--
extra : rebase_source : 2de29cced4ad0a18a5a6908641305203cc88a5f4
2018-12-20 13:59:34 +01:00
longsonr f2d488cf32 Bug 1517715 - Move nsSMILCSSProperty, nsSMILKeySpline and nsSMILParserUtils to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILCSSProperty.cpp => dom/smil/SMILCSSProperty.cpp
rename : dom/smil/nsSMILCSSProperty.h => dom/smil/SMILCSSProperty.h
rename : dom/smil/nsSMILKeySpline.cpp => dom/smil/SMILKeySpline.cpp
rename : dom/smil/nsSMILKeySpline.h => dom/smil/SMILKeySpline.h
rename : dom/smil/nsSMILParserUtils.cpp => dom/smil/SMILParserUtils.cpp
rename : dom/smil/nsSMILParserUtils.h => dom/smil/SMILParserUtils.h
2019-01-08 07:55:14 +00:00
longsonr 17cf7940c4 Bug 1518033 - Move nsSVGBoolean and nsSVGInteger to the mozilla namespace r=jwatt
--HG--
rename : dom/svg/nsSVGBoolean.cpp => dom/svg/SVGBoolean.cpp
rename : dom/svg/nsSVGBoolean.h => dom/svg/SVGBoolean.h
rename : dom/svg/nsSVGInteger.cpp => dom/svg/SVGInteger.cpp
rename : dom/svg/nsSVGInteger.h => dom/svg/SVGInteger.h
2019-01-07 19:23:13 +00:00
longsonr 6c649bdee4 Bug 1518000 - Move nsSVGString and nsSVGViewBox to the mozilla namespace r=jwatt
--HG--
rename : dom/svg/nsSVGString.cpp => dom/svg/SVGString.cpp
rename : dom/svg/nsSVGString.h => dom/svg/SVGString.h
rename : dom/svg/nsSVGViewBox.cpp => dom/svg/SVGViewBox.cpp
rename : dom/svg/nsSVGViewBox.h => dom/svg/SVGViewBox.h
2019-01-06 17:52:55 +00:00
longsonr 5530126c12 Bug 1517938 - Move nsSVGIntegerPair and nsSVGNumberPair to the mozilla namespace r=jwatt
--HG--
rename : dom/svg/nsSVGIntegerPair.cpp => dom/svg/SVGIntegerPair.cpp
rename : dom/svg/nsSVGIntegerPair.h => dom/svg/SVGIntegerPair.h
rename : dom/svg/nsSVGNumberPair.cpp => dom/svg/SVGNumberPair.cpp
rename : dom/svg/nsSVGNumberPair.h => dom/svg/SVGNumberPair.h
2019-01-06 08:22:55 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
longsonr eb0a735bca Bug 1517185 - Move nsSVGEnum to the mozilla namespace and rename it as SVGEnum r=jwatt
--HG--
rename : dom/svg/nsSVGEnum.cpp => dom/svg/SVGEnum.cpp
rename : dom/svg/nsSVGEnum.h => dom/svg/SVGEnum.h
extra : amend_source : faf1423f0eecafceae6ede115759d06fa061faf2
2019-01-02 18:24:11 +00:00
Daniel Holbert 44acfc60f7 Backed out changeset c796403f5a29 since it landed with wrong bug number
--HG--
rename : dom/svg/SVGEnum.cpp => dom/svg/nsSVGEnum.cpp
rename : dom/svg/SVGEnum.h => dom/svg/nsSVGEnum.h
2019-01-02 10:44:12 -08:00
longsonr 69a6be5b17 Bug 1517108 - Move nsSVGEnum to the mozilla namespace and rename it as SVGEnum r=jwatt
--HG--
rename : dom/svg/nsSVGEnum.cpp => dom/svg/SVGEnum.cpp
rename : dom/svg/nsSVGEnum.h => dom/svg/SVGEnum.h
2019-01-02 18:24:11 +00:00
longsonr ade1b15610 Bug 1517108 - Move nsSMILTimeContainer, nsSMILMilestone and nsSMILTargetIdentifier to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILMilestone.h => dom/smil/SMILMilestone.h
rename : dom/smil/nsSMILTargetIdentifier.h => dom/smil/SMILTargetIdentifier.h
rename : dom/smil/nsSMILTimeContainer.cpp => dom/smil/SMILTimeContainer.cpp
rename : dom/smil/nsSMILTimeContainer.h => dom/smil/SMILTimeContainer.h
2019-01-02 07:21:13 +00:00
longsonr 477d3cab33 Bug 1516727 - Part 4 move SVGAngle to the mozilla namespace r=jwatt 2019-01-01 21:01:19 +00:00
longsonr bf776da028 Bug 1517127 - move nsSVGClass to the mozilla::dom namespace r=jwatt
--HG--
rename : dom/svg/nsSVGClass.cpp => dom/svg/SVGClass.cpp
rename : dom/svg/nsSVGClass.h => dom/svg/SVGClass.h
2019-01-01 16:26:26 +00:00
longsonr aa72e7261b Bug 1516980 - Move nsSMILCompositor and nsSMILTimedElement to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILCompositor.cpp => dom/smil/SMILCompositor.cpp
rename : dom/smil/nsSMILCompositor.h => dom/smil/SMILCompositor.h
rename : dom/smil/nsSMILCompositorTable.h => dom/smil/SMILCompositorTable.h
rename : dom/smil/nsSMILTimedElement.cpp => dom/smil/SMILTimedElement.cpp
rename : dom/smil/nsSMILTimedElement.h => dom/smil/SMILTimedElement.h
2019-01-01 09:16:21 +00:00
longsonr e6ae298fff Bug 1516727 - Part 3 rename nsSVGAngle to SVGAngle r=jwatt
--HG--
rename : dom/svg/nsSVGAngle.cpp => dom/svg/SVGAngle.cpp
rename : dom/svg/nsSVGAngle.h => dom/svg/SVGAngle.h
2018-12-31 19:00:42 +00:00
longsonr ceed8b45c3 Bug 1516947 - remove nsSVGFeatures by moving its code into SVGTests r=jwatt 2018-12-31 15:10:00 +00:00
longsonr d03099b507 Bug 1516921 - export things in the mozilla namespace properly r=jwatt 2018-12-31 11:56:52 +00:00
longsonr b18fb47fa9 Bug 1516788 - Move SMILAnimationFunctions to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILAnimationFunction.cpp => dom/smil/SMILAnimationFunction.cpp
rename : dom/smil/nsSMILAnimationFunction.h => dom/smil/SMILAnimationFunction.h
rename : dom/smil/nsSMILSetAnimationFunction.cpp => dom/smil/SMILSetAnimationFunction.cpp
rename : dom/smil/nsSMILSetAnimationFunction.h => dom/smil/SMILSetAnimationFunction.h
2018-12-31 11:54:22 +00:00
longsonr 5106b5cfcf Bug 1516727 - Part 2 rename SVGAngle to DOMSVGAngle r=jwatt
--HG--
rename : dom/svg/SVGAngle.cpp => dom/svg/DOMSVGAngle.cpp
rename : dom/svg/SVGAngle.h => dom/svg/DOMSVGAngle.h
2018-12-30 18:18:30 +00:00
longsonr 359ed8eddc Bug 1516727 - Part 1 simplify creation of SVGAngle objects r=jwatt 2018-12-29 22:19:55 +00:00
longsonr 6f0b15e90a Bug 1516551 - Part 3 fix comment to refer to the correct class name r=dholbert 2018-12-29 09:18:38 +00:00
longsonr 7072a2b798 Bug 1516551 - Part 2 rename nsSVGTransform to SVGTransform r=dholbert
--HG--
rename : dom/svg/nsSVGTransform.cpp => dom/svg/SVGTransform.cpp
rename : dom/svg/nsSVGTransform.h => dom/svg/SVGTransform.h
2018-12-29 09:15:40 +00:00
longsonr 2ea3c4dbf3 Bug 1516551 - Part 1 rename SVGTransform to DOMSVGTransform r=dholbert
--HG--
rename : dom/svg/SVGTransform.cpp => dom/svg/DOMSVGTransform.cpp
rename : dom/svg/SVGTransform.h => dom/svg/DOMSVGTransform.h
2018-12-28 17:20:15 +00:00
longsonr a19c169444 Bug 1516206 - Part 1 Move DOM lengths and numbers into the mozilla::dom namespace r=dholbert 2018-12-28 13:42:46 +00:00
longsonr 028d7ef9fa Bug 1516411 - Move nsSMILAnimationController into the mozilla namespace and rename it as SMILAnimationController r=birtles
--HG--
rename : dom/smil/nsSMILAnimationController.cpp => dom/smil/SMILAnimationController.cpp
rename : dom/smil/nsSMILAnimationController.h => dom/smil/SMILAnimationController.h
2018-12-28 11:47:58 +00:00
longsonr 1d5bbdc037 Bug 1516592 - Move nsISMILType to the mozilla namespace and rename it as SMILType r=dholbert
--HG--
rename : dom/smil/nsISMILType.h => dom/smil/SMILType.h
2018-12-28 10:34:35 +00:00
Daniel Holbert bb0c446650 Bug 1516576: Adjust dom/svg/*.cpp files to include their own header first. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D15443

--HG--
extra : moz-landing-system : lando
2018-12-28 02:47:10 +00:00
longsonr cb858a95bf Bug 1516076 - Part 4 - make include order more sensible for some files r=dholbert 2018-12-27 17:30:38 +00:00
longsonr ef730b7ab2 Bug 1516194 - rename nsSMILNullType to SMILNullType and move it to the mozilla namespace r=dholbert
--HG--
rename : dom/smil/nsSMILNullType.cpp => dom/smil/SMILNullType.cpp
rename : dom/smil/nsSMILNullType.h => dom/smil/SMILNullType.h
2018-12-27 10:21:40 +00:00
longsonr cd491fca01 Bug 1516076 - Part 3 rename nsSVGAnimatedTransformList to SVGAnimatedTransformList and move it to the mozilla namespace r=dholbert
--HG--
rename : dom/svg/nsSVGAnimatedTransformList.cpp => dom/svg/SVGAnimatedTransformList.cpp
rename : dom/svg/nsSVGAnimatedTransformList.h => dom/svg/SVGAnimatedTransformList.h
2018-12-26 23:46:38 +00:00
longsonr 0d9759945e Bug 1516175 - Move nsSMILFloatType into the mozilla namespace r=birtles
--HG--
rename : dom/smil/nsSMILFloatType.cpp => dom/smil/SMILFloatType.cpp
rename : dom/smil/nsSMILFloatType.h => dom/smil/SMILFloatType.h
2018-12-24 19:24:45 +00:00
longsonr 1a3007051c Bug 1516076 - Part 2 Rename SVGAnimatedTransformList to DOMSVGAnimatedTransformList r=dholbert
--HG--
rename : dom/svg/SVGAnimatedTransformList.cpp => dom/svg/DOMSVGAnimatedTransformList.cpp
rename : dom/svg/SVGAnimatedTransformList.h => dom/svg/DOMSVGAnimatedTransformList.h
2018-12-23 11:08:14 +00:00
Daniel Holbert 07d9d64364 Bug 1516025 part 4: Add needed 'using' statements for SVG Bindings namespaces in several .cpp files. r=longsonr
Depends on D15233

Differential Revision: https://phabricator.services.mozilla.com/D15234

--HG--
extra : moz-landing-system : lando
2018-12-21 23:29:46 +00:00
Daniel Holbert 1305e2bc41 Bug 1516025 part 3: Move SVG static helper function "ParseNumber" outside of the mozilla namespace to fix unified build bustage. r=longsonr
This function is invoked elsewhere in this file as "::ParseNumber(...)", which
only works if it's declared outside of any namespace.  So, it needs to be moved
outside of the mozilla namespace in order to be referenced that way (and to be
truly a static function that's private to this .cpp file).

I'm not sure why this builds at all in unified mode, but however it works, it's
cheating, apparently.

Also: this patch adds a 'using' statement for the mozilla namespace, for
e.g. the RangedPtr usages in this function definition (since it no longer lives
inside of a namespace mozilla{} block).

Depends on D15232

Differential Revision: https://phabricator.services.mozilla.com/D15233

--HG--
extra : moz-landing-system : lando
2018-12-22 09:13:21 +00:00
Daniel Holbert 76a8cb61f7 Bug 1516025 part 2: Add needed #includes to some files in dom/svg to preemptively fix unified build bustage. r=longsonr
And while I'm here, I'm giving SVGDataParser.h a more specific/efficient string
include, to just provide the *forward-decl* of nsAString for this file's
"nsAString&" usage in a function prototype.

Depends on D15231

Differential Revision: https://phabricator.services.mozilla.com/D15232

--HG--
extra : moz-landing-system : lando
2018-12-21 23:29:24 +00:00
Daniel Holbert 4ccbf680fa Bug 1516025 part 1: Add "using namespace mozilla::dom" to some SVG C++ files that currently depend on unification to provide that using statement. r=longsonr
These are to support of usages of "SVGElement" in these files, so they
problably only started needing this namespace as of bug 1515187.  In any case,
they're currently relying on picking up this "using" statement from other files
in unified builds, so let's just make the usage explicit by giving them their
own "using" statement.

Also, I'm fixing up the #include for SVGElement.h in these files to use the
full mozilla/dom include path (and to make these files include their own .h
file first).

Differential Revision: https://phabricator.services.mozilla.com/D15231

--HG--
extra : moz-landing-system : lando
2018-12-22 17:04:05 +00:00
longsonr aa644bddf1 Bug 1515962 - Move nsSVGPathDataParser nsSVGDataParser and nsSVGArcConverter to the mozilla namespace r=dholbert
--HG--
rename : dom/svg/nsSVGDataParser.cpp => dom/svg/SVGDataParser.cpp
rename : dom/svg/nsSVGDataParser.h => dom/svg/SVGDataParser.h
rename : dom/svg/nsSVGPathDataParser.cpp => dom/svg/SVGPathDataParser.cpp
rename : dom/svg/nsSVGPathDataParser.h => dom/svg/SVGPathDataParser.h
2018-12-21 20:19:15 +00:00
longsonr 646517ef56 Bug 1515936 - Part 2 Move nsSVGStringInfo to mozilla::dom and rename the nsSVGFilters files to SVGFilters r=dholbert
--HG--
rename : dom/svg/nsSVGFilters.cpp => dom/svg/SVGFilters.cpp
rename : dom/svg/nsSVGFilters.h => dom/svg/SVGFilters.h
2018-12-21 16:24:17 +00:00
longsonr 5981720b92 Bug 1515936 - Part 1 preemptively fix nsSVGAngle unified compilation bustage r=dholbert 2018-12-21 16:19:29 +00:00
longsonr e160f38d5f Bug 1515607 - Move nsSVGFE into the mozilla::dom namespace r=dholbert 2018-12-21 12:32:35 +00:00
longsonr f68bd8c718 Bug 1515705 - Rename NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT as all SVG elements are now namespaced r=dholbert 2018-12-21 11:43:29 +00:00
Margareta Eliza Balazs 33d4594712 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-21 11:44:48 +02:00
longsonr 3d04ba9c9e Bug 1515187 - Part 4 Rename nsSVGElement to SVGElement and put it in the mozilla:dom namespace r=dholbert
--HG--
rename : dom/svg/nsSVGElement.cpp => dom/svg/SVGElement.cpp
rename : dom/svg/nsSVGElement.h => dom/svg/SVGElement.h
2018-12-21 08:58:14 +00:00
Cameron McCormack 115eddc306 Bug 1515800 - Rename some more GetCurrentTime methods to avoid winbase.h bustage r=birtles,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D15167

--HG--
extra : moz-landing-system : lando
2018-12-21 05:37:58 +00:00
longsonr 45c9b09d32 Bug 1515341 - Move nsSVGFELightingElement into the mozilla::dom namespace and rename it as SVGFELightingElement r=dholbert 2018-12-20 08:01:54 +00:00
longsonr 323a94ea24 Bug 1515187 - Part 3 move SVGContentUtils into the mozilla namespace r=dholbert 2018-12-20 07:58:08 +00:00
longsonr 4508eb258f Bug 1515187 - Part 2 move SVGPolyElement's implementation into the mozilla::dom namespace r=dholbert 2018-12-19 22:09:57 +00:00
longsonr c074144472 Bug 1515187 - Part 1 nsSVGAnimatedTransform uses SVGTransform_Binding, preemptively fix it so later patches in this bug can land r=dholbert 2018-12-19 17:59:59 +00:00
longsonr 0c49fd38bf Bug 1514570 - devirtualise IsSVGFocusable by having SVGAElement (its only override) directly override the higher level IsFocusableInternal API r=dholbert 2018-12-19 09:41:11 +00:00
arthur.iakab e14d71a660 Merge mozilla-central to inbound
--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : rebase_source : a7f6628299f30b300a02932debe0cc92810f901d
2018-12-18 00:04:04 +02:00