Carsten "Tomcat" Book
5c34d25a48
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
Yoshi Huang
2e2cee1761
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Boris Zbarsky
87c6485b2e
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
165344b12f
Bug 900994. Add support for Func annotations on interface objects. r=smaug
2013-08-03 23:38:55 -04:00
Boris Zbarsky
884acf3a89
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
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
Kyle Huey
c76d0d79c6
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
23d77e62e7
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
d8a5e42d26
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Bill McCloskey
35518f5639
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07: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
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
Bill McCloskey
f6627b7dee
Backout bug 899804 for build errors.
2013-08-01 17:44:03 -07:00
Bill McCloskey
4d5b76fc01
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Nikhil Marathe
34261dd495
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
1340edfe51
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
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
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
Andrea Marchesini
9dcb97c82c
Bug 899546 - ENSURE_SUCCESS macro for ErrorResult, r=bz
2013-07-31 10:12:46 +02:00
Boris Zbarsky
036228ec9f
Bug 892609. Implement support for [ArrayClass]. r=khuey
2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
70fbb1997c
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
e0fc597437
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
5079ebb23d
Merge m-c to inbound.
2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
55f1829235
Merge m-c to fx-team.
2013-07-30 13:12:26 -04:00
Mina Almasry
7d6b47172c
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
6b2dfe7a73
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
20fb51afdd
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
7be47235e6
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
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
Boris Zbarsky
449d9bef50
Bug 895728 part 4. Fix unions to work with the new boolean/numeric/string setup. r=khuey
2013-07-30 10:39:35 -07:00
Boris Zbarsky
658b16a671
Bug 895728 part 3. Fix overload resolution to work with the new boolean/numeric/string setup. r=khuey
2013-07-30 10:39:34 -07:00
Boris Zbarsky
41d8dc6ef4
Bug 895728 part 2. Make booleans, numerics, and strings/enums all be distinguishable from each other. r=khuey
2013-07-30 10:39:34 -07:00
Boris Zbarsky
e86315b77e
Bug 895728 part 1. Introduce "boolean" and "numeric" types, since those will be treated differently for purposes of distinguishability and overload resolution. r=khuey
2013-07-30 10:39:34 -07:00
Robert O'Callahan
1a91dcd0d2
Backing out 6ba07a3e0c80 (bug 892978) to fix test failures
2013-07-29 11:51:37 +12:00
Boris Zbarsky
d7ce88e1dc
Bug 895495 followup. Pass the needed second string to the exception message if the first argument of _create is not a Window. r=ms2ger
2013-07-28 10:50:35 -07:00
Guillaume Abadie
1a4c466eb3
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert
2013-07-28 11:59:03 -04:00
David Zbarsky
e6b60b3b6b
Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug
2013-07-26 13:20:22 -07:00
David Zbarsky
97389b3a03
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
d170a8f396
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Ryan VanderMeulen
999bcfda0a
Merge m-c to inbound.
2013-07-26 14:20:01 -04:00
Ryan VanderMeulen
5fbecd2eef
Merge m-c to birch.
2013-07-26 10:48:24 -04:00
Vicamo Yang
7aeae4c5b3
Bug 891235: remove mozSms. rs=mounir
2013-07-26 18:40:27 +08:00