Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-42067 Ensure key Ordering offset does not exceed the maximum number ↵ | Louis Williams | 2019-08-14 | 1 | -0/+3 |
| | | | | | | of compound index keys (cherry picked from commit fe4ca9897f8b8e91dc82fc15250e287da68cc83f) | ||||
* | SERVER-42657 Make DataType<BSONObj> noexcept safer4.2.0-rc8 | Jonathan Reams | 2019-08-07 | 2 | -4/+11 |
| | | | | (cherry picked from commit d7455e67f5b002de110f7972603906888aff66b8) | ||||
* | Apply formatting per `clang-format-7.0.1` | clang-format-7.0.1 | 2019-07-26 | 21 | -118/+79 |
| | |||||
* | SERVER-17311 Ensure BSONObj, RecordData, and SharedBuffer are noexcept moveable | Alya Berciu | 2019-06-03 | 1 | -0/+4 |
| | |||||
* | SERVER-40802 stop using boost::container::flat_set | Mathias Stearn | 2019-05-01 | 2 | -34/+0 |
| | |||||
* | SERVER-40802 move some expensive and commonly instantiated functions out of line | Mathias Stearn | 2019-05-01 | 3 | -30/+47 |
| | |||||
* | SERVER-40813 remove all -inl.h files | Billy Donahue | 2019-04-30 | 5 | -252/+386 |
| | |||||
* | SERVER-40253 Implement count command in IDL | Ted Tuckman | 2019-04-25 | 3 | -0/+205 |
| | |||||
* | SERVER-40476 merge contents of utils/stringutils into utils/str. | Billy Donahue | 2019-04-11 | 2 | -9/+7 |
| | |||||
* | SERVER-40476 remove mongoutils::str | Billy Donahue | 2019-04-09 | 6 | -37/+31 |
| | | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare. | ||||
* | SERVER-40476 remove mongoutils::str::equals | Billy Donahue | 2019-04-08 | 3 | -15/+22 |
| | |||||
* | SERVER-40356 Make ConstDataRange constructable from any byte-like type | Jonathan Reams | 2019-04-06 | 5 | -10/+10 |
| | |||||
* | SERVER-38623 Make safeNumberLongForHash consistent on all platforms | Justin Seyster | 2019-04-03 | 2 | -19/+18 |
| | | | | | | | | | | | | | | | Previously, the hash function for double values relied on undefined behavior when computing the hash for 2^63, meaning that it could give different results on different platforms. Almost all platforms we support returned -2^63 as the result of safeNumberLongForHash when the input was 2^63, so this patch makes that the official result. Now, safeNumberLongForHash will explicitly convert 2^63 to -2^63 on _all_ platforms without invoking any undefined behavior. Note that this does not change our guidance that using a hashed index for a field containing a floating point value greater than 2^53 is unsupported: https://docs.mongodb.com/manual/core/index-hashed/#considerations | ||||
* | SERVER-36024 Relax overzealous dassert in mutable bson | Andrew Morrow | 2019-03-29 | 2 | -29/+46 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 7 | -12/+16 |
| | | | | | | | | | | | 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 | ||||
* | Revert "SERVER-36243 Use sized deallocation." | Andrew Morrow | 2019-03-18 | 1 | -1/+1 |
| | | | | This reverts commit afe082642124dbda2367cb51c3d748873df9bf7b. | ||||
* | SERVER-36243 Use sized deallocation. | Henrik Edin | 2019-03-12 | 1 | -1/+1 |
| | | | | | Added mongoFree to be used when allocating memory with mongoMalloc. It has an overload taking size utilizing tc_free_sized if built with tcmalloc. | ||||
* | SERVER-37092 Remove old server parameter API | Sara Golemon | 2019-03-03 | 1 | -1/+0 |
| | |||||
* | SERVER-39863 remove std using namespace directives | Billy Donahue | 2019-02-28 | 1 | -6/+4 |
| | |||||
* | SERVER-38984 Validate unique User ID on UserCache hit | Sara Golemon | 2019-02-14 | 1 | -2/+8 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 66 | -97/+6 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-38176 Compile with /permissive- on MSVC to make the compiler strictly ↵ | Henrik Edin | 2019-02-01 | 1 | -1/+1 |
| | | | | standard conformant. | ||||
* | SERVER-38932 add BinData sub-type for encryption | Isabella Siu | 2019-01-22 | 2 | -0/+4 |
| | |||||
* | SERVER-38577 Implement internal match expression which matches a particular ↵ | vrachev | 2019-01-14 | 2 | -0/+20 |
| | | | | BinData subtype | ||||
* | SERVER-30711: scope_guard rewrite, to avoid -Werror=noexcept-type | Billy Donahue | 2019-01-11 | 1 | -2/+2 |
| | | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard | ||||
* | SERVER-36644 remove AtomicWord typedefs | Billy Donahue | 2019-01-07 | 1 | -2/+3 |
| | |||||
* | rewrite BSONElement::coerce as overloads rather than undefined template | Billy Donahue | 2018-12-27 | 2 | -18/+16 |
| | |||||
* | SERVER-38249 Implement stdx unordered_map and unordered_set as absl node ↵ | Henrik Edin | 2018-12-20 | 2 | -31/+0 |
| | | | | | | | | | | hash map/set. Remove stdx::unordered_multimap and multiset. Custom hashers to stdx::unordered_map are not trusted by default, we will rehash the produced hash with absl again to ensure we have a good hash function. | ||||
* | SERVER-38668 Use ordered_unique_range_t when creating flat_set from sorted ↵ | Henrik Edin | 2018-12-19 | 2 | -0/+17 |
| | | | | vector to get fast path in boost. | ||||
* | SERVER-37183 Safer bound for safeNumberLong() | Justin Seyster | 2018-12-07 | 3 | -1/+125 |
| | |||||
* | SERVER-38160 Allow compilation with Visual Studio 2017. | Henrik Edin | 2018-11-27 | 1 | -0/+8 |
| | | | | | | Take SCons MSCommon from SCons 3.0.1 Fix missing <intrin.h> includes Suppress constant arithmetic warnings in unit tests | ||||
* | SERVER-37124 Disambiguate DuplicateKey error and return keyPattern details ↵ | James Wahlin | 2018-11-16 | 2 | -5/+6 |
| | | | | in errorInfo object | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 66 | -850/+1016 |
| | |||||
* | SERVER-36272 Catch error in parsing values after % in URIs | Shreyas Kalyan | 2018-10-12 | 2 | -4/+5 |
| | |||||
* | SERVER-36517 Allow wildcard indexes to provide DISTINCT_SCAN | Bernard Gorman | 2018-10-11 | 1 | -1/+3 |
| | |||||
* | SERVER-36931 Handle returnKey option for $** indexes | yarai | 2018-09-21 | 2 | -14/+0 |
| | |||||
* | SERVER-36606: Allow construction of large BSON objects | Spencer Jackson | 2018-09-17 | 7 | -13/+150 |
| | |||||
* | SERVER-36576 Restore ostream formatters after change | Mark Benvenuto | 2018-09-06 | 1 | -2/+17 |
| | |||||
* | SERVER-36475 Reduce use of stringstream in BSONObj.jsonString | Kashish Garg | 2018-08-08 | 4 | -8/+35 |
| | |||||
* | SERVER-36108 speed up BSONArrayBuilder by counting in decimal | Geert Bosch | 2018-08-05 | 3 | -36/+96 |
| | | | | Now removed constexpr that broke Windows build. | ||||
* | Revert "SERVER-36108 speed up BSONArrayBuilder by counting in decimal" | Geert Bosch | 2018-08-03 | 3 | -96/+36 |
| | | | | This reverts commit ce9968b484b95fe3f08ffe1d15791e8fadc9e854. | ||||
* | SERVER-36108 speed up BSONArrayBuilder by counting in decimal | Geert Bosch | 2018-08-03 | 3 | -36/+96 |
| | |||||
* | SERVER-35896: Support 'replaceDocuments' mode in $out | Nick Zolnierz | 2018-08-02 | 2 | -16/+17 |
| | |||||
* | SERVER-35847 Remove eval command and remove/update related tests/helpers | Sara Golemon | 2018-06-29 | 2 | -2/+1 |
| | |||||
* | Revert "SERVER-34975 Treat an OID-embedded timestamp as unsigned." | Justin Seyster | 2018-06-28 | 3 | -6/+11 |
| | | | | This reverts commit a9deb701a7533b566a2eb703aff70bf2f03b147c. | ||||
* | SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵ | Andy Schwerin | 2018-06-22 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3). | ||||
* | SERVER-35135 Redact command payload when auditing edge case events | Billy Donahue | 2018-06-06 | 1 | -0/+1 |
| | | | | Add missing #include for mongo/bson/util/builder.h | ||||
* | SERVER-34975 Treat an OID-embedded timestamp as unsigned. | Justin Seyster | 2018-05-22 | 3 | -11/+6 |
| | |||||
* | SERVER-34730 Delete NetworkInterfaceASIO | Jonathan Reams | 2018-05-16 | 2 | -3/+4 |
| | |||||
* | SERVER-34805 Refactor the network libraries and move messages types to ↵ | Andrew Morrow | 2018-05-05 | 1 | -1/+1 |
| | | | | rpc/protocol |