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

1910 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 03e7828db2 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 f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Robert Longson f25370e210 Bug 906601 - filter processing memory allocation should be fallible. r=jwatt 2013-09-04 22:14:10 +01:00
Ehsan Akhgari 0b8da1bcce Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Daniel Holbert b69ee7db46 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 d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky 7393f81fff 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 52234568d4 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ms2ger 913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger 6d473220dc Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger 4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Daniel Holbert d9aaafc1b8 Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Ehsan Akhgari f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Olli Pettay 05d99e99a0 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 e7b91e5bc0 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
Nathan Froyd a0834ca614 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 61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger 1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger 682a633069 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ehsan Akhgari 0bef5b7609 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 dcb070e8f7 Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky 8415f9eb69 [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
Nathan Froyd af19be5428 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 99d8dc50c9 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nathan Froyd 0a89277437 Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
David Zbarsky 9b8bb85a9c Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Robert Longson a740e6b76c Bug 835048 - ownerElement should return null rather than throwing for invalid content. r=jwatt 2013-08-07 18:40:52 +01:00
Robert Longson e78ae213cd Bug 898915 - Fix Axis() is not valid abort. r=dholbert 2013-08-07 17:59:08 +01:00
Daniel Holbert d239205a09 (no bug) Fix typo in documentation for SVGLengthListAndInfo::CanZeroPadList(). no review, DONTBUILD because comment-only 2013-08-05 13:48:04 -04:00
Ms2ger 50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger 9803a2ddf3 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Mike Hommey 2e729aa83d 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 2b32beaaad 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 2824b29025 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 ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Cameron McCormack fdb36cc83d Bug 895285 - Handle viewBox="" setting optimization correctly. r=jwatt 2013-07-24 14:48:12 +10:00
Cameron McCormack ad284632b7 Bug 896159 - Expose textLength and lengthAdjust on SVGTextPathElements. r=jwatt 2013-07-24 10:01:35 +10:00
David Zbarsky 1466d5fd4f Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:18 -07:00
David Zbarsky 1c217aae2d Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:17 -07:00
David Zbarsky 25658dc89f Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Brian O'Keefe f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Cameron McCormack b05fa0ae0b Bug 893484 - Set second last polygon marker type before appending last one. r=jwatt 2013-07-15 19:50:09 +10:00
Jonathan Watt b3855202dd Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy 2013-07-12 11:25:27 +01:00
Jonathan Watt c5b68c1e5a Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt c2a7752d69 Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt 5040fbd69c Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt b07d71c941 Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy 2013-07-12 11:25:25 +01:00
Cameron McCormack aab2e6c2f0 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 a1c5d8d92b Bug 879659 - Followup for unused variable error. 2013-07-12 17:11:30 +10:00
Cameron McCormack e5b78f3048 Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr 2013-07-12 16:39:38 +10:00