Commit Graph

1262 Commits

Author SHA1 Message Date
Jeff Walden
9399e8c7de Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits 2015-08-28 21:55:40 -07:00
Jeff Walden
ab187fae1d Bug 1207006 - Remove the unhelpfully-confusing exceptionCodeIndented. r=bz 2015-09-22 09:31:58 -07:00
Tom Schuster
62062f042f Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Jan de Mooij
62e5e09c8c Bug 1200809 part 1 - Add InlinableNatives JitInfo infrastructure, use it for Math natives. r=bz,nbp 2015-09-04 15:52:10 +02:00
Jon Coppeard
3501cbd22d Bug 1088214 - Remove JSCLASS_IMPLEMENTS_BARRIERS now this is implemented everywhere r=terrence 2015-09-02 10:40:10 +01:00
Cameron McCormack
77ef5bb7bf Bug 968923 - part 4 - hook up use counters to WebIDL bindings; r=bz 2015-02-05 12:53:01 -05:00
Samy Dindane
6c5d0d5488 Bug 1142609 - Fix PEP 8 E7xx warnings in dom/bindings's Python code. r=peterv 2015-08-10 19:11:42 +02:00
Samy Dindane
0e44a336e5 Bug 1142609 - Fix PEP 8 E5xx warnings in dom/bindings's Python code. r=peterv 2015-08-10 19:01:56 +02:00
Samy Dindane
be60792c25 Bug 1142609 - Fix PEP 8 E3xx warnings in dom/bindings's Python code. r=peterv 2015-08-10 18:57:39 +02:00
Samy Dindane
009ad9fdb3 Bug 1142609 - Fix PEP 8 E2xx warnings in dom/bindings's Python code. r=peterv 2015-08-10 18:53:45 +02:00
Samy Dindane
f85212ef99 Bug 1142609 - Fix PEP 8 E128 warnings in dom/bindings's Python code. r=peterv 2015-08-10 18:26:29 +02:00
Samy Dindane
7359db1e19 Bug 1142609 - Fix PEP 8 E127 warnings in dom/bindings's Python code. r=peterv 2015-08-10 18:17:07 +02:00
Samy Dindane
6e28bf36f1 Bug 1142609 - Fix PEP 8 E126 warnings in dom/bindings's Python code. r=peterv 2015-08-10 18:07:53 +02:00
Samy Dindane
7397b01f4f Bug 1142609 - Fix flake8's E122 warnings in dom/bindings's Python code. r=peterv 2015-08-10 17:47:25 +02:00
Samy Dindane
472d28dd8f Bug 1142609 - Fix PEP 8 E121 warnings in dom/bindings's Python code. r=peterv 2015-08-10 17:42:08 +02:00
Samy Dindane
780175d0d7 Bug 1142609 - Fix PEP 8 E111/E113 warnings in dom/bindings's Python code. r=peterv 2015-08-10 17:34:45 +02:00
Terrence Cole
19022b5f4a Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk
2015-08-05 11:02:00 -07:00
Aryeh Gregor
6dc0679b1b Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj 2015-08-05 15:28:27 +03:00
Boris Zbarsky
6770c5ecaf Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky
5c921db9e2 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky
e6412ce32d Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug 2015-07-28 12:35:39 -04:00
Tom Tromey
13fa8dec3d Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-24 07:00:00 -04:00
Boris Zbarsky
4d65f190ee Bug 1185028. Fix GCJsonifierMethod to correctly handle worker descriptors. r=nsm
toBindingNamespace() should only be called on descriptor names, not interface names.
2015-07-20 10:14:21 -04:00
Ryan VanderMeulen
99eb81305b Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
7c1da5f923 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-17 07:47:00 -04:00
Jan de Mooij
f05e74722c Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij
e8a297384a Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Kan-Ru Chen
99340ed7d8 Bug 1179718 - Rename CheckPermissions to CheckAnyPermissions. r=bz 2015-07-17 11:07:53 +08:00
Kan-Ru Chen
76443cadaa Bug 1179718 - Add a CheckAllPermissions extended attribute to WebIDL. r=bz 2015-07-17 11:06:23 +08:00
Boris Zbarsky
ba9c231e2a Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv 2015-07-09 22:51:28 -04:00
Martin Thomson
b075b28bcd Bug 1172785 - Adding StaticClassOverride routing for JS implemented WebIDL, r=peterv 2015-07-06 10:40:03 -07:00
Boris Zbarsky
33dd132fbf Bug 1176236. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv 2015-07-01 14:15:20 -04:00
Boris Zbarsky
6f6fc3cc11 Bug 1177869. Fix example codegen to output the correct return type for WrapObject in the non-wrappercached case. r=peterv 2015-07-01 14:15:20 -04:00
Boris Zbarsky
3ff6750013 Bug 1162956 part 2. Forward-declare things as needed in example codegen. Also, use js/TypeDecls.h for the JSContext declaration and include BindingDeclarations.h so we get things like Optional (which are a pain to forward-declare). r=peterv 2015-07-01 14:15:19 -04:00
Boris Zbarsky
29620f1c0c Bug 1162956 part 1. Move forwardDeclareForType to be a method on ForwardDeclarationBuilder. r=peterv 2015-07-01 14:15:19 -04:00
Terrence Cole
88f9bc5932 Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink 2015-06-30 07:58:31 -07:00
Jan de Mooij
c291b790a9 Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Kyle Machulis
dd19729534 Bug 1123516 - Implement maplike/setlike in WebIDL Codegen; r=bz 2015-06-29 15:38:53 -07:00
Boris Zbarsky
c44bff69d0 Bug 1025395. Output a #error instead of a nonexistent macro for the CC bits of example codegen, to make it clearer to people using it what they should do with CC. r=peterv 2015-06-25 01:39:28 -07:00
Boris Zbarsky
7b39c98a8b Bug 1173829. Fix some compile issues in code generated by bindings codegen for non-concrete interfaces. r=peterv
Specifically, two issues:

