Commit Graph

234 Commits (5db5d17afbb910da44f46f77c3209d6d4d3254e4)

Author SHA1 Message Date
Rafał Mikrut 581e8cf83f
Fix sym/hard linking files (#409)
Enable symlinks on Windows
3 years ago
Rafał Mikrut fcc909ffd7
Add image preview to duplicate finder (#408) 3 years ago
Rafał Mikrut a92a113714
Add maximum file size (#407)
* Add maximum file size

* Add maximum file size
3 years ago
Rafał Mikrut 909967dcd8
Update BKtree and blake3 and add new grouping algorithm (#405)
* Update BKtree and blake3

* Add new algorithm for similar images

* Improve algorithm of grouping similar images
3 years ago
Rafał Mikrut da76f75e11
Update Rust to 1.54 (#400) 3 years ago
Rafał Mikrut 0e9b8a1651
Use GtkScale instead radio buttons for similarity (#397)
* Use GtkScale instead radio buttons for similarity

* Fixes
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 bb2fea2b92
Select things by checkbox (#392) 3 years ago
Rafał Mikrut 45707d54c7
Split UI into multiple files (#391) 3 years ago
Rafał Mikrut b5f8d6b028
Update to gtk-rs 0.14 (#383)
* Update to Gtk-rs 0.14
3 years ago
Ben Bodenmiller 8b21f0cc78
Fix typo (#363) 3 years ago
Rafał Mikrut bbf7eb3d09
Use Center instead CenterAlways(GTK Bug) (#361) 3 years ago
Rafał Mikrut 237d879f03 Release 3.1.0 3 years ago
Rafał Mikrut cc0dcc2714
Fix excluded items on Windows (#324) 3 years ago
Rafał Mikrut b54748920f
Always center Windows and fix(probably) settings icon (#323) 3 years ago
Rafał Mikrut b08cedd5a6
Allow to set minimal file size to caching (#321) 3 years ago
Rafał Mikrut 775b6b4f10
Fix crashes with too small message queue (#316) 3 years ago
Rafał Mikrut 72224db7f6
Fix a little unsorted results (#304) 3 years ago
Rafał Mikrut 50ad3f9873
Update to Rust 1.5.1 (#302) 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 8ad0b907ec
Open file when clicking at the Enter button (#285) 3 years ago
Rafał Mikrut 43d76888c6
Add confirmation dialog when removing files with delete key (#282) 3 years ago
Rafał Mikrut 77cdf7e6a4
Add confirmation dialog when trying to remove all files in group (#281) 3 years ago
Rafał Mikrut 17f97bd958
Add option to turn off cache (#263) 3 years ago
Rafał Mikrut 8382f77687
Fix crash when changing tabs (#280) 3 years ago
Rafał Mikrut 13add1cbed
Add hardlinking support for GUI (#276) 3 years ago
Rafał Mikrut 35c47b3230
Add new settings window (#262) 3 years ago
Rafał Mikrut 7ea0126525 Release 2.4.0 3 years ago
Rafał Mikrut 145fa3f0e0 Modify about window, because it looks different on different themes 3 years ago
Rafał Mikrut 2e596f633a Remove all deprecated properties 3 years ago
Rafał Mikrut b274372f8c Update to Glade 3.38.2 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
Dan Dascalescu db255a87d4
Improve English (#260) 3 years ago
Dan Dascalescu c035514a0e
Improve English for "Ask in future" button (#261) 3 years ago
Rafał Mikrut ea474c2af0 Fix typo in window progress 3 years ago
Rafał Mikrut 9f3da0e70f
Add support for CRC32 and XXH3 hash (#243) 3 years ago
Rafał Mikrut 2c2004b316
Change progress dialog to progress window (#229) 3 years ago
Rafał Mikrut 49ddc041ee
Add about dialog (#226) 3 years ago
Rafał Mikrut bb7bf12354 Release 2.3.2 3 years ago
Rafał Mikrut 42af724681
Add support for moving selection by keyboard to update similar image preview (#223) 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 0c10a6a0ba
Sort Results by path where it is possible (#211) 3 years ago
Rafał Mikrut 56763846ac
Add missing popover info for invalid symlinks (#209) 3 years ago
Rafał Mikrut eeaaea20cc
Add broken files support (#202) 3 years ago
Rafał Mikrut b41a22a021
Fix error when closing dialog progress by X (#199) 3 years ago
Rafał Mikrut da4bdd19e2 Release 2.2.0 3 years ago
Rafał Mikrut 80bbc9ba85
Move image cache to cache from config dir (#197) 3 years ago
Rafał Mikrut 7992ba30de
Fix included/excluded files which contains commas (#195) 3 years ago
Rafał Mikrut ff85453394
Split Gui code into multiple files (#194) 3 years ago
Rafał Mikrut 683e0f9117
Use directly TreeView instead ScrolledWindow->TreeView (#190) 3 years ago
Rafał Mikrut 30bab75a5d
Modernize notebook handling (#189) 3 years ago
Rafał Mikrut 4bbdbd078d
Simplify a little code (#184) 3 years ago
Rafał Mikrut 784b5be06a
Only show preview when 1 image is selected (#183) 3 years ago
Rafał Mikrut 8d4a264c6d
Use master gtk plugin again (#179)
* Use master gtk plugin again
3 years ago
Rafał Mikrut 72d74dd8e2
Adds Mac GUI (#160)
* Adds Mac GUI

* Update Rust to 1.4.9
3 years ago
Rafał Mikrut 4eefe114dd Release 2.1.0 3 years ago
Rafał Mikrut a8c0a80bcf
Add manual excluding directories (#168) 3 years ago
Rafał Mikrut 97f7c8370d
Hide preview when deleting images or symlinking it (#167) 3 years ago
Rafał Mikrut 083db7aa51
Add manual adding of directories (#165) 3 years ago
Rafał Mikrut a2f44d58c2
Add resizable top panel (#164) 3 years ago
Rafał Mikrut 10c32c90c0
Add support for delete button (#159) 3 years ago
Rafał Mikrut f622504356
Allow to select multiple entries in File Chooser (#154) 3 years ago
Rafał Mikrut 8a07dbed6b
Add selecting images with it's size (#138) 3 years ago
Rafał Mikrut d84722aa51
Modernize popovers code and simplify later changes (#137) 3 years ago
Rafał Mikrut 123bba381f Release 2.0.0 3 years ago
Rafał Mikrut 880787a67f
Show errors in image previewer when failed to generate it (#130) 3 years ago
Rafał Mikrut 5672431257
Add minimal similarity level (#129) 3 years ago
Rafał Mikrut 865543c7d7
Add option to open folders by double right click (#128) 3 years ago
Rafał Mikrut 7c3b9681b1
Split symlink path to two path and file name (#127) 3 years ago
Rafał Mikrut 4e3a6f63fe
Add new windows dark theme (#125) 3 years ago
Rafał Mikrut 1d59199bb2
Add support for checking for invalid symlinks (#124) 3 years ago
Rafał Mikrut 4a33ff7d86
Add support for symbolic links (#123) 4 years ago
Rafał Mikrut 68c3c294c9
Add button to enable/disable in settings text view errors (#122) 4 years ago
Rafał Mikrut a4d4a792e5
Add setting button to disable/enable previews(enabled by default) (#121) 4 years ago
Rafał Mikrut f29e63d049
Add Image preview to similar images (#118) 4 years ago
Rafał Mikrut 40f981dcd3
Add custom selection/unselection (#117) 4 years ago
Rafał Mikrut ff353c7014
Remove console window in Windows (#116) 4 years ago
Rafał Mikrut 7148abb8be
Add button to hide/show text view errors (#115) 4 years ago
Rafał Mikrut 30bd1f2f38
Add setting for deletion confirmation dialog (#114) 4 years ago
Rafał Mikrut 62e5e8e03e
Select longer names by default (#113) 4 years ago
Rafał Mikrut f0f3073f94 Release version 1.5.1 4 years ago
Rafał Mikrut c1afbe6b92
Fix errors in progress bar caused by dividing by 0 (#109) 4 years ago
Rafał Mikrut 6fab1a9368
Add option to save file, store settings and load them (#108) 4 years ago
Rafał Mikrut a047380dbe Center dialog to current window 4 years ago
Rafał Mikrut e6a6e5567b Release 1.5.0 4 years ago
Rafał Mikrut 6d5ab1d98c
Removed unused stop, resume and pause buttons (#107) 4 years ago
Rafał Mikrut 7ac4a26229
Add progress bar (#106) 4 years ago
Rafał Mikrut c62617df30 Release 1.4.0 4 years ago
Rafał Mikrut 29a0716be5
Add very small similarity level to finding similar images, add option to choose level from CLI, fix bug with duplicated entries in similar pictures (#104) 4 years ago
Rafał Mikrut 2815692205
Fix removing entries (#103) 4 years ago
Rafał Mikrut 88d47e49cf
Add select for all modes (#102) 4 years ago
Rafał Mikrut 3e61544ec4
Add support for multithreading to zeroed files (#101) 4 years ago
Rafał Mikrut 2f72dd9d19
Add multithread support to similar image finder (#98) 4 years ago
Rafał Mikrut 110d6015bc
Similar images improvements: (#97)
Headers without data
By default only checking for High Similarity(faster search)
4 years ago
Rafał Mikrut 5d4f4db8c1
Simplify some GUI code (#96) 4 years ago
Rafał Mikrut 1fb66b32f0 Release version 1.3.0 4 years ago
Rafał Mikrut ecebb3a1af
Implement finding duplicated music by tags/artist/year etc. (#95) 4 years ago
Rafał Mikrut 4429df2861
Refactore GUI into multiple files (#89) 4 years ago