Commit Graph

5491 Commits

Author SHA1 Message Date
Wu, Ganhao
e8405ef751
Merge pull request #4 from wuganhao/feature/fix-linking-error
Fix - failed linking library.
2021-12-24 15:41:31 +08:00
Wu, Ganhao
138dde2269 Fix - failed linking library. 2021-12-24 06:26:02 +08:00
Wu, Ganhao
9e2fbdcdc3
Merge pull request #3 from wuganhao/feature/fix-no-wchar
Fix - no wide char string
2021-12-24 04:00:20 +08:00
Wu, Ganhao
00884d94cd Merge remote-tracking branch 'github/master' into feature/fix-no-wchar 2021-12-24 02:34:38 +08:00
Wu, Ganhao
e92882dbf0 Merge branch 'release/8.0' into feature/fix-no-wchar 2021-12-24 02:34:22 +08:00
Wu, Ganhao
9014aafa53
Merge pull request #2 from wuganhao/feature/nuget
Create pipeline to pack and push nuget package.
2021-12-23 22:36:35 +08:00
Wu, Ganhao
f78268dd14 Fix yaml syntax. 2021-12-23 18:55:41 +08:00
Wu, Ganhao
5613a2df48 Fix nuget packaging. 2021-12-23 18:33:33 +08:00
Wu, Ganhao
753cc919a2 Fix yaml syntax. 2021-12-23 18:18:37 +08:00
Wu, Ganhao
146e00d716 Fix yaml syntax. 2021-12-23 18:14:48 +08:00
Wu, Ganhao
0f00658e30 Fix yaml syntax. 2021-12-23 18:09:32 +08:00
Wu, Ganhao
22d9268546 Fix yaml syntax. 2021-12-23 18:04:53 +08:00
Wu, Ganhao
1846821a5f Fix yaml syntax. 2021-12-23 17:58:39 +08:00
Wu, Ganhao
884c0d5bdd Fix yaml syntax. 2021-12-23 17:48:15 +08:00
Wu, Ganhao
17bc23c72d Rename pipelines. 2021-12-23 17:34:08 +08:00
Wu, Ganhao
227109eef1 Create pipeline to pack and push nuget package. 2021-12-23 17:14:54 +08:00
Stefan Weil
fc2a376d8e Remove two expressions which had no effect (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-12-22 16:29:16 -08:00
Alexey Ochapov
c5aafd8f90 expose headers as SYSTEM depending on special configuration option 2021-12-19 08:29:51 -08:00
Victor Zverovich
eaddd1e3cd Fix handling of byte 2021-12-19 06:46:24 -08:00
Victor Zverovich
2d44577586 Try fixing byte regression 2021-12-18 08:51:21 -08:00
Alexey Ochapov
e46392ea2c deprecate _format UDL in code using FMT_DEPRECATED 2021-12-18 08:33:20 -08:00
Victor Zverovich
c882790a2e Add a set formatter 2021-12-18 07:35:40 -08:00
Victor Zverovich
121002d700 Add a map formatter 2021-12-18 07:12:53 -08:00
Victor Zverovich
be51ee1ceb Disable broken copy ctor of dynamic_format_arg_store 2021-12-17 17:18:18 -08:00
Victor Zverovich
659de779e6 Fix a UB in parse_format_specs when begin is null 2021-12-17 16:51:24 -08:00
Alexey Ochapov
51b14b6c0c remove commented out lines 2021-12-17 16:05:56 -08:00
Alexey Ochapov
223a0fa55d move gtest-specific check into gtest/CMakeLists.txt 2021-12-17 16:05:56 -08:00
Alexey Ochapov
ef72b471fc
enable named arguments check in compile-time checks (#2649)
works only if all named arguments are UDL-based
2021-12-17 15:53:05 -08:00
Alexey Ochapov
82246b8766
fix throw with exceptions disabled (#2647) 2021-12-17 13:44:36 -08:00
Victor Zverovich
35f60377aa
Update ChangeLog.rst 2021-12-17 06:49:29 -08:00
Wu, Ganhao
d5b72b2ea9
Merge pull request #1 from wuganhao/feature/nuget
Create Nuget Package.
2021-12-13 17:40:47 +08:00
Marek Kurdej
3a951a66cb
Avoid qualifying by inline namespace. Fixes #2642. (#2643) 2021-12-10 08:28:25 -08:00
Marek Kurdej
e0136fc8bd
Qualify calls to make_wformat_args. Fixes #2639. (#2641) 2021-12-10 06:36:42 -08:00
Victor Zverovich
ac1b5f3da5 Refactor problematic trailing returns in arg_mapper 2021-12-09 18:08:30 -08:00
Victor Zverovich
fd62fba985 Don't convert scoped enums to integers 2021-12-09 12:09:33 -08:00
Victor Zverovich
c652f8243a Make header guard consistent with header name 2021-12-09 10:49:47 -08:00
Victor Zverovich
a9c7b9b8f7 Clarify that _format is deprecated 2021-12-09 10:34:27 -08:00
Victor Zverovich
e4f0564aa6 Disable is_streamable for string[_view] 2021-12-09 10:02:18 -08:00
Victor Zverovich
91533d3c33 Minor tweaks to chrono subsecond formatting 2021-12-09 06:55:31 -08:00
matrackif
0bbc9708f9
Implement c++20 std::chrono::duration subsecond formatting (#2623)
* Add support for subsecond printing for std::chrono::duration according to the c++20 standard

* Remove assert test that overflows intmax_t

* * Hopefully fix int64_t to int32_t conversion errors.
* Allow proper Duration::rep type to propagate via template argument deduction

* * Hopefully fix int64_t to int32_t conversion errors.
* Allow proper Duration::rep type to propagate via template argument deduction

* Fix sign conversion (-Wsign-conversion) warning treated as error in num_digits()

* Format chrono.h with clang-format

* Remove extra forward slash in doxygen style comment

Co-authored-by: Victor Zverovich <victor.zverovich@gmail.com>

* Apply all suggestions from GitHub, except for replacing the utility subsecond_helper class with a function

* * Move logic of handling subseconds from utility class to function with name write_fractional_seconds()
* Revert write(Rep value, int width) function to previous state

* Fix -Wshadow warning

* Remove unsued get_subseconds() function, its logic has been moved to write_fractional_seconds()

* Change comment from lowercase int to uppercase Int

* Simplify test check

* Integrate suggested changes

* Remove static from detail functions, they are no longer member functions of a class and static is unnecessary.
* Change comment from "amount" to "number"

Co-authored-by: Victor Zverovich <victor.zverovich@gmail.com>
2021-12-09 06:45:13 -08:00
Vladislav Shchapov
9d5b9defde
Enable tzset only on Windows desktop app (#2633) 2021-12-07 15:22:36 -08:00
Victor Zverovich
215f21a038 Detect overflow on large precision 2021-12-05 07:26:58 -08:00
Vladislav Shchapov
c240d98ffd
Optimize tm formatting (Non C-locales and %Z) (#2617)
* Move fmt::detail::formatbuf to format.h

* Replace std::basic_ostringstream to std::basic_ostream with custom formatbuf

* Use tm.tm_zone
2021-12-04 11:02:31 -08:00
Wu, Ganhao
81a37d760e Remove unused pipeline. 2021-12-05 01:45:30 +08:00
Wu, Ganhao
0469e1d09a Fix nuspec 2021-12-05 01:10:27 +08:00
Wu, Ganhao
69869ca35a Update pipeline name. 2021-12-05 00:20:06 +08:00
Wu, Ganhao
5a00a8117f Generate x64 package only 2021-12-05 00:18:45 +08:00
Wu, Ganhao
e2e44de8b7 Initial nuget scripts 2021-12-05 00:12:04 +08:00
Wu, Ganhao
b40c84d513 Merge branch 'master' into feature/nuget 2021-12-04 23:36:49 +08:00
Andrew Corrigan
6ab73113fc
Mark grow as FMT_CONSTEXPR20 (#2630)
resolves https://github.com/fmtlib/fmt/issues/2627
2021-12-03 07:13:30 -08:00