-
Notifications
You must be signed in to change notification settings - Fork 126
feat!: stack-based format buffer for wdk crate
#611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
fb1c4ef
merged changes from accidental copilot branch
2c1c9a3
passing cargo fmt
e065e50
passing cargo clippy stable
704fc5b
added gated compilation for fmt
bc15583
removed redundant import
8e5f834
fix print!/println! docs to match stack-buffer implementation
74a4e88
fix doctest path to use public re-export
b96937d
use full path for WdkFormatBuffer in _print
6a9c1e6
Addressed PR comments
7a64ee9
make as_cstr infallible, enforce N>0 at compile time
63fa51f
add WdkFlushableFormatBuffer for chunked output
7ac5a2a
fix type inference for WdkFlushableFormatBuffer in _print
1ccaf48
remove alloc gate from print for WDM/KMDF
5dfe309
Merge remote-tracking branch 'microsoft/main' into generic-stack-alloc
82e816b
require N >= 2 for WdkFormatBuffer to prevent infinite loop
fb93fa5
Update crates/wdk/src/print.rs
leon-xd a028613
addressed CR comments
7a956a7
added drop, renamed vars and functions
bc4e1e3
removed clearing buffer
eaac85e
remove driver_model gate from fmt module
1bf05b1
fix _print doc comment to reflect UMDF NUL byte handling
2aea525
Merge remote-tracking branch 'microsoft/main' into generic-stack-alloc
0c40024
address CR: rename types, fix borrow errors, clippy
d6ee8a7
refactor: extract append_bytes, remove dead alloc feature, improve Debug
d20b544
test: merge test modules, use nested sub-modules
d64171a
address copilot review: narrow as_c_str scan, use constant in test, f…
a9b9a1b
Merge branch 'main' into generic-stack-alloc
leon-xd 940410e
Merge branch 'main' into generic-stack-alloc
leon-xd 0ac4bc9
address PR review comments from wmmc88
9d9fb65
bump MSRV to 1.87, reuse self.flush() in write_str
37ee393
use derive(Clone) for FormatBuffer
12636e6
fix MSRV to 1.91 (floor_char_boundary)
bfc706d
Merge microsoft/main into generic-stack-alloc
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.