Boris Zbarsky
1a1bdf52bf
Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust
2013-11-25 20:59:39 -05:00
Boris Zbarsky
173fa0e88c
Bug 935855 part 6. Add friend API exposing the max number of fixed slots, and some static asserts that we're not going past it. r=jorendorff
2013-11-25 20:59:38 -05:00
Boris Zbarsky
69e51e90b4
Bug 935855 part 4. Codegen a function that updates all the members-in-reserved-slots values for an interface and call it when we finish wrapping an object. r=peterv
2013-11-25 20:59:38 -05:00
Boris Zbarsky
53d3d4e7d1
Bug 935855 part 3. Compute the right slot indices to use for members we want to store in slots and save then in the data model the WebIDL parser outputs. r=peterv
2013-11-25 20:59:38 -05:00
Boris Zbarsky
804ddd3b1e
Bug 935855 part 2. Store isSlot information in jitinfo. r=peterv,efaust
2013-11-25 20:59:37 -05:00
Boris Zbarsky
01295bd987
Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv
2013-11-25 20:59:34 -05:00
Boris Zbarsky
10cdd6bd08
Bug 941776. Fix up our includes a bit when a dictionary contains a dictionary from another .webidl file. r=smaug
2013-11-25 20:57:25 -05:00
Jan-Ivar Bruaroey
60dcc7eb6e
Bug 933447 - Use new weakRef to JSImpl feature. r=smaug, r=mccr8, r=abr
2013-11-08 19:45:59 -05:00
Boris Zbarsky
bab29529f8
Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug
2013-11-21 07:51:15 -05:00
Olli Pettay
98e384f8da
Bug 928535, Support WeakRef's from c++ to JSImplemented webidl objects, r=mccr8
2013-11-20 23:42:16 +02:00
Peter Van der Beken
884ec42c63
Bug 938544 - Add support for a Chrome-only constructor in WebIDL. r=bz.
2013-08-12 16:45:33 +02:00
Nathan Froyd
6c796a7b56
Bug 940573 - make the global's ProtoAndIfaceArray an actual object; r=bz
2013-11-19 14:28:09 -05:00
Gregory Szorc
c57cd559a2
Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
2013-11-19 10:16:51 -08:00
Gregory Szorc
a0642faa32
Bug 928195 - Part 6: Rewrite WebIDL build system integration
...
WebIDL build system integration has been rewritten from the ground up.
Changes:
* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
favor of mozwebidl.py.
* Static .webidl files are now processed directly in their original location
and aren't copied to the object directory.
* Generated events <stem>.cpp files are now compiled into the unified
sources. Previously, only the <stem>Binding.cpp files were compiled
into unified sources.
* Exported .h files are now generated directly into their final location.
Previously, they were generated into the local directory then
installed in their final location.
* The list of globalgen-generated files now lives in Python and isn't
duplicated in 3 places.
* The make dependencies are much simpler as a result of using a single
command to perform all code generation. The auto-generated .pp file from
code generation sets up all dependencies necessary to reinvoke code
generation and Python takes care of dependency management.
2013-11-14 09:52:49 -08:00
Gregory Szorc
85ec57f100
Bug 928195 - Part 1: Remove trailing whitespace from Codegen.py; r=bz
2013-11-14 14:31:58 -08:00
Kyle Huey
513912314f
Bug 940071: Free the proto and iface cache for generated globals. r=bz
2013-11-19 14:05:42 +08:00
Boris Zbarsky
27bbc204c2
Bug 938246. Don't try to tell the JIT that our booleans are 32-bit integers, when they're actually booleans. r=efaust
2013-11-17 00:10:19 -05:00
Boris Zbarsky
791904c133
Bug 936634. Drop support for [TreatUndefinedAs] in WebIDL. r=peterv
2013-11-17 00:10:18 -05:00
Ms2ger
503d7fdd5e
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Kyle Huey
d5105d151b
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
1df2e75c40
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08:00
Andrew McCreight
c06fabedbd
Bug 933966 - Fix reindentation in CGWrapper. r=bz
2013-11-01 16:48:35 -07:00
Reuben Morais
51ef07abb4
Bug 929491 - Include dictionary and object types in union construction error messages. r=bz
2013-11-02 16:18:35 -02:00
Peter Van der Beken
7083839507
Bug 932320 - Use JS_DefineProperty for replaceable properties. r=bz.
2013-10-08 17:51:03 +02:00
Peter Van der Beken
07ddc6fbbc
Bug 932315 - Throw a different error when this-unwrapping fails for security reasons. r=bz.
2013-10-16 18:11:25 +02:00
Boris Zbarsky
d2c134c90e
Bug 933087. Make sure we don't violate stack discipline for Rooted, even when playing Maybe<Rooted> games. r=khuey
2013-10-31 22:07:11 -04:00
Boris Zbarsky
89ae3b97c3
Bug 932998. Don't try to codegen code that keeps alive objects with 'owned' nativeOwnership, since we have no way to do that. r=smaug
2013-10-31 22:07:11 -04:00
Boris Zbarsky
2f7d175682
Bug 925737. Allow copy-constructing owning unions with safe enough members. r=peterv
2013-10-31 22:07:10 -04:00
Boris Zbarsky
45b3df4eb0
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Boris Zbarsky
74b5fa2bda
Bug 882541 part 3. Rework the overload resolution algorithm to WebIDL spec changes in handling of optional arguments. r=khuey
...
The major changes are as follows:
1) The new algorithm no longer adjusts "argcount" based on the
interaction of trailing undefined and [TreatUndefinedAs=Missing]
arguments. We never implemented this; just asserted that we didn't
have to deal with this situation.
2) If the distinguishing argument is undefined and there is an
overload that has an optional argument at the distinguishing
argument index, that overload is selected.
2013-10-11 12:28:24 -04:00
Boris Zbarsky
aa614f08eb
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
...
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Boris Zbarsky
74b44d3ad5
Bug 924402. When an object that can only be returned from [NewObject] methods is used in a dictionary, just skip generating a ToObject for that dictionary. r=peterv
2013-10-28 19:34:08 -04:00
Boris Zbarsky
e7d69de259
Bug 929512. Fix null default values for non-nullable unions containing a nullable type. r=dzbarsky, r=smaug pending
2013-10-28 00:33:15 -04:00
Peter Van der Beken
e46609f302
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Tom Schuster
faba4d7d1c
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
69b50c2dad
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
d659070fdf
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Peter Van der Beken
39d304ea57
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
2013-09-15 23:04:08 +02:00
Peter Van der Beken
47437910ca
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
2013-09-30 18:32:22 +02:00
Ed Morley
ce29633280
Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE
2013-10-23 15:51:48 +01:00
Ed Morley
c0e8f06cca
Backed out changeset 7ba9be5d51df (bug 918351)
2013-10-23 15:51:24 +01:00
Peter Van der Beken
dac37f0ea9
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
2013-09-15 23:04:08 +02:00
Peter Van der Beken
1e3061c17d
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
2013-09-30 18:32:22 +02:00
Steve Fink
a232f02046
Bug 925916 - Add some handles to dom/bindings, r=bz
2013-10-11 22:02:39 -07:00
Andy Wingo
dde95bc7ff
Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
2013-10-17 12:10:02 +02:00
Tom Schuster
b6ee9f1bce
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Ryan VanderMeulen
a425a08d23
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Ed Morley
307213c8a1
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
bbd49c5702
Backed out changeset d8636e485e85 (bug 882541)
2013-10-14 17:30:49 +01:00
Ed Morley
bd6cd43c15
Backed out changeset 61092280cb2a (bug 882541)
2013-10-14 17:30:46 +01:00