Skip to content

Commit

Permalink
update app to v0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Sep 29, 2022
1 parent 05ca963 commit bed275b
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 35 deletions.
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'rnote',
'rust',
version: '0.5.4',
version: '0.5.5',
meson_version: '>= 0.56',
)
# add a patch suffix for alpha or beta version, starting with a dash.
Expand Down
8 changes: 4 additions & 4 deletions rnote-fileformats/src/rnoteformat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct RnotefileWrapper {

#[derive(Debug, Clone, Serialize, Deserialize)]
/// the Rnote file in format version 0.5.x. The actual (de-) serialization into strong types is happening in `rnote-engine`.
/// This struct exists to allow for upgrading older versions before loading it in.
/// This struct exists to allow for upgrading older versions before loading the file in.

#[serde(rename = "rnotefile_maj0_min5")]
pub struct RnotefileMaj0Min5 {
Expand Down Expand Up @@ -65,7 +65,7 @@ impl FileFormatLoader for RnotefileMaj0Min5 {
)?)
} else {
Err(anyhow::anyhow!(
"failed to load rnote file from bytes, invalid version",
"failed to load rnote file from bytes, unsupported version",
))
}
}
Expand All @@ -74,7 +74,7 @@ impl FileFormatLoader for RnotefileMaj0Min5 {
impl FileFormatSaver for RnotefileMaj0Min5 {
fn save_as_bytes(&self, file_name: &str) -> anyhow::Result<Vec<u8>> {
let output = RnotefileWrapper {
version: semver::Version::parse("0.5.4").unwrap(),
version: semver::Version::parse("0.5.5").unwrap(),
data: serde_json::to_value(self)?,
};

Expand All @@ -84,7 +84,7 @@ impl FileFormatSaver for RnotefileMaj0Min5 {
}
}

// The file format is expected only to break on minor versions in prelease (0.x.x) and on major versions after 1.0.0 release. (equivalent to API breaks according to the semver spec)
// The file format is expected only to break on minor versions in prelease (0.x.x) and on major versions after 1.0.0 release. (equivalent to API's conforming to the semver spec)
// Older formats can be added here, with the naming scheme RnoteFileMaj<X>Min<Y>, where X: semver major, Y: semver minor version.
// Then TryFrom is implemented to allow conversions and chaining from older to newer versions.

Expand Down
2 changes: 1 addition & 1 deletion rnote-ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rnote"
version = "0.5.4"
version = "0.5.5"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 3 additions & 3 deletions rnote-ui/data/app.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@

<!-- /// Translators: Don't translate the changelog -->
<releases>
<release version="0.5.5" date="2022-09-28">
<release version="0.5.5" date="2022-09-29">
<description>
<p>this release changes:</p>
<ul>
<li>Port to libadwaita 1.2 with an updated about window, improved dialogs</li>
<li>new feature: a "permanently hide scrollbars" toggle in the settings</li>
<li>new feature: a "paste from clipboard" button in the selector page</li>
<li>new feature: "permanently hide scrollbars" toggle in the settings</li>
<li>new feature: "paste from clipboard" button in the selector page</li>
<li>improved window title, now shows the current document name</li>
<li>tweaked app icon</li>
</ul>
Expand Down
6 changes: 5 additions & 1 deletion rnote-ui/po/rnote.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: rnote\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-26 15:25+0200\n"
"POT-Creation-Date: 2022-09-29 12:26+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -953,6 +953,10 @@ msgstr ""
msgid "Delete selection"
msgstr ""

#: rnote-ui/data/ui/penssidebar/selectorpage.ui:185
msgid "Paste from Clipboard"
msgstr ""

#: rnote-ui/data/ui/penssidebar/shaperpage.ui:33
msgid "Shaper style"
msgstr ""
Expand Down

0 comments on commit bed275b

Please sign in to comment.