log context.c @ 38:6cd870a2b81e

age author description
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.
Mon, 29 Jun 2009 07:28:56 -0700 Atul Varma Added very primitive support for calling python functions from JS.
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.