summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options_init.cpp
AgeCommit message (Collapse)Author
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2022-07-07SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser
- Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop
2020-12-08SERVER-40811 make initializers throwyBilly Donahue
- 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.
2019-07-27SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.1
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2019-01-09SERVER-38551 Convert message compressor options to IDLSara Golemon
2018-11-27SERVER-38238 Convert shell options to IDLSara Golemon
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2016-05-17SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin
The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
2016-04-04SERVER-23044 Fall back to system CA certs if CA file isn't providedJonathan Reams
2016-04-04Revert "SERVER-23044 Fall back to system CA certs if CA file isn't provided"Jonathan Reams
This reverts commit 22e4df34c0f7a54bbb847f0b13507d54dc0e9cbd.
2016-04-04SERVER-23044 Fall back to system CA certs if CA file isn't providedJonathan Reams
2015-06-20SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto
2015-01-05SERVER-13256 Scope iostream more narrowlyAndrew Morrow
2014-10-03SERVER-15504 Flow all calls to _exit through quickExitAndrew Morrow
2014-09-25SERVER-14713: User must specify either sslAllowInvalidCertificates or ↵Amalia Hawkins
sslCAFile when starting mongo shell in SSL mode.
2014-09-25Revert "SERVER-14713: User must specify either sslAllowInvalidCertificates ↵Eric Milkie
or sslCAFile when starting mongo shell in SSL mode." This reverts commit 0c46836a9befaff86825a8238027c8b4223ca14c.
2014-09-24SERVER-14713: User must specify either sslAllowInvalidCertificates or ↵Amalia Hawkins
sslCAFile when starting mongo shell in SSL mode.
2013-12-10SERVER-8886 Final set of license exceptions for OpenSSLIan Whalen
2013-10-24SERVER-11144 Swap meaning of prevalidation return value and add commentShaun Verch
2013-10-23SERVER-11144 Create unit tests for registration in all option filesShaun Verch