1
0
Fork 0
mirror of synced 2024-05-20 20:32:59 +12:00
Commit graph

114 commits

Author SHA1 Message Date
Rafał Mikrut 72df211ca2
Big core cleaning (#969)
* Update dependencies

* Split functions in big file finder

* Bad Extensions

* Thread handler bad extensions

* Progress handler

* Atomic counter

* All thread handler simplifying

* Simplifying

* More

* Again

* Btreemap simplifying

* Also

* Next

* Common dir

* Simplify music checking

* Similar Images coplexity

* Loading cache

* Hashes

* Split chunked hashes

* Split into multiple parts

* Last similar video piece

* Probably last part

* Cleaned

* Temp
2023-05-02 22:37:12 +02:00
Rafał Mikrut 5272309341
Implement finding duplicates by size/name (#956)
* Implementing Size+Name method

* Partial hashing

* Move hashing into different functions

* Update

* Add some code

* Split code into parts

* Entry size

* Simplify code

* Bottom Buttons

* Bottom Buttons

* Confusion

* Libheif

* Simplified sorting

* Revert libheif change
2023-04-05 08:08:43 +02:00
Rafał Mikrut 329fc8f93d
Let some else (#936) 2023-03-05 20:54:02 +01:00
Rafał Mikrut f1c6e6da17
Add sort button (#894)
* Add sort button

* Update lofty and gtk-rs

* Fix bug with invalid music tags with reference folders

* Remove try at

* Fix loading of certain directories with disabled loading settings at start

* Change FileChooserDialog to FileChooserNative

* Any

* Copy Clone

* Popover sort basic

* Builder using

* Basic sorting

* Fix not working sorting by size

* Changelog
2023-02-19 10:21:14 +01:00
Rafał Mikrut 8ea9b4b800
Run pydantic clippy lints on project (#901)
* Update dependencies

* Pydantic part 1

* Some renames, basic Cambalache view

* 2

* 3

* Unwrap

* Tests

* Update CLI to Ubuntu 20.04
2023-01-28 18:54:02 +01:00
Rafał Mikrut c9e9a65cc9
Windows hardlinking problem (#881)
* Clippy 1

* Nightly Clippy

* Disable hardlink button when on windows test of hardlinking failed

* Import things for new function
2022-12-21 08:44:26 +01:00
Rafał Mikrut b1fde3becc
Update dependencies (#870)
* Basic update

* From timestamp

* Clipppy nightly
2022-11-23 20:23:17 +01:00
Rafał Mikrut e731f5ed75
Faster similar images with reference folders (#826)
* Faster similar images with reference folders

* Still not works

* Probably works now

* Unnecessary assert when using reference folders

* HumanSize 2.0.0

* 1.62
2022-09-13 22:18:07 +02:00
Rafał Mikrut d5b08787a0 Update translates 2022-07-26 22:20:28 +02:00
Rafał Mikrut 2f932e20ff
Sort speedup and manual add window improvements (#782)
* Sort unstable

* Multiple entries when using manual add

* Do not allow to add multiple same directories to check

* Assert
2022-07-24 20:48:02 +02:00
Rafał Mikrut 8f0527cd33
Add option to exclude files from other filesystems in GUI(Linux) (#776)
* Add exclude other fs to GUI

* Exclude in FS

* Fix crashes in gui and core

* More tests
2022-07-19 19:09:52 +02:00
Rafał Mikrut 56fc29fa4f
Speedup little entry access in maps and fix missing extension workarounds (#747) 2022-06-05 08:01:17 +02:00
Rafał Mikrut cf94ab918e
Reformat code with Intelij tool (#741) 2022-05-31 17:52:55 +02:00
Rafał Mikrut 073ae6f72f
Saves results when stopping scan (#713) 2022-05-09 19:40:35 +02:00
Rafał Mikrut 642a6369f3 Update authors, translations, changelog, fix issue with translation 2022-04-23 21:55:41 +02:00
ChihWei Wang c64ab05648
Add exclude other filesystems option (#673) 2022-04-23 20:21:46 +02:00
Rafał Mikrut aa07d73bca
Case insensitive name checking (#669)
* Case insensitive checking in name duplicates

* Hide instead disable
2022-04-10 11:59:41 +02:00
Rafał Mikrut 12a873ff66
Hardlinking fix for Windows (#668) 2022-04-08 17:17:16 +02:00
Rafał Mikrut a0d17fccea
Release 4.0 and do "small" refactoring to fix problems with packing (#593) 2022-01-19 22:35:07 +01:00
Rafał Mikrut f54934df49
Changes part 2 (#578) 2022-01-14 21:14:13 +01:00
Rafał Mikrut ed4b721665
Random Changes (#576)
* Random Changes

* Urra

* ABC
2022-01-14 06:34:43 +01:00
Rafał Mikrut 74e4ab5263
Decrease used memory to prevent stack overflow (#563) 2022-01-06 20:28:22 +01:00
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
2022-01-05 22:47:27 +01:00
Peter Blackson 51df63b8ea
Implement DirTraversal (#531)
* Implement DirTraversal

* rustfmt

* Fix for options

* Fix entries

* Fix symlinks

* Fix other entry type
2022-01-01 21:07:20 +01:00
Rafał Mikrut de964ce40d
Handle image crashes (#530)
* Don't crash when checking images

* Don't crash when checking images

* Don't crash when checking images

* HERE

* REME

* REE
2021-12-29 13:43:38 +01:00
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
2021-12-24 09:18:55 +01:00
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.
2021-12-21 18:44:20 +01:00
Rafał Mikrut 0a924d2355
Improve translations (#507)
* Improve translations

* Imports
2021-12-19 14:45:10 +01:00
Rafał Mikrut c8ade1fb0f
Use system language when available (#506)
* Use system language when available

* Use clippy nightly
2021-12-18 23:45:37 +01:00
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
2021-12-17 19:29:37 +01:00
Peter Blackson 859e01b30e
Parallel BFS with Rayon (#502)
* Tester

* Parallel BFS with Rayon

* Rustfmt

* Refactor code

* Use `extend` instead of `append`

* Remove no longer needed derives
2021-12-16 20:49:59 +01:00
Rafał Mikrut 975b285c1f
Make UI take less space (#500) 2021-12-13 19:13:53 +01:00
Rafał Mikrut f334bd6975
Add better custom selecting (#479) 2021-12-02 15:33:06 +01:00
Rafał Mikrut 1fd53b854b
Add prehash cache support (#477) 2021-12-01 20:09:04 +01:00
Rafał Mikrut 51271dcdf0
Remove HashMB mode (#476)
* Remove HashMB mode

* Add some explanation and remove this from GUI

* Not needing to handle everything
2021-12-01 12:37:17 +01:00
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)
2021-11-30 12:45:09 +01:00
Rafał Mikrut cf2e822435 Reformat code with idea tool 2021-11-27 20:57:10 +01:00
Rafał Mikrut b7e4eaccaf Modified include organization 2021-11-27 20:49:20 +01:00
Rafał Mikrut d302c3b2d8 Update cache creating 2021-11-27 20:42:31 +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 742139379c
Add better errors explanation(native from libraries) (#446) 2021-11-14 15:53:55 +01: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 da76f75e11
Update Rust to 1.54 (#400) 2021-07-30 07:16:35 +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 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 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 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