Commit Graph

75 Commits (8ea9b4b8001402e77138f80ea9fb16a880dc4c14)

Author SHA1 Message Date
Rafał Mikrut 8ea9b4b800
Run pydantic clippy lints on project (#901)
* Update dependencies

* Pydantic part 1

* Some renames, basic Cambalache view

* 2

* 3

* Unwrap

* Tests

* Update CLI to Ubuntu 20.04
1 year ago
Rafał Mikrut 8ab4c19eea
Mac CI fix (#888)
* Mac CI fix

* Maybe now

* Maybe

* FAF

* Hmm

* AFSf
1 year ago
Rafał Mikrut c9e9a65cc9
Windows hardlinking problem (#881)
* Clippy 1

* Nightly Clippy

* Disable hardlink button when on windows test of hardlinking failed

* Import things for new function
1 year ago
Rafał Mikrut b27a95e547
Split Mac CI with and without heif (#875) 1 year ago
Rafał Mikrut b1fde3becc
Update dependencies (#870)
* Basic update

* From timestamp

* Clipppy nightly
1 year ago
Rafał Mikrut 53492395c5
Update GTK dependency (#857)
* Update GTK dependency

* 1.63 is minimal now
2 years ago
Kian-Meng Ang ddc4def99e
Fix typos (#840)
Found via `codespell -S i18n -L crate,nd,gir,noo`
2 years ago
Rafał Mikrut e731f5ed75
Faster similar images with reference folders (#826)
* Faster similar images with reference folders

* Still not works

* Probably works now

* Unnecessary assert when using reference folders

* HumanSize 2.0.0

* 1.62
2 years ago
Rafał Mikrut f16818dc8e Release 5.0.2 version 2 years ago
Rafał Mikrut d3e7c2d777
Update dependencies and fix clippy warnings (#815) 2 years ago
Rafał Mikrut ae87489f3b Release hotfix 5.0.1 version 2 years ago
Rafał Mikrut 390f4751e8 Release 5.0.0 version 2 years ago
Rafał Mikrut 2f932e20ff
Sort speedup and manual add window improvements (#782)
* Sort unstable

* Multiple entries when using manual add

* Do not allow to add multiple same directories to check

* Assert
2 years ago
Rafał Mikrut 8f0527cd33
Add option to exclude files from other filesystems in GUI(Linux) (#776)
* Add exclude other fs to GUI

* Exclude in FS

* Fix crashes in gui and core

* More tests
2 years ago
Rafał Mikrut d42e17c15f
Update to clap from structopt (#759) 2 years ago
Rafał Mikrut db09dc9363
Heic or heif support, don't know (#750) 2 years ago
Rafał Mikrut 3748411ebd
Trash music (#732) 2 years ago
Rafał Mikrut 6d8b33d8cf
GTK 4 Port (#466) 2 years ago
Rafał Mikrut a54224fbd0
Update ImagePipe (#705)
* Update ImagePipe, fixes music finder

* Change rodio library, enable by default checking for broken audio files

* Don't crash when checking for broken files

* Fix stopping of scan in broken files

* No more

* PDF Support

* Infer and crash handler for music
2 years ago
Rafał Mikrut b00420d8c0 Release 4.1.0 version 2 years ago
Rafał Mikrut 8e4e1f58cb
Finding invalid extensions (#678)
* Find invalid extensions

* Another day

* Libc

* Basic Renames

* Ending words

* Better renaming

* Stonks because works
2 years ago
Rafał Mikrut 2d8a930ae5
Update image-rs and fix selecting windows path (#656) 2 years ago
Rafał Mikrut 4427ec06c0
Update GTK (#583) 2 years ago
Rafał Mikrut a0d17fccea
Release 4.0 and do "small" refactoring to fix problems with packing (#593) 2 years ago
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
2 years ago
Rafał Mikrut aeeb59d9a6
Add some computer translated languages (#536) 2 years ago
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.
2 years ago
Rafał Mikrut bb428171cb
Add better custom selecting (#478) 2 years ago
Rafał Mikrut f14101139d
More GTK 4 compatibility fixes (#468)
Bump minimal version to GTK 3.24 and Ubuntu 18.04
Some performance improvements
2 years ago
Rafał Mikrut 4a202633ee Release 3.3.1 3 years ago
Rafał Mikrut 9d28fb8a59 Release 3.3.0 3 years ago
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
3 years ago
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
3 years ago
Rafał Mikrut 20c89f44f0
Adds support for multiple hashes type and size in similar images, resize formats and also test to check performacne (#447) 3 years ago
Rafał Mikrut 243505b692 Release 3.2.0 3 years ago
Rafał Mikrut da76f75e11
Update Rust to 1.54 (#400) 3 years ago
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
3 years ago
Rafał Mikrut b5f8d6b028
Update to gtk-rs 0.14 (#383)
* Update to Gtk-rs 0.14
3 years ago
Rafał Mikrut 237d879f03 Release 3.1.0 3 years ago
Rafał Mikrut ce8161fd7e Release 3.0.0 3 years ago
Rafał Mikrut 8c1140e40d
Allow to put files to trash instead fully remove them (#284) 3 years ago
Rafał Mikrut 7ea0126525 Release 2.4.0 3 years ago
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)
3 years ago
Rafał Mikrut bb7bf12354 Release 2.3.2 3 years ago
Rafał Mikrut 69090755df Release 2.3.1 3 years ago
Rafał Mikrut 943f8f78f1 Release 2.3.0 3 years ago
Rafał Mikrut da4bdd19e2 Release 2.2.0 3 years ago
Rafał Mikrut 4eefe114dd Release 2.1.0 3 years ago
Rafał Mikrut 123bba381f Release 2.0.0 3 years ago
Rafał Mikrut f29e63d049
Add Image preview to similar images (#118) 3 years ago