Commit Graph

1668 Commits

Author SHA1 Message Date
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
754420fdfd Bug 912956 part.9 Rename nsMutationEvent.h to mozilla/MutationEvent.h r=smaug
--HG--
rename : content/events/public/nsMutationEvent.h => content/events/public/MutationEvent.h
2013-09-24 19:04:16 +09:00
Masayuki Nakano
2a465d3e36 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Mike Hommey
ae0966be15 Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Trevor Saunders
6957ef1b01 bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Martijn Wargers
3dbeb6c4a3 Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
CLOSED TREE

--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Ehsan Akhgari
ef3770d249 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Robert Longson
5fcefee60d Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
David Zbarsky
c45d984ec2 Bug 912555 - DOMSVGPathSeg and subclasses don't need to inherit nsISupports r=Ms2ger 2013-09-10 19:03:57 -04:00
Daniel Holbert
595d414a0a Bug 911451: Refactor nsStringBuffer-to-nsString code into a helper-method, and invoke it instead of nsCheapString in one other place. r=dbaron
--HG--
rename : layout/reftests/svg/smil/mapped-attr-long-url-1.svg => layout/reftests/svg/smil/mapped-attr-long-url-2.svg
2013-09-10 10:03:28 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Robert Longson
6c6184f341 Bug 906601 - filter processing memory allocation should be fallible. r=jwatt 2013-09-04 22:14:10 +01:00
Ehsan Akhgari
b283dbb4c7 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Daniel Holbert
69791d09fe Bug 904158 - When creating a string for the SMIL-animated value of a mapped SVG attribute, use NS_strlen to get the StringBuffer's logical length, instead of using nsCheapString and the allocated length. r=dbaron 2013-08-29 11:39:56 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Kyle Huey
4fd557dbb9 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Daniel Holbert
f6db577e42 Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Ehsan Akhgari
1e7ca5d13f Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Olli Pettay
ff4865eaff Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Robert Longson
73f9e05201 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
Nathan Froyd
ad0eb8954e Bug 903543 - eliminate static constructors for SMIL type singletons; r=dholbert
Add MOZ_CONSTEXPR to the constructors to inform the compiler the constructors
can be folded away.  Remove protected/private destructors so that static
destructors don't have to be registered with static constructors.
2013-08-12 10:13:34 -04:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
f2457c6b24 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ehsan Akhgari
55662e26d0 Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Phil Ringnalda
3c031b080c Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky
68527f0cce [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
Nathan Froyd
77bb1996b3 Bug 903543 - eliminate static constructors from SMIL types (and destructors, in opt builds); r=dholbert 2013-08-09 14:08:31 -04:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nathan Froyd
3a9e74620d Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
David Zbarsky
de328bd8e8 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Robert Longson
cdac44dda1 Bug 835048 - ownerElement should return null rather than throwing for invalid content. r=jwatt 2013-08-07 18:40:52 +01:00
Robert Longson
4880610010 Bug 898915 - Fix Axis() is not valid abort. r=dholbert 2013-08-07 17:59:08 +01:00
Daniel Holbert
a4b9433e99 (no bug) Fix typo in documentation for SVGLengthListAndInfo::CanZeroPadList(). no review, DONTBUILD because comment-only 2013-08-05 13:48:04 -04:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
ea4299c3b1 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Martijn Wargers
55022997b9 Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Cameron McCormack
e168865a5d Bug 895285 - Handle viewBox="" setting optimization correctly. r=jwatt 2013-07-24 14:48:12 +10:00
Cameron McCormack
25a1ced5c1 Bug 896159 - Expose textLength and lengthAdjust on SVGTextPathElements. r=jwatt 2013-07-24 10:01:35 +10:00
David Zbarsky
7d01bae0b0 Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:18 -07:00
David Zbarsky
0ed17c9e39 Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:17 -07:00
David Zbarsky
83fc997959 Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Cameron McCormack
c414f7a254 Bug 893484 - Set second last polygon marker type before appending last one. r=jwatt 2013-07-15 19:50:09 +10:00
Jonathan Watt
8e76d7ae44 Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy 2013-07-12 11:25:27 +01:00
Jonathan Watt
7c0152aca4 Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
f9797a18d4 Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
5b7080e74d Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
f27c614f62 Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy 2013-07-12 11:25:25 +01:00
Cameron McCormack
4d5eacea09 Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
1a511bc0ff Bug 879659 - Followup for unused variable error. 2013-07-12 17:11:30 +10:00
Cameron McCormack
0f17d6d6ae Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr 2013-07-12 16:39:38 +10:00
Cameron McCormack
ba324f7147 Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr 2013-07-12 16:39:38 +10:00
Cameron McCormack
a345479cdd Bug 879659 - Add a pref for SVG 2 marker improvements. r=longsonr 2013-07-12 16:39:38 +10:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
e58e1a162c Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz 2013-07-12 06:26:54 +09:00
Boris Zbarsky
45006a7480 Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Ms2ger
3b0fc664a9 Bug 890695 - Use MOZ_THIS_IN_INITIALIZER_LIST in content/; r=mounir 2013-07-10 11:56:47 +02:00
Ms2ger
4148536df2 Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Cameron McCormack
27fbbd563b Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr 2013-07-07 17:27:51 +10:00
David Zbarsky
c7ba928a09 Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
c1ae30a79a Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
3643890665 Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
fc21e4ca71 Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
Masatoshi Kimura
176efd0f7c Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Robert Longson
5d44648cb3 Bug 889329 - Implement deselectAll(). r=cam,sr=roc 2013-07-03 08:41:53 +01:00
Ryan VanderMeulen
0d9d01968b Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
b75e2ac8e6 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Ms2ger
c477a69e4e Bug 886289 - Move SVGAnimatedNumber to WebIDL; r=dzbarsky 2013-07-01 09:03:04 +02:00
Ms2ger
6fa75b2d82 Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky 2013-07-01 09:02:56 +02:00
Ms2ger
d2041977f8 Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky 2013-07-01 09:02:46 +02:00
Robert Longson
6153fc83db Bug 829085 - Fix hit testing when vector-effect=non-scaling-stroke is used. r=dholbert 2013-06-26 13:31:06 +01:00
Cameron McCormack
4dd982ffc1 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
Ed Morley
de6da097d6 Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html 2013-06-25 13:45:09 +01:00
Cameron McCormack
abf1179f39 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
David Zbarsky
11e0f4ef0d Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger 2013-06-24 12:31:52 -07:00
Robert Longson
fd050c27d1 Bug 601131 - Hang with feTurbulence with huge numOctaves. r=roc 2013-06-24 10:42:22 +01:00
Olli Pettay
ebaa9fe160 Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ehsan Akhgari
eed4367cde Bug 884020 - Don't use the register keyword in SVG code in order to fix the build with recent clangs; r=dholbert 2013-06-17 19:22:38 -04:00
David Zbarsky
f4be6ba30d Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
David Zbarsky
5c9468c760 [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Trevor Saunders
b2546f7648 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
David Zbarsky
bdf2a2f2ed [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
Peter Van der Beken
5eba9021ed Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Trevor Saunders
404b82a6df backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Trevor Saunders
82ade4173d bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Cameron McCormack
b63bd9c849 Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt 2013-06-04 00:15:29 +10:00
Arnaud Sourioux
ac2132dad0 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Cameron McCormack
a46f56dda8 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
Ryan VanderMeulen
468b93224a Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux
ff4b91709f Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Andrew McCreight
eb059d91b2 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
464f6f4589 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Cameron McCormack
fd4898c877 Bug 711043 - Factor out operator type checks from the middle of feMorphology loop. r=roc 2013-05-14 08:53:36 +10:00
Andrea Marchesini
335deff217 Bug 872812 - Passing viewBox to init*Event causes an assertion failure in CC macro expansion. r=bz 2013-05-21 13:48:47 -04:00
Masatoshi Kimura
39d0ce714a Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
Andrea Marchesini
81b5634c8c Bug 871551 - ToDOMAnimatedRect to ToSVGAnimatedRect. r=Ms2ger 2013-05-20 07:46:12 -04:00
David Zbarsky
50fd518a07 Bug 872774 r=bz 2013-05-16 11:06:21 -07:00
Ehsan Akhgari
aa114592bd Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Robert Longson
9ab31528fe Bug 872574 - Some IsEventAttributeName overrides just reimplement exactly the same thing they are overriding. r=jwatt 2013-05-16 09:34:49 +01:00
Julien Levesy
d5a2861a87 Bug 869657: rename IsEventName to IsEventAttributeName in SVGAltGlyphElement and SVGTSpanElement. r=dholbert 2013-05-09 19:11:54 +02:00
Andrea Marchesini
0f3debf60d Bug 853386 - Remove nsIDOMSVGRect and classinfo for SVGRect. r=Ms2ger 2013-05-09 13:42:12 -04:00
Andrea Marchesini
37066de808 Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Jonathan Watt
d4f55235aa Bug 870003 - Stop repainting <svg> elements when their children-only transform changes. r=dholbert 2013-05-08 18:13:29 +01:00
Jonathan Watt
04bcfd3d06 Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert 2013-05-08 18:13:11 +01:00
Daniel Holbert
4b295e95c7 Bug 869668: Mark a bunch of overridding methods in content/svg/content/src as MOZ_OVERRIDE. r=jwatt 2013-05-07 22:11:24 -07:00
Peter Van der Beken
07b207de36 Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
Robert Longson
e7e6116890 Bug 863994 - Support transform attribute on <svg> elements. r=dholbert
--HG--
rename : layout/reftests/svg/svg-transform-01.svg => layout/reftests/svg/svg-transform-02.svg
2013-05-05 08:20:25 +01:00
Gregory Szorc
865b1ce89b Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
David Zbarsky
33b84ccd33 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Ed Morley
38f36edd9e Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
David Zbarsky
62df33d2a0 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Andrea Marchesini
33c5f8cd73 Bug 866679 - Convert DOMSVGZoomEvent to WebIDL. r=Ms2ger 2013-04-30 13:43:25 -04:00
Andrea Marchesini
1c438c86dd Bug 866679 - Rename DOMSVGZoomEvent to SVGZoomEvent. r=Ms2ger
--HG--
rename : content/svg/content/src/nsDOMSVGZoomEvent.cpp => content/svg/content/src/SVGZoomEvent.cpp
rename : content/svg/content/src/nsDOMSVGZoomEvent.h => content/svg/content/src/SVGZoomEvent.h
2013-04-30 13:43:07 -04:00
Andrea Marchesini
795adde756 Bug 866825 - Initialize nsDOMSVGZoomEvent::m{Previous,New}Scale; r=smaug 2013-04-29 18:39:16 -04:00
Jonathan Watt
30d5a5caf4 Bug 839865 - Stop calling nsSVGUtils::InvalidateBounds for SVG transform changes, and use DLBI instead. r=mattwoodrow. 2013-02-11 23:25:56 +00:00
Cameron McCormack
36f5dad94d Bug 862485 - Split test_pointer-events.xhtml in two to avoid timeouts. r=longsonr
--HG--
rename : content/svg/content/test/test_pointer-events.xhtml => content/svg/content/test/test_pointer-events-1a.xhtml
rename : content/svg/content/test/test_pointer-events.xhtml => content/svg/content/test/test_pointer-events-1b.xhtml
2013-04-27 17:04:17 +10:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
e0a4cd5848 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ms2ger
348305a4fd Bug 864509 - Make SVGStringList inherit from nsISupports; r=bz 2013-04-26 08:47:11 +02:00
Boris Zbarsky
676b9d422b Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
9c1973b5d2 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Jonathan Watt
ca0209b32f Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow 2013-04-25 10:18:42 +01:00
David Zbarsky
204a17f3b2 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Ms2ger
933f682691 Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
Andrea Marchesini
a604ddad5a Bug 855412 - Change the signature of NS_NewSVGRect to not use the outparam. r=Ms2ger 2013-04-18 07:40:09 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
David Zbarsky
b888bf773b Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
David Zbarsky
9a6d8db1ed Bug 846995 Part 2: Rename SVGAnimatedTransformList to nsSVGAnimatedTransformList r=jwatt
--HG--
rename : content/svg/content/src/SVGAnimatedTransformList.cpp => content/svg/content/src/nsSVGAnimatedTransformList.cpp
rename : content/svg/content/src/SVGAnimatedTransformList.h => content/svg/content/src/nsSVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
David Zbarsky
b87e489c14 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-04-14 18:56:34 -04:00
Robert Longson
7407e43576 Bug 861188 - Fix empty transforms on svg elements. r=dholbert 2013-04-14 08:17:36 +01:00
Ms2ger
319deb013a Bug 861098 - Remove more classinfo; r=bz 2013-04-13 09:08:49 +02:00
Joshua Cranmer
66e39d8aff Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00
Aryeh Gregor
af0856194e Bug 857102 part 1 - Make nsNodeInfoManager::GetNodeInfo infallible; r=bz 2013-04-04 15:00:07 +03:00
Daniel Holbert
8e963efa7b Bug 859128: Store SVGPathSegUtils::ArgCountForType's return-val in a signed variable, when we need to perform signed arithmetic with it. r=jwatt 2013-04-08 23:25:22 -07:00
Daniel Holbert
eb8945b689 Bug 859021 followup: Add missing "f" suffixes for float-valued numeric literals, even where it's not strictly required by MSVC build warnings. 2013-04-08 15:06:28 -07:00
Masatoshi Kimura
d7d001c752 Bug 859021 - Add comments explaining "0 -". r=dholbert DONTBUILD 2013-04-07 17:52:50 +09:00
Masatoshi Kimura
82d2af64ac Bug 859021 - Fix remaining MSVC build warnings and remove the MSVC exemption for FAIL_ON_WARNINGS in content/svg/content/src. r=dholbert 2013-04-07 17:46:48 +09:00
David Zbarsky
8fe59f2c6a Bug 855597: Make things build r=me 2013-04-02 15:17:41 -04:00
David Zbarsky
c86b9ad0f3 Bug 855597: Rename DOMSVGTransform to SVGTransform r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGTransform.cpp => content/svg/content/src/SVGTransform.cpp
rename : content/svg/content/src/DOMSVGTransform.h => content/svg/content/src/SVGTransform.h
2013-04-02 15:17:41 -04:00
David Zbarsky
9ea50b911c Bug 855597: Rename SVGTransform to nsSVGTransform r=jwatt
--HG--
rename : content/svg/content/src/SVGTransform.cpp => content/svg/content/src/nsSVGTransform.cpp
rename : content/svg/content/src/SVGTransform.h => content/svg/content/src/nsSVGTransform.h
2013-04-02 15:17:41 -04:00
David Zbarsky
e79754ad61 Bug 855597: Make SVGTransform not inherit nsISupports r=longsonr 2013-04-02 15:17:40 -04:00
Robert Longson
faadc22fd9 Bug 398825 - Make the selectSubString method pref enabled and fix and re-enable the mochitests r=Ms2ger
--HG--
rename : content/svg/content/test/test_selectSubString.xhtml => content/svg/content/test/test_selectSubString2.xhtml
2013-04-02 12:17:52 +01:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Robert Longson
eb16ed5528 Bug 398825 - disable failing test temporarily. 2013-04-01 11:53:20 +01:00
Robert Longson
8b54ff79ea Bug 398825 - Implement selectSubString. r=heycam
--HG--
rename : content/svg/content/test/getSubStringLength-helper.svg => content/svg/content/test/selectSubString-helper.svg
2013-04-01 10:45:17 +01:00
Robert Longson
f15ed2651e Bug 398825 - Implement selectSubString. r=heycam
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
Joshua Cranmer
59a0294d03 Followup to bug 840417 to fix static checking errors, r=bz 2013-03-30 21:27:27 -05:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Cameron McCormack
fd32567688 Bug 850655 - Make CharIterator::Next() not crash when at the end of text. r=longsonr
--HG--
extra : rebase_source : 830fa0fda257401a77c1aae8686aa5ab6db18d86
2013-03-28 14:31:31 +11:00
David Zbarsky
38cd1d3a06 Bug 854629 Part 2: Remove nsISupports when there is only one base class r=Ms2ger 2013-03-27 21:23:10 -04:00
David Zbarsky
2a7153aec8 Bug 854629 Part 1: Remove nsIDOMSVGUnitTypes r=Ms2ger 2013-03-27 21:23:10 -04:00
David Zbarsky
bf5f255b20 Bug 840417 Part 2: Remove nsSVGUnknownElement r=Ms2ger 2013-03-27 21:23:10 -04:00
David Zbarsky
3c59b61d13 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
David Zbarsky
e1e3d03025 Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt 2013-03-27 21:23:09 -04:00
David Zbarsky
b87453cbd7 Bug 847120: Convert SVGFETurbulenceElement to WebIDL r=Ms2ger 2013-03-26 19:43:33 -04:00
David Zbarsky
385db58864 Bug 847120: Move SVGFETurbulenceElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.h
2013-03-26 19:43:33 -04:00
David Zbarsky
0becc7b4de Bug 847120: Convert SVGFEMorphologyElement to WebIDL r=Ms2ger 2013-03-26 19:43:33 -04:00
David Zbarsky
a18c2a45de Bug 847120: Move SVGFEMorphologyElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.h
2013-03-26 19:43:32 -04:00
Andrea Marchesini
03840bb72d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Andrea Marchesini
322af91a46 Bug 852620 - Rename nsSVGRect to SVGRect, r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGRect.cpp => content/svg/content/src/SVGRect.cpp
rename : content/svg/content/src/nsSVGRect.h => content/svg/content/src/SVGRect.h
2013-03-26 16:52:41 +01:00
Boris Zbarsky
b5117eb08e Bug 848332 part 2. Switch XMLDocument to WebIDL. r=peterv 2013-03-26 11:31:54 -04:00
David Zbarsky
c8b7bf5925 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
3fb078d755 Bug 847120: Move SVGFEConvolveMatrixElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
2013-03-25 02:26:06 -04:00
David Zbarsky
a7074f9c0a Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
76fd924f47 Bug 847120: Move SVGFEDisplacementMapElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
2013-03-25 02:26:05 -04:00
David Zbarsky
1a1574f9ce Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
ff6e9b4664 Bug 847120: Move SVGFEDiffuseLightingElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
2013-03-25 02:26:05 -04:00
David Zbarsky
f37a8ed52c Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
5824a65b53 Bug 847120: Move SVGFESpecularLightingElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
2013-03-25 02:26:04 -04:00
David Zbarsky
e8e35c9939 Bug 853692: Convert SVGFESpotLightElement to WebIDL r=Ms2ger 2013-03-25 02:26:04 -04:00
David Zbarsky
11cb5d278e Bug 853692: Move SVGFESpotLightElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 02:26:04 -04:00
Phil Ringnalda
836b7d28c0 Back out 939f0488b0f7:46e4373d6d95 (bug 847120) and 13443c4586a4:e7f48e9b8bd7 (bug 853692) on suspicion of causing bug 854225 Linux32 PGO build failures
CLOSED TREE
2013-03-24 15:17:18 -07:00
Ehsan Akhgari
6475bbf9f0 Bug 854108 - Use FallibleTArray in SVG code some more; r=longsonr 2013-03-23 12:47:31 -04:00
David Zbarsky
c6e530d4b4 Bug 847120: Convert SVGFETurbulenceElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
a61603e66e Bug 847120: Move SVGFETurbulenceElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.h
2013-03-23 17:00:36 -04:00
David Zbarsky
728c613c68 Bug 847120: Convert SVGFEMorphologyElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
278ae355b0 Bug 847120: Move SVGFEMorphologyElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.h
2013-03-23 17:00:36 -04:00
David Zbarsky
9b4e201807 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
3ad0201a50 Bug 847120: Move SVGFEConvolveMatrixElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
2013-03-23 17:00:35 -04:00
David Zbarsky
800b24fe5b Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
a128dfe6dc Bug 847120: Move SVGFEDisplacementMapElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
2013-03-23 17:00:35 -04:00
David Zbarsky
5c0945edc2 Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
e338c35b8f Bug 847120: Move SVGFEDiffuseLightingElement to its own file r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
2013-03-23 17:00:35 -04:00
David Zbarsky
f7262b7a39 Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:34 -04:00
David Zbarsky
0245f3c2f9 Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
2013-03-23 17:00:34 -04:00
David Zbarsky
486149b15b Bug 853692: Convert SVGFESpotLightElement to WebIDL r=Ms2ger 2013-03-23 17:00:34 -04:00