Commit graph

6 commits

Author SHA1 Message Date
fhajny
4d162f6470 Update devel/libbson 1.1.10 to 1.2.0.
libbson 1.2.0
- Add bson_mem_restore_vtable(), the inverse of bson_mem_set_vtable().
- Enable runtime asserts in release build.
- Fixed compiler warnings and build failures on various platforms.
- Improvements to the formatting and contents of the documentation.

libbson 1.1.11
- Document bson streaming reads with an example, bson-streaming-reader.c.
- Document callback function types bson_reader_destroy_func_t and
  bson_reader_read_func_t.
2015-10-19 11:42:18 +00:00
fhajny
66bafb1a22 Update devel/libbson to 1.1.2.
Libbson 1.1.2
=============
* sscanf_s doesn't exist for mingw.

Libbson 1.1.0
=============
ABI/API changes include:
* Deprecation of bson_copy_to_excluding
* Addition of bson_copy_to_excluding_noinit
* Removal of MIN, MAX and ABS macros in favor of BSON_MIN, BSON_MAX and
  BSON_ABS.  Note this is a breaking source level change if you relied on
  these from bson.h.  Also note that this is not a breaking ABI change.
* Addition of BSON_ERROR_BUFFER_SIZE macro

Other changes include:
* Addition of a versioned ABI for the libbson shared library
* fixed bson_get_monotonic_time fallback when a system monotonic clock can not
  be found.  Formerly failed to compile with an incorrect call to
  bson_gettimeofday
* Allow the "dbref" convention in bson_validate when BSON_VALIDATE_DOLLAR_KEYS
  is present
* Support for ISO-8601 or $numberLong dates in bson <-> json parsing
* Quiet various compiler warnings
2015-03-24 13:21:43 +00:00
fhajny
c80db01ccf Update libbson to 1.0.2.
- bson_init_from_json supports top level arrays
- fixes for bson_strerror_r
- fix for timeouts on OS X
- house cleaning for various integer types
2014-12-12 11:29:32 +00:00
fhajny
d11b2eaaf0 Update libbson to 0.98.
Changes in 0.98:
- This release includes a new memory callback vtable to help in embedding
  situations that have their own custom allocator such as various language
  runtimes.
- A few compilation fixes for various C++ compilers have also been included.

Changes in 0.8.4:
- Alignment fixes for Solaris Studio C compiler.
- RPM and Debian packaging helpers.
- bson_gettimeofday() has dropped the deprecated timezone field used when
  calling posix gettimeofday(). This eases portability concerns. It is
  technically an ABI break, but since the field was never set, in reality
  it shouldn't be an issue.
- Multi-byte optimizations for bson_oid_to_string() have been disabled on
  non-x86 based platforms. This should aid in architecture portability.
- The JSON parser can now support $numberLong.
- bson_ascii_strtoll() has been added, which is a portable strtoll()
  implementation. This is primarily useful for Windows users and is used
  by the JSON parser.
- A bug was fixed in bson_iter_find_descendant() where the wrong field
  could be matched if it's prefix matched the query.
- bson_array_as_json() has been added to convert a bson_t as a top-level
  array.
2014-07-18 10:31:48 +00:00
fhajny
2eb16428e4 Update libbson to 0.8.2.
Changes in 0.8.2
----------------
 * A fix for BCON when used from C++.
 * Change bson_next_power_of_two() to accept size_t. This should not be
   an ABI break since it is static inline.

Changes in 0.8.0
----------------
This cycle includes much, much more documentation for your perusing. There is
much more cross-referencing and structure for your navigation pleasure.

We've improved support for Libbson on a few more exotic platforms. SPARC
support is looking pretty good these days.

You'll also find some new examples in this release to help you get started a
bit faster. If there is something you'd like to see, just ask!

There are a few ABI breaks this cycle, as we are well on the road to a 1.0 and
would like things as clean as possible. I anticipate a few more during the next
couple of cycles, but we will try to keep them to a minimum.  With that said,
you *WILL* need to recompile your application against 0.8.0.
2014-06-11 13:50:19 +00:00
fhajny
1a1d3769e5 Import libbson as devel/libbson.
libbson is a library providing useful routines related to building,
parsing, and iterating BSON documents. It is a useful base for those
wanting to write high-performance C extensions to higher level
languages such as python, ruby, or perl.
2014-05-07 15:43:59 +00:00