-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebase master. #1
Commits on Jan 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 65ac626 - Browse repository at this point
Copy the full SHA 65ac626View commit details
Commits on Jan 14, 2020
-
Use FMT_NOEXCEPT instead of noexcept directly
Otherwise breaks on compilers without noexcept support
Configuration menu - View commit details
-
Copy full SHA for 77165fd - Browse repository at this point
Copy the full SHA 77165fdView commit details
Commits on Jan 15, 2020
-
Fix for older versions of intel compiler
The intel-17 and intel-18 compilers seem to require that `u` be `const`: ``` /src/fmt/format.h(226): warning #437: reference to local variable of enclosing function is not allowed char data[sizeof(u)]; ``` If `u` is declared as `const auto u =1u` instead of just `auto u=1u`, the file compiles with no warnings.
Configuration menu - View commit details
-
Copy full SHA for ae3ea15 - Browse repository at this point
Copy the full SHA ae3ea15View commit details -
Use C++11-compatible operations
The `std::is_base_of<T,U>()` and `std::is_reference<T>()` member functions were added in C++14. To maintain C++11 compatibility, use the `::value` instead. Current code fails on intel-17 and other compilers if using strict C++11
Configuration menu - View commit details
-
Copy full SHA for 55b6130 - Browse repository at this point
Copy the full SHA 55b6130View commit details -
The nvcc compiler (at least up to 9.2) defines `__SIZEOF_INT128__`, but doesn't support 128-bit integers on device code: ``` error: "fmt::v6::format_arg_store<fmt::v6::basic_format_context<std::back_insert_iterator<fmt::v6::internal::buffer<char>>, char>, const char *, int, const char *>" contains a 128-bit integer, which is not supported in device code ```
Configuration menu - View commit details
-
Copy full SHA for 4bbe57c - Browse repository at this point
Copy the full SHA 4bbe57cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8dd9cc - Browse repository at this point
Copy the full SHA c8dd9ccView commit details -
Use C++11 compatible std::is_same operations
The `operator()` member function of `std::is_same` was added in C++14. For C++11, the `::value` needs to be used instead.
Configuration menu - View commit details
-
Copy full SHA for 40638a7 - Browse repository at this point
Copy the full SHA 40638a7View commit details -
## Problem In the case of an existing `fmt` namespace (in my project this looks like `Project::fmt`) it is possible to get a namespace clash in debug builds (MSVC 2017) ## Proposed Solution When referencing `fmt` internally, be explicit that it is relative to the global namespace using `::fmt`
Configuration menu - View commit details
-
Copy full SHA for 4ccbe4b - Browse repository at this point
Copy the full SHA 4ccbe4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f11070 - Browse repository at this point
Copy the full SHA 1f11070View commit details
Commits on Jan 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f0e5dd - Browse repository at this point
Copy the full SHA 0f0e5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd5f34 - Browse repository at this point
Copy the full SHA ffd5f34View commit details -
Configuration menu - View commit details
-
Copy full SHA for b124e3e - Browse repository at this point
Copy the full SHA b124e3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11cc290 - Browse repository at this point
Copy the full SHA 11cc290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd4f54 - Browse repository at this point
Copy the full SHA 1bd4f54View commit details
Commits on Jan 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 06e437f - Browse repository at this point
Copy the full SHA 06e437fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd5f903 - Browse repository at this point
Copy the full SHA bd5f903View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd9738 - Browse repository at this point
Copy the full SHA 9bd9738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75765bf - Browse repository at this point
Copy the full SHA 75765bfView commit details
Commits on Jan 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e5f2f8c - Browse repository at this point
Copy the full SHA e5f2f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3a817 - Browse repository at this point
Copy the full SHA 8a3a817View commit details
Commits on Jan 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b4218aa - Browse repository at this point
Copy the full SHA b4218aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7800173 - Browse repository at this point
Copy the full SHA 7800173View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d3968 - Browse repository at this point
Copy the full SHA 47d3968View commit details -
Configuration menu - View commit details
-
Copy full SHA for a844d7a - Browse repository at this point
Copy the full SHA a844d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1cabe - Browse repository at this point
Copy the full SHA fd1cabeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2eb65 - Browse repository at this point
Copy the full SHA 0b2eb65View commit details
Commits on Jan 22, 2020
-
Fix so can work without locale defined
If `FMT_STATIC_THOUSANDS_SEPARATOR` defined, then locale is not included or defined, so this call will be unresolved. I think this is the correct fix based on the code in `format-inl.h` and `format.h`
Configuration menu - View commit details
-
Copy full SHA for 25d6916 - Browse repository at this point
Copy the full SHA 25d6916View commit details
Commits on Jan 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9fc4161 - Browse repository at this point
Copy the full SHA 9fc4161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 419db8b - Browse repository at this point
Copy the full SHA 419db8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09a1324 - Browse repository at this point
Copy the full SHA 09a1324View commit details
Commits on Jan 24, 2020
-
Fix formatting std::chrono::duration types to wide strings (#1533)
* Fix formatting chrono durations to wide strings * Make format buffers const correct * Add FormatWide chrono test case * Fix incorrect wide encoding of 'µs' I think might be a source file encoding issue, so I used \u00B5 instead. * Update FormatWide test to use proper encoding of µs * Revert changes to format_localized's parameters * Use different overload of `std::time_put<T>::put` to avoid needing a format string * Use utf8_to_utf16 instead of having redundant overloads of get_units * Revert some minor changes * Remove FMT_CONSTEXPR from expression This should hopefully fix compilation on VS <2019 * Make suggested changes from code review * Run clang-format on chrono.h * Make sure unit isn't null before constructing a string_view from it
Configuration menu - View commit details
-
Copy full SHA for 1acb73f - Browse repository at this point
Copy the full SHA 1acb73fView commit details