Commit Graph

2409 Commits

Author SHA1 Message Date
Bob Owen
7e9cfd3b7e Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-07-02 11:26:49 +01:00
Jan de Mooij
049c5ca279 Bug 1032726 part 3 - Make FindEnumStringIndex work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : dd266d1453f926438eec533502d75e2a7de37795
2014-07-02 15:45:04 +02:00
Jan de Mooij
2df19d3cf9 Bug 1032726 part 2 - Make GetArrayIndexFromId work with Latin1 strings. r=bz,terrence
--HG--
extra : rebase_source : b6f8fe3df3946dfe05f5467c22c4fb157b6dcbf2
2014-07-02 15:45:02 +02:00
Carsten "Tomcat" Book
d55cca18ce Merge mozilla-central to mozilla-inbound 2014-07-02 15:09:37 +02:00
Carsten "Tomcat" Book
d0eca6f100 merge b2g-inbound to mozilla-central a=merge
--HG--
extra : amend_source : 7fa8699b38befea0f21f1b84a1c998efb03f614e
2014-07-02 15:05:32 +02:00
Ben Tian
4be75709f6 Bug 1006314 - Patch 1/3: Revise BluetoothAdapter2.webidl and add BluetoothDiscoveryHandle.webidl, r=bz 2014-07-02 11:16:26 +08:00
Boris Zbarsky
e6f74ae48b Bug 966471. Add some facilities for examining the state of a promise via a PromiseDebugging utility namespace. r=nsm,peterv 2014-07-02 00:19:48 -04:00
Steve Fink
3cdc378cd8 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Kyle Huey
91315e3b5f Bug 1031051: Part 13 - Support ToJSValue()ing CallbackObjects and nsTArrays of raw pointers. r=bz
Without special handling CallbackObject subclasses will fall into the "nsISupports but not nsWrapperCache" case which goes through an XPConnect wrapping path that has no idea how to cope with a CallbackObject.  We need both the CallbackObject overload and the EnableIf bit in the template because the template will bind to the subclass and thus be preferred to the CallbackObject overload which requires an implicit conversion to the base class.

Before this patch nsTArray<T*> will eventually try to ToJSValue a T* which will select the boolean overload.  Thanks C++!  The new template overload that takes a T and attempts to dereference it will be preferred because it can bind to the type directly and does not require the implicit (and terrible!) conversion to bool.  This template is written in terms of T and not T* so we can test to see if T is a pointer type (and not merely something that can be coerced to a T*, such as a T[N]).
2014-06-30 16:02:03 -07:00
Kyle Huey
d16856bfd5 Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
Bill McCloskey
579bf598b5 Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz) 2014-06-30 14:36:45 -07:00
Eric Faust
19ae308309 Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
04ec29520a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Eric Faust
d6d3b525f2 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Jan de Mooij
c296802a3b Bug 1032726 part 1 - Make ConvertJSValueToByteString work with Latin1 strings. r=bz,terrence 2014-07-02 13:04:14 +02:00
Peter Van der Beken
efa5f7d65a Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : 2b3459ddf41e258469c31e0e7c4d515ef7a7c83f
2014-06-27 21:39:50 +02:00
Peter Van der Beken
e6a15c150f Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz. 2014-01-23 10:18:35 +01:00
Peter Van der Beken
b859e5a055 Backout patches for bug 1029104 for bustage on a CLOSED TREE.
--HG--
rename : dom/xslt/xpath/XPathExpression.cpp => dom/xslt/xpath/nsXPathExpression.cpp
rename : dom/xslt/xpath/XPathExpression.h => dom/xslt/xpath/nsXPathExpression.h
extra : rebase_source : 4cd96320fa102351284cca55b66d3a54592e5212
2014-06-27 23:07:44 +02:00
Peter Van der Beken
ff0e975b03 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : f5c7a235a9a880f829ff39ccbb92508cbaad31a5
2014-06-27 21:39:50 +02:00
Carsten "Tomcat" Book
e4f5e9f3a3 Backed out changeset 2c6403818106 (bug 1027402) for bustage on a CLOSED TREE 2014-06-27 14:21:46 +02:00
Carsten "Tomcat" Book
cbe01cdaa8 Backed out changeset 346912776f97 (bug 1027402) 2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f Backed out changeset 285c853fedfa (bug 1027402) 2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
0c7ea5265d Backed out changeset 96443362db6f (bug 1027402) 2014-06-27 14:21:17 +02:00
Eric Faust
6f7e434c6b Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
62d61ccf3f Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
6091687271 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Eric Faust
89bdda2ed7 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Ben Kelly
69fff9e05a Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
dd22105985 Bug 958782 - 1/3: B2G SMS - Move MozMobileMessage to WebIDL. XPIDL & WebIDL changes. f=Ms2ger,r=khuey
--HG--
rename : dom/webidl/MobileMessageManager.webidl => dom/webidl/MozMobileMessageManager.webidl
2014-06-25 11:57:13 +08:00
Rik Cabanier
cab684d975 Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Boris Zbarsky
0608bd7d04 Bug 1029102. Don't drop webidlyacc.py files caching the webidl grammar in the source dir when running webidl parser tests. r=gps 2014-06-24 23:36:39 -04:00
Bill McCloskey
64b94c4b6d Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
Boris Zbarsky
e62870aedd Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
99a6b76589 Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
0c98e10404 Bug 1023762 part 1. Factor out the IDL-to-C++ type mapping for event codegen into a separate function. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
ddcf724011 Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
764c9e0b63 Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
a06ee077f0 Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
432701a26d Bug 767924 part 1. Add support for holders with nonempty holderArgs in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
f8dc563a90 Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:57 -04:00
Boris Zbarsky
6c70fe8c81 Bug 1026080 part 1. Add WebIDL parser support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:56 -04:00
Boris Zbarsky
1c9ae3ed33 Bug 1026706. Stop pickling our yacc grammar in the WebIDL parser, because now it's apparently faster to recreate it than to unpickle it. r=khuey 2014-06-23 16:03:56 -04:00
Benoit Jacob
7c35ffa41a Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Nick Fitzgerald
98364a70c0 Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
Peter Van der Beken
bd776f4d97 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Ms2ger
bad4ca4d29 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
451c7edf83 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
14960387c2 Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz 2014-06-20 12:32:50 +02:00