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

54 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Geoff Brown 53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Robert Longson d9a0e5762b Bug 1138065 - view elements as fragment identifiers should have normal target matching. r=dholbert 2015-03-08 17:34:47 +00:00
Robert Longson 1e7c4f6beb Bug 1137859 - stroke-dashoffset not respecting pathLength property. r=dholbert
--HG--
rename : layout/reftests/svg/stroke-dasharray-and-pathLength-01.svg => layout/reftests/svg/stroke-dashoffset-and-pathLength-01.svg
2015-03-06 14:12:52 +00:00
Andrea Marchesini 87495fbf33 Bug 1134280 - Get rid of Tag() - patch 2.9 - dom/svg, dom/xml, dom/xslt and dom/xbl - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini 2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Robert Longson 886bc07e58 Bug 1129854 - markers not oriented correctly for degenerate beziers. r=jwatt 2015-02-17 22:15:15 +00:00
L. David Baron bc26f211f6 Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase.  This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop.  This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly.  It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.

This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch).  I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time.  (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
Robert Longson 95ae9206c0 Bug 1108887 - Backout part 3 and part 4 of bug 949435 (SVG iframe). r=birtles sr=bzbarsky 2015-02-10 09:14:19 +00:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Dhi Aurrahman 5b8f79fc23 Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz 2015-02-04 18:46:26 +07:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Robert Longson c8899fd463 Bug 1128281 - Pass strokeOptions to getGeometryBounds. r=jwatt 2015-02-03 18:36:32 +00:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Robert Longson 3b6fb26dfe Bug 1125647 - make SVGAnimatedPreserveAspectRatio::ToDOMAnimatedPreserveAspectRatio just return the value. r=dholbert 2015-01-27 09:51:34 +00:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Robert Longson 3777e97cb6 Bug 1125201 - Make forceRedraw nothrow. r=bzbarsky 2015-01-24 09:35:22 +00:00
Robert Longson 7f2a9b43b0 Bug 733764 - Make forceRedraw a no-op. r=jwatt 2015-01-23 15:28:25 +00:00
Robert Longson 176139eb4c Bug 1090934 - Get bounds of line element using maths. r=jwatt 2015-01-22 09:36:08 +00:00
Jonathan Watt efd4391efb Bug 1112533 - Get rid of SVGDocumentWrapper::GetWidthOrHeight(). r=dholbert
--HG--
extra : rebase_source : c9f3af74bc0c93bd482873daf92f0a27152c5816
2015-01-20 19:12:54 +00:00
Jonathan Watt db61f1b3f7 Bug 1086284 - Avoid using refcounting when determining an SVG-as-an-image's intrinsic size so that the image doesn't end up in the CC graph. r=dholbert
--HG--
extra : rebase_source : e5a36117622a402eba9b2819b2ee2802ae70fc14
2015-01-20 14:27:16 +00:00
Masatoshi Kimura 9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Robert Longson 2b14e5ff2e Bug 1110337 - Get bounds of image element using maths. r=jwatt 2015-01-21 13:09:45 +00:00
Robert Longson b83e878ed3 Bug 1119698 - ensure image elements take pointer-events into account r=jwatt
--HG--
rename : dom/svg/test/test_pointer-events-4.xhtml => dom/svg/test/test_pointer-events-7.xhtml
2015-01-19 15:06:01 +00:00
Robert Longson 5f570eddfa Bug 1117514 - lines with zero length dashes are not rendered. r=jwatt 2015-01-10 22:17:57 +00:00
Chris Peterson 9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Dave Hylands 08557c5100 Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd 2015-01-08 13:52:19 -08:00
Bas Schouten 03937c6d87 Bug 1114398 - Part 2: Test whether the path backend matches the DrawTarget backend for the SVG path cache. r=jwatt 2015-01-08 00:10:49 +00:00
Ehsan Akhgari a5ffa2b344 Bug 1117040 - Mark virtual overridden functions as MOZ_OVERRIDE in SVG DOM code; r=longsonr 2015-01-02 17:51:17 -05:00
Daniel Holbert 04b749a33d Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas 2015-01-02 14:46:53 -08:00
Robert Longson d249eb2fed Bug 1109860 - getBBox incorrect with bidirectional text character. r=heycam 2015-01-02 16:47:47 +00:00
Daniel Holbert 3d4221e5b0 (no bug) fix typo'd bug number in link within test_pathLength.html. DONTBUILD (test-metadata-only) 2015-01-01 12:49:53 -08:00
Carsten "Tomcat" Book 0ee712abb4 Backed out changeset 6d81c1303daf (bug 1086284) for refest failures on a CLOSED TREE 2014-12-17 13:21:07 +01:00
Jonathan Watt e45d8102b6 Bug 854296, part 1 - Make SVG respect stroke-miterlimit again. r=Bas 2014-12-16 15:31:28 +00:00
Jonathan Watt 9e326f88fc Bug 1086284 - Avoid using refcounting when determining an SVG-as-an-image's intrinsic size so that the image doesn't end up in the CC graph. r=dholbert 2014-12-09 22:32:10 +00:00
Wes Kocher 126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk 0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Robert Longson 4b9965e1ed Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt 2014-11-24 14:28:58 +00:00
Robert Longson 6e7cf817ac Bug 1093327 - Correct marker orientation of polygon and polylines. r=cam 2014-11-10 14:40:43 +00:00
Robert Longson dce1292dc9 Bug 1090936 - Make invalidation of rendering observers asynchronous. r=jwatt 2014-11-06 09:30:11 +00:00
Robert Longson 4a07c5065f Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt 2014-11-04 14:52:27 +00:00
Jonathan Watt 31043b8380 Bug 1077355 - Stop over inflating for stroke-miterlimit in nsSVGUtils::PathExtentsToMaxStrokeExtents. r=longsonr 2014-11-01 10:45:10 +00:00
Jonathan Watt 6b502f624e Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt 662e035b0e Bug 1090916 - Ignore SVG rect radii and calculate the bounds of rounded rects using Math when we have a rectilinear transform. r=longsonr 2014-10-29 17:07:11 +00:00
Jonathan Watt eb0dc8db18 Bug 1090211 - Calculate the bounds of circles and ellipses using Math when we have a rectilinear transform. r=longsonr 2014-10-29 01:59:36 +00:00