- Apr 05, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Apr 04, 2014
-
-
Christian Hergert authored
added comment to bson_oid_init()
-
Ivan Suvorov authored
-
Christian Hergert authored
See NEWS for the details.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Jason Carey authored
a bson_new that accepts a possibly pre-alloc'd buffer controlled by the caller and manipulated with a callback. Useful for wrappers or language bindings.
-
- Apr 02, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This allows, for non-read-only bson_t, to steal the underlying buffer. In the case of inline buffers, a new buffer is allocated for the result and returned for the convenience of the caller. The caller must call bson_free() on the result when they are done with the data.
-
- Apr 01, 2014
-
-
Christian Hergert authored
Add a realloc ctx to bson_writer_new
-
Christian Hergert authored
Add a couple more useful helpers
-
- Mar 31, 2014
-
-
Paul Melnikow authored
-
Christian Hergert authored
Updates for MacOS and Xcode
-
Christian Hergert authored
bson-metrics doc_size_max and doc_size_average
-
Paul Melnikow authored
-
Gary Murakami authored
-
- Mar 28, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This is not super common, so the slightly slower snprintf seems the safest route.
-
- Mar 27, 2014
-
-
Jason Carey authored
Add a realloc_func_ctx to bson_writer_new and thread an additional realloc_func_ctx on bson objects to allow for custom reallocs with a handle. This is to provide support for custom allocators without global storage. One that comes to mind is a pool allocator, where the context object is a specific pool.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
Merge branch 'master-metrics' of github.com:gjmurakami-10gen/libbson into gjmurakami-10gen-master-metrics
-
Christian Hergert authored
Now that we check explicitely for num_bytes == 0, we can drop the secondary check at the end of the realloc and simply fail on NULL.
-
Christian Hergert authored
make bson_realloc really free memory
-
Stefan Kaes authored
-
Stefan Kaes authored
-
- Mar 26, 2014
-
-
Gary J. Murakami authored
-
Christian Hergert authored
-
- Mar 24, 2014
-
-
Christian Hergert authored
Fix documentation of bson_iter_date_time
-
Máximo Cuadros authored
bson_iter_date_time returns the unix timestamp in miliseconds.
-