2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-10 07:10:40 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Rafał Mikrut
582e5417ac
Unify progress data (#972)
* Unify progress data code

* Do not increment in threads values every time when finding file/folder(works quite good, may works bad with folders with ~several thousands of files)

* Partial changes

* Simplify creating tree_view

* Allow setting thread number in CLI

* Simplified code and add tests with help of copilot
2023-05-10 21:27:41 +02:00
Rafał Mikrut
78d00eeb99
Add finding similar audio by content (#970)
* In prehashing check for user clicks, less often

* Similar audio

* Remove ugly time checking

* Fix using cache

* Fix cache and improve performance of validating items

* Remove cache type - cache should be saved to two different cache files(because )

* Working

* Simple multithreading

* Basic Generalization

* Reference folder and swap cleaning

* Split into multiple files

* Commons, improved GUI message

* Simplifying thread run

* Check was stopped

* Fix checking same files

* Make read single file tag more general

* Remove unnnecessary clone

* Reading tags

* Base

* Search

* Gui Fix

* Gui Fix

* Tooltip
2023-05-07 20:54:05 +02:00
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
a66a2849d1
Allow to set number of used threads in scan (#839) 2022-11-25 20:38:27 +01:00
Rafał Mikrut
b1fde3becc
Update dependencies (#870)
* Basic update

* From timestamp

* Clipppy nightly
2022-11-23 20:23:17 +01:00
Rafał Mikrut
bf9dd352dd
Small fixes (#786) 2022-07-28 07:29:50 +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
db09dc9363
Heic or heif support, don't know (#750) 2022-06-08 21:42:51 +02:00
Rafał Mikrut
ec13f86aee
Add smallest files mode (#746) 2022-06-04 21:20:21 +02:00
Rafał Mikrut
cf94ab918e
Reformat code with Intelij tool (#741) 2022-05-31 17:52:55 +02:00
Rafał Mikrut
3748411ebd
Trash music (#732) 2022-05-30 16:26:27 +02:00
Rafał Mikrut
19afce5d2e
Several small fixes (#727) 2022-05-23 19:04:28 +02:00
Rafał Mikrut
6d8b33d8cf
GTK 4 Port (#466) 2022-05-22 10:59:09 +02:00
Rafał Mikrut
a54224fbd0
Update ImagePipe (#705)
* Update ImagePipe, fixes music finder

* Change rodio library, enable by default checking for broken audio files

* Don't crash when checking for broken files

* Fix stopping of scan in broken files

* No more

* PDF Support

* Infer and crash handler for music
2022-05-16 18:23:07 +02:00
Rafał Mikrut
ed4b721665
Random Changes (#576)
* Random Changes

* Urra

* ABC
2022-01-14 06:34:43 +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
Rafał Mikrut
0f0e7a338f
[WIP] Add raw images support (#532)
* Add raw images support

* Potato

* Update
2021-12-31 22:34:24 +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
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
bb428171cb
Add better custom selecting (#478) 2021-12-02 13:31:10 +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
742139379c
Add better errors explanation(native from libraries) (#446) 2021-11-14 15:53:55 +01:00
Rafał Mikrut
cc0dcc2714
Fix excluded items on Windows (#324) 2021-05-08 21:54:01 +02:00
Rafał Mikrut
72d74dd8e2
Adds Mac GUI (#160)
* Adds Mac GUI

* Update Rust to 1.4.9
2020-12-31 19:53:49 +01:00
Rafał Mikrut
083db7aa51
Add manual adding of directories (#165) 2020-12-30 13:41:18 +01:00
Rafał Mikrut
4e3a6f63fe
Add new windows dark theme (#125) 2020-12-21 18:22:59 +01:00
Rafał Mikrut
40f981dcd3
Add custom selection/unselection (#117) 2020-12-14 13:07:35 +01:00
Dariusz Niedoba
acfecd7ca3
Replace String with PathBuf for paths (#59) 2020-10-14 18:41:37 +02:00
Rafał Mikrut
d015b305f2
Add Windows support (#58) 2020-10-10 15:18:04 +02:00
Rafał Mikrut
8bbb12c7d4
Add ability to stop task from GUI (#55) 2020-10-10 11:15:20 +02:00
Caduser2020
085da0369e
Improve code quality. (#52)
* Remove verbose constructs in core.

* Use self and const fn where appropriate.

* Remove needless borrows.

* Fix name in function arguments.

* Merge 'master' into quality

* Decrease function complexity.

* Run fmt.

* Fix clippy.

* Fix duplicate extension files.

* Fix excluded items.

* Fix allowed extensions (Part 2).

* Fix temporary files.
2020-10-09 22:32:08 +02:00
Rafał Mikrut
8161a1c59b Big code refactoring 2020-09-26 16:52:13 +02:00
Rafał Mikrut
d17f2d3ef1 Begin of working with finding biggest files 2020-09-25 21:05:47 +02:00
Rafał Mikrut
cf127d5c36 Add errors and warnings class 2020-09-18 07:32:37 +02:00
Rafał Mikrut
5caff93a51 Show how much files are in groups 2020-09-17 13:35:11 +02:00
Rafał Mikrut
4757b28486 Simplify code with duplication and checking 2020-09-17 12:07:58 +02:00
Rafał Mikrut
0f06ed636a Improved searching and printing duplicated entries,
Saving to file
2020-09-15 19:17:13 +02:00
Rafał Mikrut
cff5ac93c4 Added support for non recursive search 2020-09-12 13:25:23 +02:00
Rafał Mikrut
4b68330393 Added support for excluded items with wildcard * 2020-09-11 22:32:17 +02:00
Rafał Mikrut
a08b4549ba Removed almost all occurrences of println from core 2020-09-11 15:52:06 +02:00
Rafał Mikrut
bccc69bd99 Beginning of removing printing text from core. 2020-09-11 13:50:54 +02:00
Rafał Mikrut
9d4de08ece Use different modules for library and GUI and CLI apps 2020-09-01 19:34:39 +02:00