Boris Zbarsky
70420bfdf4
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
3abb6acbbc
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
a27079fe1c
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
581cb179fe
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Jason Orendorff
c56f8755e9
Bug 998080 - Refactor so that definition_body methods return un-indented code. r=peterv.
2014-05-22 08:18:01 -05:00
Boris Zbarsky
7f77b58b3c
Bug 1010658 part 2. Stop storing a DOMClass* in a slot on DOM prototypes. r=peterv
2014-05-19 16:37:59 -04:00
Boris Zbarsky
de424c29ee
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Peter Van der Beken
916da970ab
Bug 1010872 - Stop preserving Global bindings. r=bz.
2014-05-15 14:16:06 +02:00
Jan Varga
2d4c0c0cc8
Bug 1011510 - Codegen.py: Add EndGuard to enum generation; r=bz
2014-05-16 19:41:31 +02:00
Ryan VanderMeulen
be6ccfea53
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Boris Zbarsky
546b2b5241
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Peter Van der Beken
b972223634
Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
2014-04-08 20:48:37 +02:00
Peter Van der Beken
cd35514e94
Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.
2014-02-15 22:12:34 +01:00
Boris Zbarsky
6693d20060
Bug 1006718. Add some sanity static asserts about DOM object slot counts. r=peterv,jorendorff
2014-05-07 22:28:57 -04:00
Boris Zbarsky
b12cf84e10
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
1025623c3e
Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv
2014-05-05 16:01:58 -04:00
Wes Kocher
45a9401dd2
Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
...
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Wes Kocher
8e5071a5e1
Backed out changeset 745c46904041 (bug 1001157) for mochitest2,3 and dt3 bustages on a CLOSED TREE r=bz
2014-05-05 14:12:53 -07:00
Boris Zbarsky
136048527a
Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv
2014-05-05 16:01:58 -04:00
Boris Zbarsky
0f62a793b6
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
0d1657578b
Bug 1004766. Make sure to enter the compartment of our new global before working with it when wrapping global objects. r=nsm
2014-05-03 01:08:07 -04:00
Jon Coppeard
d67f0ed243
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Michael Shuen
f7ea3d18e8
Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug
2014-04-28 16:53:00 +02:00
Boris Zbarsky
3dac7218db
Bug 942121. Fix WebIDL dictionary member tracing to null-check nullable object types before trying to trace them, since passing pointer-to-null to JS_CallObjectTracer is not OK. r=smaug
2014-04-26 21:50:00 -04:00
Boris Zbarsky
9a76beed5e
Bug 1000944. Allow unions and dictionaries that contain non-SpiderMonkey WebIDL interface types to be copy-constructed. r=dzbarsky
2014-04-26 21:49:59 -04:00
Boris Zbarsky
7a02fedecc
Bug 1000675. Don't always include nsContentUtils in example codegen, fix example header guards to not end with __, don't use fully-qualified names in argument types when those argument types are in the mozilla::dom namespace already, and include headers from mozilla/dom. r=jst
2014-04-26 21:49:59 -04:00
Birunthan Mohanathas
e2b133b310
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Jason Orendorff
f2f8b6fca8
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Jason Orendorff
d3d65bb33a
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
f08d9d6a0c
Bug 987007, part 2a - Instead of generating identical DOMProxyHandler::set() methods for many interfaces, implement it in a common base class. r=bz.
2014-04-25 15:07:18 -05:00
Jason Orendorff
56e94c837d
Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
2014-04-25 15:07:18 -05:00
Jason Orendorff
6fa9b0a3bd
Bug 987007, part 1 - Make CGProxyIndexed{Getter,Setter,PresenceChecker,Deleter} return finished C++ code with the type already in it (rather than a template to be filled in later). r=bz.
2014-04-25 15:07:17 -05:00
Jason Orendorff
b4c4a5883c
Bug 987618 - More cosmetic changes in Codegen.py. r=bz.
2014-04-25 11:50:34 -05:00
Jason Orendorff
7e9d63786f
Bug 986492, part 3 - Address review comments from peterv on part 2. Remove bogus extra semicolons from Codegen.py output. Fix a spelling error.
2014-04-25 11:50:34 -05:00
Jason Orendorff
1f6a9a0a93
Bug 986492, part 2 - Use fill() and dedent() throughout Codegen.py. Change dedent() to strip an initial blank line from its argument, if present. r=peterv.
2014-04-25 11:50:34 -05:00
Terrence Cole
ccf4d8dd9b
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
2014-01-21 18:11:17 -08:00
Boris Zbarsky
829f8e8296
Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
2cf1c7125d
Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
1cb7d49b45
Bug 995546. Nix bogus GetParentObject methods on WebIDL objects without a wrapper cache. r=bholley
2014-04-15 22:58:43 -04:00
Peter Van der Beken
71d5381f98
Bug 993688 - Mark Window.document StoreInSlot. r=bz.
2014-02-05 22:09:19 +01:00
Boris Zbarsky
603825e452
Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley
2014-04-10 00:58:43 -04:00
Boris Zbarsky
9462dfc340
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
f70801d1cb
Bug 991742 part 5. Remove use of the "aScope" argument in binding Wrap() methods. r=bholley
2014-04-08 18:27:16 -04:00
Boris Zbarsky
850bc75523
Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley
2014-04-08 18:27:15 -04:00
Boris Zbarsky
1ddecf17c2
Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley
2014-04-08 18:27:15 -04:00
Peter Van der Beken
ce11cbd2d8
Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
2014-02-15 22:12:33 +01:00
Jason Orendorff
7deea984ce
Bug 986492, part 1 - Add fill() convenience function to Codegen.py. r=peterv.
2014-04-04 17:03:11 -05:00
Eric Faust
20e02fae56
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00