Repository navigation
1.0.1 safe fixes: explorer.exe absolute path and D/Delete docs (roadmap C-03, C-06) - #17
Open
CodyKoInABox wants to merge 3 commits into
Open
CodyKoInABox wants to merge 3 commits into
CodyKoInABox wants to merge 3 commits into
Conversation
- open_path launched a bare explorer.exe, so CreateProcess searched the application directory and PATH before System32. Use %SystemRoot%\explorer.exe. - README listed D as deleting the object under the pointer. D selects the eraser tool; the Delete key removes the selected object. Co-authored-by: codykoinabox <codykoinabox@gmail.com>
Current stable clippy flags chunks_exact with a constant chunk size (chunks_exact_to_as_chunks), and CI runs clippy with -D warnings. Switch the affected pixel loops to slice::as_chunks, which is stable since Rust 1.88, the crate's MSRV. Behavior is unchanged: both forms drop the same partial tail, which is always empty for valid RGBA buffers. Co-authored-by: codykoinabox <codykoinabox@gmail.com>
The bin target hits the same chunks_exact_to_as_chunks lint that the library targets already hit, so CI's clippy -D warnings still fails without it. Co-authored-by: codykoinabox <codykoinabox@gmail.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
open_pathlaunched a bareexplorer.exe.CreateProcesssearches the application directory andPATHbeforeSystem32, so a copy next to a portablerustshot.exewould run instead. It now uses%SystemRoot%\explorer.exe. A unit test covers the resolution, and a missingSystemRootreturns an error instead of falling back to the bare name.D/Deleteas deleting the object under the pointer. In the code,Dselects the eraser tool (overlay.rs, tool shortcut"d"), and theDeletekey removes the selected object (overlay.rs,NamedKey::Delete). The table now describes both keys accurately. No behavior change.Not run locally. CI runs on Windows.