1
0
Fork 0
mirror of synced 2024-05-14 09:23:13 +12:00
Commit graph

52 commits

Author SHA1 Message Date
Rafał Mikrut a0d17fccea
Release 4.0 and do "small" refactoring to fix problems with packing (#593) 2022-01-19 22:35:07 +01:00
Rafał Mikrut 6171eba0f7
Don't include all possible icons in Windows builds (#540)
* Don't include all possible icons in Windows builds

* ABba

* B

* Stonker

* ABEC

* Update to latest
2022-01-10 17:58:18 +01:00
Rafał Mikrut aeeb59d9a6
Add some computer translated languages (#536) 2022-01-01 10:50:11 +01:00
Rafał Mikrut 77a48ca6aa
Add support for translations (#469)
* Reformat code with idea tool

* Pierwsza działająca wersja tłumaczeń

* Działa? I dobrze, bo ma działać

* Ćma szła i się potkła

* Ściął śmiałek źółty rząd pąków.
2021-12-11 16:16:14 +01:00
Rafał Mikrut bb428171cb
Add better custom selecting (#478) 2021-12-02 13:31:10 +01:00
Rafał Mikrut f14101139d
More GTK 4 compatibility fixes (#468)
Bump minimal version to GTK 3.24 and Ubuntu 18.04
Some performance improvements
2021-11-29 11:38:38 +01:00
Rafał Mikrut 4a202633ee Release 3.3.1 2021-11-22 06:48:07 +01:00
Rafał Mikrut 9d28fb8a59 Release 3.3.0 2021-11-20 12:06:44 +01:00
Rafał Mikrut 052711bb4b
Add button for moving files/folders to choosen folder (#449)
* Add button for moving files/folders to choosen folder

* Add support for moving folders to other locations
2021-11-20 08:32:28 +01:00
Rafał Mikrut 96e7af0d25
Add support for multiple hashes in similar images to GUI (#448)
* Add support for multiple hashes in similar images to GUI

* Needs a little more testing

* General fixes
2021-11-19 06:35:26 +01:00
Rafał Mikrut 20c89f44f0
Adds support for multiple hashes type and size in similar images, resize formats and also test to check performacne (#447) 2021-11-18 11:23:17 +01:00
Rafał Mikrut 243505b692 Release 3.2.0 2021-08-07 21:25:43 +02:00
Rafał Mikrut da76f75e11
Update Rust to 1.54 (#400) 2021-07-30 07:16:35 +02:00
Rafał Mikrut a623f2be00
Update all dependencies except trash which don't crosscompile on Windows (#395)
* Update all dependencies except trash which don't crosscompile on Windows
2021-07-21 21:48:21 +02:00
Rafał Mikrut b5f8d6b028
Update to gtk-rs 0.14 (#383)
* Update to Gtk-rs 0.14
2021-06-25 18:07:13 +02:00
Rafał Mikrut 237d879f03 Release 3.1.0 2021-05-08 22:14:53 +02:00
Rafał Mikrut ce8161fd7e Release 3.0.0 2021-03-11 21:41:33 +01:00
Rafał Mikrut 8c1140e40d
Allow to put files to trash instead fully remove them (#284) 2021-03-11 14:31:59 +01:00
Rafał Mikrut 7ea0126525 Release 2.4.0 2021-02-22 12:24:05 +01:00
krzysdz 4c205ce098
Windows taskbar progress support (#264)
* Initial Windows taskbar progress support

* Changes to COM (un)init

It turns out winapi exposes IIDs through a `uuidof()` function of interfaces, so the copied one can be removed.

* Don't return error codes

Now the `TaskbarProgress` functions fail silently.
The `TaskbarProgress` struct now will always be created (even in case of errors in initialisation), but it won't do anything.

* Fix builds for other systems

* Formatted code

* Fix progress shown after the operation finished

A progress update was received after the stop event.
Also `as_ref()` was removed in many places (I don't even know why it was there).

* Remove redundant call to hide

It's already called by the `glib_stop_receiver` receiver.

* Release the ITaskbarList3 and call CoUninitialize at exit

Because objects moved to closures used as fallbacks in GTK have [static lifetimes](https://gtk-rs.org/docs-src/tutorial/closures#closures), the `TaskbarProgress` will never be dropped.
To workaround this problem a `release` function is called when the main window is closed. This function behaves like `drop`, but sets the struct in a valid "empty" state, so that calling `release`/`drop` again won't cause problems.

* Don't set the NORMAL state manually

Because only NOPROGRESS and INDETERMINATE states are used, there is no need to set the NORMAL state when changing the progress value.

Now `set_progress_value` will also change the `TaskbarProgress::current_state` if such situation occurs.

> Unless [SetProgressState](https://docs.microsoft.com/en-us/windows/desktop/api/shobjidl_core/nf-shobjidl_core-itaskbarlist3-setprogressstate)
> has set a blocking state (TBPF_ERROR or TBPF_PAUSED) for the window, a call to **SetProgressValue** assumes the TBPF_NORMAL
> state even if it is not explicitly set. A call to **SetProgressValue** overrides and clears the TBPF_INDETERMINATE state.

See the [SetProgressValue documentation](https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist3-setprogressvalue#how-the-taskbar-button-chooses-the-progress-indicator-for-a-group)
2021-02-20 12:24:36 +01:00
Rafał Mikrut bb7bf12354 Release 2.3.2 2021-01-21 20:52:43 +01:00
Rafał Mikrut 69090755df Release 2.3.1 2021-01-20 15:41:44 +01:00
Rafał Mikrut 943f8f78f1 Release 2.3.0 2021-01-15 16:49:13 +01:00
Rafał Mikrut da4bdd19e2 Release 2.2.0 2021-01-11 12:26:03 +01:00
Rafał Mikrut 4eefe114dd Release 2.1.0 2020-12-31 10:29:36 +01:00
Rafał Mikrut 123bba381f Release 2.0.0 2020-12-23 23:12:50 +01:00
Rafał Mikrut f29e63d049
Add Image preview to similar images (#118) 2020-12-16 10:13:56 +01:00
Rafał Mikrut f0f3073f94 Release version 1.5.1 2020-12-08 17:51:18 +01:00
Rafał Mikrut 6fab1a9368
Add option to save file, store settings and load them (#108) 2020-12-07 15:25:44 +01:00
Rafał Mikrut e6a6e5567b Release 1.5.0 2020-12-02 12:01:30 +01:00
Rafał Mikrut 7ac4a26229
Add progress bar (#106) 2020-12-02 10:25:27 +01:00
Rafał Mikrut c62617df30 Release 1.4.0 2020-11-09 15:50:28 +01:00
Rafał Mikrut 1fb66b32f0 Release version 1.3.0 2020-11-02 22:47:36 +01:00
Rafał Mikrut 2326072222 Release version 1.2.1 2020-10-17 12:56:05 +02:00
Rafał Mikrut d2c7398bdd Release version 1.2.0 2020-10-15 10:50:42 +02:00
Rafał Mikrut 3dd203f246
Add support for finding similar images to CLI (#66) 2020-10-14 21:10:27 +02:00
Rafał Mikrut 67a775beff Release version 1.1 2020-10-10 21:36:25 +02:00
Rafał Mikrut 8bbb12c7d4
Add ability to stop task from GUI (#55) 2020-10-10 11:15:20 +02:00
Rafał Mikrut 71353823e7 Update version to 1.0.1 2020-10-06 21:28:04 +02:00
Rafał Mikrut 8d824036b2 Release 1.0.0 version 2020-10-02 08:58:02 +02:00
Rafał Mikrut 90baebea05 Use for now GTK 3.22 because is available in CI 2020-09-30 16:50:58 +02:00
Rafał Mikrut f550b42fc2 Add support for selecting and unselecting all records in duplicate finder 2020-09-30 16:38:45 +02:00
Rafał Mikrut fe78ca4428 Add more info about packages 2020-09-29 09:27:45 +02:00
Rafał Mikrut d34100461e Bump version to 0.1.4 dev 2020-09-27 11:17:14 +02:00
Rafał Mikrut 85432f1c18 Fix some typos in words and remove empty space 2020-09-26 17:16:12 +02:00
Rafał Mikrut 3cff32c031 Bump to 0.1.3 dev version 2020-09-26 14:13:06 +02:00
Rafał Mikrut 063b5e0918 Bump version to 0.1.2 dev 2020-09-20 18:00:09 +02:00
Rafał Mikrut b1426d7f95 Added basic printing results in tree_view 2020-09-20 11:32:55 +02:00
Rafał Mikrut 2c008b874b Update packages 2020-09-17 18:42:56 +02:00
Rafał Mikrut 843ce17107 Update version to 0.1.1 2020-09-07 17:49:39 +02:00