Skip to content

Commit

Permalink
Upgrade all dependencies (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu authored Apr 8, 2022
1 parent 0a0d581 commit cde5dbf
Show file tree
Hide file tree
Showing 6 changed files with 18,241 additions and 10,870 deletions.
2 changes: 1 addition & 1 deletion ext/cli11
Submodule cli11 updated 141 files
2 changes: 1 addition & 1 deletion ext/fmt
Submodule fmt updated 128 files
29,089 changes: 18,229 additions & 10,860 deletions ext/json/json.hpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ext/pybind11
Submodule pybind11 updated 204 files
2 changes: 1 addition & 1 deletion ext/spdlog
Submodule spdlog updated 82 files
+9 −0 .gitignore
+12 −9 .travis.yml
+15 −12 CMakeLists.txt
+32 −3 README.md
+37 −1 appveyor.yml
+4 −3 bench/CMakeLists.txt
+4 −2 bench/async_bench.cpp
+10 −8 bench/bench.cpp
+3 −2 cmake/spdlogConfig.cmake.in
+83 −8 example/example.cpp
+13 −7 include/spdlog/async.h
+2 −2 include/spdlog/async_logger-inl.h
+4 −0 include/spdlog/common-inl.h
+101 −18 include/spdlog/common.h
+26 −1 include/spdlog/details/file_helper-inl.h
+3 −1 include/spdlog/details/file_helper.h
+56 −4 include/spdlog/details/fmt_helper.h
+2 −2 include/spdlog/details/mpmc_blocking_q.h
+23 −12 include/spdlog/details/os-inl.h
+2 −2 include/spdlog/details/os.h
+1 −1 include/spdlog/details/synchronous_factory.h
+13 −28 include/spdlog/details/tcp_client-windows.h
+1 −2 include/spdlog/details/tcp_client.h
+10 −3 include/spdlog/details/thread_pool-inl.h
+2 −1 include/spdlog/details/thread_pool.h
+111 −0 include/spdlog/details/udp_client-windows.h
+94 −0 include/spdlog/details/udp_client.h
+46 −17 include/spdlog/fmt/bin_to_hex.h
+2 −0 include/spdlog/fmt/bundled/args.h
+970 −211 include/spdlog/fmt/bundled/chrono.h
+23 −12 include/spdlog/fmt/bundled/color.h
+14 −11 include/spdlog/fmt/bundled/compile.h
+490 −256 include/spdlog/fmt/bundled/core.h
+27 −0 include/spdlog/fmt/bundled/fmt.license.rst
+286 −263 include/spdlog/fmt/bundled/format-inl.h
+588 −314 include/spdlog/fmt/bundled/format.h
+30 −18 include/spdlog/fmt/bundled/os.h
+31 −77 include/spdlog/fmt/bundled/ostream.h
+12 −7 include/spdlog/fmt/bundled/printf.h
+436 −111 include/spdlog/fmt/bundled/ranges.h
+5 −5 include/spdlog/fmt/bundled/xchar.h
+9 −7 include/spdlog/fmt/chrono.h
+10 −8 include/spdlog/fmt/compile.h
+3 −1 include/spdlog/fmt/fmt.h
+9 −7 include/spdlog/fmt/ostr.h
+22 −0 include/spdlog/fmt/ranges.h
+10 −8 include/spdlog/fmt/xchar.h
+4 −0 include/spdlog/fwd.h
+2 −2 include/spdlog/logger-inl.h
+81 −37 include/spdlog/logger.h
+35 −5 include/spdlog/pattern_formatter-inl.h
+3 −2 include/spdlog/pattern_formatter.h
+2 −2 include/spdlog/sinks/ansicolor_sink-inl.h
+2 −2 include/spdlog/sinks/base_sink.h
+2 −1 include/spdlog/sinks/basic_file_sink-inl.h
+7 −5 include/spdlog/sinks/basic_file_sink.h
+68 −16 include/spdlog/sinks/daily_file_sink.h
+10 −8 include/spdlog/sinks/hourly_file_sink.h
+1 −0 include/spdlog/sinks/mongo_sink.h
+4 −0 include/spdlog/sinks/msvc_sink.h
+45 −36 include/spdlog/sinks/qt_sinks.h
+4 −0 include/spdlog/sinks/ringbuffer_sink.h
+27 −6 include/spdlog/sinks/rotating_file_sink-inl.h
+10 −7 include/spdlog/sinks/rotating_file_sink.h
+3 −3 include/spdlog/sinks/stdout_sinks-inl.h
+30 −14 include/spdlog/sinks/systemd_sink.h
+74 −0 include/spdlog/sinks/udp_sink.h
+23 −10 include/spdlog/sinks/win_eventlog_sink.h
+17 −17 include/spdlog/spdlog.h
+10 −3 include/spdlog/stopwatch.h
+13 −3 include/spdlog/tweakme.h
+2 −2 include/spdlog/version.h
+43 −1 src/fmt.cpp
+3,860 −1,273 tests/catch.hpp
+2 −2 tests/test_async.cpp
+41 −5 tests/test_daily_logger.cpp
+13 −1 tests/test_errors.cpp
+68 −1 tests/test_file_helper.cpp
+11 −2 tests/test_file_logging.cpp
+20 −0 tests/test_fmt_helper.cpp
+4 −12 tests/test_macros.cpp
+59 −5 tests/test_pattern_formatter.cpp
14 changes: 8 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ int main(int argc, const char* argv[]) {
app.get_formatter()->column_width(40);
app.set_help_all_flag("-H,--help-all", "Print this help message including all sub-commands");

app.add_option("--verbose", verbose, "Verbosity of logger output", true)
app.add_option("--verbose", verbose, "Verbosity of logger output")
->capture_default_str()
->ignore_case()
->check(CLI::IsMember({"trace", "debug", "info", "warning", "error", "critical", "off"}));

Expand All @@ -172,11 +173,13 @@ int main(int argc, const char* argv[]) {
->required()
->check(CLI::ExistingFile);

app.add_option("-o,--output", output_dir, "Directory for backend code output", true)
app.add_option("-o,--output", output_dir, "Directory for backend code output")
->capture_default_str()
->ignore_case();
app.add_option("--scratch", scratch_dir, "Directory for intermediate code output", true)
app.add_option("--scratch", scratch_dir, "Directory for intermediate code output")
->capture_default_str()
->ignore_case();
app.add_option("--units", units_dir, "Directory of units lib file", true)->ignore_case();
app.add_option("--units", units_dir, "Directory of units lib file")->capture_default_str()->ignore_case();

auto host_opt = app.add_subcommand("host", "HOST/CPU code backends")->ignore_case();
host_opt->add_flag("--c", c_backend, "C/C++ backend ({})"_format(c_backend))->ignore_case();
Expand Down Expand Up @@ -254,8 +257,7 @@ int main(int argc, const char* argv[]) {
auto codegen_opt = app.add_subcommand("codegen", "Code generation options")->ignore_case();
codegen_opt->add_option("--datatype",
data_type,
"Data type for floating point variables",
true)->ignore_case()->check(CLI::IsMember({"float", "double"}));
"Data type for floating point variables")->capture_default_str()->ignore_case()->check(CLI::IsMember({"float", "double"}));
codegen_opt->add_flag("--force",
force_codegen,
"Force code generation even if there is any incompatibility");
Expand Down

0 comments on commit cde5dbf

Please sign in to comment.