diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7f45b6f119..26ad50b184 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -28,7 +28,7 @@ If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. Fedora 38, Windows 11 22H2, ...] - - App Version: [e.g. Rnote v0.8.1] + - App Version: [e.g. Rnote v0.8.2] - Installation Source: [e.g. Flatpak, Archlinux Community Repo, ...] - Desktop Environment: [e.g. Gnome 44.2] diff --git a/Cargo.lock b/Cargo.lock index 3755b6c9a7..c678290754 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1932,7 +1932,7 @@ checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" [[package]] name = "ink-stroke-modeler-rs" version = "0.1.0" -source = "git+https://github.com/flxzt/ink-stroke-modeler-rs?rev=458d0247cec9d1a3d39e3922259945eec8b31625#458d0247cec9d1a3d39e3922259945eec8b31625" +source = "git+https://github.com/flxzt/ink-stroke-modeler-rs?rev=b67f11b2c174a9ae4a54c22313cf8c218ff0946a#b67f11b2c174a9ae4a54c22313cf8c218ff0946a" dependencies = [ "autocxx", "autocxx-build", @@ -1979,7 +1979,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.2", - "rustix 0.38.8", + "rustix 0.38.9", "windows-sys 0.48.0", ] @@ -2969,9 +2969,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -3053,9 +3053,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.2" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f32154ba0af3a075eefa1eda8bb414ee928f62303a54ea85b8d6638ff1a6ee9e" +checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" [[package]] name = "ppv-lite86" @@ -3288,7 +3288,7 @@ dependencies = [ [[package]] name = "rnote" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "base64", @@ -3333,7 +3333,7 @@ dependencies = [ [[package]] name = "rnote-cli" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "atty", @@ -3351,7 +3351,7 @@ dependencies = [ [[package]] name = "rnote-compose" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "base64", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "rnote-engine" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "approx", @@ -3537,9 +3537,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.8" +version = "0.38.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" +checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49" dependencies = [ "bitflags 2.4.0", "errno", @@ -3630,18 +3630,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.186" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f5db24220c009de9bd45e69fb2938f4b6d2df856aa9304ce377b3180f83b7c1" +checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.186" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad697f7e0b65af4983a4ce8f56ed5b357e8d3c36651bf6a7e13639c17b8e670" +checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", @@ -4069,7 +4069,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.0", "redox_syscall", - "rustix 0.38.8", + "rustix 0.38.9", "windows-sys 0.48.0", ] diff --git a/Cargo.toml b/Cargo.toml index d3a0a9bdab..b16edd9fdd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.8.1" +version = "0.8.2" edition = "2021" rust-version = "1.70" authors = ["The Rnote Authors"] @@ -17,8 +17,8 @@ homepage = "https://rnote.flxzt.net" repository = "https://github.com/flxzt/rnote" [workspace.dependencies] -rnote-compose = { version="0.8.1", path = "crates/rnote-compose" } -rnote-engine = { version="0.8.1", path = "crates/rnote-engine" } +rnote-compose = { version="0.8.2", path = "crates/rnote-compose" } +rnote-engine = { version="0.8.2", path = "crates/rnote-engine" } log = "0.4" pretty_env_logger = "0.5" diff --git a/crates/rnote-compose/Cargo.toml b/crates/rnote-compose/Cargo.toml index 3698ce9fa7..e6b07adba5 100644 --- a/crates/rnote-compose/Cargo.toml +++ b/crates/rnote-compose/Cargo.toml @@ -9,7 +9,7 @@ homepage.workspace = true repository.workspace = true [dependencies] -ink-stroke-modeler-rs = { git = "https://github.com/flxzt/ink-stroke-modeler-rs", rev = "8871fbf5d104a7c5bf7ff7e6084e2fa5cc557fed" } +ink-stroke-modeler-rs = { git = "https://github.com/flxzt/ink-stroke-modeler-rs", rev = "b67f11b2c174a9ae4a54c22313cf8c218ff0946a" } log = { workspace = true } anyhow = { workspace = true } diff --git a/crates/rnote-engine/data/09-fc.conf.in b/crates/rnote-engine/data/09-fc.conf.in deleted file mode 100644 index b4370182a3..0000000000 --- a/crates/rnote-engine/data/09-fc.conf.in +++ /dev/null @@ -1,4 +0,0 @@ - - - @PKG_DATA_DIR@/fonts - \ No newline at end of file diff --git a/crates/rnote-engine/data/meson.build b/crates/rnote-engine/data/meson.build index 7e6cbdaa55..fe32317c29 100644 --- a/crates/rnote-engine/data/meson.build +++ b/crates/rnote-engine/data/meson.build @@ -65,20 +65,4 @@ fonts_files = files( ) # install fonts -install_data(fonts_files, install_dir: pkgdatadir / 'fonts') - -# fontconfig file -message('Configuring fontconfig file') - -fc_conf = configuration_data() -fc_conf.set('APP_ID', app_id) -fc_conf.set('APP_NAME', app_name) -fc_conf.set('APP_NAME_CAPITALIZED', app_name_capitalized) -fc_conf.set('PKG_DATA_DIR', pkgdatadir) -fc_file_in = configure_file( - input: '09-fc.conf.in', - output: '09-' + app_name + '.conf', - configuration: fc_conf, - install: true, - install_dir: sysconfdir / 'fonts/conf.d', -) +install_data(fonts_files, install_dir: datadir / 'fonts' / app_name + '-fonts') diff --git a/crates/rnote-engine/src/ext.rs b/crates/rnote-engine/src/ext.rs index 6961dab1b4..4f2c1a15e7 100644 --- a/crates/rnote-engine/src/ext.rs +++ b/crates/rnote-engine/src/ext.rs @@ -1,7 +1,7 @@ // Imports use rnote_compose::eventresult::EventPropagation; -/// Extension trait for [gdk::RGBA]. +/// Extension trait for [gtk4::gdk::RGBA]. #[cfg(feature = "ui")] pub trait GdkRGBAExt where @@ -47,7 +47,7 @@ impl GdkRGBAExt for gtk4::gdk::RGBA { } } -/// Extension trait for [graphene::Rect]. +/// Extension trait for [gtk4::graphene::Rect]. #[cfg(feature = "ui")] pub trait GrapheneRectExt where diff --git a/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs b/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs index 514437e8f0..52757e5e0a 100644 --- a/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs +++ b/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs @@ -54,7 +54,7 @@ struct RnotefileWrapper { pub type RnoteFile = RnoteFileMaj0Min6; impl RnoteFile { - pub const SEMVER: &str = "0.8.1"; + pub const SEMVER: &str = "0.8.2"; } impl FileFormatLoader for RnoteFile { diff --git a/crates/rnote-engine/src/pens/tools.rs b/crates/rnote-engine/src/pens/tools.rs index e41c2e68b1..fe92e56457 100644 --- a/crates/rnote-engine/src/pens/tools.rs +++ b/crates/rnote-engine/src/pens/tools.rs @@ -449,7 +449,12 @@ impl PenBehaviour for Tools { &self.verticalspace_tool.strokes_below, na::vector![0.0, y_offset], ); - + engine_view.store.regenerate_rendering_in_viewport_threaded( + engine_view.tasks_tx.clone(), + false, + engine_view.camera.viewport(), + engine_view.camera.image_scale(), + ); self.verticalspace_tool.pos_y = element.pos[1]; widget_flags.store_modified = true; diff --git a/crates/rnote-ui/data/app.metainfo.xml.in.in b/crates/rnote-ui/data/app.metainfo.xml.in.in index 4e0f697160..967bfb950b 100644 --- a/crates/rnote-ui/data/app.metainfo.xml.in.in +++ b/crates/rnote-ui/data/app.metainfo.xml.in.in @@ -72,6 +72,16 @@ + + +

