Skip to content

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Nov 9, 2020
1 parent 29a0716 commit c62617d
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 26 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

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

8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Version 1.4.0 - 09.11.2020r
- Multithreading Support to most modules - [#98](https://github.com/qarmin/czkawka/pull/98) [#99](https://github.com/qarmin/czkawka/pull/99) [#100](https://github.com/qarmin/czkawka/pull/100) [#101](https://github.com/qarmin/czkawka/pull/101)
- Simplify GUI code [#96](https://github.com/qarmin/czkawka/pull/96)
- Group similar images - [#97](https://github.com/qarmin/czkawka/pull/97)
- Add select buttons to each type of mode - [#102](https://github.com/qarmin/czkawka/pull/102)
- Fix GUI behavior in GUI when deleting similar image - [#103](https://github.com/qarmin/czkawka/pull/103)
- Add new similarity level - [#104](https://github.com/qarmin/czkawka/pull/104)

## Version 1.3.0 - 02.11.2020r
- Appimage support - [#77](https://github.com/qarmin/czkawka/pull/77)
- Removed warnings about non existend excluded directories - [#79](https://github.com/qarmin/czkawka/pull/79)
Expand Down
2 changes: 1 addition & 1 deletion czkawka_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "czkawka_cli"
version = "1.3.0"
version = "1.4.0"
authors = ["Rafał Mikrut <[email protected]>"]
edition = "2018"
description = "CLI frontend of Czkawka"
Expand Down
2 changes: 1 addition & 1 deletion czkawka_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "czkawka_core"
version = "1.3.0"
version = "1.4.0"
authors = ["Rafał Mikrut <[email protected]>"]
edition = "2018"
description = "Core of Czkawka app"
Expand Down
2 changes: 1 addition & 1 deletion czkawka_gui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "czkawka_gui"
version = "1.3.0"
version = "1.4.0"
authors = ["Rafał Mikrut <[email protected]>"]
edition = "2018"
description = "GTK frontend of Czkawka"
Expand Down
10 changes: 6 additions & 4 deletions czkawka_gui/src/connect_button_delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,38 +275,40 @@ fn tree_remove(scrolled_window: gtk::ScrolledWindow, column_file_name: i32, colu

next_iter = current_iter.clone();
if !list_store.iter_next(&next_iter) {
// There is only single header
// There is only single header left (H1 -> END) -> (NOTHING)
vec_tree_path_to_delete.push(list_store.get_path(&current_iter).unwrap());
break 'main;
}

if tree_model.get_value(&next_iter, column_color).get::<String>().unwrap().unwrap() == HEADER_ROW_COLOR {
// Only two headers
// There are two headers each others(we remove just first) -> (H1 -> H2) -> (H2)
vec_tree_path_to_delete.push(list_store.get_path(&current_iter).unwrap());
current_iter = next_iter.clone();
continue 'main;
}

next_next_iter = next_iter.clone();
if !list_store.iter_next(&next_next_iter) {
// There is only one child or two headers
// There is only one child of header left, so we remove it with header (H1 -> C1 -> END) -> (NOTHING)
vec_tree_path_to_delete.push(list_store.get_path(&current_iter).unwrap());
vec_tree_path_to_delete.push(list_store.get_path(&next_iter).unwrap());
break 'main;
}

if tree_model.get_value(&next_next_iter, column_color).get::<String>().unwrap().unwrap() == HEADER_ROW_COLOR {
// Only one child or two headers - but still are later files
// One child between two headers, we can remove them (H1 -> C1 -> H2) -> (H2)
vec_tree_path_to_delete.push(list_store.get_path(&current_iter).unwrap());
vec_tree_path_to_delete.push(list_store.get_path(&next_iter).unwrap());
current_iter = next_next_iter.clone();
continue 'main;
}

loop {
// (H1 -> C1 -> C2 -> Cn -> END) -> (NO CHANGE, BECAUSE IS GOOD)
if !list_store.iter_next(&next_next_iter) {
break 'main;
}
// Move to next header
if tree_model.get_value(&next_next_iter, column_color).get::<String>().unwrap().unwrap() == HEADER_ROW_COLOR {
current_iter = next_next_iter.clone();
continue 'main;
Expand Down
2 changes: 1 addition & 1 deletion czkawka_gui_orbtk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "czkawka_gui_orbtk"
version = "1.3.0"
version = "1.4.0"
authors = ["Rafał Mikrut <[email protected]>"]
edition = "2018"
description = "Orbtk frontend of Czkawka"
Expand Down
2 changes: 1 addition & 1 deletion misc/cargo/PublishCore.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
NUMBER="1.3.0"
NUMBER="1.4.0"
CZKAWKA_PATH="/home/rafal"

cd "$CZKAWKA_PATH"
Expand Down
2 changes: 1 addition & 1 deletion misc/cargo/PublishOther.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
NUMBER="1.3.0"
NUMBER="1.4.0"
CZKAWKA_PATH="/home/rafal"

cd "$CZKAWKA_PATH"
Expand Down

0 comments on commit c62617d

Please sign in to comment.