tpl Changelog

What's new in tpl 1.5

Nov 17, 2011
  • tpl now builds as a DLL under Microsoft Visual Studio!
  • there are now two download options: the tarball and the Visual Studio solution
  • a crash in tpl_free on certain format strings has been fixed
  • fixed a bug in tpl_dump on 64-bit, big-endian platforms
  • changed some pointer casts from long to uintptr_t since 64-bit Windows has 32-bit longs
  • tpl has been downloaded 4,195 times.

New in tpl 1.4 (Nov 17, 2011)

  • fixed-length arrays can now be multi-dimensional like i##
  • fixed-length string arrays like s# are now supported
  • nested structures can now be expressed, using the dollar symbol, e.g. S(ci$(cc))
  • tpl_dump can use a caller-allocated output buffer (TPL_MEM|TPL_PREALLOCD)
  • tpl_load can tolerate excess space in input buffer (TPL_MEM|TPL_EXCESS_OK)
  • implement TPL_FXLENS flag for tpl_peek to get lengths of fixed-length arrays
  • implement TPL_GETSIZE flag for tpl_dump to get dump size without dumping
  • fix success return code from tpl_dump(TPL_FD,...) (thanks, Max Lapan!)
  • deprecated the wildcard unpacking S(*) feature

New in tpl 1.3 (Nov 17, 2011)

  • added TPL_DATAPEEK mode for tpl_peek
  • added support for NULL strings
  • added support for 16-bit integer types (j,v)
  • added tpl_jot
  • added support for fixed-length arrays of structures S(...)#
  • added support for pre-C99 compilers (thanks, Wei Wei!)
  • improved structure alignment calculation (thanks, Wu Yongwei!)
  • added RPM spec file
  • compiles cleanly with -Wall and -pedantic and with -O3
  • made BSD license terms even more permissive
  • test suite: exit with status zero when all tests pass
  • added PDF user guide
  • added update news (RSS)
  • added tpl wiki

New in tpl 1.2 (Nov 17, 2011)

  • Perl API and XML converter support 64-bit types

New in tpl 1.1 (Nov 17, 2011)

  • support for serializing C structures
  • support for serializing fixed-length arrays
  • MinGW support
  • revised User Guide