- Jul 30, 2014
-
-
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.
-
- Jun 25, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Jun 24, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
Clear out iter on failure. It doesn't really guarantee anything, but can help cause null dereferences sooner.
-
Christian Hergert authored
Mostly superfluos, but quiet's some warnings.
-
Christian Hergert authored
-
- Jun 21, 2014
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Jun 19, 2014
-
-
Christian Hergert authored
We probably need to add something more for Code types if we want to actually round trip these fields. Currently we do not.
-
Christian Hergert authored
This allows BSON documents to be formatted as top-level [] if it is such desired. Unfortunately we can't determine this automatically at the top-level when working with raw encoded bson buffers. Thanks to Itay Neeman at Splunk for the patch!
-
Christian Hergert authored
-