pymonkey

log

age author description
2 years Atul Varma Minor line wrap and spacing fixes.default tip
2 years Atul Varma Rebuilt docs.
2 years Atul Varma ReST underline/overline fixes.
2 years Atul Varma Initial attempt at renaming pymonkey to pydermonkey.
2 years Atul Varma Added more useful docs for pymonkey.error.
2 years Atul Varma Added docs for set_throw_hook().
2 years Atul Varma Added docs for pending exception methods.
2 years Atul Varma Added is_exception_pending() and get_pending_exception().
2 years Atul Varma Added a context.set_throw_hook() method.
2 years Atul Varma Minor rewording in docs.
2 years Atul Varma Added notes on identity perseverance for objects.
2 years Atul Varma Made get_object_private() and clear_object_private() more robust.
2 years Atul Varma Added docs for function.is_python.
2 years Atul Varma Added a function.is_python property indicating whether the js function is implemented in python.
2 years Atul Varma Added more documentation and a unit test.
2 years Atul Varma Resolved 2 TODOs.
2 years Atul Varma Added 'function' key to stack frame dicts; lineno and pc information is now provided even if script is not.
2 years Atul Varma Added a TODO.
2 years Atul Varma Annoying workaround to get_stack() for the script object issue discovered in my last commit.
2 years 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.
2 years Atul Varma Added a test.
2 years Atul Varma Added a 'name' property to function obects. Fixed a TODO.
2 years Atul Varma Added a pymonkey.get_debug_info() function and used it on test teardown to ensure that unit tests don't leak.
2 years Atul Varma Added more to get_stack() docs.
2 years Atul Varma 'caller' key for base stack frame is now None.
2 years Atul Varma Added docs for context.get_stack().
2 years Atul Varma Ensure that get_stack() returns None if the stack is empty.
2 years Atul Varma Added 'lineno' and 'pc' attributes to stack frame information.
2 years Atul Varma Added a basic context.get_stack() function.
2 years Atul Varma Updated docs to reflect new script members.
2 years Atul Varma Added base_lineno and line_extent members to the script object.
2 years Atul Varma Added a 'filename' member to script objects.
2 years Atul Varma Regenerated docs.
2 years 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).
2 years Atul Varma Added docs for Script, compile_script() and execute_script().
2 years Atul Varma A script's bytecode is now exposed as a buffer object.
2 years Atul Varma Added a syntax error test.
2 years Atul Varma Added pymonkey.Script, which wraps a JSScript object, and context.compile_script()/execute_script().
2 years Atul Varma Refactored a new function, PYM_findJSObject(), out of PYM_newJSObject().
2 years Atul Varma Added docs for context.has_property().
2 years Atul Varma Added a context.has_property() function.
2 years Atul Varma Added a new PYM_UTF16String C++ class to make calling UC JSAPI functions a little easier and less error-prone.
2 years Atul Varma Minor housekeeping: replaced tabs w/ spaces, got rid of outdated TODOs, etc.
2 years Atul Varma Added notes about weak-referencability to docs.
2 years Atul Varma Added weakref support for runtimes.
2 years Atul Varma Fixed GC issues w/ context dealloc.
2 years Atul Varma Added a test for context cyclic gc support and fixed a bug revealed by it.
2 years Atul Varma Added support for weakrefs to contexts.
2 years Atul Varma Added cyclic garbage collection support to context objects.
2 years Atul Varma Fixed a TODO.
2 years Atul Varma Added another test and fixed a bug it revealed.
2 years Atul Varma context.evaluate_script() can now take unicode code strings.
2 years Atul Varma Removed build auto-prerequisite from 'test' target.
2 years 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).
2 years Atul Varma Added notes on thread safety to documentation.
2 years Atul Varma Added some documentation to utils.h.
2 years Atul Varma Moved all .cpp/.h files into 'src' dir and test suite into 'tests' dir.
2 years Atul Varma Made the operation callback doctest easier to read.
2 years Atul Varma Added documentation for gc() and operation callback functions.
2 years Atul Varma Added docs for define_property() and get_property().