Commit Graph

1669 Commits

Author SHA1 Message Date
Robert Longson
878714ba07 Bug 919900 - Correct bounding box calculations for empty text elements with svg.text.css-frames.enabled. r=heycam 2013-09-26 13:42:15 +01:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Benoit Jacob
0f90257361 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
295704279b 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
0b6d808310 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
dee6c12c6f 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
153c82610c Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Trevor Saunders
d6c2b40c7a bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Martijn Wargers
0b217fe87f 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
d2564b10a0 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Robert Longson
4bc18dc4e1 Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
David Zbarsky
ea6894a058 Bug 912555 - DOMSVGPathSeg and subclasses don't need to inherit nsISupports r=Ms2ger 2013-09-10 19:03:57 -04:00
Daniel Holbert
b725d4cca3 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
8ca63f18ef 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
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Robert Longson
dfffb463ac Bug 906601 - filter processing memory allocation should be fallible. r=jwatt 2013-09-04 22:14:10 +01:00
Ehsan Akhgari
dc804b0ed5 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Daniel Holbert
e77c325fd8 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
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky
18e33f4b17 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
debb415e8e Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
fa65b962f6 Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Daniel Holbert
b839bcc1af Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Ehsan Akhgari
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Olli Pettay
b74af2cf58 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
b76cfc4979 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
Nathan Froyd
f2686f1332 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
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ehsan Akhgari
dcc5877fbb 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
5464cf26d4 Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky
34dcd56bd5 [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
Nathan Froyd
9ebfa27137 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
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nathan Froyd
3647971db9 Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
David Zbarsky
9dd8b1ad80 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Robert Longson
dd64aeeee3 Bug 835048 - ownerElement should return null rather than throwing for invalid content. r=jwatt 2013-08-07 18:40:52 +01:00
Robert Longson
2af94802d1 Bug 898915 - Fix Axis() is not valid abort. r=dholbert 2013-08-07 17:59:08 +01:00
Daniel Holbert
d98c8dfc6b (no bug) Fix typo in documentation for SVGLengthListAndInfo::CanZeroPadList(). no review, DONTBUILD because comment-only 2013-08-05 13:48:04 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
65b9d384bf Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Mike Hommey
ca80cd82ad 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
644fe8405f 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
085494b95d 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
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Cameron McCormack
0e51d2f828 Bug 895285 - Handle viewBox="" setting optimization correctly. r=jwatt 2013-07-24 14:48:12 +10:00
Cameron McCormack
19489dc884 Bug 896159 - Expose textLength and lengthAdjust on SVGTextPathElements. r=jwatt 2013-07-24 10:01:35 +10:00
David Zbarsky
2f0e22e174 Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:18 -07:00
David Zbarsky
e6053c5ab9 Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:17 -07:00
David Zbarsky
04e2cb2e9e Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Cameron McCormack
e17bd6250e Bug 893484 - Set second last polygon marker type before appending last one. r=jwatt 2013-07-15 19:50:09 +10:00
Jonathan Watt
ee77b8b230 Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy 2013-07-12 11:25:27 +01:00
Jonathan Watt
bd9e887f5c Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
8296bfb916 Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
91b1c7a866 Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
1f95d7d9a7 Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy 2013-07-12 11:25:25 +01:00
Cameron McCormack
e57c8ad0ef 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
543e4ba14b Bug 879659 - Followup for unused variable error. 2013-07-12 17:11:30 +10:00
Cameron McCormack
ec8519bdbb Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr 2013-07-12 16:39:38 +10:00
Cameron McCormack
3c1809b4b3 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
766a0b42c3 Bug 879659 - Add a pref for SVG 2 marker improvements. r=longsonr 2013-07-12 16:39:38 +10:00
Trevor Saunders
238525e2d8 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
fa43b3c4c0 Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz 2013-07-12 06:26:54 +09:00
Boris Zbarsky
05b9585b54 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
63e5390883 Bug 890695 - Use MOZ_THIS_IN_INITIALIZER_LIST in content/; r=mounir 2013-07-10 11:56:47 +02:00
Ms2ger
8706c8cbac Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Cameron McCormack
c0e2bb6765 Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr 2013-07-07 17:27:51 +10:00
David Zbarsky
fa439e686b Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
cca410aaf8 Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
48d0fb8919 Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
c9b05748a2 Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
Masatoshi Kimura
16ea5c4d5c Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Robert Longson
6c040f049e Bug 889329 - Implement deselectAll(). r=cam,sr=roc 2013-07-03 08:41:53 +01:00
Ryan VanderMeulen
6c23f16416 Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
01a103a919 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Ms2ger
b9fab2b760 Bug 886289 - Move SVGAnimatedNumber to WebIDL; r=dzbarsky 2013-07-01 09:03:04 +02:00
Ms2ger
8adaa5a198 Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky 2013-07-01 09:02:56 +02:00
Ms2ger
e2bde8750f Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky 2013-07-01 09:02:46 +02:00
Robert Longson
f026fe3dbe 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
e2a3c28b46 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
02d459330d 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
e5f75898fc 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
ba14d5e905 Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger 2013-06-24 12:31:52 -07:00
Robert Longson
be0cf55cbf Bug 601131 - Hang with feTurbulence with huge numOctaves. r=roc 2013-06-24 10:42:22 +01:00
Olli Pettay
75377b423a 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
ed17339221 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
04a05988cc 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
97e1b80d17 Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
David Zbarsky
d10a18830c [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Trevor Saunders
f6274d24c5 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
00b41d8ad2 [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
Peter Van der Beken
0eae5efa79 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
ebc1cdb11d backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Trevor Saunders
1ebc6cf845 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
74241f8a2b 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
1aded9ba34 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Cameron McCormack
109e949fe7 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
eb4d754279 Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux
83d60db473 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Andrew McCreight
d1266ee9b7 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
6f32ddf61c 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
481319b784 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Cameron McCormack
3c88c614b1 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
a22068c80e 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
febdba954d Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
Andrea Marchesini
026738f75a Bug 871551 - ToDOMAnimatedRect to ToSVGAnimatedRect. r=Ms2ger 2013-05-20 07:46:12 -04:00
David Zbarsky
ea1045f383 Bug 872774 r=bz 2013-05-16 11:06:21 -07:00
Ehsan Akhgari
2f3ac0380a Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Robert Longson
333a4f451f 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
f9a768699f Bug 869657: rename IsEventName to IsEventAttributeName in SVGAltGlyphElement and SVGTSpanElement. r=dholbert 2013-05-09 19:11:54 +02:00
Andrea Marchesini
5f4f41fbe6 Bug 853386 - Remove nsIDOMSVGRect and classinfo for SVGRect. r=Ms2ger 2013-05-09 13:42:12 -04:00
Andrea Marchesini
031eb2e92c Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Jonathan Watt
ee68e1871b Bug 870003 - Stop repainting <svg> elements when their children-only transform changes. r=dholbert 2013-05-08 18:13:29 +01:00
Jonathan Watt
5dac4df334 Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert 2013-05-08 18:13:11 +01:00
Daniel Holbert
686166e5e2 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
3fc20eeb1d 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
fae04a65cb 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
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
David Zbarsky
3f7cb5e49c Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Ed Morley
0e4101d53a Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
David Zbarsky
350f4548ad Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Andrea Marchesini
cbfcaa4278 Bug 866679 - Convert DOMSVGZoomEvent to WebIDL. r=Ms2ger 2013-04-30 13:43:25 -04:00
Andrea Marchesini
9c4cde8ee5 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
33d13d5d12 Bug 866825 - Initialize nsDOMSVGZoomEvent::m{Previous,New}Scale; r=smaug 2013-04-29 18:39:16 -04:00
Jonathan Watt
c1b5bf869b 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
9439ed19bb 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
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
b7c3e8030b Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ms2ger
be0c00889e Bug 864509 - Make SVGStringList inherit from nsISupports; r=bz 2013-04-26 08:47:11 +02:00
Boris Zbarsky
687728285d 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
f75142b01d 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
2527fad3e7 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
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Ms2ger
c3fa7a519c Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
Andrea Marchesini
3ccc4043ba 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
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
David Zbarsky
8aa282388a 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
0b59098f03 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
0336e27883 Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt 2013-04-14 18:56:34 -04:00
Robert Longson
a84db0dfe3 Bug 861188 - Fix empty transforms on svg elements. r=dholbert 2013-04-14 08:17:36 +01:00
Ms2ger
90d72aaffd Bug 861098 - Remove more classinfo; r=bz 2013-04-13 09:08:49 +02:00
Joshua Cranmer
ce365a42ff 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
3a179a82d7 Bug 857102 part 1 - Make nsNodeInfoManager::GetNodeInfo infallible; r=bz 2013-04-04 15:00:07 +03:00
Daniel Holbert
64cb595c6d 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
ce1f18aee5 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
1d9fb84fc5 Bug 859021 - Add comments explaining "0 -". r=dholbert DONTBUILD 2013-04-07 17:52:50 +09:00
Masatoshi Kimura
4d136d907f 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
9aad1f3c01 Bug 855597: Make things build r=me 2013-04-02 15:17:41 -04:00
David Zbarsky
5bd88c9c6f 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
ce7533e8ef 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
f82c55290a Bug 855597: Make SVGTransform not inherit nsISupports r=longsonr 2013-04-02 15:17:40 -04:00
Robert Longson
5d877b5ff9 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Robert Longson
20d7b1d8f1 Bug 398825 - disable failing test temporarily. 2013-04-01 11:53:20 +01:00
Robert Longson
221a47474a 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
424a479691 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
20f5731339 Followup to bug 840417 to fix static checking errors, r=bz 2013-03-30 21:27:27 -05:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
fb1017f0e1 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
d3af785d8b 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
f5cee1102c Bug 854629 Part 1: Remove nsIDOMSVGUnitTypes r=Ms2ger 2013-03-27 21:23:10 -04:00
David Zbarsky
ad8525742e Bug 840417 Part 2: Remove nsSVGUnknownElement r=Ms2ger 2013-03-27 21:23:10 -04:00
David Zbarsky
9131356053 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
David Zbarsky
03993307bd Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt 2013-03-27 21:23:09 -04:00
David Zbarsky
71c18cd9fc Bug 847120: Convert SVGFETurbulenceElement to WebIDL r=Ms2ger 2013-03-26 19:43:33 -04:00
David Zbarsky
96cdef87d9 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
7236f5e7e9 Bug 847120: Convert SVGFEMorphologyElement to WebIDL r=Ms2ger 2013-03-26 19:43:33 -04:00
David Zbarsky
72e82b64ab 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
1735bce39d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Andrea Marchesini
d6addabaac 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
1522ab7f15 Bug 848332 part 2. Switch XMLDocument to WebIDL. r=peterv 2013-03-26 11:31:54 -04:00
David Zbarsky
75cc245cd2 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
a2e2f5df77 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
dc155bc523 Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-25 02:26:06 -04:00
David Zbarsky
3c195956e7 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
6103eb0c86 Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
bdbcd0cf4f 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
fffcb27730 Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-25 02:26:05 -04:00
David Zbarsky
e19d5e20f2 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
1189b9cce9 Bug 853692: Convert SVGFESpotLightElement to WebIDL r=Ms2ger 2013-03-25 02:26:04 -04:00
David Zbarsky
fb08dc389f 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
56cb206040 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
10fbe8611b Bug 854108 - Use FallibleTArray in SVG code some more; r=longsonr 2013-03-23 12:47:31 -04:00
David Zbarsky
0deb84e558 Bug 847120: Convert SVGFETurbulenceElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
47ce7a8614 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
7ce1e3d414 Bug 847120: Convert SVGFEMorphologyElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
e5b8042ddc 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
69da834876 Bug 847120: Convert SVGFEConvolveMatrixElement to WebIDL r=Ms2ger 2013-03-23 17:00:36 -04:00
David Zbarsky
ec4fe95da8 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
4a15182a9e Bug 847120: Convert SVGFEDisplacementMapElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
03acafede3 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
6630c142c8 Bug 847120: Convert SVGFEDiffuseLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:35 -04:00
David Zbarsky
8dd7cf0b12 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
132618915a Bug 847120: Convert SVGFESpecularLightingElement to WebIDL r=Ms2ger 2013-03-23 17:00:34 -04:00
David Zbarsky
7831ea3c00 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