summaryrefslogtreecommitdiff
path: root/src/mongo/bson/oid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "SERVER-34975 Treat an OID-embedded timestamp as unsigned."Justin Seyster2018-06-281-0/+4
| | | | This reverts commit a9deb701a7533b566a2eb703aff70bf2f03b147c.
* SERVER-34975 Treat an OID-embedded timestamp as unsigned.Justin Seyster2018-05-221-4/+0
|
* SERVER-21744 ElectionID always increases under PV0 and PV1.Siyuan Zhou2016-01-111-3/+6
| | | | Reset election id on PV upgrade and downgrade.
* SERVER-18717 compose electionId in OID format from termmatt dannenberg2015-06-261-0/+6
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-123/+120
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-4/+3
|
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-17629 Implemented Bounded Data View/CursorJason Carey (hanumantmk)2015-04-141-6/+6
| | | | | | | | | | | | 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.
* SERVER-17596 mongo::OID::asTimeT() and mongo::OID::asDateT() should be constroot2015-03-171-1/+1
| | | | | | Signed-off-by: Adam Midvidy <amidvidy@gmail.com> Closes #937
* SERVER-15210 SERVER-15211 remove OID undefined behavior and make it endian awareAdam Midvidy2014-09-191-118/+95
| | | | | | Closes #784 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14934 Move static builder strings to builder source rather than oidAndrew Morrow2014-08-191-18/+0
|
* SERVER-14587 Add hash function to OID so it can be stored in an unordered_mapSpencer T Brody2014-07-171-0/+6
|
* SERVER-6018 Replace AtomicUInt with AtomicUInt32 in OIDAndrew Morrow2014-05-171-4/+4
|
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-9809 Replace getpid() with ProcessId::getCurrent() and pid_t with ↵Andy Schwerin2013-06-031-10/+3
| | | | ProcessId.
* Only create a SecureRandom when neededMathias Stearn2013-01-191-2/+2
|
* Work around MSCV by using an enum, not a constantAndrew Morrow2012-11-181-2/+0
|
* Add a static constant to OID to capture its data sizeAndrew Morrow2012-11-181-1/+5
|
* remove file local SecureRandom and use local since its short livedEliot Horowitz2012-11-131-13/+5
|
* oid generation uses secureRandom rather than Security for randomnessEliot Horowitz2012-11-131-20/+17
|
* SERVER-6908 Don't pass strings by valueTad Marshall2012-08-311-1/+1
| | | | | Change lots of code to take <string> arguments by const ref instead of by value; minor changes to surrounding code.
* SERVER-5648 Replace old implementation of AtomicUInt64 with new one.Andy Schwerin2012-06-061-3/+3
|
* add OID::initSequentialEliot Horowitz2012-06-041-0/+22
|
* Headers, whitespace -- bson/oid.cppTad Marshall2012-06-011-10/+13
|
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-5/+4
|
* hack for older boost versions on 32-bit platformsEliot Horowitz2012-01-251-2/+3
|
* fix a case where boost assert definition snuck back into the bson include ↵dwight2011-12-281-5/+13
| | | | headers
* more include friendlydwight2011-12-271-0/+5
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+173