Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-60342 Clean up OID string handling | Sara Golemon | 2021-10-05 | 1 | -3/+25 |
| | |||||
* | SERVER-40811 make initializers throwy | Billy Donahue | 2020-12-08 | 1 | -2/+1 |
| | | | | | | | - Consolidate init-related headers (just init.h and initializer.h) - Factor out a separate DependencyGraph component - Remove MONGO_DEFAULT_PREREQUISITES, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS. - Document the role of the "default" initializer. | ||||
* | SERVER-43909 clarify and repair util/hex.h API | Billy Donahue | 2020-09-15 | 1 | -7/+5 |
| | | | | | | | - hexblob namespace - Throwy hexblob::decode (nee fromHex) - StringData overloads of hex codec ops - add unsignedHex<T> and zeroPaddedHex<T> | ||||
* | SERVER-43641 upgrade random.h | Billy Donahue | 2019-10-09 | 1 | -7/+6 |
| | | | | This reverts commit a40b196bd3cecd0b66a6323f57e6f08efe0af392. | ||||
* | Revert "SERVER-43641 upgrade random.h" | James Wahlin | 2019-10-02 | 1 | -6/+7 |
| | | | | This reverts commit 96da177c6ae7b7ed0f29983ad033d8a59524b0b2. | ||||
* | SERVER-43641 upgrade random.h | Billy Donahue | 2019-10-02 | 1 | -7/+6 |
| | | | | | | | | | | | | | | | | | | | | | Respecify PseudoRandom and SecureRandom as template instances of a `mongo::RandomBase<Urbg>` (Urbg is a UniformRandomBitGenerator). They will only vary in which algorithm they use for their source bits, and should otherwise support the same exact operations (e.g. `nextCanonicalDouble`). Fix range and stats errors in the implementations of those RandomBase methods, and specify them in terms of the vetted `<random>` facilities. Test uniformity of nextInt32(max), which uses an inappropriate ( x % max) operation. Verify that refactor fixes this issue. Just keep a shared urandom file descriptor open. SecureRandom add fill, remove create, fix callers Obsoletes SERVER-43643 Re: SecureRandom 8kiB buffering | ||||
* | SERVER-41071 Replace NULL and 0 with nullptr | A. Jesse Jiryu Davis | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -3/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-36644 remove AtomicWord typedefs | Billy Donahue | 2019-01-07 | 1 | -2/+3 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -14/+17 |
| | |||||
* | SERVER-36272 Catch error in parsing values after % in URIs | Shreyas Kalyan | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | Revert "SERVER-34975 Treat an OID-embedded timestamp as unsigned." | Justin Seyster | 2018-06-28 | 1 | -0/+4 |
| | | | | This reverts commit a9deb701a7533b566a2eb703aff70bf2f03b147c. | ||||
* | SERVER-34975 Treat an OID-embedded timestamp as unsigned. | Justin Seyster | 2018-05-22 | 1 | -4/+0 |
| | |||||
* | SERVER-21744 ElectionID always increases under PV0 and PV1. | Siyuan Zhou | 2016-01-11 | 1 | -3/+6 |
| | | | | Reset election id on PV upgrade and downgrade. | ||||
* | SERVER-18717 compose electionId in OID format from term | matt dannenberg | 2015-06-26 | 1 | -0/+6 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -123/+120 |
| | |||||
* | SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -4/+3 |
| | |||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-13 | 1 | -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 Schwerin | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error. | ||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-12 | 1 | -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/Cursor | Jason Carey (hanumantmk) | 2015-04-14 | 1 | -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 const | root | 2015-03-17 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Adam Midvidy <amidvidy@gmail.com> Closes #937 | ||||
* | SERVER-15210 SERVER-15211 remove OID undefined behavior and make it endian aware | Adam Midvidy | 2014-09-19 | 1 | -118/+95 |
| | | | | | | Closes #784 Signed-off-by: Benety Goh <benety@mongodb.com> | ||||
* | SERVER-14934 Move static builder strings to builder source rather than oid | Andrew Morrow | 2014-08-19 | 1 | -18/+0 |
| | |||||
* | SERVER-14587 Add hash function to OID so it can be stored in an unordered_map | Spencer T Brody | 2014-07-17 | 1 | -0/+6 |
| | |||||
* | SERVER-6018 Replace AtomicUInt with AtomicUInt32 in OID | Andrew Morrow | 2014-05-17 | 1 | -4/+4 |
| | |||||
* | SERVER-13264 Move Apache-licensed files to AGPL | Ian Whalen | 2014-05-16 | 1 | -9/+21 |
| | | | | Also update generators. | ||||
* | SERVER-9809 Replace getpid() with ProcessId::getCurrent() and pid_t with ↵ | Andy Schwerin | 2013-06-03 | 1 | -10/+3 |
| | | | | ProcessId. | ||||
* | Only create a SecureRandom when needed | Mathias Stearn | 2013-01-19 | 1 | -2/+2 |
| | |||||
* | Work around MSCV by using an enum, not a constant | Andrew Morrow | 2012-11-18 | 1 | -2/+0 |
| | |||||
* | Add a static constant to OID to capture its data size | Andrew Morrow | 2012-11-18 | 1 | -1/+5 |
| | |||||
* | remove file local SecureRandom and use local since its short lived | Eliot Horowitz | 2012-11-13 | 1 | -13/+5 |
| | |||||
* | oid generation uses secureRandom rather than Security for randomness | Eliot Horowitz | 2012-11-13 | 1 | -20/+17 |
| | |||||
* | SERVER-6908 Don't pass strings by value | Tad Marshall | 2012-08-31 | 1 | -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 Schwerin | 2012-06-06 | 1 | -3/+3 |
| | |||||
* | add OID::initSequential | Eliot Horowitz | 2012-06-04 | 1 | -0/+22 |
| | |||||
* | Headers, whitespace -- bson/oid.cpp | Tad Marshall | 2012-06-01 | 1 | -10/+13 |
| | |||||
* | replace assert with verify SERVER-1259 | Eliot Horowitz | 2012-03-26 | 1 | -5/+4 |
| | |||||
* | hack for older boost versions on 32-bit platforms | Eliot Horowitz | 2012-01-25 | 1 | -2/+3 |
| | |||||
* | fix a case where boost assert definition snuck back into the bson include ↵ | dwight | 2011-12-28 | 1 | -5/+13 |
| | | | | headers | ||||
* | more include friendly | dwight | 2011-12-27 | 1 | -0/+5 |
| | |||||
* | bulk move of code to src/ SERVER-4551 | Eliot Horowitz | 2011-12-24 | 1 | -0/+173 |