log utils.c @ 95:0701aee1b0cd

age author description
Sat, 15 Aug 2009 00:50:55 -0700 Atul Varma JS-wrapped python functions can now return normal strings (not just unicode).
Sat, 15 Aug 2009 00:22:13 -0700 Atul Varma Minor typo fix.
Sat, 15 Aug 2009 00:10:29 -0700 Atul Varma Got rid of Py_UNICODE_WIDE ifdefs.
Thu, 30 Jul 2009 21:50:10 -0700 Atul Varma Exceptions work a bit more securely now.
Wed, 29 Jul 2009 20:43:46 -0700 Atul Varma JS exceptions thrown out to Python now include the wrapped original exception. This fixes a TODO.
Sun, 26 Jul 2009 16:44:12 -0700 Atul Varma Made the conversion of JS exceptions into strings release the GIL.
Wed, 08 Jul 2009 18:45:38 -0700 Atul Varma The 'this' argument for a js-wrapped python function, as well as the function's arguments, are now passed to the python function.
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.
Mon, 06 Jul 2009 00:09:42 -0700 Atul Varma Python-wrapped JS functions can now return null/None.
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.
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:47:31 -0700 Atul Varma JS wrapped Python functions can now return booleans.
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 22:37:00 -0700 Atul Varma JS wrapped Python functions can now return floats.
Tue, 30 Jun 2009 22:28:04 -0700 Atul Varma gcc now shows all warnings (-Wall).
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.
Sun, 28 Jun 2009 20:40:18 -0700 Atul Varma Changed object constructor to take a context instead of a runtime.
Sun, 28 Jun 2009 20:19:39 -0700 Atul Varma PYM_jsvalToPyObject() can now deal with JSObjects.
Sun, 28 Jun 2009 17:28:57 -0700 Atul Varma factored out Runtime, Context, and utils into separate files.