Skip to content

Commit

Permalink
Fix build warnings and prepare new version
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jun 19, 2024
1 parent 700a7ed commit 15b68b1
Show file tree
Hide file tree
Showing 8 changed files with 477 additions and 940 deletions.
2 changes: 1 addition & 1 deletion 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 main/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "realearn"
version = "2.16.0-pre.15"
version = "2.16.0-pre.16"
authors = ["Benjamin Klum <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
1,403 changes: 471 additions & 932 deletions main/src/infrastructure/proto/generated.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main/src/infrastructure/proto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ pub use initial_playtime_events::*;
/// It's important to get this right in order to get good error messages from customers. Knowing
/// that they just have an incompatible version mix (e.g. due to manual installing) makes it
/// trivial to respond to bug reports.
pub const HOST_API_VERSION: &str = "5.0.0";
pub const HOST_API_VERSION: &str = "6.0.0";
2 changes: 1 addition & 1 deletion main/src/infrastructure/ui/app/app_library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ fn to_status(err: anyhow::Error) -> Status {
///
/// This doesn't necessarily need to match the `HOST_API_VERSION`, it's too different things.
/// In practice, it might be equal or similar because host (plug-in) and app are developed tightly together.
pub const MIN_APP_API_VERSION: Version = Version::new(5, 0, 0);
pub const MIN_APP_API_VERSION: Version = Version::new(6, 0, 0);

#[cfg(not(feature = "playtime"))]
fn playtime_not_available() -> Result<(), Status> {
Expand Down
3 changes: 1 addition & 2 deletions main/src/infrastructure/ui/independent_panel_manager.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::infrastructure::ui::{MappingPanel, SessionMessagePanel, UnitPanel};
use reaper_high::Reaper;
use std::cell::OnceCell;
use tracing::debug;

Expand All @@ -9,7 +8,7 @@ use crate::domain::{
TargetValueChangedEvent,
};
use crate::infrastructure::plugin::reaper_main_window;
use swell_ui::{SharedView, View, WeakView, Window};
use swell_ui::{SharedView, View, WeakView};

const MAX_PANEL_COUNT: u32 = 4;

Expand Down
1 change: 0 additions & 1 deletion main/src/infrastructure/ui/instance_panel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::infrastructure::ui::{build_unit_label, util, UnitPanel};
use anyhow::Context;
use reaper_high::Reaper;
use reaper_medium::Hbrush;
use std::cell::{Cell, OnceCell, RefCell};
use std::fmt::Debug;
Expand Down
2 changes: 1 addition & 1 deletion playtime-clip-engine

0 comments on commit 15b68b1

Please sign in to comment.