69eccdae84d72c6e70f62dbab84ef09f3faccf22: Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112843
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug Note that once we switch all these guys to WebIDL bindings they'll automatically get the callback objects passed in from binding code.
f9e7d57d435a2dc2711ed48ea1a0973326b72630: Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112842
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
741e28cf55ee20db857424ef8320921b948f74dc: Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112841
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
f244d412e48500932c346c25de78ea2814cb1802: Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112840
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug
f64f70e0649c0b233e5973e675f65383406a496b: Bug 807226 part 3. Change event handlers to call their WebIDL callbacks directly. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112839
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 3. Change event handlers to call their WebIDL callbacks directly. r=smaug
0ee3b6d2415aa35ae487dea95458a6cebeaade1d: Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:25 -0800 - rev 112838
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
e2727ec34a16a7a4d6b5afd4830eed0d17807e2e: Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 08:00:24 -0800 - rev 112837
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug
a1566a0fa1c8ef325c6adfa3d58893f1c7c48782: Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:59:41 -0800 - rev 112836
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv
99665db010391ee8d327d8e3b6d636461c2ce811: Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:59:33 -0800 - rev 112835
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
5266596c96acec30310daecc832ac811bdffabcc: Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:58:33 -0800 - rev 112834
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD
983d136130c5e7b9a359cd6231844b7a06ec3370: Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112833
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
ae3ec856b05e6e6f705ec130ef902f12ec828aea: Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112832
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv
07b9c4137182677fa309bde16c4ba6cdb0ee44e5: Bug 779048 part 8. Handling of arguments for callbacks. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112831
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 8. Handling of arguments for callbacks. r=peterv Note that we're now using the array object as the "obj" when wrapping sequence members, because we don't have an 'obj' around in our code... and every single existing sequence-of-interfaces consumer relied on there being an 'obj' floating about. Also note that I needed to rearrange the various wrapping helpers so that we can wrap things that are hanging out in const smartpointers or in const OwningNonNull or in plain object references.
ed8298f468529961ec9122a6ae56f102bae003aa: Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112830
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv
e32756c083efba88404e04eff833e48aa76690b5: Bug 779048 part 6. Handling of return values for callbacks. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112829
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 6. Handling of return values for callbacks. r=peterv
f53d2f3833fcaee54cbc1b29828badd87682d663: Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:58 -0800 - rev 112828
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv
fd824d059eb1f631658351fc042d5a1c44a875c1: Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:57 -0800 - rev 112827
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv
e012fb02c5668ff215b81060f9dd256330beafe4: Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:57 -0800 - rev 112826
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv
c348f36c317ba4e414f6de7d83aeacbf0b9d525d: Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:57 -0800 - rev 112825
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv
172241f160f1f4db55b4ea2705be6282e816273a: Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
Boris Zbarsky <bzbarsky@mit.edu> - Fri, 09 Nov 2012 07:43:57 -0800 - rev 112824
Push 23839 by ryanvm@gmail.com at Sat, 10 Nov 2012 01:34:49 +0000
Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip