- Aug 25, 2014
-
-
Jason Carey authored
STATIC_ASSERT's go at the file level, not within a function body
-
- Aug 22, 2014
-
-
Jason Carey authored
o support for clang's __builtin_bswap variants o faster slow paths for 32 and 64 bit swaps o hosting double on top of a 64 bit swap with some memcpys
-
- Aug 20, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
http://www.unicode.org/versions/corrigendum1.html We need to check that the non-shortest form of the UTF-8 is being used when validating UTF-8. Higher level languages should be doing this when they convert to their native string type, but we need it in C as well. The two-byte representation for NULL is allowed (modified-utf8).
-
Christian Hergert authored
If utf8_seq is longer than we have remaining bytes, just skip the further checks below. Not necessarily faster, but easer to read that it is doing "the right thing".
-
- Aug 13, 2014
-
-
Christian Hergert authored
Fixed documentation typo
-
Eric Daniels authored
-
- Aug 08, 2014
-
-
Christian Hergert authored
-
- Aug 06, 2014
-
-
Christian Hergert authored
doc: fix typo in bson_oid_is_valid comment header
-
Christian Hergert authored
CDRIVER-402: bson_append_null should be used
-
- Aug 03, 2014
-
-
Anil Kumar authored
bson_append_null should be used for marshaling a BSON_TYPE_NULL data
-
- Aug 01, 2014
-
-
Matt Cotter authored
-
- Jul 30, 2014
-
-
Christian Hergert authored
Call correct free()
-
Hannes Magnusson authored
-
Christian Hergert authored
doc: fix typo in bson_init_from_json docs
-
Justin Case authored
-
- Jul 29, 2014
-
-
Christian Hergert authored
Fix a bug in json parsing
-
Jason Carey authored
Fix a bug where we misidentify special mode '$' keys in extended json parsing. Basically, we have to verify length for both strings, rather than relying on prefix matches with strncmp. We also miscounted length for the prefix match, allowing any '$' key that started with an '$i' to match '$id'
-
Christian Hergert authored
doc: fix typos in bson_uint32_to_string docs/comments
-
Matt Cotter authored
-
- Jul 18, 2014
-
-
Christian Hergert authored
-
- Jul 17, 2014
-
-
Christian Hergert authored
Signed-off-by:Christian Hergert <christian.hergert@mongodb.com>
-
- Jul 14, 2014
-
-
Christian Hergert authored
Fixed typo in json-to-bson documentation.
-
- Jul 11, 2014
-
-
Michael Whittaker authored
Some comments in json-to-bson.c were the same as in bson-to-json.c. Some BSON and JSON's needed to be switched.
-
- Jul 10, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This removes the need for the atexit() handler.
-
- Jul 09, 2014
-
-
Christian Hergert authored
This function allows setting a custom memory allocator. It must be called at the beginning of the process so that allocations are allocated and freed by the proper system.
-
Christian Hergert authored
-
- Jul 08, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
This improves the situation a bit where the first 4 bytes to be looked at would be the length, and not very useful. We now skip past those bytes and start at the first field.
-
- Jul 03, 2014
-
-
Christian Hergert authored
Remove conflict between function and struct names
-
Itay Neeman authored
-
Christian Hergert authored
Remove anonymous structs
-
Itay Neeman authored
-
Itay Neeman authored
-
- Jul 02, 2014
-
-
Itay Neeman authored
On some compilers, the fact that there is a usage of an anonymous struct causes a warning. This change simply gives them names prior to the typedef.
-
Itay Neeman authored
There was a conflict between the function `bcon_extract_ctx` and the raw struct name (which is typedef'ed to `bcon_extract_ctx_t` anyway). A similar situation happened for `bcon_append_ctx`. This change simply renames the raw names, since they are never used.
-
- Jul 01, 2014
-
-
Christian Hergert authored
This changes the wording to be a bit more specific that the first element parameter was not "0".
-
Christian Hergert authored
This is intended to help catch situations where array keys are not being generated correctly by API consumers. This is not intended to be complete, but to warn against situations with empty keys such as "" instead of "0". See SERVER-14398 for more details.
-