Sankha Narayan Guria
5304247273
Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan
2013-06-08 00:55:04 +05:30
Boris Zbarsky
f68f0da53c
Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv
2013-06-07 22:45:46 -04:00
Boris Zbarsky
9f09fecc19
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Boris Zbarsky
19af9fb8fa
Bug 877281 part 4. Eliminate uses of ${valHandle} in binding conversions and make ${val} be a handle. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
77568d97df
Bug 877281 part 3. Rename valMutableHandle to mutableVal. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
34e85404c7
Bug 877281 part 2. Eliminate uses of ${valPtr} in bindings conversions. r=peterv
2013-06-07 22:45:45 -04:00
Boris Zbarsky
ec718b51e3
Bug 877281 part 1. Convert WebIDL bindings to using something CallArgs-like. r=peterv,jandem
2013-06-07 22:45:44 -04:00
Ryan VanderMeulen
677b915d13
Bug 875449 - Bustage fix.
2013-06-07 08:54:13 -04:00
Anand Soni
0981ee2607
Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj
2013-06-07 00:02:26 +05:30
Boris Zbarsky
4c44f5a456
Bug 829248. Implement basic support for [TreatUndefinedAs=Missing] in WebIDL. r=khuey
...
This does not add support for [TreatUndefinedAs=Missing] in overloaded
methods, since it's not clear what that should really look like.
This also does not require that [TreatUndefinedAs=Missing] on an
argument force it on all later arguments, since it's not clear that we
want that long-term.
2013-06-05 20:51:21 -04:00
Trevor Saunders
22b7362f5a
bug 870678 - convert CameraManager to webidl r=bz
2013-05-10 02:25:25 -04:00
Peter Van der Beken
131db2e8fe
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
...
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Alfredo Yang
f46ff90dd3
Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug
2013-06-05 08:02:51 -04:00
Bobby Holley
ad7187ee15
Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
...
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
41e994226a
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Ehsan Akhgari
5be6cc599a
Bug 861371 - Allow Web IDL enums to have names starting with a digit; r=bzbarsky
...
--HG--
extra : rebase_source : 5ebf235e9408bdfdfd37504e2f79c65978ccf51d
2013-06-03 17:54:46 -04:00
Andrea Marchesini
c2a5090d51
Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug
2013-06-01 01:53:00 -07:00
Ms2ger
d56528fce5
Bug 876602 - Move JS-implemented webidl construction code into C++; r=bz
2013-06-01 08:56:23 +02:00
Ms2ger
1602264ebc
Bug 876604 - Outparamdel UnwrapDOMObjectToISupports; r=bz
2013-06-01 08:56:02 +02:00
Ms2ger
04c8cd41cd
Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug
2013-06-01 08:56:00 +02:00
Ms2ger
adad04a973
Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir
2013-06-01 08:53:44 +02:00
Ms2ger
68c642b793
Bug 876605 - Simplify the Init function of WebIDL dictionaries; r=smaug
2013-06-01 08:53:40 +02:00
Peter Van der Beken
52581f152e
Bug 876080. Don't use 'nativeOwnership':'owned' for MediaList. r=bzbarsky
2013-05-31 11:27:05 -04:00
Boris Zbarsky
5be706faaf
Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo
2013-05-30 17:47:00 -04:00
Boris Zbarsky
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
7c5e61e873
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Boris Zbarsky
f77e6564a3
Bug 861587 followup: get rid of a stray $ and some indent fixes. r=khuey
2013-05-30 13:05:42 -04:00
Reuben Morais
d74dacf938
Bug 877501 - Generate pref check code for interfaces with [NoInterfaceObject, NavigatorProperty]. r=bz
...
--HG--
extra : rebase_source : 02b9028c3ab215df0378af109d2bcac15d28e9b4
2013-05-30 08:21:52 -07:00
Peter Van der Beken
86d520dcf2
Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
...
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Kyle Huey
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Boris Zbarsky
14e7edc59d
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Jon Coppeard
6d32ef3678
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ed Morley
1e88f4e513
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
27ffea6482
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Boris Zbarsky
91b25d7a9d
Bug 875620. Work around bug 874923 by just trying to regenerate all the binding .h and .cpp files if we detect that our dependencies got screwed up. r=khuey
2013-05-28 10:11:19 -04:00
Ehsan Akhgari
d923161800
Bug 865256 - Part 1: Implement the DOM bindings for WaveTable; r=roc
2013-05-28 07:19:07 -04:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Masatoshi Kimura
e7bdd24f89
Bug 875155 - Convert TimeEvent to WebIDL. r=smaug
2013-05-25 07:55:19 +09:00
Boris Zbarsky
d5daf7eeff
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Boris Zbarsky
e9e2dca8a4
Bug 875622 part 2. Use handles in ConvertJSValueToString. r=smaug
2013-05-24 09:16:00 -04:00
Boris Zbarsky
015e795d67
Bug 875622 part 1. Pass through mutable handles to all the various places where we have to work with JS::Value in codegen. r=smaug
2013-05-24 09:15:55 -04:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
2b2cd4e0b7
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
df4472c441
Bug 874154. Make sure we don't end up with uninitialized JSObject* or JS::Value in dictionaries. r=ms2ger
2013-05-21 14:15:30 -04:00
Boris Zbarsky
92fcdb83bf
Bug 874105. Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. r=mccr8
2013-05-21 14:15:29 -04:00
Bobby Holley
0bda6fb49c
Bug 841312 - Remove the termination function API. r=bz
...
\o/
2013-05-21 11:45:56 -06:00
Boris Zbarsky
5958ab5dc6
Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey
2013-05-09 13:06:48 -04:00
Boris Zbarsky
0550b4483a
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Masatoshi Kimura
febdba954d
Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug
2013-05-21 04:34:12 +09:00