1
0
Fork 0
mirror of synced 2024-05-15 01:42:27 +12:00
Commit graph

200 commits

Author SHA1 Message Date
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
2021-11-25 08:36:49 +01:00
Rafał Mikrut 78b49dee3d
Remove support for zeroed files (#461) 2021-11-23 11:38:37 +01:00
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
2021-11-23 11:10:24 +01:00
Rafał Mikrut 4a202633ee Release 3.3.1 2021-11-22 06:48:07 +01:00
Rafał Mikrut 20a8e0c489
Fix copy paste bug with moving buttons (#457)
* Hide at start move button

* Fix copy paste bug with moving buttons
2021-11-21 14:13:44 +01:00
Rafał Mikrut c9ca230dfd Hide at start move button 2021-11-21 14:12:11 +01:00
Rafał Mikrut 9d28fb8a59 Release 3.3.0 2021-11-20 12:06:44 +01:00
Rafał Mikrut 418ad73327
Make better look white theme (#450) 2021-11-20 09:43:24 +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 49effca169 Disable partially supported webp<
Disable unrecognized pnm files
2021-11-19 06:53:01 +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 742139379c
Add better errors explanation(native from libraries) (#446) 2021-11-14 15:53:55 +01:00
kuskov 73fdc1dffd
We can select file by pressing "space" in treeview. (#415) 2021-08-15 10:34:02 +02:00
Rafał Mikrut 243505b692 Release 3.2.0 2021-08-07 21:25:43 +02:00
Rafał Mikrut cd258c67ab
Re-enable hardlink on windows (#410) 2021-08-07 20:50:39 +02:00
Rafał Mikrut 581e8cf83f
Fix sym/hard linking files (#409)
Enable symlinks on Windows
2021-08-07 14:53:34 +02:00
Rafał Mikrut fcc909ffd7
Add image preview to duplicate finder (#408) 2021-08-07 10:38:10 +02:00
Rafał Mikrut a92a113714
Add maximum file size (#407)
* Add maximum file size

* Add maximum file size
2021-08-06 23:23:11 +02:00
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
2021-08-06 16:40:43 +02:00
Rafał Mikrut da76f75e11
Update Rust to 1.54 (#400) 2021-07-30 07:16:35 +02:00
Rafał Mikrut 0e9b8a1651
Use GtkScale instead radio buttons for similarity (#397)
* Use GtkScale instead radio buttons for similarity

* Fixes
2021-07-24 22:00:39 +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 bb2fea2b92
Select things by checkbox (#392) 2021-07-16 06:51:54 +02:00
Rafał Mikrut 45707d54c7
Split UI into multiple files (#391) 2021-07-07 21:13:36 +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
Ben Bodenmiller 8b21f0cc78
Fix typo (#363) 2021-05-20 15:44:33 +02:00
Rafał Mikrut bbf7eb3d09
Use Center instead CenterAlways(GTK Bug) (#361) 2021-05-17 11:06:22 +02:00
Rafał Mikrut 237d879f03 Release 3.1.0 2021-05-08 22:14:53 +02:00
Rafał Mikrut cc0dcc2714
Fix excluded items on Windows (#324) 2021-05-08 21:54:01 +02:00
Rafał Mikrut b54748920f
Always center Windows and fix(probably) settings icon (#323) 2021-05-08 20:33:09 +02:00
Rafał Mikrut b08cedd5a6
Allow to set minimal file size to caching (#321) 2021-05-06 21:54:44 +02:00
Rafał Mikrut 775b6b4f10
Fix crashes with too small message queue (#316) 2021-04-14 08:23:59 +02:00
Rafał Mikrut 72224db7f6
Fix a little unsorted results (#304) 2021-04-08 18:28:29 +02:00
Rafał Mikrut 50ad3f9873
Update to Rust 1.5.1 (#302) 2021-03-27 13:14:02 +01: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 8ad0b907ec
Open file when clicking at the Enter button (#285) 2021-03-11 14:31:41 +01:00
Rafał Mikrut 43d76888c6
Add confirmation dialog when removing files with delete key (#282) 2021-03-07 08:57:48 +01:00
Rafał Mikrut 77cdf7e6a4
Add confirmation dialog when trying to remove all files in group (#281) 2021-03-06 15:56:39 +01:00
Rafał Mikrut 17f97bd958
Add option to turn off cache (#263) 2021-03-04 12:09:53 +01:00
Rafał Mikrut 8382f77687
Fix crash when changing tabs (#280) 2021-02-27 07:30:30 +01:00
Rafał Mikrut 13add1cbed
Add hardlinking support for GUI (#276) 2021-02-24 13:53:46 +01:00
Rafał Mikrut 35c47b3230
Add new settings window (#262) 2021-02-23 09:40:19 +01:00
Rafał Mikrut 7ea0126525 Release 2.4.0 2021-02-22 12:24:05 +01:00
Rafał Mikrut 145fa3f0e0 Modify about window, because it looks different on different themes 2021-02-22 11:54:25 +01:00
Rafał Mikrut 2e596f633a Remove all deprecated properties 2021-02-22 11:54:25 +01:00
Rafał Mikrut b274372f8c Update to Glade 3.38.2 2021-02-22 11:54:25 +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
Dan Dascalescu db255a87d4
Improve English (#260) 2021-02-20 09:57:11 +01:00