Sat, 25 Jul 2009 16:10:21 -0700 |
Atul Varma |
Added a gc() method to the context object which performs garbage collection.
|
Mon, 06 Jul 2009 09:22:31 -0700 |
Atul Varma |
Added license blocks to all .c/.h files.
|
Mon, 06 Jul 2009 08:13:45 -0700 |
Atul Varma |
Converting JS exceptions into Python exceptions is now doable, albeit not yet implemented, thanks to the discovery of JSOPTION_DONT_REPORT_UNCAUGHT. Also, JS warnings are now converted into Python warnings.
|
Mon, 06 Jul 2009 01:37:16 -0700 |
Atul Varma |
Added basic functionality for passing useful exceptions between Python and JS code.
|
Sun, 05 Jul 2009 23:55:42 -0700 |
Atul Varma |
Changed function signature of PYM_pyObjectToJsval() to be consistent w/ the rest of the API.
|
Sun, 05 Jul 2009 23:52:14 -0700 |
Atul Varma |
JS-wrapped python functions now take a context object as their first parameter.
|
Fri, 03 Jul 2009 21:15:18 -0700 |
Atul Varma |
Added a TODO.
|
Fri, 03 Jul 2009 20:57:58 -0700 |
Atul Varma |
Added a context.call_function() method.
|
Fri, 03 Jul 2009 20:04:01 -0700 |
Atul Varma |
Renamed PYM_newJSFunction() to PYM_newJSFunctionFromCallable(). PYM_newJSObject() now returns objects of type PYM_JSFunctionType as needed.
|
Thu, 02 Jul 2009 22:56:59 -0700 |
Atul Varma |
If the JS engine supports GC zeal setting, we enable it automatically to help find any memory management bugs.
|
Thu, 02 Jul 2009 22:42:31 -0700 |
Atul Varma |
Added a new PYM_JSFunction type, PYM_JSContext.define_property(), and PYM_JSContext.new_function(). Also fixed a memory leak.
|
Tue, 30 Jun 2009 22:42:48 -0700 |
Atul Varma |
Changed PYM_pyObjectToJsval() to simply return an int status/error code; this way callers don't have to worry about decreasing the reference count of a Py_NONE.
|
Tue, 30 Jun 2009 21:53:45 -0700 |
Atul Varma |
Changed PYM_pyObjectToJsval() to assume the caller is in Python-space for consistency.
|
Tue, 30 Jun 2009 21:23:04 -0700 |
Atul Varma |
Added a new PYM_pyObjectToJsval() function that only supports unicode for the moment. Also, whereever we're assuming that Py_UNICODE is UCS-2, we're surrounding such code with #ifndef Py_UNICODE_WIDE.
|
Mon, 29 Jun 2009 13:33:07 -0700 |
Atul Varma |
Based on my new understanding of JSString */jschar * thanks to folks on #jsapi, I've removed the requirement that SpiderMonkey be in UTF-8 mode to translate strings between Python and SpiderMonkey.
|