summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobj.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40476 merge contents of utils/stringutils into utils/str.Billy Donahue2019-04-111-2/+1
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-2/+2
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40476 remove mongoutils::str::equalsBilly Donahue2019-04-081-8/+8
|
* SERVER-39863 remove std using namespace directivesBilly Donahue2019-02-281-6/+4
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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-37651 Update header files with new licenseRamon Fernandez2018-10-221-9/+10
|
* SERVER-36606: Allow construction of large BSON objectsSpencer Jackson2018-09-171-2/+2
|
* SERVER-36475 Reduce use of stringstream in BSONObj.jsonStringKashish Garg2018-08-081-5/+13
|
* SERVER-35896: Support 'replaceDocuments' mode in $outNick Zolnierz2018-08-021-14/+0
|
* SERVER-33951 Abort transactions when the pending writes pass 16MB worth of ↵Matthew Russotto2018-04-131-1/+1
| | | | write data
* SERVER-32302 Compute BSONElement sizes eagerlyMathias Stearn2018-01-041-1/+1
|
* SERVER-30176: Extend the JSON Schema parser to handle logical restriction ↵Nick Zolnierz2017-09-191-42/+48
| | | | keywords (enum only)
* SERVER-30189 Reduce calls to allocator for large $in expressionsTess Avitabile2017-08-091-0/+1
|
* SERVER-27992 Use UUIDs for replicationGeert Bosch2017-06-231-0/+20
|
* SERVER-29334 remove dotted field name check from BSONObj::okForStorageDianna Hohensee2017-06-021-21/+5
|
* SERVER-23990 move BSONObj/BSONElement hashing into ↵David Storch2016-09-091-10/+0
| | | | {BSONObj,BSONElement}::ComparatorInterface
* SERVER-24991 log redaction for bson, client, auth, catalogThomas Schubert2016-09-021-1/+0
|
* SERVER-25159 Default BSON validation version should depend on ↵Tess Avitabile2016-09-021-2/+2
| | | | admin.system.version
* SERVER-24508 BSONElement::ComparatorInterfaceDavid Storch2016-09-021-2/+3
|
* SERVER-24508 delete BSONObj::equal()David Storch2016-08-191-15/+0
| | | | | Instead, use comparator.evaluate(obj1 == obj2), where comparator is of type BSONObj::ComparatorInterface.
* SERVER-24521 Log redaction 'redact' functionsAndreas Nilsson2016-07-081-4/+5
|
* SERVER-24840 - Remove unnecessary parameters to BSONObj::toStringAndreas Nilsson2016-07-081-3/+3
|
* Revert "SERVER-24840 - Remove unnecessary parameters to BSONObj::toString"Andreas Nilsson2016-07-081-3/+3
| | | | This reverts commit 1d8c2e70a6c62b3a706b9c6657b3e7cc7e491db3.
* Revert "SERVER-24521 Log redaction 'redact' functions"Andreas Nilsson2016-07-081-5/+4
| | | | This reverts commit 396f6d57d51c7367e26a71ac35b95ae927cc0e3b.
* SERVER-24521 Log redaction 'redact' functionsAndreas Nilsson2016-07-071-4/+5
|
* SERVER-24840 - Remove unnecessary parameters to BSONObj::toStringAndreas Nilsson2016-07-071-3/+3
|
* SERVER-24418 Make Message and BufBuilder use SharedBuffer for memory managementMathias Stearn2016-06-221-3/+3
| | | | | | | | | | | | | 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-23114 Move functions involving dotted paths to separate library.Max Hirschhorn2016-06-031-157/+0
| | | | | | | | | | | | | | | | | | | | | | | | | The ability to specify a dotted path (e.g. "a.b") to traverse through embedded objects and array elements isn't defined in the BSON specification and so it doesn't belong in our BSON library. The following functions have been defined within a 'dotted_path_support' namespace and accept an additional BSONObj as their first argument to replace the associated method on the BSONObj class. - extractElementAtPath() is functionally equivalent to BSONObj::getFieldDotted(). - extractElementAtPathOrArrayAlongPath() is functionally equivalent to BSONObj::getFieldDottedOrArray(). - extractAllElementsAlongPath() is functionally equivalent to BSONObj::getFieldsDotted(). - extractElementsBasedOnTemplate() is functionally equivalent to BSONObj::extractFields(). - compareObjectsAccordingToSort() is functionally equivalent to BSONObj::woSortOrder().
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-23349 make CollatorInterface methods constDavid Storch2016-05-041-2/+2
| | | | Also changes all uses of CollatorInterface* to pointers-to-const.
* SERVER-22735 Extend woCompare() to optionally accept a ↵Tess Avitabile2016-03-241-4/+10
| | | | StringData::ComparatorInterface
* SERVER-20609 make BSON validation inlineableAdam Midvidy2015-11-101-44/+0
|
* SERVER-18978: Clang-Format - Fix comment word wrapping indentationMark Benvenuto2015-06-201-6/+6
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-774/+756
|
* SERVER-17629 Implemented Bounded Data View/CursorJason Carey (hanumantmk)2015-04-141-0/+67
| | | | | | | | | | | | 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.
* Support C++11 range-based for loops over BSONObjMathias Stearn2015-03-271-4/+0
|
* Merge bsonobjiterator.h/cpp into bsonobj.h/cppMathias Stearn2015-03-271-0/+41
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-11/+11
|
* Move BSON hashing functionality into BSONObj and BSONElementMathias Stearn2015-01-151-0/+10
|
* Remove BSONObj::hash() and BSONObj::md5()Mathias Stearn2014-12-081-10/+0
| | | | They were unused in incorrect.
* SERVER-16200 Reuse already computed field name when iteratingAndrew Morrow2014-11-201-1/+5
|
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-15210 SERVER-15211 remove OID undefined behavior and make it endian awareAdam Midvidy2014-09-191-0/+1
| | | | | | Closes #784 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14936 Give BSONObj::Holder a proper class lifecycleAndrew Morrow2014-08-191-18/+3
|
* SERVER-14889 wrapped all malloc/realloc calls within src/mongo with ↵Benety Goh2014-08-151-1/+2
| | | | | | mongoMalloc/mongoRealloc. if memory allocation fails, report error and exit.
* SERVER-14729 logging cleanup - removed mongo/util/log.h from headers, ↵Benety Goh2014-08-121-0/+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-14839 Remove unused BSONObj::[vV]als methodsAndrew Morrow2014-08-121-45/+0
|
* SERVER-14592 de-inline bson and remove bson namespaceEric Milkie2014-07-171-0/+276
|
* SERVER-14524 move jsobj.cpp components into proper filesEric Milkie2014-07-141-0/+592