Commit Graph

364 Commits (master)

Author SHA1 Message Date
Rafał Mikrut d310fe4059
Save more things to config file (#581) 2 years ago
Rafał Mikrut f54934df49
Changes part 2 (#578) 2 years ago
Rafał Mikrut ed4b721665
Random Changes (#576)
* Random Changes

* Urra

* ABC
2 years ago
Rafał Mikrut 489ec3cfda
Split files to different folders (#575) 2 years ago
Rafał Mikrut d57b621594
Reverse selection when clicking at middle mouse button (#572) 2 years ago
Rafał Mikrut fc5f8af857
Fix crashes when comparing images (#571) 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 5dab9286cb
Add compare images tool (#568)
* Add compare images tool

* Crash lord, crashes more than needed

* Kluchy piertuchy

* Głowa mała

* Troszkę

* Czokoszoki

* Ajzenbiśla

* Środa

* Piątek

* Stonk

* TreePath

* Czego, śpiem przecież

* Mój tród skończon

* Aktualizacja nazw
2 years ago
Rafał Mikrut e7e98d5dd1
Save to cache more informations about items (#567) 2 years ago
Rafał Mikrut aaa5885326
Add cache support to similar music files (#558)
* Simplify cache code

* Better saving/loading.
Add support for loading/saving json files in release mode

* Broken files cache

* Finally same music cache
2 years ago
Peter Blackson db3b1f5304
Use DirTraversal for similar music (#559)
* Use DirTraversal for similar music

* Simplify file type checking

* Fix for clippy
2 years ago
Rafał Mikrut 0e00544af4
Fix for fix about icon (#555) 2 years ago
Rafał Mikrut cbf3121a7a
Fix crash with missing icon (#550)
* Fix crash with missing icon

* ABC
2 years ago
Rafał Mikrut c6d246c02e
Add proper logo to about dialog (#547) 2 years ago
Rafał Mikrut 32d9df73e1 Add authors from GIT 2 years ago
Peter Blackson db47e8b711
Use DirTraversal for empty folders (#544) 2 years ago
Peter Blackson 51df63b8ea
Implement DirTraversal (#531)
* Implement DirTraversal

* rustfmt

* Fix for options

* Fix entries

* Fix symlinks

* Fix other entry type
2 years ago
Rafał Mikrut 58c19dd912 Add Czech and Ukrainian language
Fix problem with not clickable buttons in clear cache dialog
2 years ago
Rafał Mikrut aeeb59d9a6
Add some computer translated languages (#536) 2 years ago
Rafał Mikrut cc32514c03
Add Portuguese translation (#534) 2 years ago
Rafał Mikrut 0f0e7a338f
[WIP] Add raw images support (#532)
* Add raw images support

* Potato

* Update
2 years ago
Rafał Mikrut 382f12acb3
Fast compare option (#529) 2 years ago
Rafał Mikrut d8700f6e78
Don't crash when adding directories (#527) 2 years ago
Rafał Mikrut 7cff862434 Remove application ID 2 years ago
Rafał Mikrut 25301eb56e
Translation button (#526) 2 years ago
Rafał Mikrut 5be801e763 Add computer translated German translation(testing purposes) 2 years ago
Rafał Mikrut d8dc176e63 Small changes and fixes 2 years ago
Rafał Mikrut 1f5fca3f46
Add new step to check progress of comparing images. (#525)
Fix empty loaded items in e.g. Excluded Directories.
Fix bug with non-loading proper image results
2 years ago
Rafał Mikrut e2494d240f
Reorganize saving/loading data from file (#524) 2 years ago
Rafał Mikrut c4f26883b1
Add reference folders (#516)
* Add reference folder

* Basic tree view cleaning

* Computations

* Similar Images

* Muzyka i Wideo

* Podwójne dwa razy, cztery razy!

* Rozmiar i Nazwa

* Spanko i działanko(przynajmniej zdaje mi się że działa)

* Translatanko
2 years ago
Rafał Mikrut 5db5d17afb
Use max line length 180 instead 250 (#515)
This was a little too big value.
I don't like too much too small values, because code looks ugly.
2 years ago
Rafał Mikrut 878550446d
Show how many files will be deleted/moved (#514)
* Print proper character(\) in Windows when printing files

* Show how many files will be moved/deleted.
Don't show dialog when 0 files is selected
2 years ago
Igor b320d6aa3a
Add Italian translation (#508)
* Add Italian translation - #251

* Italian translation reviewed.

* Updated languages in misc/translation_test.py

* Italian translation reviewed.
2 years ago
Rafał Mikrut d1ac2f3c22
Update translation and add helpful script (#510) 2 years ago
Rafał Mikrut 0a924d2355
Improve translations (#507)
* Improve translations

* Imports
2 years ago
Rafał Mikrut c8ade1fb0f
Use system language when available (#506)
* Use system language when available

* Use clippy nightly
2 years ago
Rafał Mikrut c97bacad99
Add more GTK 4 compatibility fixes (#505)
* Add more compatibility fixes

* Simplify
2 years ago
Rafał Mikrut 619e64466c
More GTK4 compatibility fixes (#503)
* Don't create new treeview

* Dont

* ABC

* Detlaff

* Update
2 years ago
Rafał Mikrut cf668d02a7
Implement threaded search in rest of modes(except empty folders) (#504)
* Implement threaded search in rest of modes(except empty folders)

* Add more tools in gui to use allowed extension

* Change progress window to modal

* Nazair

* Clippy
2 years ago
Rafał Mikrut c041ab416e
Better ignore same size files (#501) 2 years ago
Rafał Mikrut 975b285c1f
Make UI take less space (#500) 2 years ago
Rafał Mikrut 89f24f14b5
Use translated strings in more places (#498) 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 5f774e03bd
Add button to ignore images with non unique size. (#493)
This will help with finding different images(non 1:1 which could be easily found by duplicate finder tool)
2 years ago
Rafał Mikrut 457b55ada5
Allow to hide upper notebook (#491) 2 years ago
Rafał Mikrut a8aa8a2a23
Multiple small changes (#490) 2 years ago
Rafał Mikrut e2d31d4f98
Add confirmation and warning dialog to hard/symlinks (#489) 2 years ago
Rafał Mikrut 875ed2c8a9
Enable sorting for simple treeviews (#487) 2 years ago
Rafał Mikrut 5296e1c708
Better comparison of music tags (#485) 2 years ago
Rafał Mikrut ce3d86fd4e
Approximate comparison of music (#483) 2 years ago
Rafał Mikrut c8549b3810
Make settings and progress window a dialog (#481)
This will fix issue with showing windows in random position after removing Window::Position
Settings are modal, so entire app is frozen and this needs to be closed to be able to use e.g. minimize button.
2 years ago
Rafał Mikrut b496809410
Don't try to create previews of images that currently are displayed in preview window (#480)
* Don't try to create previews of images that currently are displayed in preview window

* Don't need to use special buttons anymore
2 years ago
Rafał Mikrut f334bd6975
Add better custom selecting (#479) 2 years ago
Rafał Mikrut bb428171cb
Add better custom selecting (#478) 2 years ago
Rafał Mikrut 1fd53b854b
Add prehash cache support (#477) 2 years ago
Rafał Mikrut 51271dcdf0
Remove HashMB mode (#476)
* Remove HashMB mode

* Add some explanation and remove this from GUI

* Not needing to handle everything
2 years ago
Rafał Mikrut 8c4c67e26f
More GTK 4 related changes (#474)
* More GTK 4 related changes

* More changes

* Change button to MenuButton
2 years ago
Rafał Mikrut c7b9abcfa0
Fix buttons when converting to GTK 4 (#473)
* Fix buttons when converting to GTK 4

* Childrens
2 years ago
Rafał Mikrut 4871016a3c
Add option to not remove outdated cache entries (#472)
* Add option to not remove outdated cache entries

* Default duplicates cache size lowered to 512 KB

* Add some tooltips,
Add logic to opening cache/config folders

* Add option to clear cache files from outdated results(manually)
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 cf2e822435 Reformat code with idea tool 3 years ago
Rafał Mikrut b7e4eaccaf Modified include organization 3 years ago
Rafał Mikrut 5836e3e5b3
GTK 4 compatibility fixes (#467)
App still require GTK 3.22(3.24 in near future), but converting to GTK 4 should be easier and faster
3 years ago
Rafał Mikrut 16772b1c52 Update Mac installation instruction add info about Chocolatey 3 years ago
Rafał Mikrut c9719758c7
Clean GUI code, make it easier to understand and change (#462)
* Add static variable for basic notebook data

* Opening, selecting results by space, enter and mouse

* Now hard/symbolic links

* Now deleting

* Now popovers

* Move tests to different function

* Don't crash when there is no selected records

* Button symlinks

* Now move

* Compute results

* Move again

* Again Popovers

* More popovers and more

* Key clicking, removing

* KEY_DELETE

* No more GuiData clone

* Adding directories

* Reorganize a little files
3 years ago
Rafał Mikrut 78b49dee3d
Remove support for zeroed files (#461) 3 years ago
Rafał Mikrut 29129d3ec0
Support for finding similar videos (#460)
* Add support for similar videos to CLI

* Add GUI support for similar videos

* Video duplicates

* git_dup

* Documentation
3 years ago
Rafał Mikrut 4a202633ee Release 3.3.1 3 years ago
Rafał Mikrut 20a8e0c489
Fix copy paste bug with moving buttons (#457)
* Hide at start move button

* Fix copy paste bug with moving buttons
3 years ago
Rafał Mikrut c9ca230dfd Hide at start move button 3 years ago
Rafał Mikrut 9d28fb8a59 Release 3.3.0 3 years ago
Rafał Mikrut 418ad73327
Make better look white theme (#450) 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 49effca169 Disable partially supported webp<
Disable unrecognized pnm files
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 742139379c
Add better errors explanation(native from libraries) (#446) 3 years ago
kuskov 73fdc1dffd
We can select file by pressing "space" in treeview. (#415) 3 years ago
Rafał Mikrut 243505b692 Release 3.2.0 3 years ago
Rafał Mikrut cd258c67ab
Re-enable hardlink on windows (#410) 3 years ago
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