Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

144 lines (101 sloc) 3.78 kb

0.1.0 / 2012-07-22

  • initial release of the documentation (http://tootallnate.github.com/ref)
  • binding: make "endianness" and "NULL" be 'frozen'
  • lib: make derefType() throw an Error when given a "type" with indirection 1
  • augment the Buffer#inspect() function to print out the memory address as well

0.0.20 / 2012-06-27

  • rename the Utf8String type to CString (#5)
  • make Utf8String an alias to CString and deprecated
  • more work on docs (not yet ready)

0.0.19 / 2012-06-25

  • use node-bindings

0.0.18 / 2012-06-21

  • add the non-native-endian read+write int64 functions
  • starting on some real (inline) documentation

0.0.17 / 2012-06-05

  • allow the "bool" type to write arbitrary number values (0-255) to it
  • Utf8String: return JS null when reading a pointer pointing to NULL
  • make reinterpret() and reinterpretUntilZeros() throw an Error when given a NULL pointer
  • make ref.get() and ref.set() coerce their optional type when given
  • some more tests

0.0.16 / 2012-06-01

  • use Object.create() and Object.getPrototypeOf() for refType() and derefType()
  • remove cloneType()
  • make reading from a NULL pointer always throw an Error:
    • readCString()
    • readPointer()
    • readObject()
    • readInt64()
    • readUInt64()

0.0.15 / 2012-05-31

  • fix possible segmentation fault with readObject()
  • fix possible segmentation fault with readPointer()

0.0.14 / 2012-05-31

  • fix possible segmentation fault with readCString()

0.0.13 / 2012-05-30

  • make refType() coerce string types properly
  • make the bool type inherit from a proper fixed type (like uint8)

0.0.12 / 2012-05-30

  • make the "char" and "uchar" types accept JS String values
  • make the synonym types (i.e. longlong is a synonym for int64) be distinct objects, rather than simple JS references
  • fix coersion of a string value of "Object"
  • added the reinterpretUntilZeros() function

0.0.11 / 2012-05-17

  • always do string type coersion, like on alloc()
  • add a "bool" type, which works with JS true/false values

0.0.10 / 2012-05-15

  • fix compiler error on Solaris
  • fix compiler errors on Windows

0.0.9 / 2012-05-13

  • allow ref.alloc() to not have a value being set with it
  • add the coerceType() function (get a proper "type" instance from a string)
  • add the Utf8String type back over from node-ffi
  • conditionally extend SlowBuffer.prototype for node >= v0.7.9

0.0.8 / 2012-05-12

  • make the void type "set()" function be a no-op instead of throwing
  • added some more test cases

0.0.7 / 2012-05-09

  • added the reinterpret() function

0.0.6 / 2012-05-09

  • add alignof mappings for the types
  • add an Object type
  • set the alignment property on the built-in types

0.0.5 / 2012-05-09

  • quickly add get() and set() functions
  • use the PRId64 and PRIu64 snprintf types

0.0.4 / 2012-05-08

  • README improvements; some API documentation
  • removed some leftover debugging statements

0.0.3 / 2012-05-08

  • added readCString() function (to Buffer.prototype as well)
  • added writeCString() function (to Buffer.prototype as well)
  • added an allocCString() function
  • removed the Utf8String type; moved it to node-ffi
  • made ref.NULL be a 'void' type

0.0.2 / 2012-05-05

  • Added missing includes for Linux, etc.

0.0.1 / 2012-05-04

  • Initial release
Jump to Line
Something went wrong with that request. Please try again.