Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes | Billy Donahue | 2022-05-06 | 1 | -1/+3 |
| | |||||
* | SERVER-55204 Error on fallthrough unless the attribute is used | Andrew Morrow | 2022-04-18 | 1 | -0/+1 |
| | |||||
* | SERVER-62980 Revert simplification of compareElementStringValues for perf | Matt Kneiser | 2022-01-26 | 1 | -1/+9 |
| | |||||
* | SERVER-27209 Eliminate dangerous BSONElement string extraction methods | Matt Kneiser | 2022-01-13 | 1 | -17/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix: Change return type of BSONObj::getStringField to include size (StringData vs. char*). A char* only contains the data with an ending NULL termination. Whereas a StringData contains data + size so caller knows how to interpret data if there are embedded NULLs. - Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors. A dangling reference to 'maxLen' in a comment led me to this historical issue. $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h commit 0d38ef5 Author: Mathias Stearn mathias@10gen.com Date: Tue Dec 19 14:23:08 2017 -0500 SERVER-32302 Compute BSONElement sizes eagerly - Test: Add tests for NULL bytes being returned by getStringField - $ ninja -j400 +bson_obj_test - Cleanup: Move BSONElement::valuestr() from public to private - Cleanup: Remove BSONElement::valuestrsafe() - Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup their callsites with better alternatives. - Cleanup: Make multi-line BSONElement & BSONObj public API comments conform to style guidelines - Nit: Fix spelling in a comment | ||||
* | SERVER-61566 Fix and extract coercion to 32-bit int logic in expression parsing | Rui Liu | 2021-11-30 | 1 | -1/+17 |
| | |||||
* | SERVER-61124 Remove BSONElement::compare | Dan Larkin-York | 2021-11-02 | 1 | -102/+0 |
| | |||||
* | SERVER-56717 Add ComparisonRulesSet as a parameter | Alison Lu | 2021-06-25 | 1 | -7/+17 |
| | |||||
* | SERVER-56717 Update naming and comment, simplify comparisons | Alison Lu | 2021-06-25 | 1 | -0/+92 |
| | |||||
* | SERVER-51856 Add Visual Studio Natvis debugger visualizers for BSONObj and ↵ | Henrik Edin | 2020-10-28 | 1 | -0/+21 |
| | | | | BSONElement | ||||
* | SERVER-51719 BSONElement::toString must handle len < 0CLOUDP-69887 | Billy Donahue | 2020-10-19 | 1 | -1/+1 |
| | |||||
* | SERVER-43909 clarify and repair util/hex.h API | Billy Donahue | 2020-09-15 | 1 | -13/+9 |
| | | | | | | | - hexblob namespace - Throwy hexblob::decode (nee fromHex) - StringData overloads of hex codec ops - add unsignedHex<T> and zeroPaddedHex<T> | ||||
* | SERVER-47208 make tojson(BSONObj) match JavaScript JSON.stringify. | Billy Donahue | 2020-05-08 | 1 | -4/+8 |
| | |||||
* | SERVER-47735 change mongo source over to logv2 | Billy Donahue | 2020-04-26 | 1 | -1/+1 |
| | | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2:: | ||||
* | SERVER-46434 turn MemberConfig into IDL | Judah Schvimer | 2020-03-20 | 1 | -0/+4 |
| | |||||
* | SERVER-46406 Perf improvements in the logger. | Henrik Edin | 2020-03-13 | 1 | -1/+1 |
| | | | | Use fmt::compile and fmt::format_int when possible. | ||||
* | SERVER-45567 removing util/log.h where I can | Gabriel Russell | 2020-02-21 | 1 | -1/+0 |
| | | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp | ||||
* | SERVER-45869 automatically converted structured logging | Gabriel Russell | 2020-02-13 | 1 | -1/+2 |
| | |||||
* | SERVER-46017 Add truncation support for JSON formatter | Henrik Edin | 2020-02-11 | 1 | -40/+93 |
| | | | | Truncated objects will report truncation status in 'truncated' and 'size' sub objects. | ||||
* | SERVER-44623 Rework JSON generation from BSONObj | Henrik Edin | 2019-12-18 | 1 | -224/+93 |
| | | | | | | | - Extended Canonical/Relaxed 2.0.0 is supported - Using libfmt instead of stringstream as internal buffer - JSON parser can parse Extended Canonical/Relaxed and Strict formats - Removed TenGen format | ||||
* | SERVER-45057 make base64 encode/decode 22x/15x faster | Billy Donahue | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | SERVER-44102 Optimize bsonelement constructor | Geert Bosch | 2019-10-29 | 1 | -34/+43 |
| | |||||
* | SERVER-43775 BSON errors should log memory context | Louis Williams | 2019-10-22 | 1 | -3/+40 |
| | | | | | When an invalid type is detected in a BSONElement, print the address and surrounding memory in an attempt to provide context around the error. | ||||
* | Revert "SERVER-41994 correctly create and show type 2 binary elements" | Gabriel Russell | 2019-10-15 | 1 | -5/+1 |
| | | | | This reverts commit 3f6ba750fc8374968c3c06e31c67ac2839e9a736. | ||||
* | SERVER-41994 correctly create and show type 2 binary elements | Gabriel Russell | 2019-09-10 | 1 | -1/+5 |
| | |||||
* | SERVER-41961 Remove the `NOINLINE_DECL` and replace with ↵ | ADAM David Alan Martin | 2019-08-15 | 1 | -2/+3 |
| | | | | | | `MONGO_COMPILER_NOINLINE` Also removed the `PACKED_DECL`, since it isn't used. | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -7/+7 |
| | |||||
* | SERVER-7143 replace standard library number parsing with custom NumberParser | Nathan Brown | 2019-06-27 | 1 | -2/+6 |
| | |||||
* | SERVER-41071 Replace NULL and 0 with nullptr | A. Jesse Jiryu Davis | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | SERVER-8544 Disable having duplicate regex options in JSON parsing | Nathan Brown | 2019-06-04 | 1 | -0/+1 |
| | |||||
* | SERVER-40253 Implement count command in IDL | Ted Tuckman | 2019-04-25 | 1 | -0/+78 |
| | |||||
* | SERVER-40476 merge contents of utils/stringutils into utils/str. | Billy Donahue | 2019-04-11 | 1 | -7/+6 |
| | |||||
* | SERVER-40476 remove mongoutils::str | Billy Donahue | 2019-04-09 | 1 | -2/+1 |
| | | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare. | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-30711: scope_guard rewrite, to avoid -Werror=noexcept-type | Billy Donahue | 2019-01-11 | 1 | -2/+2 |
| | | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard | ||||
* | rewrite BSONElement::coerce as overloads rather than undefined template | Billy Donahue | 2018-12-27 | 1 | -15/+8 |
| | |||||
* | SERVER-37183 Safer bound for safeNumberLong() | Justin Seyster | 2018-12-07 | 1 | -0/+3 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -9/+10 |
| | |||||
* | SERVER-36606: Allow construction of large BSON objects | Spencer Jackson | 2018-09-17 | 1 | -2/+2 |
| | |||||
* | SERVER-36576 Restore ostream formatters after change | Mark Benvenuto | 2018-09-06 | 1 | -2/+17 |
| | |||||
* | SERVER-36475 Reduce use of stringstream in BSONObj.jsonString | Kashish Garg | 2018-08-08 | 1 | -3/+10 |
| | |||||
* | SERVER-34307 replace invariant(false) with MONGO_UNREACHABLE | Benety Goh | 2018-04-04 | 1 | -4/+4 |
| | |||||
* | SERVER-32302 Use a table to compute the size of each BSONElement | Mathias Stearn | 2018-01-04 | 1 | -56/+69 |
| | |||||
* | SERVER-32302 Compute BSONElement sizes eagerly | Mathias Stearn | 2018-01-04 | 1 | -96/+2 |
| | |||||
* | SERVER-27814 Prints Timestamp consistently, changes toString(), and removes ↵ | Pavithra Vetriselvan | 2017-11-16 | 1 | -3/+6 |
| | | | | toStringLong() | ||||
* | SERVER-31026 Properly format UUIDs in BSONElement::toString | Geert Bosch | 2017-10-19 | 1 | -10/+26 |
| | |||||
* | SERVER-30176: Extend the JSON Schema parser to handle logical restriction ↵ | Nick Zolnierz | 2017-09-19 | 1 | -165/+161 |
| | | | | keywords (enum only) | ||||
* | SERVER-29814 Move BSONObj::MatchType/BSONElement::getGtLtOp() to matcher | James Wahlin | 2017-07-21 | 1 | -50/+0 |
| | |||||
* | SERVER-29583: Create $_internalSchemaMinProperties and ↵ | Anne Lim | 2017-07-20 | 1 | -2/+0 |
| | | | | $_internalSchemaMaxProperties MatchExpressions | ||||
* | SERVER-29583: Create $_internalSchemaMinProperties and ↵ | Anne Lim | 2017-07-19 | 1 | -0/+2 |
| | | | | $_internalSchemaMaxProperties MatchExpressions | ||||
* | SERVER-29581 Create $_internalSchemaMinLength and $_internalSchemaMaxLength ↵ | Natalia Jacobowitz | 2017-07-14 | 1 | -0/+2 |
| | | | | MatchExpressions |