log

age author description
Tue, 01 Sep 2009 03:07:24 -0700 Atul Varma Initial attempt at renaming pymonkey to pydermonkey.
Sun, 30 Aug 2009 20:56:43 -0700 Atul Varma Added more useful docs for pymonkey.error.
Sun, 30 Aug 2009 20:31:58 -0700 Atul Varma Added docs for set_throw_hook().
Sun, 30 Aug 2009 20:13:41 -0700 Atul Varma Added docs for pending exception methods.
Sun, 30 Aug 2009 20:04:35 -0700 Atul Varma Added is_exception_pending() and get_pending_exception().
Sun, 30 Aug 2009 19:03:46 -0700 Atul Varma Added a context.set_throw_hook() method.
Sun, 30 Aug 2009 17:07:38 -0700 Atul Varma Minor rewording in docs.
Sun, 30 Aug 2009 17:00:33 -0700 Atul Varma Added notes on identity perseverance for objects.
Sun, 30 Aug 2009 16:28:38 -0700 Atul Varma Made get_object_private() and clear_object_private() more robust.
Sun, 30 Aug 2009 15:50:56 -0700 Atul Varma Added docs for function.is_python.
Sun, 30 Aug 2009 15:47:23 -0700 Atul Varma Added a function.is_python property indicating whether the js function is implemented in python.
Sun, 30 Aug 2009 15:23:26 -0700 Atul Varma Added more documentation and a unit test.
Sun, 30 Aug 2009 15:10:07 -0700 Atul Varma Resolved 2 TODOs.
Sun, 30 Aug 2009 15:06:10 -0700 Atul Varma Added 'function' key to stack frame dicts; lineno and pc information is now provided even if script is not.
Sun, 30 Aug 2009 11:53:56 -0700 Atul Varma Added a TODO.
Sun, 30 Aug 2009 11:34:35 -0700 Atul Varma Annoying workaround to get_stack() for the script object issue discovered in my last commit.
Sun, 30 Aug 2009 11:13:00 -0700 Atul Varma Added filename/line-number metadata to functions. Wanted to just add a 'script' property but this proved problematic--see the TODO in the code for more information.
Sun, 30 Aug 2009 10:54:56 -0700 Atul Varma Added a test.
Sat, 29 Aug 2009 22:46:48 -0700 Atul Varma Added a 'name' property to function obects. Fixed a TODO.
Sat, 29 Aug 2009 14:06:03 -0700 Atul Varma Added a pymonkey.get_debug_info() function and used it on test teardown to ensure that unit tests don't leak.
Sat, 29 Aug 2009 13:33:41 -0700 Atul Varma Added more to get_stack() docs.
Sat, 29 Aug 2009 13:32:33 -0700 Atul Varma 'caller' key for base stack frame is now None.
Sat, 29 Aug 2009 13:30:43 -0700 Atul Varma Added docs for context.get_stack().
Sat, 29 Aug 2009 13:18:40 -0700 Atul Varma Ensure that get_stack() returns None if the stack is empty.
Sat, 29 Aug 2009 13:16:43 -0700 Atul Varma Added 'lineno' and 'pc' attributes to stack frame information.
Fri, 28 Aug 2009 22:46:07 -0700 Atul Varma Added a basic context.get_stack() function.
Mon, 24 Aug 2009 22:47:15 -0700 Atul Varma Updated docs to reflect new script members.
Mon, 24 Aug 2009 22:40:53 -0700 Atul Varma Added base_lineno and line_extent members to the script object.
Mon, 24 Aug 2009 22:32:43 -0700 Atul Varma Added a 'filename' member to script objects.
Mon, 24 Aug 2009 21:54:20 -0700 Atul Varma Regenerated docs.
Mon, 24 Aug 2009 21:53:39 -0700 Atul Varma As per a discussion with jorendorff, it looks like we can pass NULL to compile_script(), since we're not using object principals (and instead just using an object capability model for now).
Mon, 24 Aug 2009 11:39:58 -0700 Atul Varma Added docs for Script, compile_script() and execute_script().
Sun, 23 Aug 2009 22:26:58 -0700 Atul Varma A script's bytecode is now exposed as a buffer object.
Sun, 23 Aug 2009 21:59:39 -0700 Atul Varma Added a syntax error test.
Sun, 23 Aug 2009 21:49:44 -0700 Atul Varma Added pymonkey.Script, which wraps a JSScript object, and context.compile_script()/execute_script().
Sun, 23 Aug 2009 21:04:51 -0700 Atul Varma Refactored a new function, PYM_findJSObject(), out of PYM_newJSObject().
Sun, 23 Aug 2009 19:19:51 -0700 Atul Varma Added docs for context.has_property().
Sun, 23 Aug 2009 19:18:19 -0700 Atul Varma Added a context.has_property() function.
Sun, 23 Aug 2009 18:43:46 -0700 Atul Varma Added a new PYM_UTF16String C++ class to make calling UC JSAPI functions a little easier and less error-prone.
Sun, 23 Aug 2009 18:04:21 -0700 Atul Varma Minor housekeeping: replaced tabs w/ spaces, got rid of outdated TODOs, etc.
Sun, 23 Aug 2009 17:57:04 -0700 Atul Varma Added notes about weak-referencability to docs.
Sun, 23 Aug 2009 17:52:47 -0700 Atul Varma Added weakref support for runtimes.
Sun, 23 Aug 2009 17:39:28 -0700 Atul Varma Fixed GC issues w/ context dealloc.
Sun, 23 Aug 2009 17:21:02 -0700 Atul Varma Added a test for context cyclic gc support and fixed a bug revealed by it.
Sun, 23 Aug 2009 17:07:45 -0700 Atul Varma Added support for weakrefs to contexts.
Sun, 23 Aug 2009 16:20:15 -0700 Atul Varma Added cyclic garbage collection support to context objects.
Wed, 19 Aug 2009 07:26:20 -0700 Atul Varma Fixed a TODO.
Wed, 19 Aug 2009 01:00:35 -0700 Atul Varma Added another test and fixed a bug it revealed.
Wed, 19 Aug 2009 00:47:46 -0700 Atul Varma context.evaluate_script() can now take unicode code strings.
Mon, 17 Aug 2009 23:44:06 -0700 Atul Varma Removed build auto-prerequisite from 'test' target.
Mon, 17 Aug 2009 23:42:20 -0700 Atul Varma Pymonkey errors raised as a result of JS exceptions now contain both the string representation and the original Python-wrapped JS object that was thrown (i.e., the exception).
Mon, 17 Aug 2009 22:36:42 -0700 Atul Varma Added notes on thread safety to documentation.
Mon, 17 Aug 2009 22:22:41 -0700 Atul Varma Added some documentation to utils.h.
Mon, 17 Aug 2009 22:08:33 -0700 Atul Varma Moved all .cpp/.h files into 'src' dir and test suite into 'tests' dir.
Mon, 17 Aug 2009 03:52:51 -0700 Atul Varma Made the operation callback doctest easier to read.
Mon, 17 Aug 2009 03:33:40 -0700 Atul Varma Added documentation for gc() and operation callback functions.
Mon, 17 Aug 2009 03:02:51 -0700 Atul Varma Added docs for define_property() and get_property().
Sun, 16 Aug 2009 22:48:50 -0700 Atul Varma Added doctest for evaluate_script().
Sun, 16 Aug 2009 21:15:28 -0700 Atul Varma Added doctest for call_function().
Sun, 16 Aug 2009 21:09:21 -0700 Atul Varma Added a doctest.
Sun, 16 Aug 2009 13:50:42 -0700 Atul Varma Updated docs a bit.
Sun, 16 Aug 2009 20:48:11 +0000 Atul Varma If sphinx isn't available, doctests aren't run (but unit tests are).
Sun, 16 Aug 2009 13:37:13 -0700 Atul Varma If 'setup.py build --debug' is run and a spidermonkey build doesn't exist, then spidermonkey is built with debugging enabled.
Sun, 16 Aug 2009 13:21:39 -0700 Atul Varma Added clean target.
Sun, 16 Aug 2009 12:53:46 -0700 Atul Varma Fixed docs to represent the much-simplified build process, fixed the test target to work w/ default build options, moved doctest output dir into build dir.
Sun, 16 Aug 2009 11:44:49 -0700 Atul Varma Added a 'build_spidermonkey' target to setup.py.
Sat, 15 Aug 2009 22:48:13 -0700 Atul Varma Added support for unicode property names in context.define_property().
Sat, 15 Aug 2009 17:38:03 -0700 Atul Varma Added windows build support to setup.py.
Sat, 15 Aug 2009 16:53:32 -0700 Atul Varma Moved mange.py to setup.py for convention's sake and updated docs on the build process.
Sat, 15 Aug 2009 16:41:48 -0700 Atul Varma Merged setup.py into manage.py.
Sat, 15 Aug 2009 16:13:13 -0700 Atul Varma PYM_callFunction() now uses PyMem_Malloc() to dynamically allocate space for arguments on the heap, since MSVC doesn't seem to support dynamically-sized arrays on the stack.
Sat, 15 Aug 2009 15:51:55 -0700 Atul Varma Changed exception.message to exception.args[0], to satisfy a deprecation warning in Python 2.6.
Sat, 15 Aug 2009 10:49:25 -0700 Atul Varma Changed includes from Python/Python.h to just Python.h.
Sat, 15 Aug 2009 10:41:24 -0700 Atul Varma Added an experimental setup.py.
Sat, 15 Aug 2009 10:24:17 -0700 Atul Varma Renamed .c files to .cpp, since we use minor amounts of C++ code in pymonkey.
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:25:48 -0700 Atul Varma Tweaked a test to also ensure that context.get_property() can take unicode or strings.
Sat, 15 Aug 2009 00:22:13 -0700 Atul Varma Minor typo fix.
Sat, 15 Aug 2009 00:20:03 -0700 Atul Varma Added tests involving unicode with embedded NUL characters.
Sat, 15 Aug 2009 00:10:29 -0700 Atul Varma Got rid of Py_UNICODE_WIDE ifdefs.
Fri, 14 Aug 2009 20:26:40 -0700 Atul Varma Added more docs.
Sun, 09 Aug 2009 22:54:15 -0700 Atul Varma JS runtime mismatches are now checked for and enforced so they won't cause segfaults.
Sun, 09 Aug 2009 22:26:45 -0700 Atul Varma Added a test.
Sun, 09 Aug 2009 16:17:25 -0700 Atul Varma Thread safety exceptions are now properly raised by all relevant pymonkey functions.
Sun, 09 Aug 2009 15:46:40 -0700 Atul Varma JS-wrapped Python functions that have had their Python functions cleared by context.clear_object_private() now throw appropriate JS exceptions when called.
Sun, 09 Aug 2009 15:37:29 -0700 Atul Varma Added more documentation.
Sun, 09 Aug 2009 15:18:33 -0700 Atul Varma JS-wrapped Python functions can now be passed to context.get_object_private() and context.clear_object_private(), which allows cycles to be manually broken from Python. Far from ideal, but easier than writing a cycle collector for now.
Sun, 09 Aug 2009 14:47:35 -0700 Atul Varma Fixed typos in first param to JS_GET_CLASS(), which apparently isn't being used.
Sun, 09 Aug 2009 14:42:54 -0700 Atul Varma Changed PymonkeyObject JSClass to store its private Python object in its private slot rather than a reserved slot.
Sun, 09 Aug 2009 14:22:17 -0700 Atul Varma Added a context.clear_object_private() function.
Fri, 07 Aug 2009 18:59:10 -0700 Atul Varma Fixed typos in docs.
Fri, 07 Aug 2009 18:56:32 -0700 Atul Varma Added docs for context.get_object_private().
Fri, 07 Aug 2009 11:21:21 -0700 Atul Varma Added docs for Object.get_runtime().
Fri, 07 Aug 2009 11:20:12 -0700 Atul Varma Added a pymonkey.Object.get_runtime() method.
Fri, 07 Aug 2009 11:02:56 -0700 Atul Varma Added test for infinite recursion.
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.
Mon, 27 Jul 2009 22:00:03 -0700 Atul Varma Resolved two TODOs.
Mon, 27 Jul 2009 21:53:43 -0700 Atul Varma Got rid of our one call to JS_BeginRequest()/JS_EndRequest(), since we're not really paying attention to it at the moment anyways.
Mon, 27 Jul 2009 21:44:08 -0700 Atul Varma Added context.get_object_private() and an optional private object parameter to context.new_object().
Mon, 27 Jul 2009 04:47:33 -0700 Atul Varma Factored the JS FunctionHolder class into the JS PymonkeyObject class, so that any PymonkeyObject can contain a private Python object if it needs to.
Sun, 26 Jul 2009 16:44:12 -0700 Atul Varma Made the conversion of JS exceptions into strings release the GIL.
Sun, 26 Jul 2009 16:24:32 -0700 Atul Varma Added comments for the function holder class.
Sun, 26 Jul 2009 16:19:12 -0700 Atul Varma Added comments.
Sun, 26 Jul 2009 15:06:19 -0700 Atul Varma Pymonkey now handles the GIL properly so that Python code can run while JS code does.
Sun, 26 Jul 2009 13:09:58 -0700 Atul Varma A few function renamings for consistency.
Sun, 26 Jul 2009 12:43:31 -0700 Atul Varma Added context.set_operation_callback() and trigger_operation_callback() methods.
Sat, 25 Jul 2009 23:08:47 -0700 Atul Varma js objects no longer have a unique id in addition to their JSObject *, since mrbkap verified that SpiderMonkey's mark-and-sweep garbage collector isn't a copying one.
Sat, 25 Jul 2009 22:51:20 -0700 Atul Varma Fixed a bug whereby some objects wouldn't be finalized when a runtime was destroyed.
Sat, 25 Jul 2009 16:14:03 -0700 Atul Varma JS Wrapped python functions are now only GC'd by python once they've first been GC'd by JS.
Sat, 25 Jul 2009 16:10:21 -0700 Atul Varma Added a gc() method to the context object which performs garbage collection.
Sun, 19 Jul 2009 20:27:25 -0700 Atul Varma Added a test that fails b/c of a known bug in pymonkey.
Sun, 19 Jul 2009 19:58:15 -0700 Atul Varma Added documentation for Context methods get_runtime(), new_object(), and init_standard_classes().
Fri, 10 Jul 2009 18:41:14 -0700 Atul Varma pymonkey.undefined now has a 'falsy' value.
Fri, 10 Jul 2009 17:39:48 -0700 Atul Varma Made another doctest easier to read.
Fri, 10 Jul 2009 17:26:32 -0700 Atul Varma Made a doctest more readable.
Fri, 10 Jul 2009 17:22:42 -0700 Atul Varma Added docs for pymonkey.undefined.
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.