1
0
Fork 0
mirror of synced 2024-05-06 05:22:25 +12:00
Commit graph

339 commits

Author SHA1 Message Date
Rafał Mikrut 18ae283e8b Bump snap version to 3.1.0 2021-05-08 23:51:43 +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 4fc8655272
Sort cache and allow to optimize later other code (#322) 2021-05-08 18:29:52 +02:00
Rafał Mikrut 018d5bebb0 [SNAP] Use small first letter 2021-05-08 14:19:02 +02:00
Rafał Mikrut ade2a756e2 Try to add desktop file 2021-05-08 14:15:33 +02:00
Rafał Mikrut 2044b91852 Update benchmarks 2021-05-07 17:04:16 +02:00
Rafał Mikrut b08cedd5a6
Allow to set minimal file size to caching (#321) 2021-05-06 21:54:44 +02:00
Rafał Mikrut 8e7ac4a2d7 Rearange Instruction 2021-05-05 09:19:45 +02:00
Rafał Mikrut 30602a486f Add info about Bleachbit, which is wrongly considered as Czkawka alternative 2021-05-04 09:51:27 +02:00
Rafał Mikrut c1270a1d1f
Remove orphan line 2021-05-03 15:44:42 +02:00
Rafał Mikrut 9aea6e9b1e Clear README, by moving Installation and Compilation instructions to new files. 2021-05-01 11:14:02 +02:00
Rafał Mikrut ddac0938a6 Add info about new types of contributing 2021-04-27 22:53:27 +02:00
Rafał Mikrut 775b6b4f10
Fix crashes with too small message queue (#316) 2021-04-14 08:23:59 +02:00
Rafał Mikrut d90d2270fb Update Dependences 2021-04-10 21:35:36 +02:00
Jan Jurec f04be78ff5
Update README.md (#287)
* Update README.md

* Update README.md
2021-04-08 18:29:38 +02:00
Danny Kirkham 4aed7c52c6
Fix typo in command description (#288) 2021-04-08 18:28:49 +02:00
Rafał Mikrut 72224db7f6
Fix a little unsorted results (#304) 2021-04-08 18:28:29 +02:00
Rafał Mikrut 0fa6692d39
Fix error with saving results of name duplicates (#307) 2021-04-01 11:37:16 +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
Douman 67a07f1f98
Use xxhash-rust >=0.8.2 to avoid bug in stateful implementation (#283) 2021-03-08 07:47:17 +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 e3aca69499 Update Image dependency to fix crashes 2021-03-06 13:51:59 +01:00
Rafał Mikrut 0bbe9fe4a3 Revert "Disable for now broken tga and gif files (#270)"
This reverts commit 87f5ca63
2021-03-06 13:36:00 +01:00
Rafał Mikrut 17f97bd958
Add option to turn off cache (#263) 2021-03-04 12:09:53 +01:00
Thomas Andreas Jung 1d904a858e
Dryrun for duplicates (#277)
```
    czkawka_cli dup --dryrun -d $(pwd)/folder -m1 -D aen
    Found 2 duplicated files in 1 groups with same content which took 2 B:
    Size - 2 B (2) - 2 files
    /home/thomas/Development/czkawka/folder/a
    /home/thomas/Development/czkawka/folder/b
    ----

    -------------------------------MESSAGES--------------------------------
    Delete /home/thomas/Development/czkawka/folder/a
    Delete /home/thomas/Development/czkawka/folder/b
    ---------------------------END OF MESSAGES-----------------------------
    ```
2021-03-01 12:23:43 +01:00
Thomas Andreas Jung ed7b197100
Use one implementation for all duplicate file removales (#278) 2021-02-27 09:00:59 +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 4c770b582b
Add option to not ignore hard links (#273) 2021-02-22 20:14:33 +01:00
Rafał Mikrut 814bd116c6 Add info about unofficial PPA 2021-02-22 17:26:08 +01:00
Rafał Mikrut e4107f6517 Changed cargo sources 2021-02-22 13:35:16 +01:00
Rafał Mikrut 7ea0126525 Release 2.4.0 2021-02-22 12:24:05 +01:00
Rafał Mikrut e0b6572f03
Update dependencies (#272) 2021-02-22 12:18:20 +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
Rafał Mikrut 87f5ca63b9
Disable for now broken tga and gif files (#270) 2021-02-22 11:17:32 +01:00
Thomas Andreas Jung e3457edab2
Use one implementation for all hash calculations (#268)
All implementations are the same they only differ by hasher and the file read
limit.
2021-02-22 10:52:21 +01:00
Thomas Andreas Jung 0f12897687
Support the hash type parameter in the CLI (#267)
https://github.com/qarmin/czkawka/issues/266
2021-02-21 05:59:07 +01:00
Thomas Andreas Jung 1e94587de8
Ignore duplicates if those are hard links (#234)
This is a proof of concept.

```
$ echo a > hardlinks/a
$ cp hardlinks/{a,b}
$ ln hardlinks/{a,c}
$ cargo run --bin czkawka_cli dup -m 1 --directories $(pwd)/hardlinks -f /dev/stderr > /dev/null
-------------------------------------------------Files with same hashes-------------------------------------------------
Found 1 duplicated files which in 1 groups which takes 2 B.

---- Size 2 B (2) - 2 files
/home/thomas/Development/czkawka/hardlinks/a
/home/thomas/Development/czkawka/hardlinks/b
```

Open:
- Windows support
- Probably this should be a cli option
2021-02-20 12:28:06 +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
Dan Dascalescu c035514a0e
Improve English for "Ask in future" button (#261) 2021-02-20 09:56:23 +01:00