Skip to content
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

Release/v0.7.0 #116

Merged
merged 47 commits into from
Feb 9, 2024
Merged

Release/v0.7.0 #116

merged 47 commits into from
Feb 9, 2024

Conversation

thejpster
Copy link
Member

Preparing release 0.7.0

thejpster and others added 30 commits October 20, 2023 19:11
Raw Handles work like the handles we had before.

Smart Handles now hold an &mut VolumeManager. This means they can have
methods, and they also have a Drop implementation. However, the &mut
reference means you are much more limited in how you hold them and how
many you can hold at a time. It's OK for opening a single file but more
than that you you want to use Raw Handles and sort the Drop stuff out
yourself.

All the examples are updated to use Smart Handles.
Brings in fewer dependencies.
# Conflicts:
#	examples/readme_test.rs
#	src/sdcard/mod.rs
Co-authored-by: Jonathan 'theJPster' Pallant <[email protected]>
…ntation

Fix struct reference in documentation
Map ROOT_DIR (0xFFFF_FFFC) to an actual cluster number, so if you go off the end of the first cluster of the root directory on FAT32, the code no longer crashes trying to convert the ROOT_DIR magic cluster number into a disk offset.
lib: update dependency embedded-hal to 1.0.0
AnyTimeTraveler and others added 17 commits January 11, 2024 16:49
If we put it in a function we need much less boiler plate to make it compile.
Sometimes you get this error if a *directory* was not found, so it was confusing.
* Converting "" to a ShortFileName, gives you ShortFileName::this_dir() or ".<10 spaces>", which is the special entry at the top of every directory.
* You can open the same directory multiple times. This is required if you want to walk a path, but also hold open a directory in that path.
* Lets you open "." and get a duplicate handle to a directory
* Lets you mutate a Directory object to point at a child, without having to make a new Directory object and drop the old one.
Each command is now a function.
Handle relative paths in "mkdir", "dir", "cat" and "hexdump".

Not currently supported in "cd".
Also volumes are letters.
@thejpster
Copy link
Member Author

This is merging all the recent changes into main. You can ignore most of the commits as they were already reviewed - just check I updated Cargo.toml and the changelog correctly.

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!

@eldruin
Copy link
Member

eldruin commented Feb 4, 2024

Hmm, GH says this branch cannot be rebased due to conflicts :/

@thejpster thejpster merged commit 2f8303a into main Feb 9, 2024
8 checks passed
@thejpster thejpster deleted the release/v0.7.0 branch July 12, 2024 12:41
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.

8 participants