2017-10-13 16:23:10 by Filip Hajny | Files touched by this commit (3) |
Log message:
Update devel/libbson to 1.8.1.
- Removes a syntax error in the configure script
|
2017-09-26 16:16:56 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update devel/libbson to 1.8.0.
- Make symbols bson_get_major_version, bson_get_minor_version,
bson_get_micro_version, bson_get_version, and bson_check_version
available to C++ programs.
- New CMake option ENABLE_MAINTAINER_FLAGS.
- Crash iterating over invalid code with scope.
|
2017-08-17 19:00:48 by Filip Hajny | Files touched by this commit (3) |
Log message:
Update devel/libbson to 1.7.0.
- Changes to JSON encoding and decoding:
- New functions bson_as_canonical_extended_json and
bson_as_relaxed_extended_json convert BSON to canonical and
relaxed extended JSON according to MongoDB Extended JSON Spec.
- When parsing JSON type wrappers like "$timestamp", any missing or
extra keys are an error.
- The JSON format for BSON regular expressions is now
"$regularExpression": {"pattern": "...", \
"options": "..."}.
- The JSON format for BSON binary elements is now "$binary":
{"base64": "...", "subType": "..."}.
- BSON dates can be parsed from "$date" as an ISO8601 date or
"$numberLong" as milliseconds since the epoch: "t": \
{"$date":
{"$numberLong": "1234"}}.
- The non-numbers NaN, Infinity, and -Infinity are now recognized
(regardless of case) when parsing JSON.
- CMake build now installs .pc files for programs that link to libbson
using pkg-config. Both the CMake and Autotools build systems now
install .cmake
- New CMake option, "ENABLE_STATIC", defaults to ON.
- Minimum required CMake version has been increased to 3.1.
- New functions
- bson_strcasecmp, a portable equivalent of strcasecmp.
- bson_iter_as_double, cast the current value to double.
- bson_iter_init_from_data, creates an iterator from BSON string.
- bson_validate_with_error, checks a document like bson_validate
does but also reports which key was invalid
- New convenience macros
- BSON_ITER_HOLDS_INT, checks if iterator holds int32 or int64
- BSON_ITER_HOLDS_NUMBER, checks if iterator holds int32, int64 or
double
- Raised BSON recursion limit to 200
|
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message:
Switch github HOMEPAGEs to https.
|
2017-07-03 20:11:27 by Joerg Sonnenberger | Files touched by this commit (2) |
Log message:
Fix nonsense shell syntax. From Robert Elz.
|
2017-06-14 12:24:15 by Filip Hajny | Files touched by this commit (3) |
Log message:
Update devel/libbson to 1.6.3.
libbson-1.6.3
- No change since 1.6.2; released to keep pace with libmongoc's
version.
libbson-1.6.2
- This release further improves HP-UX compatibility, especially when
building with CMake, and fixes some distribution issues we
introduced when porting the documentation from Mallard to Sphinx.
Libbson-1.6.1
- This is a bugfix release that resolves GCC 7 compiler warnings,
improves HP-UX compatibility, and avoids a test failure from
launching too many threads on 32-bit MIPS.
Libbson-1.6.0
- Use jsonsl instead of libyajl as our JSON parsing library, parse
JSON more strictly, fix minor parsing bugs.
- Extended JSON documents like '{"$code": "...", \
"$scope": {}}' are
now parsed into BSON "code" elements.
- ISO8601 dates now allow years from 0000 to 9999 inclusive. Before,
years before 1970 were prohibited.
- BSON floats and ints are now distinguished in JSON output.
- The library is now built and continuously tested with MinGW-W64 on
Windows.
- The documentation is ported from Mallard XML to ReStructured Text,
the HTML documentation is restyled, and numerous man page syntax
errors fixed.
- All public functions now have the __cdecl calling convention on
Windows.
|
2017-01-12 15:44:44 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update devel/libbson to 1.5.3.
Changes since 1.5.0:
- CDRIVER-1982 fix ifdef for strerror_s with mingw.
|
2016-12-09 11:05:58 by Filip Hajny | Files touched by this commit (4) |
Log message:
Update devel/libbsob to 1.5.0.
- New BSON Type, Decimal128 (bson_decimal128_t) along with appropriate
new functions and helpers.
- bson_validate and bson_iter_next now validate that BSON boolean values
are 0 or 1.
- bson_append_code_with_scope now preserves the "code with scope" type
if scope is an empty, non-NULL BSON document.
- BSON "code" and "code with scope" types are properly \
translated to
JSON of the form '{"$code": "...", "$scope": {...}}'.
- bson_json_reader functions now always validate UTF-8.
- JSON parsing now preserves integer width.
- bson_strtoll now matches stroll: it detects range errors, and when
parsing octal it stops at non-octal digits and returns what it parsed
instead of setting errno.
- New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a
document contains zero-length field names.
- The configure option "--enable-hardening" had had no effect. It is
removed in favor of system-wide compiler configuration.
|
2016-10-02 11:31:06 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update devel/libbson to 1.4.2.
libbson 1.4.2
- No change since 1.4.1; released to keep pace with libmongoc's
version.
libbson 1.4.1
- This release improves the HTML documentation's Makefile.
|
2016-08-17 16:07:09 by Filip Hajny | Files touched by this commit (4) |
Log message:
Update devel/libbson to 1.4.0.
- bson_reader_reset seeks to the beginning of a BSON buffer.
- bson_steal efficiently transfers contents from one bson_t to
another.
- Fix Windows compile error with BSON_EXTRA_ALIGN disabled.
- Potential buffer overrun in bson_strndup.
- bson_oid_to_string optimization for MS Visual Studio
- bson_oid_is_valid accepts uppercase hex characters.
- bson_json_reader_read aborted on some invalid Extended JSON
documents.
- All man page names now begin with "bson_" to avoid install
conflicts.
- Error messages sometimes truncated at 63 chars.
|