Commit Graph

1790 Commits

Author SHA1 Message Date
Terrence Cole
ee3aa1639b Bug 908942 - Fix some exact rooting hazards in dom; r=bz 2013-08-23 17:23:37 -07:00
David Zbarsky
97089ee102 Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-24 10:08:55 -04:00
Boris Zbarsky
ed572afc24 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Phil Ringnalda
d4d071b760 Back out 27eb88629c56:a26582e3c44d (bug 906901)
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
ec2d8d7064 Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-23 21:11:47 -04:00
Ms2ger
a2acb106e2 Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey 2013-08-22 08:33:59 +02:00
Ms2ger
a2f47ebf8e Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Ms2ger
de25b3972f Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey 2013-08-22 08:29:30 +02:00
Bobby Holley
16665a5ae8 Bug 901106 - Eliminate the nsJSRuntime namespace. r=mrbkap 2013-08-19 16:24:29 -07:00
Masatoshi Kimura
952a045371 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Ehsan Akhgari
6c2dd7f365 Bug 905353 - Minimize the #includes in dom/base; r=jst 2013-08-15 14:17:48 -04:00
Ms2ger
87a682cbf9 Bug 900677 - Remove IDBEventTargetSH; r=bz 2013-08-14 08:53:46 +02:00
Kyle Huey
bc019d28f3 Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking 2013-08-13 08:49:11 -04:00
Thomas Zimmermann
ed308e14e8 Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
94dcb69ba5 Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
7b790eb2b1 Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure 2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
71daec90f7 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
8a425e396f merge mozilla-central to b2g-inbound 2013-08-12 11:52:02 +02:00
Thomas Zimmermann
e6affea3b0 Bug 888595: Converted BluetoothAdapter to WebIDL, r=bzbarsky,echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
312749e9cd Bug 888595: Convert BluetoothManager bindings to WebIDL, r=bzbarsky,echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Ryan VanderMeulen
24bbf4218e Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
834cf828f4 Merge m-c to b2g-inbound. 2013-08-08 16:24:53 -04:00
Johnny Stenback
8283486647 Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
Peter Van der Beken
a4c6cd24e4 Bug 895758. Make the global scope polluter a proxy. r=bzbarsky 2013-07-09 10:45:13 -04:00
David Zbarsky
2b2ccab9ec [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
Ryan VanderMeulen
8dc770e8ea Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Nicholas Nethercote
58c5174f5e Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff. 2013-07-25 21:23:14 -07:00
Boris Zbarsky
99f5da87b0 Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug 2013-08-07 17:40:00 -04:00
Nicholas Nethercote
f30b759645 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz. 2013-08-06 23:59:54 -07:00
Nicholas Nethercote
966f6b5ff2 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz. 2013-08-02 00:41:57 -07:00
Yoshi Huang
0d12ead3b1 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Jon Coppeard
9275cd7c1a 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
1cda0a7776 Backout changeset 531f544bc9ce for breaking B2G tests. 2013-08-02 11:38:49 +02:00
Ms2ger
d852dc8b47 Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey 2013-08-02 09:09:15 +02:00
Masatoshi Kimura
da28fd171b Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey 2013-08-01 07:30:06 +09:00
Andrea Marchesini
053f9f6a77 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
4a33dd08a3 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Tom Schuster
5f28c2402f Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Andrea Marchesini
fa7e25809e Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
6ef2ad79ab Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
b7828b2762 Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Masatoshi Kimura
fe574e97d3 Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap 2013-07-31 09:25:31 -04:00
Boris Zbarsky
aefeb40da3 Bug 892929 - hide window.CSSFontFeatureValueRule when font features disabled. r=smaug 2013-07-31 14:17:48 +09:00
Ehsan Akhgari
1ab9c7bcb4 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])
2013-07-18 13:59:53 -04:00
Masatoshi Kimura
b229c27884 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09:00
Bobby Holley
0df174a07e Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Andrea Marchesini
f5962d72f8 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Masatoshi Kimura
4f5373b6e8 Bug 898687 - Hide XUL related classes from content. r=Jan.Varga 2013-07-29 23:45:58 +09:00
Jon Coppeard
775f06b442 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Vicamo Yang
0bfc85b439 Bug 891235: remove mozSms. rs=mounir 2013-07-26 18:40:27 +08:00