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

New rnote file format, better compression and serialization, atomic file saving #1177

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
689aaa0
zstd comp + decomp functions
anesthetice Aug 7, 2024
1b64bfb
deps that I forgot to commit
anesthetice Aug 7, 2024
11fb351
simpler than I thought + backwards compatible
anesthetice Aug 8, 2024
a5ae6b9
removed tracing code and compress_to_gzip
anesthetice Aug 8, 2024
11da431
starting to take shape
anesthetice Aug 14, 2024
eab08bb
far from over, but it works at least
anesthetice Aug 14, 2024
b1195cb
lots of clean up, set max header size to u32::MAX instead of u16::MAX…
anesthetice Aug 16, 2024
89704a0
meson.build fix, forward-comp header
anesthetice Aug 16, 2024
a5d63d8
testing code, will be removed later, bitcode seems really good
anesthetice Aug 16, 2024
bdfc910
kept postcard, json, bitcode, bincode
anesthetice Aug 16, 2024
a01c7f1
customizable compression levels
anesthetice Aug 18, 2024
07cad72
[in progress] CompressionLevel, SavePrefs
anesthetice Aug 19, 2024
e7a7f1a
made EngineConfig not sync across tabs (was very unintuitive)
anesthetice Aug 19, 2024
887bd46
mutate command for rnote-cli, removed option wrapper in EngineSnapsho…
anesthetice Aug 20, 2024
8ae90af
conformed_saveprefs
anesthetice Aug 20, 2024
b9437f5
comments, rnote doesn't crash if None is selected as a CompressionLev…
anesthetice Aug 20, 2024
9b72185
removed tracing code, made Compression Level invisible if set to None
anesthetice Aug 20, 2024
531db89
minor changes
anesthetice Aug 20, 2024
b13c27e
serde renames for consistency
anesthetice Aug 20, 2024
0b4035a
Ijson, + big issue fix on mutate
anesthetice Aug 21, 2024
e83d177
(improved) two step file save process, lazy evaluation (in-progress)
anesthetice Aug 25, 2024
df3459b
formatting, lazy evals
anesthetice Aug 25, 2024
e004f8b
comments, prettier code, faster legacy loading time
anesthetice Aug 25, 2024
48ed535
re-added the slower less efficient conversion for rnote-cli mutate
anesthetice Aug 25, 2024
607ff75
removed bincode + postcard
anesthetice Aug 25, 2024
40131ed
renamed CompM to CompressionMethod and SerM to SerializationMethod
anesthetice Sep 2, 2024
b8062ec
one-to-one repr of semver::Version in PRELUE
anesthetice Sep 2, 2024
4d2d1ac
more readable code and errors, concat, tested an owned from_bytes and…
anesthetice Sep 6, 2024
4bca7e6
wasn't a need to skip serializing the SavePrefs when ser. the engine …
anesthetice Sep 8, 2024
fcb116f
misc, minor changes
anesthetice Sep 9, 2024
4026a73
Merge branch 'main' into file
anesthetice Sep 17, 2024
f3b5c93
missed closing delim
anesthetice Sep 17, 2024
6cbfe26
Merge branch 'main' into file
anesthetice Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wasn't a need to skip serializing the SavePrefs when ser. the engine …
…as it is only used for debug purposes
anesthetice committed Sep 8, 2024
commit 4bca7e6256db6e9d71a7fd42efc1122ed33589b2
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/engine/mod.rs
Original file line number Diff line number Diff line change
@@ -172,7 +172,7 @@ pub struct Engine {
pub import_prefs: ImportPrefs,
#[serde(rename = "export_prefs")]
pub export_prefs: ExportPrefs,
#[serde(skip)]
#[serde(rename = "save_prefs")]
pub save_prefs: SavePrefs,
#[serde(rename = "pen_sounds")]
pen_sounds: bool,