Permalink
Commits on Dec 15, 2012
  1. v1.2.1

    TooTallNate committed Dec 15, 2012
  2. explicitly cast the after work callback function to "uv_after_work_cb"

    TooTallNate committed Dec 15, 2012
    for node >= v0.9.4 compat
Commits on Dec 11, 2012
  1. libffi: define the 'target_arch' default variable at the top

    TooTallNate committed Dec 11, 2012
    Otherwise an error gets thrown when trying to build standalone on Windows.
    
    Reported on the libffi mailing list:
      http://sourceware.org/ml/libffi-discuss/2012/msg00291.html
Commits on Dec 10, 2012
  1. add .jshintrc file

    TooTallNate committed Dec 10, 2012
Commits on Oct 13, 2012
  1. v1.2.0

    TooTallNate committed Oct 13, 2012
Commits on Oct 5, 2012
  1. callback_info: return after throwing an exception to JS

    TooTallNate committed Oct 5, 2012
    You're not supposed to do anything after throwing...
  2. test: make the async cb call invoke it's own copy of the function poi…

    TooTallNate committed Oct 5, 2012
    …nter
    
    Not really sure if this helps anything, but it seemed like a good idea...
Commits on Oct 4, 2012
  1. ffi: the dlsym() constants need to be Buffer instances

    TooTallNate committed Oct 4, 2012
    Since internally they are a "void *" type, and these get passed as the "handle"
    argument to dlsym().
  2. dynamic_library: use RTLD_LAZY by default

    TooTallNate committed Oct 4, 2012
    You can still override it manually, but this seems to be the recommended
    default mode. From OS X's `man dlopen`:
    
    "RTLD_LAZY is normally preferred, for reasons of efficiency.  However,
    RTLD_NOW is useful to ensure that any undefined symbols are discovered during
    the call to dlopen()."
    
    This should at least prevent the "undefined symbol" errors in #80.
Commits on Oct 2, 2012
  1. function: finish up the "function" type for now

    TooTallNate committed Oct 2, 2012
    This doesn't support things like variadic functions, but let's cross that bridge
    when we get there...
  2. callback: remove "POINTER_SIZE" variable

    TooTallNate committed Oct 2, 2012
    it's stupid...
Commits on Oct 1, 2012
  1. libffi: fix unused variable warnings

    TooTallNate committed Oct 1, 2012
    ../deps/libffi/src/dlmalloc.c:3391:30: warning: expression result unused [-Wunused-value]
      set_segment_flags(&m->seg, mmapped);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Commits on Sep 29, 2012
  1. test: put the sync callback GC test in its own test

    TooTallNate committed Sep 29, 2012
    Rather than the "async" one
Commits on Sep 28, 2012
  1. don't call the "ref()" function on passed in arguments

    TooTallNate committed Sep 28, 2012
    This is a violation of the "type" interface as it bypasses the "set()"
    function of the "type" in most cases.
  2. DynamicLibrary: remove manual string to buffer conversion

    TooTallNate committed Sep 28, 2012
    The types on these functions has been changed to "string", so this is no
    longer necessary...
  3. callback: rename the "types" variable to "argTypes"

    TooTallNate committed Sep 28, 2012
    more explicit
  4. test: remove printf call

    TooTallNate committed Sep 28, 2012
  5. type: rename the "t" variable to "ffi_type"

    TooTallNate committed Sep 28, 2012
    just a better name...