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.
|
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.
|