Skip to content

Bugfixes for everyone#551

Merged
beached merged 66 commits intomasterfrom
v2
Jul 12, 2025
Merged

Bugfixes for everyone#551
beached merged 66 commits intomasterfrom
v2

Conversation

@beached
Copy link
Copy Markdown
Owner

@beached beached commented Jul 12, 2025

No description provided.

beached added 30 commits March 19, 2025 12:05
Introduce a `daw::contract` class for validating preconditions at runtime. Includes a failure handler
Pulling bugfix back into v2
Introduce a constexpr function to handle leading zero count for uint128_t, ensuring compatibility with larger integers. Additionally, adjust `ToIota` initialization for consistency with type defaults.
Introduced support for `__builtin_clzg` where available, improving compatibility and performance. Removed redundant overloads and reorganized function definitions to streamline the implementation. This cleanup simplifies the logic while maintaining backward compatibility.
Previously, calling count_leading_zeroes with a zero input could lead to undefined behavior. This update adds a check for zero inputs and returns the bit count for the type in such cases, ensuring correct results and improved safety.
Replaced 'jammy' with 'noble' in LLVM repository URLs to match the correct distribution for Ubuntu 24.04.
Replaced `__has_builtin` with `DAW_HAS_BUILTIN` to ensure correct macro usage. This improves compatibility
Introduce utility functions for ASCII character checks and transformations, such as detecting digits, letters, alphanumerics, printable characters, and case conversion. Included a test file to verify the correctness of these utilities.
The previous logic excluded the space character (ASCII code 32) from being considered printable. This change modifies the comparison to include space, ensuring correct behavior for determining ASCII printable characters.
Introduce `to_underlying_type` in `daw_to_underlying_type.h`, allowing seamless conversion of enums to their underlying integer type. This simplifies operations requiring direct manipulation of enum values.
…i_windows.yml`, add improved matrix configuration, and update build/test steps for better toolset coverage.
… in `daw_size_literals` for consistency with input type.
beached added 29 commits July 5, 2025 22:05
…figuration. It was giving false positives for graph stuff/libstdc++
…y in `daw_stack_function`, and suppress MSVC warning 4324 in test compiler options.
…ss MSVC warnings in `exists` implementation
…auto` and update loop variable type for consistency.
…ual`, `cmp_less`, `cmp_greater`, `cmp_less_equal`, `cmp_greater_equal`) and improve `cmp_equal` logic for handling integral types.
…d::uint64_t` with `std::size_t` in `daw_uninitialized_storage_test` for consistency.
…naming, `std::bool_constant`, simplified logic, and alignment to `std::size_t`.
…argest item check to use `std::uint64_t`.
…MSVC by adding specific `#pragma` directives and warning suppression.

- Applied consistent formatting across CMake files for clarity and maintainability.
@beached beached merged commit 2af0a1a into master Jul 12, 2025
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant