summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-62609 Represent the w parameter of WriteConcernOptions as a variantMatt Broadstone2022-02-011-15/+10
|
* SERVER-60970 Repair and extend explicit instantiations for BSON buildersAndrew Morrow2021-11-041-1/+48
|
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-081-1/+1
|
* SERVER-57492 Side-write table should not write more than KeyStringLouis Williams2021-06-171-1/+1
| | | | | | | | | This fixes a bug where extra data in the form of uninitialized memory was being written to the index builds side writes table. This memory is never observed and only takes up space in the table. This commit also renames BufBuilder::getSize() to capacity() to conform to the STL convention and to prevent similar bugs in the future.
* SERVER-56300 Add append functionality for iterator ranges in BSONObjBuilderKris Satya2021-06-101-32/+31
|
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-03-051-29/+3
|
* Revert "SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber"Bynn Lee2021-02-251-3/+29
| | | | This reverts commit 3307ba57eef2dfff9abe2413e39058ac9451ec04.
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-02-221-29/+3
|
* SERVER-50754 introduce MakeBSONObjStage and various perf improvements to SBEIan Boros2021-01-191-0/+10
|
* SERVER-52703 Support Undefined type in SBE. SERVER-52704 Support ↵Martin Neupauer2020-12-081-0/+12
| | | | MinKey/MaxKey types in SBE.
* SERVER-53183 Parameterize BSONObjBuilder by buffer allocatorIan Boros2020-12-041-276/+445
|
* Revert "SERVER-41994 correctly create and show type 2 binary elements"Gabriel Russell2019-10-151-5/+2
| | | | This reverts commit 3f6ba750fc8374968c3c06e31c67ac2839e9a736.
* SERVER-41994 correctly create and show type 2 binary elementsGabriel Russell2019-09-101-2/+5
|
* SERVER-40160 Remove `if_constexpr.h` header.ADAM David Alan Martin2019-07-271-6/+3
| | | | | | | This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore.
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-41989 Fix exception safety in `BSONObjBuilder::asTempObj`.ADAM David Alan Martin2019-07-261-29/+26
| | | | | | The setting of `_doneCalled` too early allows for it to remain set after an exception is thrown. This will cause invariant violations under some conditions.
* SERVER-42034 remove BSONObjBuilder::numStrBilly Donahue2019-07-091-16/+10
| | | | Callers are better with either DecimalCounter or std::to_string.
* SERVER-9763 Remove BSONObjBuilder append unsigned methodAlya Berciu2019-07-031-55/+20
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-141-4/+6
|
* SERVER-41563 BSONObjBuilder mutators must return *thisBilly Donahue2019-06-071-7/+10
|
* SERVER-40802 move some expensive and commonly instantiated functions out of lineMathias Stearn2019-05-011-9/+1
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-1/+2
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-8/+6
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+17
|
* SERVER-36931 Handle returnKey option for $** indexesyarai2018-09-211-2/+0
|
* SERVER-36606: Allow construction of large BSON objectsSpencer Jackson2018-09-171-3/+5
|
* SERVER-36108 speed up BSONArrayBuilder by counting in decimalGeert Bosch2018-08-051-36/+34
| | | | Now removed constexpr that broke Windows build.
* Revert "SERVER-36108 speed up BSONArrayBuilder by counting in decimal"Geert Bosch2018-08-031-34/+36
| | | | This reverts commit ce9968b484b95fe3f08ffe1d15791e8fadc9e854.
* SERVER-36108 speed up BSONArrayBuilder by counting in decimalGeert Bosch2018-08-031-36/+34
|
* SERVER-35135 Redact command payload when auditing edge case eventsBilly Donahue2018-06-061-0/+1
| | | | Add missing #include for mongo/bson/util/builder.h
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-061-0/+8
| | | | | | Revert "Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"" This reverts commit 74177edb35b6ce7594e4751051010ceade592484. Leave out the unintentional repl/ change this time.
* Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"Nick Zolnierz2018-03-051-8/+0
| | | | This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-021-0/+8
| | | | | | | | | | | | remove publicRun from mr_test.cpp change explain to take OpMsgRequest private explain private allowsAfterClusterTime private supportsWriteConcern supportsReadConcern remove publicRun cluster_explain_cmd.cpp: do not inject "$db" field. let explain() exceptions escape update cluster distinct explain
* SERVER-30532 Remove IDL-generated parser for the findAndModify resultKaloian Manassiev2017-10-171-5/+0
| | | | | Instead only use a generator, but not parser. Also adds lastErrorObject.upserted to the findAndModify retry result.
* SERVER-29961 Add OR BSON helper and use it for change streams.Siyuan Zhou2017-08-241-23/+0
|
* SERVER-29564 BSONObjBuilder can now be seeded with a BSONObj prefixMathias Stearn2017-06-191-4/+32
| | | | This will avoid copying whenever it is safe.
* SERVER-29080 Make BSONArrayBuilder move-constructibleKaloian Manassiev2017-05-081-2/+0
|
* SERVER-29047 Fix BSONObjBuilder's move constructorMathias Stearn2017-05-051-1/+1
|
* SERVER-28508 Tighten invariant in BSONObjBuilder resume constructorMathias Stearn2017-04-121-1/+1
|
* SERVER-28311 Make BSONObjBuilder returnableMathias Stearn2017-03-201-0/+11
|
* SERVER-23100 Allow StringBuilder and str::stream to return StringData viewsMathias Stearn2016-08-291-7/+3
| | | | Avoids unnecessary copies when passing result to a function.
* SERVER-24418 Make Message and BufBuilder use SharedBuffer for memory managementMathias Stearn2016-06-221-19/+5
| | | | | | | | | | | | | This makes it possible to get owned BSONObj out of a Message without copying. Hooked up to the following places: - Anything using the Fetcher (including oplog fetching on secondaries) - Anything using DBClientInterface::findOne() - Anything using CursorResponse (including Sharded queries) As a simplification, Messages no longer support non-contiguous buffers, or non-owning buffers. The former wasn't used by anything, and the latter was only used by mongosniff only for messages that fit in a single packet.
* SERVER-24525 Fix BSON encoding and decoding for decimalVincent Do2016-06-131-0/+1
|
* SERVER-4536 Support appending an int64_t to a BSONObjBuilderMathias Stearn2016-06-091-0/+15
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-21481 optimize generating indices in BSONArrayBuilderAdam Midvidy2015-11-181-19/+32
|
* SERVER-20853 eliminate copies in find and getMore pathDavid Storch2015-11-131-2/+15
|
* SERVER-20884 build command replies in-place to avoid copiesAdam Midvidy2015-11-131-0/+17
|
* SERVER-19624 Add Decimal128 type support to mongo/bson layerRaymond Jacobson2015-08-071-5/+15
|
* SERVER-19391: Remove BSONObjBuilder::appendAsNumber.David Hatch2015-07-231-5/+0
|