-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add a proper File
class
#287
Commits on Oct 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d5dafc2 - Browse repository at this point
Copy the full SHA d5dafc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8078a77 - Browse repository at this point
Copy the full SHA 8078a77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78262a9 - Browse repository at this point
Copy the full SHA 78262a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25e3c2f - Browse repository at this point
Copy the full SHA 25e3c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cb6c0 - Browse repository at this point
Copy the full SHA a4cb6c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 128ce0f - Browse repository at this point
Copy the full SHA 128ce0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b6ec67 - Browse repository at this point
Copy the full SHA 9b6ec67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84934c9 - Browse repository at this point
Copy the full SHA 84934c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0aef6e - Browse repository at this point
Copy the full SHA b0aef6eView commit details -
Turn lfs wrapper test into normal executable
The TEST_CASE()s and other magic from Catch2 made it harder to debug.
Configuration menu - View commit details
-
Copy full SHA for 77951c1 - Browse repository at this point
Copy the full SHA 77951c1View commit details -
Fix move construction and assignment of File
This requires addinge the members path_ and openFlags_.
Configuration menu - View commit details
-
Copy full SHA for 0d47ee1 - Browse repository at this point
Copy the full SHA 0d47ee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fb6f2c - Browse repository at this point
Copy the full SHA 4fb6f2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e288a - Browse repository at this point
Copy the full SHA 32e288aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59762bd - Browse repository at this point
Copy the full SHA 59762bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c446e0c - Browse repository at this point
Copy the full SHA c446e0cView commit details -
Disable warning on missing field initializers
When using designated initializes to initialize a struct, it is perfectly valid not to specify all fields. The unspecified fields are initialized with default member initializers where provided, and empty list-initialization otherwise.
Configuration menu - View commit details
-
Copy full SHA for 23acc96 - Browse repository at this point
Copy the full SHA 23acc96View commit details -
Use statically allocated file buffer
The normal lfs_file_open() uses malloc() to allocate the file buffer. Since we do not want to use the heap, we use lfs_file_opencfg() and provide a statically allocated buffer instead.
Configuration menu - View commit details
-
Copy full SHA for 808318a - Browse repository at this point
Copy the full SHA 808318aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4aad23 - Browse repository at this point
Copy the full SHA d4aad23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c4dae0 - Browse repository at this point
Copy the full SHA 5c4dae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8c14c3 - Browse repository at this point
Copy the full SHA d8c14c3View commit details -
Make flags in LfsWrapper unsigned
Flag varibales are one of the few cases where unsigned types should be used because they do not represent a real quantity/number but just a bunch of states/bits.
Configuration menu - View commit details
-
Copy full SHA for c8636c0 - Browse repository at this point
Copy the full SHA c8636c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6069a - Browse repository at this point
Copy the full SHA 3c6069aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9222232 - Browse repository at this point
Copy the full SHA 9222232View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb7b4f - Browse repository at this point
Copy the full SHA dcb7b4fView commit details -
Revert "WIP: Replace move with swap"
This reverts commit 1d0bd2f. In this special case the Swap() function is an abomination, and the previous version with the Move() function is better.
Configuration menu - View commit details
-
Copy full SHA for 5ef2acb - Browse repository at this point
Copy the full SHA 5ef2acbView commit details -
- Rename `Move()` to `MoveConstructFrom()` - Make the class const-correct - Remove `std::cout` and `iostream` - Make cosmetic changes
Configuration menu - View commit details
-
Copy full SHA for b39d22d - Browse repository at this point
Copy the full SHA b39d22dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6f9a6 - Browse repository at this point
Copy the full SHA 5d6f9a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b0b47b - Browse repository at this point
Copy the full SHA 4b0b47bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5235e71 - Browse repository at this point
Copy the full SHA 5235e71View commit details -
Remove LfsWrapperExecutable and NewOutcome tests
They were used to test stuff during development but are now obsolete.
Configuration menu - View commit details
-
Copy full SHA for 1a22c2b - Browse repository at this point
Copy the full SHA 1a22c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3d2f8 - Browse repository at this point
Copy the full SHA 7f3d2f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa05e0e - Browse repository at this point
Copy the full SHA fa05e0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for faf9b4e - Browse repository at this point
Copy the full SHA faf9b4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d2a2d - Browse repository at this point
Copy the full SHA 49d2a2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 486a054 - Browse repository at this point
Copy the full SHA 486a054View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8fb579 - Browse repository at this point
Copy the full SHA d8fb579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e9c0cd - Browse repository at this point
Copy the full SHA 6e9c0cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb2326 - Browse repository at this point
Copy the full SHA bbb2326View commit details -
Reduce max. path length to 30 characters
The longest path should be "/programs/65536.zip.lock" which is only 25 characters long, so we can save quite a bit of memory when we reduce the max path length from the default 256 to just 30.
Configuration menu - View commit details
-
Copy full SHA for 8a698cc - Browse repository at this point
Copy the full SHA 8a698ccView commit details -
- Always pass paths as `Path` aka `etl::string` and use `c_str()` to ensure that the littlefs functions get null-terminated strings - Move member variables which are only used in `CreateLockFile()` to that function
Configuration menu - View commit details
-
Copy full SHA for c8c2e43 - Browse repository at this point
Copy the full SHA c8c2e43View commit details -
Get rid of
USE_NO_RODOS
and reworkLfsWrapper.test.cpp
Eventually, the `File` class will need semaphores and therefore require the main function from Rodos. I converted it now, because that allows me to get rid of this `USE_NO_RODOS` nonsense in `Outcome.hpp` too.
Configuration menu - View commit details
-
Copy full SHA for 678be93 - Browse repository at this point
Copy the full SHA 678be93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fae95c - Browse repository at this point
Copy the full SHA 8fae95cView commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1624f4b - Browse repository at this point
Copy the full SHA 1624f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9fd968 - Browse repository at this point
Copy the full SHA b9fd968View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79a7572 - Browse repository at this point
Copy the full SHA 79a7572View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e7a26 - Browse repository at this point
Copy the full SHA d4e7a26View commit details