log

age author description
Fri, 10 Jul 2009 17:07:26 -0700 Atul Varma Added docs for pymonkey.Object.
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.
Wed, 08 Jul 2009 09:32:31 -0700 Atul Varma Added some basic, incomplete docs on the pymonkey module, which include a doctest that's run when pymonkey is built.
Tue, 07 Jul 2009 09:28:29 -0700 Atul Varma Added intermediate/bookkeeping Sphinx files to .hgignore. Not sure what changed in searchindex.js, it's auto-generated by Sphinx.
Tue, 07 Jul 2009 09:26:36 -0700 Atul Varma Moved README to Sphinx documentation. Keeping the rendered docs in the repository so that they can be viewed via HG and locally by people who don't have Sphinx installed.
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.
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.
Fri, 03 Jul 2009 19:40:42 -0700 Atul Varma Moved some code around.
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.
Thu, 02 Jul 2009 15:29:07 -0700 Atul Varma Added a bit to the README.
Thu, 02 Jul 2009 15:20:02 -0700 Atul Varma Added information about getting my SpiderMonkey mirror, and also added an option for linking statically to SpiderMonkey's runtime instead of dynamically.
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 14:09:01 -0700 Atul Varma Added a new test for supplementary multilingual plane unicode.
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.
Mon, 29 Jun 2009 10:35:06 -0700 Atul Varma Added a link to ServerJS.
Mon, 29 Jun 2009 10:19:33 -0700 Atul Varma Converted pavement.py to manage.py and added a README.
Mon, 29 Jun 2009 07:28:56 -0700 Atul Varma Added very primitive support for calling python functions from JS.
Sun, 28 Jun 2009 22:58:04 -0700 Atul Varma The hashtable of reflected JS objects now uses a JS_DHashTable instead of a PyDict. Also removed weakref-ability of the JSObject class since it didn't make any sense to use Python's weakref support for JSObjects.
Sun, 28 Jun 2009 21:49:07 -0700 Atul Varma JS objects reflected into Python are now identity-preserving, though the implementation for this is pretty bad right now.
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 20:08:59 -0700 Atul Varma Moved context creation code into its own public function in context.c.
Sun, 28 Jun 2009 20:00:48 -0700 Atul Varma Refactoring; moved PYM_JSObject creation code into a new public function in object.c.
Sun, 28 Jun 2009 19:44:13 -0700 Atul Varma Added a context.get_property() method.
Sun, 28 Jun 2009 19:01:43 -0700 Atul Varma Created a new context.evaluate_script() function, replacing pymonkey.evaluate(). Separated out one of the big unit tests into several.
Sun, 28 Jun 2009 18:39:43 -0700 Atul Varma JS objects in python-land are now rooted while in python-land so that they're not gc'd while in python-land.
Sun, 28 Jun 2009 18:28:35 -0700 Atul Varma added an init_standard_classes() method to context objects.
Sun, 28 Jun 2009 18:19:14 -0700 Atul Varma Added an object class.
Sun, 28 Jun 2009 17:43:42 -0700 Atul Varma Fixed a code typo.
Sun, 28 Jun 2009 17:28:57 -0700 Atul Varma factored out Runtime, Context, and utils into separate files.
Sun, 28 Jun 2009 17:10:40 -0700 Atul Varma Moved definition of undefined type into a separate module.
Sun, 28 Jun 2009 17:07:15 -0700 Atul Varma Added pymonkey.Runtime and pymonkey.Context as new types.
Sun, 28 Jun 2009 13:32:46 -0700 Atul Varma Added support for undefined.
Sun, 28 Jun 2009 13:09:39 -0700 Atul Varma Added support for unicode strings.
Sun, 28 Jun 2009 12:48:29 -0700 Atul Varma Simplified some code.
Sun, 28 Jun 2009 12:47:30 -0700 Atul Varma Added support for booleans.
Sun, 28 Jun 2009 12:43:02 -0700 Atul Varma Added support for NULL return values.
Sun, 28 Jun 2009 12:38:36 -0700 Atul Varma Added return value support for doubles.
Sun, 28 Jun 2009 12:26:46 -0700 Atul Varma pymonkey.evaluate() now returns a python-ized version of the JS return value, though it only supports integers at the moment.
Sun, 28 Jun 2009 12:02:52 -0700 Atul Varma Added .hgignore.
Sun, 28 Jun 2009 12:02:22 -0700 Atul Varma Origination.