Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
ced3dd8b1c
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
d329ccb29b
Bug 907605 - Remove BindingUtils.h include from PrimitiveConversions.h; r=bz
2013-08-22 08:34:48 +02:00
Ms2ger
ce99c00e31
Bug 903778 - Move dom::Date into its own files; r=khuey
2013-08-22 08:30:38 +02:00
Ryan VanderMeulen
11b14acefd
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
Nathan Froyd
2fd9a66189
Bug 907749 - move -Wno-uninitialized addition to CXXFLAGS after including rules.mk; r=khuey
2013-08-21 10:49:45 -04:00
Ed Morley
ae0d962225
Merge mozilla-central and b2g-inbound
2013-08-21 13:10:57 +01:00
Bobby Holley
12e2bef827
Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz
2013-08-20 21:21:00 -07:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Hsin-Yi Tsai
c54da43905
Bug 772765 - Conference call - part1 - webidl. sr=sicking, r=bent
2013-07-20 14:46:35 +08:00
Ehsan Akhgari
d3e93cd446
Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc
2013-08-19 11:53:00 -07:00
Trevor Saunders
2dc15004c6
bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug
2013-08-14 18:04:24 -04:00
Bobby Holley
ecce09df53
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Brian O'Keefe
3fd496e231
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Guillaume Abadie
317bbc20f4
bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert
2013-08-13 18:11:01 -04:00
Nikhil Marathe
de03dc1d8a
Bug 887116 - Don't hold a reference to nsLayoutStatics in WebIDL CallbackObject. r=khuey
2013-08-13 14:20:01 -07:00
Gregory Szorc
78e96c5232
Bug 890744 - Ensure updated WebIDL headers are installed after regen; r=glandium
...
--HG--
extra : rebase_source : d3c177eefa23f1203957a63c2d9276e38aad7818
2013-08-13 10:51:56 -07:00
Ryan VanderMeulen
73ebf67a95
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Jon Coppeard
11678aa48c
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Thomas Zimmermann
69dd42354a
Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
...
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Thomas Zimmermann
7ce145382c
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
0e8e275f74
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
86e4b6244c
Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure
2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
b3c6e7d673
Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure
2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
cf01e81083
Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges
2013-08-12 18:07:32 +02:00
Carsten "Tomcat" Book
e64b974993
merge mozilla-central to b2g-inbound
2013-08-12 11:52:02 +02:00
Thomas Zimmermann
38795b8dfe
Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
...
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +02:00
Thomas Zimmermann
9e114a19a6
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.
--HG--
extra : rebase_source : 8a3e25ff89877148d0765b371ebdf77ad33aad75
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
711aa75692
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.
--HG--
extra : rebase_source : 4bdc77b3923d4ca6ec820c12454a295010382839
2013-08-12 10:31:58 +02:00
Ryan VanderMeulen
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
4bdd6d2653
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
David Zbarsky
647dce3f88
Bug 883493: Make CGUnionStruct use CGClass r=bz DONTBUILD
2013-08-10 11:17:16 -04:00
David Zbarsky
beaeb93396
Backed out changeset 30bd1b29ac64 for having the wrong commit message DONTBUILD
2013-08-10 11:16:59 -04:00
David Zbarsky
9d435656ac
* * *
...
Bug 883493: Make CGUnionStruct use CGClass r=bz
2013-08-10 11:14:23 -04:00
David Zbarsky
543854fd95
Bug 883493: Use CGSwitch to generate union structs r=bz
2013-08-10 11:14:22 -04:00
Johnny Stenback
4c163e91d9
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Boris Zbarsky
e4b144390d
Bug 901531. Remove the unused RootedJSValue class. r=ms2ger
2013-08-09 22:01:45 -04:00
Peter Van der Beken
3256529063
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
David Zbarsky
ed4cefb0c9
Bug 883493: Switch CGUnionReturnValueStruct to use CGClass r=bz
2013-08-09 21:17:51 -04:00
Nathan Froyd
7123381e69
Bug 899652 - use JS::UndefinedValue instead of JSVAL_VOID to encourage constexpr-ness; r=bz
2013-07-29 16:32:44 -04:00
Boris Zbarsky
3c09e9975f
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
3c03d65e5a
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
aeda9bac9f
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
Boris Zbarsky
052e0c5524
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
e66bdfb7fb
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
8bad2f9c1a
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
a3425171f3
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
3e7193cc66
Backing out 6ba07a3e0c80 (bug 892978) to fix test failures
2013-07-29 11:51:37 +12:00
Boris Zbarsky
f2749a768c
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
f95f151549
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert
2013-07-28 11:59:03 -04:00
David Zbarsky
a42d332f2e
Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug
2013-07-26 13:20:22 -07:00
David Zbarsky
32404ac8f6
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
7837d54bf0
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Ryan VanderMeulen
cc5560c810
Merge m-c to inbound.
2013-07-26 14:20:01 -04:00
Ryan VanderMeulen
e638a92bfd
Merge m-c to birch.
2013-07-26 10:48:24 -04:00
Vicamo Yang
4770f15294
Bug 891235: remove mozSms. rs=mounir
2013-07-26 18:40:27 +08:00
Ms2ger
61c9150995
Bug 878600 - Move WorkerLocation to WebIDL; r=khuey
2013-07-24 09:41:55 +02:00
Ms2ger
9e0a52fd44
Bug 878401 - Move WorkerNavigator to WebIDL; r=khuey
2013-07-24 09:38:23 +02:00
Ms2ger
36f3f6ae03
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Peter Van der Beken
30b93d7d6b
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Boris Zbarsky
cc0e521ed8
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Andrea Marchesini
59c5192f42
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Mina Almasry
66a49c5a39
Bug 872377 - Restore "toJSON" to list of reserved webidl keywords. r=bz
...
This patch makes toJSON a reserved webidl keyword, and changes the implementation of mozRTCSessionDescription to use a jsonifier.
2013-07-29 12:39:18 -04:00
Terrence Cole
7bde45b12a
Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
...
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Jon Coppeard
477e4df5c5
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Mina Almasry
d23615e4a1
Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
...
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Carsten "Tomcat" Book
8c89deb65b
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Boris Zbarsky
b8d369a614
Bug 895495. Add a faster way to create JS-implemented WebIDL objects from chrome. r=mccr8
...
This adds a Interface._create(targetWindow, chromeObj) static method
that lets a JS-implemented WebIDL object implementing Interface be
created in the window targetWindow using chromeObj as its JS
implementation.
2013-07-23 10:09:19 -04:00
Boris Zbarsky
c3d0e79b5c
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Jon Coppeard
3155328d9e
Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz
2013-07-23 10:58:28 +01:00
Jon Coppeard
da4b383f2b
Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz
2013-07-23 10:58:27 +01:00
Jon Coppeard
c561caee58
Bug 888338 - 6 - more browser post barriers r=mccr8
2013-07-23 10:58:27 +01:00
David Zbarsky
7d01bae0b0
Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:18 -07:00
David Zbarsky
0ed17c9e39
Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:17 -07:00
Masatoshi Kimura
4296d91d31
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
2013-07-17 20:26:23 +09:00
Ryan VanderMeulen
cc66360dac
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
12fbb7f6ba
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Ed Morley
47d61f007a
Backed out changeset e12c6f7d6676 (bug 885107) on suspicion of causing bug 894952
2013-07-18 14:43:52 +01:00
Guillaume Abadie
0c8ed8b0ed
Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert
2013-07-17 09:58:09 -04:00
Masatoshi Kimura
b51d5edeac
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
2013-07-17 20:26:23 +09:00
Terrence Cole
61b15c2fbb
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Guillaume Abadie
ca054d2250
Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert
2013-07-16 10:32:24 -04:00
Boris Zbarsky
402fb273cc
Bug 838146 followup: address missed review comments. r=bholley
2013-07-16 01:39:49 -04:00
Boris Zbarsky
7631a999ff
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
145e2ef11a
Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley
2013-07-16 01:31:03 -04:00
Boris Zbarsky
91a8bc6360
Bug 838146 part 7. Implement the MOZ_MEDIA_NAVIGATOR WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:37:21 -04:00
Boris Zbarsky
684d4a0f3a
Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:32 -04:00
Boris Zbarsky
5651b8d226
Bug 838146 part 5. Implement remaining MOZ_B2G_RIL-conditional WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:22 -04:00
Boris Zbarsky
8e232248bc
Bug 838146 part 4. Implement WebIDL API on Navigator for WebTelephony. r=bent, sr=sicking
2013-07-12 10:36:13 -04:00
Boris Zbarsky
b9f806fbc7
Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey
2013-07-12 10:35:53 -04:00
Boris Zbarsky
1d61759816
Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv
2013-07-12 10:35:44 -04:00
Boris Zbarsky
8ecfecabac
Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking
2013-07-12 10:35:35 -04:00
Justin Wood
0854b5a4f9
Bug 893798 - Remove superfluous comment spew in build logs. r=bz
2013-07-15 13:49:42 -04:00
Ryan VanderMeulen
19fc888904
Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
...
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Boris Zbarsky
1ba24d2399
Bug 892559. Don't use #pragma once in example codegen. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
63bb410bda
Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
36111926f2
Bug 838146 part 7. Implement the MOZ_MEDIA_NAVIGATOR WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:37:21 -04:00
Boris Zbarsky
2099ad3430
Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:32 -04:00
Boris Zbarsky
df65f757b3
Bug 838146 part 5. Implement remaining MOZ_B2G_RIL-conditional WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:22 -04:00
Boris Zbarsky
ccf58cbcfe
Bug 838146 part 4. Implement WebIDL API on Navigator for WebTelephony. r=bent, sr=sicking
2013-07-12 10:36:13 -04:00
Boris Zbarsky
713b700fcf
Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey
2013-07-12 10:35:53 -04:00
Boris Zbarsky
c3c6b7b067
Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv
2013-07-12 10:35:44 -04:00
Boris Zbarsky
ef364af836
Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking
2013-07-12 10:35:35 -04:00
Jonathan Watt
8e76d7ae44
Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy
2013-07-12 11:25:27 +01:00
Jonathan Watt
7c0152aca4
Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
f9797a18d4
Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
5b7080e74d
Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
f27c614f62
Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy
2013-07-12 11:25:25 +01:00
Nicholas Nethercote
8575db2cf1
Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
...
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
40833186f3
Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
...
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Andrea Marchesini
9d48d13bff
Bug 884279 - Rename Future to Promise. r=mounir
...
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_bug883683.html => dom/promise/tests/test_bug883683.html
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-07-11 16:40:36 -04:00
Hsin-Yi Tsai
ff4cff7935
Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent
2013-07-15 16:27:19 +08:00
Boris Zbarsky
f4b3a94323
Bug 891585. Don't JS_WrapValue same-compartment typed array return values in bindings code (e.g. ImageData.data). r=peterv
2013-07-11 11:58:29 -04:00
Masatoshi Kimura
5a1cf4ebae
Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz
2013-07-11 08:15:30 +09:00
Ryan VanderMeulen
c9d5a706a1
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
c3f96258c3
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Peter Van der Beken
9c3bffc341
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Randy Lin
d2aff89854
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Ehsan Akhgari
9575f867f2
Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8
2013-07-05 16:21:52 -04:00
David Zbarsky
c7ba928a09
Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
c1ae30a79a
Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
3643890665
Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
fc21e4ca71
Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
Ehsan Akhgari
8b46075683
Bug 889016 - Part 1: Add an API to report a not-enough-arguments error in Web IDL bindings; r=bzbarsky
2013-07-04 09:24:49 -04:00
Ehsan Akhgari
a8f2479515
Fix sorting on variables in WebIDL.mk, and also fix the wrong sorting order in Bindings.conf added in bug 855611
...
--HG--
extra : rebase_source : 87aa51d944193f73ea0a4e04c660785e6f5ddb4b
2013-07-09 10:54:05 -04:00
Kyle Huey
49b422d01c
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Johnny Stenback
7209a4a1c5
Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org.
2013-07-09 06:58:21 -07:00
Jan Varga
b31744c022
Bug 886755 - Include the correct binding header if a binding uses a WebIDL enumeration that's defined in a different .webidl file. r=bz
2013-07-09 15:54:47 +02:00
Matthew Gregan
e9b47a9dca
Bug 855130 - Implement a minimal working subset of the Media Source
...
Extensions specification. r=roc
2013-06-21 15:14:42 +12:00
Matthew Gregan
79e4765b62
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
...
Media Source Extensions specification). r=roc
2013-06-21 15:14:18 +12:00
Jeff Walden
296b917e73
Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
...
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Phil Ringnalda
caf26c910c
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
4e67cd07c7
Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
...
---
content/media/mediasource/AsyncEventRunner.h | 35 ++
content/media/mediasource/Makefile.in | 18 +
content/media/mediasource/MediaSource.cpp | 395 +++++++++++++++++++++
content/media/mediasource/MediaSource.h | 127 +++++++
.../media/mediasource/MediaSourceInputAdapter.cpp | 176 +++++++++
.../media/mediasource/MediaSourceInputAdapter.h | 43 +++
content/media/mediasource/SourceBuffer.cpp | 249 +++++++++++++
content/media/mediasource/SourceBuffer.h | 115 ++++++
content/media/mediasource/SourceBufferList.cpp | 143 ++++++++
content/media/mediasource/SourceBufferList.h | 79 +++++
content/media/mediasource/moz.build | 24 ++
content/media/moz.build | 2 +
dom/bindings/Bindings.conf | 13 +
dom/dom-config.mk | 1 +
dom/webidl/MediaSource.webidl | 38 ++
dom/webidl/SourceBuffer.webidl | 44 +++
dom/webidl/SourceBufferList.webidl | 17 +
dom/webidl/WebIDL.mk | 3 +
layout/build/Makefile.in | 4 +
modules/libpref/src/init/all.js | 3 +
20 files changed, 1529 insertions(+)
create mode 100644 content/media/mediasource/AsyncEventRunner.h
create mode 100644 content/media/mediasource/Makefile.in
create mode 100644 content/media/mediasource/MediaSource.cpp
create mode 100644 content/media/mediasource/MediaSource.h
create mode 100644 content/media/mediasource/MediaSourceInputAdapter.cpp
create mode 100644 content/media/mediasource/MediaSourceInputAdapter.h
create mode 100644 content/media/mediasource/SourceBuffer.cpp
create mode 100644 content/media/mediasource/SourceBuffer.h
create mode 100644 content/media/mediasource/SourceBufferList.cpp
create mode 100644 content/media/mediasource/SourceBufferList.h
create mode 100644 content/media/mediasource/moz.build
create mode 100644 dom/webidl/MediaSource.webidl
create mode 100644 dom/webidl/SourceBuffer.webidl
create mode 100644 dom/webidl/SourceBufferList.webidl
2013-07-02 15:46:48 +12:00
Matthew Gregan
acfa080650
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
...
---
content/html/content/public/HTMLVideoElement.h | 4 ++
content/html/content/src/HTMLVideoElement.cpp | 27 ++++++++++
content/media/MediaDecoder.h | 17 +++++++
content/media/MediaDecoderStateMachine.cpp | 6 ++-
content/media/VideoPlaybackQuality.cpp | 53 ++++++++++++++++++++
content/media/VideoPlaybackQuality.h | 68 ++++++++++++++++++++++++++
content/media/moz.build | 2 +
dom/base/moz.build | 2 +
dom/bindings/Bindings.conf | 4 ++
dom/webidl/HTMLVideoElement.webidl | 6 +++
dom/webidl/VideoPlaybackQuality.webidl | 20 ++++++++
dom/webidl/WebIDL.mk | 1 +
12 files changed, 209 insertions(+), 1 deletion(-)
create mode 100644 content/media/VideoPlaybackQuality.cpp
create mode 100644 content/media/VideoPlaybackQuality.h
create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Ms2ger
2dcf517a55
Bug 888579 - Remove some code that handled WN Nodes; r=bholley
2013-07-01 09:14:36 +02:00
Ms2ger
6fa75b2d82
Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky
2013-07-01 09:02:56 +02:00
Ms2ger
d2041977f8
Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky
2013-07-01 09:02:46 +02:00
Ms2ger
ae221922f0
Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv
2013-07-01 09:02:37 +02:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
489737d1e7
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
Matthew Gregan
6045ea2dc7
Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE
2013-06-28 16:55:35 +12:00
Matthew Gregan
31eaf49a26
Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
2013-06-28 16:32:05 +12:00