Skip to content

Commit

Permalink
deps: bump libfmt to v10.0.0 (#5635)
Browse files Browse the repository at this point in the history
seems to be semver/minor safe for our API use

Fixes #5511.

Possibly fixes #5627.
  • Loading branch information
ckerr committed Jun 18, 2023
1 parent 1664088 commit fd583ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gtk/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ void register_magnet_link_handler()
_("Couldn't register Transmission as a {content_type} handler: {error} ({error_code})"),
fmt::arg("content_type", content_type),
fmt::arg("error", e.what()),
fmt::arg("error_code", e.code())));
fmt::arg("error_code", static_cast<int>(e.code()))));
}
}

Expand Down
2 changes: 1 addition & 1 deletion libtransmission/file-posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ tr_sys_file_t tr_sys_file_get_std(tr_std_sys_file_t std_file, tr_error** error)
break;

default:
TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), std_file));
TR_ASSERT_MSG(false, fmt::format(FMT_STRING("unknown standard file {:d}"), static_cast<int>(std_file)));
tr_error_set_from_errno(error, EINVAL);
}

Expand Down
2 changes: 1 addition & 1 deletion libtransmission/variant-json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error, jsonsl_state_st* /*state*
fmt::arg("position", jsn->pos),
fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
fmt::arg("error", jsonsl_strerror(error)),
fmt::arg("error_code", error)));
fmt::arg("error_code", static_cast<int>(error))));
}

int error_callback(jsonsl_t jsn, jsonsl_error_t error, struct jsonsl_state_st* state, jsonsl_char_t* at)
Expand Down
2 changes: 1 addition & 1 deletion third-party/fmt
Submodule fmt updated 71 files
+3 −2 .github/pull_request_template.md
+30 −0 .github/workflows/cifuzz.yml
+9 −1 .github/workflows/doc.yml
+30 −13 .github/workflows/linux.yml
+7 −2 .github/workflows/macos.yml
+52 −15 .github/workflows/windows.yml
+93 −45 CMakeLists.txt
+560 −2 ChangeLog.rst
+1 −1 LICENSE.rst
+21 −15 README.rst
+11 −2 doc/CMakeLists.txt
+158 −127 doc/api.rst
+2 −3 doc/build.py
+1 −1 doc/index.rst
+137 −11 doc/syntax.rst
+476 −289 include/fmt/chrono.h
+15 −33 include/fmt/color.h
+25 −21 include/fmt/compile.h
+565 −894 include/fmt/core.h
+97 −149 include/fmt/format-inl.h
+1,009 −466 include/fmt/format.h
+40 −67 include/fmt/os.h
+79 −83 include/fmt/ostream.h
+93 −54 include/fmt/printf.h
+280 −179 include/fmt/ranges.h
+200 −27 include/fmt/std.h
+40 −13 include/fmt/xchar.h
+40 −23 src/fmt.cc
+1 −5 src/format.cc
+89 −60 src/os.cc
+3 −3 support/Vagrantfile
+0 −43 support/appveyor-build.py
+0 −31 support/appveyor.yml
+0 −1 support/bazel/.bazelrc
+1 −1 support/bazel/.bazelversion
+2 −2 support/bazel/BUILD.bazel
+5 −4 support/bazel/README.md
+1 −1 support/build.gradle
+0 −54 support/cmake/cxx14.cmake
+6 −0 support/manage.py
+17 −6 test/CMakeLists.txt
+1 −1 test/add-subdirectory-test/CMakeLists.txt
+1 −1 test/args-test.cc
+367 −20 test/chrono-test.cc
+2 −2 test/compile-error-test/CMakeLists.txt
+10 −5 test/compile-test.cc
+84 −227 test/core-test.cc
+2 −0 test/enforce-checks-test.cc
+1 −1 test/find-package-test/CMakeLists.txt
+174 −9 test/format-impl-test.cc
+268 −308 test/format-test.cc
+1 −1 test/fuzzing/CMakeLists.txt
+2 −0 test/gtest-extra-test.cc
+1 −6 test/gtest-extra.h
+1 −7 test/gtest/CMakeLists.txt
+2 −2 test/gtest/gmock-gtest-all.cc
+2 −2 test/mock-allocator.h
+36 −88 test/module-test.cc
+15 −56 test/os-test.cc
+16 −47 test/ostream-test.cc
+1 −7 test/posix-mock-test.cc
+0 −2 test/posix-mock.h
+4 −9 test/printf-test.cc
+124 −35 test/ranges-test.cc
+1 −1 test/scan-test.cc
+16 −11 test/scan.h
+1 −1 test/static-export-test/CMakeLists.txt
+158 −21 test/std-test.cc
+4 −4 test/unicode-test.cc
+2 −6 test/util.h
+130 −47 test/xchar-test.cc

0 comments on commit fd583ac

Please sign in to comment.