Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-40160 Remove `if_constexpr.h` header. | ADAM David Alan Martin | 2019-07-27 | 1 | -1/+0 |
| | | | | | | | This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore. | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -5/+8 |
| | |||||
* | SERVER-7143 replace standard library number parsing with custom NumberParser | Nathan Brown | 2019-06-27 | 1 | -198/+396 |
| | |||||
* | SERVER-40476 remove mongoutils::str | Billy Donahue | 2019-04-09 | 1 | -4/+3 |
| | | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare. | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+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/+16 |
| | |||||
* | SERVER-31227 clean up and optimize parseNumberFromString | Mathias Stearn | 2017-09-29 | 1 | -1/+48 |
| | |||||
* | SERVER-23420 Remove use of GNU extensions in parse_number_test.cpp | Mark Benvenuto | 2016-12-27 | 1 | -3/+3 |
| | |||||
* | SERVER-24651 Add and use string data literals | Jason Carey | 2016-06-17 | 1 | -3/+1 |
| | | | | Replace StringData("foo", StringData::LiteralTag()) with "foo"_sd | ||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | SERVER-18928: replace "mongo/platform/cstdint.h" with <cstdint> | Kang In Cheol | 2015-06-29 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com> Closes #988 | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -235/+225 |
| | |||||
* | SERVER-17552 Use correct OS detection macros, rather than our own | Andrew Morrow | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | SERVER-8944 Use C++11 standard library functions for double NaN and Infinity ↵ | Siyuan Zhou | 2015-02-05 | 1 | -4/+4 |
| | | | | detection | ||||
* | SERVER-13256 Remove pch.h | Andrew Morrow | 2015-01-15 | 1 | -3/+0 |
| | |||||
* | SERVER-13256 Prohibit new uses of pch.h | Andrew Morrow | 2015-01-05 | 1 | -0/+3 |
| | |||||
* | SERVER-14110 Take responsibility for numerical conversions away from boost ↵ | Shaun Verch | 2014-06-02 | 1 | -0/+1 |
| | | | | program options | ||||
* | SERVER-8886 Final set of license exceptions for OpenSSL | Ian Whalen | 2013-12-10 | 1 | -0/+12 |
| | |||||
* | SERVER-8936 use proper macro name for Solaris | Eric Milkie | 2013-03-14 | 1 | -1/+1 |
| | |||||
* | SERVER-8936 Do not test parsing hexadecimal floating point on Solaris; not ↵ | Andy Schwerin | 2013-03-14 | 1 | -2/+2 |
| | | | | supported. | ||||
* | SERVER-8936 Improved Windows support of parseNumberFromString<double>(). | Andy Schwerin | 2013-03-12 | 1 | -3/+11 |
| | | | | | | | | | Separately parse +/-infinity and nan, which Windows strtod does not handle. When testing on Windows, do not test parsing hexadecimal floating point representations, which Windows strtod does not support. Reenable the parse_number_test. | ||||
* | SERVER-8936 Fix parse_number_test on RHEL5 32-bit and Windows. | Andy Schwerin | 2013-03-11 | 1 | -5/+6 |
| | | | | | | For RHEL5 32-bit, use a number much closer to 0 for underflow testing. For 32-bit Windows, switch to mongo::isNaN and mongo::isInf. | ||||
* | Implement parseNumberFromStringWithBase<double>(). | Andy Schwerin | 2013-03-11 | 1 | -0/+64 |
| | |||||
* | Fix handling of short, invalid inputs to parseNumberFromString() and its ilk. | Andy Schwerin | 2013-01-09 | 1 | -3/+27 |
| | | | | | | There were two notable bugs. The strings "+" and "-" were parsing successfully as the number 0. The strings "0x" and "0X" were also parsing successfully as the number 0, when they should be an error. | ||||
* | Implement parseNumberFromString directly, rather than through strtol, and ↵ | Andy Schwerin | 2012-12-07 | 1 | -4/+56 |
| | | | | support StringData. | ||||
* | Move ASSERT_OK macro into mongo/unittest/unittest.h. | Andy Schwerin | 2012-11-06 | 1 | -2/+0 |
| | | | | Previously, every test file that wanted it was defining it. | ||||
* | Revert "Support templated unittest test suites." | Mathias Stearn | 2012-10-01 | 1 | -24/+46 |
| | | | | This reverts commit b897ff2d1d6c32e43f4efbcbd4956b645bd3eb8b. | ||||
* | Support templated unittest test suites. | Mathias Stearn | 2012-09-30 | 1 | -46/+24 |
| | |||||
* | parseNumberFromString* functions | Andy Schwerin | 2012-09-25 | 1 | -0/+152 |
A uniform interface for parsing numbers out of strings, with implementations for the standard integer types. Extension to double should be straightforward. Tests included. |