| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Catch2: update to v3.9.1 (#12453) This updates our Catch2 version from v2.13.8 to the latest v3.9.1. It also transitions us from the deprecated monolithic header file to the new library model using CMake via FetchContent. This has several advantages: * This uses the library model which the authors of Catch2 advocate for. The monolithic header we used before this patch is not "the primarily supported option". * Since not all of catch.hpp is built for every UT, compilation times are quicker. * Since the new v3 version provides a main function definition via Catch2::Catch2WithMain, we no longer need the empty unit_test_main.cc files we had before. * The updated Catch v3 is purported to execute its checks more efficiently (according to the changelog). As a part of this transition, this removes src/records/unit_tests/unit_test_main_on_eventsystem.cc since that was added with #7704 for DynamicStats which has since been removed. In v2, this simply didn't run any tests. In v3, this failed because no tests were run. | 1 年前 | |
Fix signature on flz_maxcopy to avoid cast error (#13532) flz_maxcopy takes void* arguments but calls fastlz_memcopy (taking uint8_t* arguments) without a cast. I don't see a reason for flz_maxcopy to not take uint8_t* arguments; for arch-specific speedups these get cast to the appropriately-sized pointer. Resolves build issues on ppc64le architecture. | 25 天前 | |
CMake: use new policies for Highway (#13414) CMake 4.3 reports three policy warnings while configuring bundled Highway. Each exposes compatibility behavior that makes configuration less deterministic or defers failures. The warnings and fixes are: * `CMP0111 OLD behavior is deprecated`: Highway’s GTest workaround allows an imported target without a location to produce unusable build rules. ATS disables Highway tests, so this selects NEW and makes any incomplete imported target fail during generation. * `CMP0075 is not set`: Highway’s header checks ignore inherited CMAKE_REQUIRED_LIBRARIES under OLD behavior. ATS also leaves OpenSSL libraries and includes in the probe state after TLS checks. This selects NEW and removes those OpenSSL values before generic checks, so required libraries are honored without leaking TLS dependencies. * `CMP0077 is not set`: Highway’s option(BUILD_SHARED_LIBS) discards the normal value supplied by ATS under OLD behavior. This selects NEW to preserve the parent setting while HWY_FORCE_STATIC_LIBS keeps bundled Highway static. | 1 个月前 | |
Use ls-hpack's fast Huffman decoder for HPACK/QPACK strings (#13259) When the home-grown Huffman codec was replaced with vendored LiteSpeed ls-hpack code (#12357), only the conservative 4-bit FSM decoder (lshpack_dec_huff_decode_full) was ported — although huff-tables.h has carried the 64K-entry table for upstream's fast decoder all along. This PR ports the fast decoder (lshpack_dec_huff_decode, from ls-hpack v2.3.5) and switches huffman_decode() to it. The fast decoder consumes 16 bits of input per table lookup and emits up to 3 bytes, falling back to the FSM decoder for the rare codes longer than 16 bits. HPACK and QPACK share the wrapper through xpack_decode_string(), so both HTTP/2 and HTTP/3 header decoding benefit. No new memory footprint: the hdecs table has been compiled into the binary since the original vendoring. | 2 个月前 | |
Change libswoc test for undefined errno to a much higher number (#13531) libswoc tests include one that expects errno 134 to be unknown; this is no longer the case in Linux 7.2. This patch increases the errno to one that should be unknown for the forseeable future. | 25 天前 | |
systemtap: add sdt.h header-only file (#11331) Adding a local sdt.h header file eliminates the build requirement for any SystemTap packages. This should make it easier for users to utilize ATS SystemTap probes. | 2 年前 | |
yaml-cpp-0.9.0 (#13192) Update bundled yaml-cpp to 0.9.0 for GCC 16 compatibility GCC 16 (Fedora 44) no longer exposes fixed-width integer types through transitive includes, breaking the bundled yaml-cpp 0.8.0 build at emitterutils.cpp. Bumping the vendored library to 0.9.0 picks up the upstream fix and restores the build under GCC 16. Also switch the JSONRPC test plugin to the generated YAMLCPP_LIB_VERSION macro instead of a hardcoded "0.8.0" string so the version compatibility check tracks the bundled library. | 3 个月前 | |
CMake: use new policies for Highway (#13414) CMake 4.3 reports three policy warnings while configuring bundled Highway. Each exposes compatibility behavior that makes configuration less deterministic or defers failures. The warnings and fixes are: * `CMP0111 OLD behavior is deprecated`: Highway’s GTest workaround allows an imported target without a location to produce unusable build rules. ATS disables Highway tests, so this selects NEW and makes any incomplete imported target fail during generation. * `CMP0075 is not set`: Highway’s header checks ignore inherited CMAKE_REQUIRED_LIBRARIES under OLD behavior. ATS also leaves OpenSSL libraries and includes in the probe state after TLS checks. This selects NEW and removes those OpenSSL values before generic checks, so required libraries are honored without leaking TLS dependencies. * `CMP0077 is not set`: Highway’s option(BUILD_SHARED_LIBS) discards the normal value supplied by ATS under OLD behavior. This selects NEW to preserve the parent setting while HWY_FORCE_STATIC_LIBS keeps bundled Highway static. | 1 个月前 |