Commit Graph

491 Commits (574cc78b1216b1b143e8832a365fd9cd2be8f7c8)
 

Author SHA1 Message Date
tenninjas 5842311496
Update Installation.md (#327)
The Mac instructions need to be clear that you are telling people to install Homebrew first which will manage GTK; People should be informed about what you are asking them to install on their system.
3 years ago
Shriraj Hegde b88967884b
Generate Minimal Appimage (#339)
* Generate Minimal Appimage

* Rename Files

* Rename output file
3 years ago
Rafał Mikrut 18ae283e8b Bump snap version to 3.1.0 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 4fc8655272
Sort cache and allow to optimize later other code (#322) 3 years ago
Rafał Mikrut 018d5bebb0 [SNAP] Use small first letter 3 years ago
Rafał Mikrut ade2a756e2 Try to add desktop file 3 years ago
Rafał Mikrut 2044b91852 Update benchmarks 3 years ago
Rafał Mikrut b08cedd5a6
Allow to set minimal file size to caching (#321) 3 years ago
Rafał Mikrut 8e7ac4a2d7 Rearange Instruction 3 years ago
Rafał Mikrut 30602a486f Add info about Bleachbit, which is wrongly considered as Czkawka alternative 3 years ago
Rafał Mikrut c1270a1d1f
Remove orphan line 3 years ago
Rafał Mikrut 9aea6e9b1e Clear README, by moving Installation and Compilation instructions to new files. 3 years ago
Rafał Mikrut ddac0938a6 Add info about new types of contributing 3 years ago
Rafał Mikrut 775b6b4f10
Fix crashes with too small message queue (#316) 3 years ago
Rafał Mikrut d90d2270fb Update Dependences 3 years ago
Jan Jurec f04be78ff5
Update README.md (#287)
* Update README.md

* Update README.md
3 years ago
Danny Kirkham 4aed7c52c6
Fix typo in command description (#288) 3 years ago
Rafał Mikrut 72224db7f6
Fix a little unsorted results (#304) 3 years ago
Rafał Mikrut 0fa6692d39
Fix error with saving results of name duplicates (#307) 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
Douman 67a07f1f98
Use xxhash-rust >=0.8.2 to avoid bug in stateful implementation (#283) 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 e3aca69499 Update Image dependency to fix crashes 3 years ago
Rafał Mikrut 0bbe9fe4a3 Revert "Disable for now broken tga and gif files (#270)"
This reverts commit 87f5ca63
3 years ago
Rafał Mikrut 17f97bd958
Add option to turn off cache (#263) 3 years ago
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-----------------------------
    ```
3 years ago
Thomas Andreas Jung ed7b197100
Use one implementation for all duplicate file removales (#278) 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 4c770b582b
Add option to not ignore hard links (#273) 3 years ago
Rafał Mikrut 814bd116c6 Add info about unofficial PPA 3 years ago
Rafał Mikrut e4107f6517 Changed cargo sources 3 years ago
Rafał Mikrut 7ea0126525 Release 2.4.0 3 years ago
Rafał Mikrut e0b6572f03
Update dependencies (#272) 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
Rafał Mikrut 87f5ca63b9
Disable for now broken tga and gif files (#270) 3 years ago
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.
3 years ago
Thomas Andreas Jung 0f12897687
Support the hash type parameter in the CLI (#267)
https://github.com/qarmin/czkawka/issues/266
3 years ago
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
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