this release changes:

+
    +
  • fix: button presses not handled as pen events
  • +
  • fix: windows build
  • +
  • fix: bundled fonts not appearing in flatpak
  • +
+
+

this release changes:

@@ -80,11 +90,13 @@
  • feature: invert selection color brightness (thanks to @Kneemund)
  • feature: optimize for printing export option (thanks to @Kneemund)
  • feature: a few handwrite-y,typewriter and dyslexia fonts are now bundled with the application (check the README for a list of them)
  • +
  • feature: polyline shape and builder
  • improvement: cli export enhancements (thanks to @LeSnake04)
  • improvement: update outdated symbolic icons (thanks to @oscfdezdz)
  • improvement: behaviour when opening files in new tab
  • improvement: added close buttons to configuration popovers as a workaround for the Gtk4 stuck-popover bug
  • improvement: default view offset when opening documents
  • +
  • enhancement: move view using arrow keys
  • fix: orientation of some popovers when sidebar is on the left
  • fix: restore vectorized images (Pdf pages, Svg) export
  • fix: .rnote file imports that were created pre v0.5.9
  • diff --git a/meson.build b/meson.build index a24982d3b6..c171427efe 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'rnote', ['rust', 'cpp'], - version: '0.8.1', + version: '0.8.2', meson_version: '>= 0.57', ) # add a patch suffix for alpha or beta version, starting with a dash.