summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* SERVER-19313 Remove some obsoleted usages of boostAndrew Morrow2015-07-091-1/+0
|
* SERVER-18978: Clang-Format - Fix comment word wrapping indentationMark Benvenuto2015-06-201-6/+8
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-775/+816
|
* SERVER-18991 Replace all usages of boost::noncopyable with ↵Andrew Morrow2015-06-161-3/+4
| | | | MONGO_DISALLOW_COPYING
* SERVER-17629 Implemented Bounded Data View/CursorJason Carey (hanumantmk)2015-04-141-2/+2
| | | | | | | | | | | | Implements DataRange and DataRangeCursor, bounded Status returning variants of DataView and DataCursor. Implements DataType::Handler<> to allow for specialization by type. * Endian specializations * BSONObj specialization Fix for endian conversions for floats and doubles to avoid some signaling bit patterns.
* Revert "SERVER-15047 Remove undefined behavior from Timestamp"Eric Milkie2015-04-091-13/+20
| | | | This reverts commit e87716a9286b6aa6f63a513012e55f6e42f634a2.
* SERVER-15047 Remove undefined behavior from TimestampEric Milkie2015-04-081-20/+13
|
* SERVER-17880 Rename OpTime to TimestampEric Milkie2015-04-071-3/+61
|
* SERVER-17880 Remove superfluous OpTime bson functionalityEric Milkie2015-04-061-25/+3
|
* SERVER-17880 remove ReplTimeEric Milkie2015-04-061-7/+0
|
* SERVER-17736 Remove obsolete C++ driver symbol export miscellaneaAndrew Morrow2015-03-261-2/+1
|
* SERVER-17224 Reserve room for EOO byte when starting BSONObj buildingMathias Stearn2015-03-051-3/+20
| | | | | | | Since _done() is called from ~BSONObjBuilder we need to ensure that it cannot fail. This prevents a double exception leading to a std::terminate call. This also resolves SERVER-17226.
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-65/+65
|
* SERVER-13256 Remove boost/utility from pch.hAndrew Morrow2015-01-051-0/+1
|
* SERVER-15210 SERVER-15211 remove OID undefined behavior and make it endian awareAdam Midvidy2014-09-191-4/+4
| | | | | | Closes #784 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15174 Read and write externally visible data in little endian formatAndrew Morrow2014-09-171-2/+2
|
* SERVER-15174 Use DataView and DataCursor in BSON libraryAndrew Morrow2014-09-171-2/+3
|
* SERVER-14936 Give BSONObj::Holder a proper class lifecycleAndrew Morrow2014-08-191-15/+41
|
* SERVER-14729 logging cleanup - removed mongo/util/log.h from headers, ↵Benety Goh2014-08-121-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de-inlining functions that use logging where applicable. de-inlined BSONElement::_asCode() de-inlined BSONObjBuilder::appendDate() de-inlined DBClientCursor::nextSafe() de-inlined IndexDescriptor::_checkOk() de-inlined LastErrorHolder::getSafe() de-inlined UpdateResult constructor de-inlined QueryPlannerCommon::reverseScans() de-inlined repl::ScopedConn::connect() de-inlined repl::_MultiCommand::run() de-inlined OplogReader::tailCheck() de-inlined repl::StateBox::change() de-inlined repl::SyncSourceFeedback::_resetConnection() de-inlined DiskLoc56Bit::operator=() de-inlined DurableInterface::~DurableInterface() de-inlined ListeningSockets::closeAll() de-inlined RelativePath::fromFullPath() and getPartition() de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor (v8-3.25) de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor removed log message from List1::orphan() - this should have no user-facing impact because List1::orphan() is used in tests only removed log message from RWLockRecursiveNongreedy::Lock() removed log message from RSBase destructor removed log.h dependency from DESTRUCTOR_GUARD macro removed mongo/util/log.h dependency from qlog.h removed mongo/util/log.h dependency from stacktrace.h removed mongo/util/log.h dependency from s2 logging header removed mongo/util/log.h dependency from chunk_diff-inl.cpp removed mongo/util/log.h from pch.h removed unused mongo/util/log.h include from inlined file sorter.cpp convert HashTable<K,V> to non-template NamespaceHashTable. De-inlined NamespaceHashTable::_find() and constructor convert isself getMyAddrs()and getallIPs() debug log to use LOG() macro assign default log component MONGO_LOG_DEFAULT_COMPONENT removed unused macros LOGATMOST and LOGSOME removed unused FLOG() macro from goodies.h
* SERVER-14592 de-inline bson and remove bson namespaceEric Milkie2014-07-171-2/+9
|
* SERVER-14482 Add add missing appendX methods to BSONArrayBuilderTyler Brock2014-07-161-78/+21
|
* SERVER-12751 remove BSONBuilderBaseTyler Brock2014-07-141-3/+2
|
* SERVER-14524 move jsobj.cpp components into proper filesEric Milkie2014-07-141-1/+1
|
* SERVER-14482 Add ability to append RegEx into BSONArrayBuilderTyler Brock2014-07-081-0/+5
|
* SERVER-13256: Remove pch - qualify std in headersMark Benvenuto2014-05-191-5/+5
|
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-13037 Fix misspelling ("compatability" to "compatibility")Sean Wilkinson2014-04-251-1/+1
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-12547 Implement bulk rightward copying of opaque regions in mutableAndrew Morrow2014-02-081-0/+2
|
* SERVER-10159 Do slightly less work when resetting or destroying a mutable ↵Andrew Morrow2014-01-041-0/+11
| | | | Document
* SERVER-3364 Label rest of client api with MONGO_CLIENT_APIRanjay Krishna2013-12-281-2/+3
| | | | | | build all the sharedclient programs using the new macro MONGO_CLIENT_API in mongo/client/export_macros.h Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-11643: Collection::storageSize and 32-bit fix for 64-bit numbersEliot Horowitz2013-11-091-4/+0
|
* SERVER-11643: make Collection::storageSize return int64_t to be consistentEliot Horowitz2013-11-091-0/+4
|
* SERVER-11135 fixed appendNumber(long long) and appendIntOrLL to handle ↵Benety Goh2013-10-211-10/+17
| | | | std::numeric_limits<long long>::min()