1)  We didn't include the implementation header for a non-concrete empty
interface.  But if it has a parent we assert it's refcounted if and only if the
parent is refcounted, so need to see the class declaration.

2)  We were getting the parent proto in all cases in CreateInterfaceObjects.
But parent may not have a proto at all if it has no concrete descendants.  So
this patch switches to getting the parent proto only if we have a proto ourselves.
2015-06-17 13:42:06 -04:00
Boris Zbarsky
dc497428b2 Bug 1174954 part 3. Remove ReportJSExceptionFromJSImplementation, since it no longer does anything interesting. r=bholley 2015-06-16 16:44:11 -04:00
Boris Zbarsky
13f1f85533 Bug 1173913. Indicate what webidl generated files were generated from, if they were generated for a particular webidl file. r=peterv 2015-06-16 12:18:17 -04:00
Brian Hackett
673d2f7300 Bug 1170372 - Use unboxed arrays for Array() and other functions keyed to allocation sites, r=jandem. 2015-06-10 09:42:22 -07:00
Jose Antonio Olivera Ortega
334530ba67 Bug 1131352 - Part 1: Fix codegen issue. r=smaug 2015-05-24 05:45:00 -04:00
Tom Schuster
65e151cf80 Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff 2015-06-02 23:27:39 +02:00
Boris Zbarsky
bad54a2144 Bug 1166443. Example codegen should output the right signature for Wrap() when the object is not wrappercached. r=peterv 2015-06-01 23:19:57 -04:00
Birunthan Mohanathas
956e8c7eca Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Jason Orendorff
ae20e82492 Bug 1140482 - Add JSPROP_RESOLVING. Give NativeDefineProperty standard behavior in cases where a non-resolving define needs to trigger a resolve hook. r=Waldo. 2015-05-01 14:03:17 -05:00
Boris Zbarsky
553d6e538f Bug 1158806. Don't try to include stuff for a generated hasInstance hook if we have no interface object, since in that case we don't need the include. r=peterv 2015-05-19 21:05:06 -04:00
Terrence Cole
3ffd505617 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00