Release v0.2.5
This commit is contained in:
parent
cbc762fb4c
commit
3d266aee34
5 changed files with 25 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -182,7 +182,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "comicviewer"
|
name = "comicviewer"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "comicviewer"
|
name = "comicviewer"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "A comic archive viewer for local and remote locations"
|
description = "A comic archive viewer for local and remote locations"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
</provides>
|
</provides>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="0.2.5" date="2026-07-23" />
|
||||||
<release version="0.2.4" date="2026-07-23" />
|
<release version="0.2.4" date="2026-07-23" />
|
||||||
<release version="0.2.3" date="2026-07-23" />
|
<release version="0.2.3" date="2026-07-23" />
|
||||||
<release version="0.2.2" date="2026-07-22" />
|
<release version="0.2.2" date="2026-07-22" />
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ AppImage 빌드가 끝나면 다음 스크립트로 체크섬과 통합 `tar.gz`
|
||||||
|
|
||||||
스크립트는 `Cargo.toml`에서 버전을 읽고 다음 파일을 생성합니다.
|
스크립트는 `Cargo.toml`에서 버전을 읽고 다음 파일을 생성합니다.
|
||||||
|
|
||||||
- `dist/Comicviewer-0.2.4-x86_64.AppImage.sha256`
|
- `dist/Comicviewer-0.2.5-x86_64.AppImage.sha256`
|
||||||
- `dist/Comicviewer-latest-x86_64.tar.gz`
|
- `dist/Comicviewer-latest-x86_64.tar.gz`
|
||||||
- `dist/Comicviewer-latest-x86_64.tar.gz.sha256`
|
- `dist/Comicviewer-latest-x86_64.tar.gz.sha256`
|
||||||
|
|
||||||
|
|
@ -78,10 +78,10 @@ sha256sum -c Comicviewer-latest-x86_64.tar.gz.sha256
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git add Cargo.toml Cargo.lock data packaging README.md docs
|
git add Cargo.toml Cargo.lock data packaging README.md docs
|
||||||
git commit -m "Release v0.2.4"
|
git commit -m "Release v0.2.5"
|
||||||
git tag -a v0.2.4 -m "Comicviewer v0.2.4"
|
git tag -a v0.2.5 -m "Comicviewer v0.2.5"
|
||||||
git push origin main
|
git push origin main
|
||||||
git push origin v0.2.4
|
git push origin v0.2.5
|
||||||
```
|
```
|
||||||
|
|
||||||
이미 원격에 공개한 태그는 이동하거나 덮어쓰지 않습니다. 수정이 필요하면 새
|
이미 원격에 공개한 태그는 이동하거나 덮어쓰지 않습니다. 수정이 필요하면 새
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ use crate::viewer::{
|
||||||
};
|
};
|
||||||
use crate::zip_cache::ZipCache;
|
use crate::zip_cache::ZipCache;
|
||||||
|
|
||||||
|
const MOUSE_BACK_BUTTON: u32 = 8;
|
||||||
|
|
||||||
pub struct ComicWindow {
|
pub struct ComicWindow {
|
||||||
controller: Rc<BrowserController>,
|
controller: Rc<BrowserController>,
|
||||||
}
|
}
|
||||||
|
|
@ -349,6 +351,17 @@ impl BrowserController {
|
||||||
});
|
});
|
||||||
self.list_box.add_controller(key_controller);
|
self.list_box.add_controller(key_controller);
|
||||||
|
|
||||||
|
let mouse_back = gtk::GestureClick::builder()
|
||||||
|
.button(MOUSE_BACK_BUTTON)
|
||||||
|
.propagation_phase(gtk::PropagationPhase::Capture)
|
||||||
|
.build();
|
||||||
|
let controller = Rc::clone(self);
|
||||||
|
mouse_back.connect_pressed(move |gesture, _, _, _| {
|
||||||
|
gesture.set_state(gtk::EventSequenceState::Claimed);
|
||||||
|
controller.go_up();
|
||||||
|
});
|
||||||
|
self.window.add_controller(mouse_back);
|
||||||
|
|
||||||
let controller = Rc::clone(self);
|
let controller = Rc::clone(self);
|
||||||
fast_loading_switch.connect_active_notify(move |switch| {
|
fast_loading_switch.connect_active_notify(move |switch| {
|
||||||
controller.set_fast_image_loading(switch);
|
controller.set_fast_image_loading(switch);
|
||||||
|
|
@ -2386,6 +2399,11 @@ mod tests {
|
||||||
assert!(!recursive_search_match(&image, "book"));
|
assert!(!recursive_search_match(&image, "book"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn mouse_back_button_matches_standard_x11_button() {
|
||||||
|
assert_eq!(MOUSE_BACK_BUTTON, 8);
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn dropped_directory_creates_local_root_profile() {
|
fn dropped_directory_creates_local_root_profile() {
|
||||||
let directory = tempfile::tempdir().unwrap();
|
let directory = tempfile::tempdir().unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue