Commit Graph

1483 Commits

Author SHA1 Message Date
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