Boris Zbarsky
31d74062e9
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
Boris Zbarsky
42d2829264
Bug 902485. Disallow copy constructors and operator= on WebIDL union structs, because those wouldn't do what you think they should. r=dzbarsky
2013-08-07 17:40:00 -04:00
Boris Zbarsky
58ee763141
Bug 901816. Include Nullable and TypedArray headers in binding header files if we have dictionaries that have those as members. r=smaug
2013-08-07 17:40:00 -04:00
Nikhil Marathe
fed22f38c7
Bug 902257 - Include header file for Func attribute in WebIDL codegen. r=bz
2013-08-06 19:22:46 -07:00
Guillaume Abadie
5e549ecde2
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Nicholas Nethercote
ba723f1034
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
982ae9a058
Bug 901285. Allow trailing comma in WebIDL enums. r=khuey
2013-08-05 13:40:32 -04:00
Boris Zbarsky
659c773366
Bug 900898 part 4. Support typed arrays inside sequences and variadics. r=smaug
2013-08-05 13:40:02 -04:00
Boris Zbarsky
2145e0bf95
Bug 900898 part 3. Support typed arrays inside dictionaries. r=smaug
2013-08-05 13:40:01 -04:00
Boris Zbarsky
cad540afeb
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
Boris Zbarsky
8a077042de
Bug 900898 part 1. Give dom::TypedArray structs a no-argument constructor. r=smaug
2013-08-05 13:40:01 -04:00
Jon Coppeard
71a6b47923
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
Jon Coppeard
694e4a5be0
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Carsten "Tomcat" Book
cda28b85ed
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
Yoshi Huang
3a8a76e455
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Boris Zbarsky
f94d41c09f
Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage
2013-08-04 00:11:30 -04:00
Boris Zbarsky
78a9c682d9
Bug 900994. Add support for Func annotations on interface objects. r=smaug
2013-08-03 23:38:55 -04:00
Boris Zbarsky
c8a7f5db48
Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug
2013-08-03 23:38:55 -04:00
Boris Zbarsky
acdf381c53
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
Kyle Huey
7c45880c47
Bug 845545: Part 7 - Only set up XRay jsids on the main thread. r=bz
2013-08-03 16:55:41 -07:00
Kyle Huey
3e51fcc88e
Bug 845545: Part 6 - Add a switch to force no QueryInterface function and use it for ImageData. r=bz
2013-08-03 16:55:40 -07:00
Kyle Huey
1de28ca9fd
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Bill McCloskey
4c6e8822a8
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Jon Coppeard
93c50cb189
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
95c8398829
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
e032489251
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
699b39966c
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +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
Bill McCloskey
b32d84aaec
Backout bug 899804 for build errors.
2013-08-01 17:44:03 -07:00
Bill McCloskey
e8efd45946
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Nikhil Marathe
be45be411a
Bug 899904 - Include header for [NoInterfaceObject]s exposed on Navigator. r=khuey
...
--HG--
extra : rebase_source : 825404f9466f6fe582650e2397734822e9cfa9c1
2013-08-01 10:28:47 -07:00
Gregory Szorc
f299c1f5e8
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Andrea Marchesini
413ce8df28
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
affecad19a
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Tom Schuster
0b021a6fa2
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Andrea Marchesini
507b5977c9
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
a55b90d029
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
f88a92b855
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Andrea Marchesini
0fc4510b29
Bug 899546 - ENSURE_SUCCESS macro for ErrorResult, r=bz
2013-07-31 10:12:46 +02:00
Boris Zbarsky
a51cf4339b
Bug 892609. Implement support for [ArrayClass]. r=khuey
2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
2949f02d69
Backed out changesets 77fcbb01366c (bug 899792) and e7d81c2597f2 (bug 899241) for OSX bustage.
...
CLOSED TREE
2013-07-30 21:46:07 -04:00
Gregory Szorc
99a10229ff
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Ryan VanderMeulen
1c2e96e8f9
Merge m-c to inbound.
2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
37174a2eb7
Merge m-c to fx-team.
2013-07-30 13:12:26 -04:00
Mina Almasry
a20effda55
Bug 897185 - toJSON only deals with attributes whose types are serializable. r=bz
...
Now jsonifiers only include serializable attributes in their returned object, as
per spec.
2013-07-30 10:04:04 -04:00
Trevor Saunders
6f6c1a4a8a
Bug 899368 - remove static constructors added in bug 894448 with some constexpr pixi dust. r=bz
2013-07-30 08:57:28 +09:00
Jon Coppeard
8278efd42a
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Ehsan Akhgari
aa0b1f106f
Bug 895322 - Part 3: Stop generating MOZ_STATIC_ASSERT in Web IDL bindings; r=Waldo
...
--HG--
extra : rebase_source : 5f48f54084623486fd3da0356711526597b90f5f
2013-07-19 14:39:20 -04: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