Skip to content

Bring bitstream up to same level as main#14

Merged
dhadner merged 72 commits into
bitstreamfrom
main
Mar 9, 2026
Merged

Bring bitstream up to same level as main#14
dhadner merged 72 commits into
bitstreamfrom
main

Conversation

@dhadner
Copy link
Copy Markdown
Owner

@dhadner dhadner commented Mar 9, 2026

No description provided.

dhadner and others added 30 commits February 3, 2026 10:59
…& 10. xUnit v3 doesn't run under .NET 7, so tests are not run there, but all code is tested under .NET 8, 9 and 10.
…ironment. Update documentation to more clearly and accurately state performance measurements. Add fuzzing tests.

No code changes to the actual NuGet package since no errors or performance issues were found during this testing.
…escribe the Intellisense aspects of doing so.
…DME to help explain how to best save generated code and still have Intellisense work.
…o make sure tests pass on those versions and fix CI failure that occured to lack of the correct SDK in the CI build process.
… up statistics by throwing out top and bottom 10% of performance test measurements to eliminate CPU jitter.
Fix CI build issue, clean up perf statistics
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Add support for decimal type.
…uGet package. These are what allow access to bit field and type attribute info even when the assembly is not loaded.
…, etc. when converting from Result<TError> to Result<T,TError>. This makes it behave more like the Rust version and simplifies the 'magic'.
…d if the value wasn't automatically castable to int - added explicit casting to handle this case (showed up when using an enum as the BitField property type).
…th Edge Enhance Security limits on WASM and added the best workaround available for Edge browser settings that cause WASM not to load. Not an issue in Chrome.
…agram. The latter was a regression error during the development of 0.9.5 and was not an issue in previous versions.
…les.

2) Update handling of Edge browser security settings.
- Add rendering for overlapping bit fields with overlay rows and hybrid separators (dashed/solid) for visual clarity.
- Refactor diagram logic to layer non-overlapping and overlapping fields, improving cell width calculation and readability.
- Omit tens-digit header for diagrams with <10 bits per row.
- Emit StructDescription and StructDescriptionResourceType in generated bitfield structs; include struct description in BitFieldInfo metadata.
- Improve diagram description handling to avoid duplication and clarify section headings in multi-struct diagrams.
- Add extensive unit tests for overlays, separators, cell width, and description handling.
- Update BitFields code generator and demo PNG images to reflect new diagram features.
- Update project instructions regarding performance tests and unit testing.
- Add three new auto-generated bitfield/register types for testing overlapping field scenarios.
…ors when defined bits would not be accessible on a 32-bit platform. Move library version to 0.9.6. No breaking changes.
…ke it easier to know the storage type is ok at coding time rather than just at build time.
…t with existing constant naming convention and property names (MAX_BIASED_EXPONENT, MAX_EXPONENT). Add setter for Exponent.
…ther than property accesssors that, even though inlined, don't show the comparison as clearly. Actual test restuls remain the same -- the property accessrors are in fact inlined out and the performance is the same for hand-coded vs. generated.
@dhadner dhadner merged commit 726b108 into bitstream Mar 9, 2026
5 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