Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: davisp/python-spidermonkey
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: garywiz/python-spidermonkey
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mozjs185-port
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 106 files changed
  • 1 contributor

Commits on Oct 31, 2011

  1. Configuration menu
    Copy the full SHA
    0a0a5f3 View commit details
    Browse the repository at this point in the history
  2. Started down the path of making changes for the current spidermonkey …

    …1.8.5 release.
    
    Lots yet to do.
    Gary Wisniewski committed Oct 31, 2011
    Configuration menu
    Copy the full SHA
    06f3419 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2011

  1. Configuration menu
    Copy the full SHA
    0dbcaac View commit details
    Browse the repository at this point in the history
  2. - Added --prebuilt-library switch to setup.py so that a downloaded ve…

    …rsion of spidermonkey can be used easily.
    
    - Added new calling sequences with jsid instead of jsval
    - Temporarily removed checks for JS_THREADSAFE, but a lot has changed in 1.8.5 that requires review
    - Changed malloc() to calloc() to assure that undocumented structure members are initialized to zero.
    - Eliminated internal "js_" calls and replaced with new "JS_" API equivalents.
    Gary Wisniewski committed Nov 1, 2011
    Configuration menu
    Copy the full SHA
    c26ccca View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2011

  1. - Fixed notorious memory corruption bug (malloc length incorrect in p…

    …yobject.c)
    
    - Deprecated old embedded libjs build and removed old libjs code.
    - Added ability to add finalize functions to general hashobj wrappers to handle synchronization of tasks between js and python
    - make_object now NEVER returns an object which is not of the requested type.   There was erroneous code which unwrapped existing py objects which were causing memory overwrites with certain types of return values.
    - Added unwrap_pyobject() to handle cases where we want to unwrap rather than double-wrap python objects passed back from js
    - Still some bugs in iterators.
    - Still some problems with old memory and runtime checks do to the Operation Callbacks change in 1.8.5.
    Gary Wisniewski committed Nov 2, 2011
    Configuration menu
    Copy the full SHA
    2388fde View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2011

  1. - Fixed checks for void pid to use JSID_IS_VOID

    - Fixed bug in iterators which referred to the wrong
      object in the new JSNative calling sequence.
    Gary Wisniewski committed Nov 4, 2011
    Configuration menu
    Copy the full SHA
    37808ef View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2012

  1. - Fixed extraneous Py_DECREF of python context object which could

      segfault randomly.
    - Fixed jsval references to use macros properly. It's likely there were
      some bugs hiding since the comparisons made using previous API techniques
      were no longer valid.
    Gary Wisniewski committed Jul 9, 2012
    Configuration menu
    Copy the full SHA
    fabe80d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2012

  1. - Global object is now managed via a weakref to eliminate reference c…

    …ycles internally
    
      when wrapped objects get assigned to global storage.  This means it is the responsibility
      of the owner of the context to make sure the global object is not deleted, but in the case it is
      the library will simply failsafe by no longer supporting globals for access or modification.
    - Changed StopIteration exception to use 1.8.5 library call.
    - Fixed reference counting problems with iterators.
    Gary Wisniewski committed Jul 24, 2012
    Configuration menu
    Copy the full SHA
    dacd112 View commit details
    Browse the repository at this point in the history
  2. Weakref-capable globals are now recognized and treated specially.

    Otherwise, the global object is kept as a reference and may cause leaks
    if populated with wrapped python objects.
    Gary Wisniewski committed Jul 24, 2012
    Configuration menu
    Copy the full SHA
    7c9b4d6 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2013

  1. Fixed a bug which prevented raising exceptions within the access chec…

    …k routine.
    
    Now, you can either return "False" or raise an exception to indicate an access check failure.
    Gary Wisniewski committed Apr 23, 2013
    Configuration menu
    Copy the full SHA
    8726bfe View commit details
    Browse the repository at this point in the history
Loading