Commit Graph

4189 Commits

Author SHA1 Message Date
Ryan VanderMeulen
bcb99ed62f Merge m-c to inbound. 2013-08-06 14:24:39 -04:00
Nicholas Nethercote
9624be5713 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Boris Zbarsky
bcd1523d40 Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
Jon Coppeard
fb6671743e Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Carsten "Tomcat" Book
72350922ef Merge mozilla-central to mozilla-inbound 2013-08-05 11:59:14 +02:00
Carsten "Tomcat" Book
5c34d25a48 Merge b2g-inbound to m-c 2013-08-05 11:22:48 +02:00
David Zbarsky
267331a573 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-08-05 00:51:22 -04:00
David Zbarsky
11ac59e6e6 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Yoshi Huang
2e2cee1761 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Dave Hylands
ab18c36791 Bug 885753 - Change getDeviceStorage to return the default storage area. r=jvarga
This removes the entire concept of composite storage.
2013-08-02 16:34:59 -07:00
Justin Lebar
d2dcba11d3 Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE. 2013-08-02 10:53:34 -07:00
Neil Deakin
57f881022c Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-02 11:37:05 -04:00
Boris Zbarsky
c17ffa06b6 Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug 2013-08-03 23:38:54 -04:00
Boris Zbarsky
f2e67b21c9 Bug 707564 part 2. Add a way to enumerate navigator names on the script namespace manager. r=smaug 2013-08-03 23:38:54 -04:00
Jon Coppeard
a9d33996dd Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz 2013-08-02 13:15:39 +01:00
Ms2ger
e91a3ed10c Merge m-c to inbound. 2013-08-02 11:40:30 +02:00
Ms2ger
4565d33fad Backout changeset 531f544bc9ce for breaking B2G tests. 2013-08-02 11:38:49 +02:00
Ms2ger
50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
87ff310ef9 Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey 2013-08-02 09:09:15 +02:00
Ms2ger
0f9d038985 Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley 2013-08-02 09:09:11 +02:00
Ms2ger
1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
5dcc1ed0f0 Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +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
David Zbarsky
a6ceba11ad Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
Masatoshi Kimura
a2d7f5d92e Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
David Zbarsky
3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
f8699dfe4e Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
Bill McCloskey
b4ad5a68ec Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -07:00
Masatoshi Kimura
a6f01a9047 Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey 2013-08-01 07:30:06 +09:00
Andrea Marchesini
8f98621998 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
3c66a55593 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Masatoshi Kimura
dc1ac1fe9c Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Tom Schuster
dc4bd05cb5 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Andrea Marchesini
af936eab73 Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
7d820ab021 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
37ded34aa5 Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Masatoshi Kimura
42290cd659 Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap 2013-07-31 09:25:31 -04:00
Nicholas Cameron
6a449045ab Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Boris Zbarsky
1afbda6eed Bug 892929 - hide window.CSSFontFeatureValueRule when font features disabled. r=smaug 2013-07-31 14:17:48 +09:00
Johnny Stenback
5537c27fe8 Bug 898906. Fix this bug by making nsMimeType objects hold their active plugin alive, and rely on the cycle collector to break the explicit reference cycle. r=mccr8
---
 dom/base/crashtests/898906.html     | 14 ++++++++++++++
 dom/base/crashtests/crashtests.list |  3 ++-
 dom/base/nsMimeTypeArray.cpp        |  2 +-
 dom/base/nsMimeTypeArray.h          | 14 ++++++--------
 dom/base/nsPluginArray.cpp          | 24 +-----------------------
 dom/base/nsPluginArray.h            |  2 --
 6 files changed, 24 insertions(+), 35 deletions(-)
 create mode 100644 dom/base/crashtests/898906.html
2013-07-30 17:46:46 -07:00
David Zbarsky
faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07: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
Masatoshi Kimura
b508c3d4a1 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09: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
David Zbarsky
f78d53fa48 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
67334df0d5 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
Bobby Holley
98a0425f0f Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
43974de990 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Bobby Holley
acaaa3b1a2 Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
David Zbarsky
d057bf162a Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00