Ehsan Akhgari
2f2c34f333
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Seth Fowler
d9a982d9dc
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Boris Zbarsky
aa258b24d3
Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley
2014-07-31 23:50:19 -04:00
Ehsan Akhgari
13b9d95037
Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug
2014-07-28 13:17:51 -04:00
Jan de Mooij
9fd69da2e1
Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz
2014-07-03 10:03:56 +02:00
Boris Zbarsky
c6565944fa
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
Ben Kelly
d96ec8b401
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Jan-Ivar Bruaroey
e5208fea4a
Bug 994465 - Make Optional::Construct() return T&; r=bz
2014-04-10 02:03:29 -04:00
Peter Van der Beken
c0b23e34f5
Bug 990158 - Make inner windows use their wrapper cache. r=bz.
...
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Bobby Holley
a2f6cad141
Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz
2014-03-19 13:35:45 -03:00
Boris Zbarsky
2f0c359fd1
Bug 983228. Add a sequence tracer for sequences of unions. r=baku
2014-03-14 14:51:22 -04:00
Boris Zbarsky
2166b04394
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Boris Zbarsky
0086cc6b41
Bug 968665. Get rid of MainThreadDictionaryBase and the dictionary bits in DummyBinding, since we now codegen a single version of dictionaries for both mainthread and workers. r=khuey
2014-02-06 21:08:28 -05:00
Boris Zbarsky
9eb56076b1
Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
...
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.
In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Wes Kocher
57b93417c3
Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
...
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Boris Zbarsky
8544cfd7b3
Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
...
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.
In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Andrea Marchesini
8564b26349
Bug 949456 - MessageEventInit updated to the latest spec, r=bz
2013-12-20 08:51:03 +00:00
Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Birunthan Mohanathas
7a599eb1ae
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Peter Van der Beken
cbf7a0c800
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
34f7a76bb1
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Boris Zbarsky
44bf9cd737
Bug 925495 part 1. Move DOMString out to a separate header. r=smaug
2013-10-11 12:28:23 -04:00
Ryan VanderMeulen
67e741a578
Backed out changesets 46029c9fbfe4 and 6114164c3d1b (bug 925495) for OSX (at least) crashes.
2013-10-11 13:38:28 -04:00
Boris Zbarsky
4ea846949b
Bug 925495 part 1. Move DOMString out to a separate header. r=smaug
2013-10-11 12:28:23 -04:00
Ben Turner
7b97102c91
Bug 643325 - Implement SharedWorker. r=khuey.
...
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Boris Zbarsky
bd12c91005
Bug 920209. Use nsAutoString in DOMString, to reduce allocations. r=smaug
2013-09-24 22:56:18 -04:00
Boris Zbarsky
88c79c7eb5
Bug 915368. Give dictionaries copy constructors and assignment operators when it's safe. r=khuey
2013-09-13 13:21:59 -04:00
Ehsan Akhgari
785ba10739
Bug 914621 - #include OwningNonNull.h in BindingDeclarations.h; r=bzbarsky
2013-09-10 18:06:46 +02:00
Nicholas Nethercote
191ed08f6a
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote
16028f5e8f
Bug 909514 (follow-up) - Remove unnecessary |#include "jsapi.h"| from BindingDeclarations.h. r=bz.
...
--HG--
extra : rebase_source : 10c9aa3cb7cdc0892c5c07d93adfc23a0bec904d
2013-08-28 02:37:08 -07:00
Justin Lebar
a12ca3e4e8
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Kyle Huey
de0ee30e74
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
ce99c00e31
Bug 903778 - Move dom::Date into its own files; r=khuey
2013-08-22 08:30:38 +02: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
Boris Zbarsky
e4b144390d
Bug 901531. Remove the unused RootedJSValue class. r=ms2ger
2013-08-09 22:01:45 -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
256c17d070
Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv
2013-06-19 14:48:43 -04:00
Andrea Marchesini
db524818c8
Bug 841442 - Move HTMLFormElement to WebIDL, r=bz
2013-06-19 10:24:37 -04:00
Andrea Marchesini
ae4a9745f2
Bug 856410 - Implement futures - Part 1: Constructor, webidl, Done(). r=mounir, r=bz
2013-06-11 21:41:21 -04:00
Boris Zbarsky
6a7b47964f
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
0ba003deb7
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
903eab0e9d
Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink
2013-05-16 12:36:56 -04:00
Boris Zbarsky
ac41ff38fd
Bug 868715 part 7. Add tracing to dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
c23c5558ec
Bug 868715 part 5. Give all dictionaries a single base class so we can tell when template arguments are dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Bobby Holley
609401db48
Bug 868637 - Simplify DOM Bindings JSON parsing. r=bz
...
At this point we could really just hoist the JSAPI call, but it's just
cumbersome enough with all the casts that I don't really want to stick
it in the codegen.
2013-05-07 14:18:03 -07:00
Boris Zbarsky
bb2222c08c
Bug 865969 part 2. Better rooting in bindings for 'any' arguments. r=smaug
2013-05-03 19:29:07 -04:00
Boris Zbarsky
4d5cf6450f
Bug 865969 part 1. Better rooting in bindings for 'object' arguments, as well as for worker interface arguments passed as JSObject*. r=smaug
2013-05-03 19:29:07 -04:00