Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply formatting per `clang-format-7.0.1` | clang-format-7.0.1 | 2019-07-26 | 1 | -1/+1 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -3/+4 |
| | | | | | | | | | | | 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 | ||||
* | 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-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -14/+17 |
| | |||||
* | SERVER-28094 Remove the StaticObserver | Andrew Morrow | 2017-02-27 | 1 | -7/+3 |
| | |||||
* | SERVER-24104 Fix OSX include-what-you-use induced build failure. | Andy Schwerin | 2016-05-17 | 1 | -0/+2 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -45/+47 |
| | |||||
* | SERVER-19041 Simplify SimpleMutex | Andrew Morrow | 2015-06-19 | 1 | -75/+33 |
| | |||||
* | SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard | Adam Midvidy | 2015-06-17 | 1 | -3/+2 |
| | |||||
* | SERVER-18991 Replace all usages of boost::noncopyable with ↵ | Andrew Morrow | 2015-06-16 | 1 | -7/+14 |
| | | | | MONGO_DISALLOW_COPYING | ||||
* | SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp. | Andy Schwerin | 2015-06-16 | 1 | -34/+10 |
| | |||||
* | SERVER-17796: Free the CriticalSection in the destructor | Mark Benvenuto | 2015-05-04 | 1 | -0/+5 |
| | |||||
* | SERVER-11020 Don't overload the meaning of _DEBUG, use our own debug macro | Andrew Morrow | 2015-03-27 | 1 | -1/+1 |
| | |||||
* | SERVER-9563 Add support for config.h header | Jonathan Reams | 2015-03-26 | 1 | -1/+0 |
| | |||||
* | SERVER-17310 Make mongo::mutex a typedef of boost::mutex and remove ↵ | Andy Schwerin | 2015-03-12 | 1 | -39/+1 |
| | | | | mongo::scoped_lock. | ||||
* | SERVER-17310 Replace boost::*_mutex::scoped_lock with boost::lock_guard. | Andy Schwerin | 2015-03-05 | 1 | -14/+2 |
| | | | | | | | | | Achieved via grep, sed and bash: grep -Irl mutex::scoped_lock src/mongo | xargs sed -i.orig -E 's/(boost::(recursive_|timed_)?)mutex::scoped_lock/boost::lock_guard<\1mutex>/' Then, by converting boost::lock_guard to boost::unique_lock as appropriate. Finally, by removing unused mongo::mutex::try_lock. | ||||
* | SERVER-16940 Change pass-by-const-ref of StringData to pass-by-value | Tyler Brock | 2015-02-06 | 1 | -3/+3 |
| | |||||
* | SERVER-15710 Add better leak sanitizer integration | Andrew Morrow | 2014-10-29 | 1 | -1/+4 |
| | |||||
* | SERVER-14850 Remove the mutex debugger and associated undefined behavior | Andrew Morrow | 2014-08-12 | 1 | -19/+0 |
| | |||||
* | SERVER-13256: Remove pch - qualify std in headers | Mark Benvenuto | 2014-05-19 | 1 | -1/+1 |
| | |||||
* | SERVER-13264 Move Apache-licensed files to AGPL | Ian Whalen | 2014-05-16 | 1 | -9/+21 |
| | | | | Also update generators. | ||||
* | SERVER-12265: for SimpleMutex, change name from char* to StringData | Eliot Horowitz | 2014-01-24 | 1 | -3/+3 |
| | |||||
* | file/line for mutex name using only preprocessor | Greg Studer | 2013-04-19 | 1 | -0/+9 |
| | |||||
* | SERVER-6449 - decide which BOSOT::TIME_UTC variant to use at compile time | Eliot Horowitz | 2012-07-14 | 1 | -1/+2 |
| | |||||
* | SERVER-6340 Use TIME_UTC_ rather than TIME_UTC | Mathias Stearn | 2012-07-10 | 1 | -1/+1 |
| | | | | | | This avoids a compilation failure with glibc-2.16 or any other C11 libc. Boost made the same change for boost-1.50: https://svn.boost.org/trac/boost/ticket/6940 | ||||
* | SERVER-5867 Use CRITICAL_SECTION for non-SRW Windows locks | Tad Marshall | 2012-05-19 | 1 | -7/+6 |
| | | | | | | | | | | | Also related to SERVER-2942. The non-2008plus Windows builds was using the Microsoft Concurrency Runtime for the SimpleMutex class, but this interacts badly with the Windows memory hooking code added for SERVER-2942. A call to VirtualAlloc during thread creation would take out the SimpleMutex for RemapLock, which (through the Concurrency Runtime) make another call into VirtualAlloc, deadlocking the thread. I changed SimpleMutex to use the Win32 CRITICAL_SECTION APIs, which do not allocate memory when taking the critical section. | ||||
* | fix Windows compilation issues | Eric Milkie | 2012-04-06 | 1 | -2/+2 |
| | | | | | We are using CRITICAL_SECTION as a adaptive spinlock here so we must include windows.h | ||||
* | fix compilation issues on Windows -- use critical_section class to avoid ↵ | Eric Milkie | 2012-04-05 | 1 | -27/+20 |
| | | | | windows.h | ||||
* | Split mongo/dbtests/framework into a general unit test framework and a ↵ | Andy Schwerin | 2012-04-03 | 1 | -0/+3 |
| | | | | dbtests instance. | ||||
* | SERVER-5348 make dbclient.h the main C++ driver include file | Eric Milkie | 2012-04-02 | 1 | -4/+0 |
| | | | | | | | | This change fixes some #defines of common C functions so that their definitions do not leak into consumer code. I also had to change Labeler SIZE because it conflicts with Windows SIZE. pch.h is on its way out, but for now it's hanging around. | ||||
* | replace assert with verify SERVER-1259 | Eliot Horowitz | 2012-03-26 | 1 | -7/+8 |
| | |||||
* | fix dassertLocked for windows false positives | dwight | 2012-02-14 | 1 | -19/+7 |
| | |||||
* | more include friendly | dwight | 2011-12-27 | 1 | -8/+1 |
| | |||||
* | bulk move of code to src/ SERVER-4551 | Eliot Horowitz | 2011-12-24 | 1 | -0/+228 |