diff --git a/Changelog.md b/Changelog.md index b883609..3213fa9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -37,7 +37,7 @@ ## Version 4.1.0 - 24.04.2022r - New mode - finding files whose content not match with their extension - [#678](https://github.com/qarmin/czkawka/pull/678) -- Builtin icons - no more invalid, theme/OS dependant icons - [#659](https://github.com/qarmin/czkawka/pull/659) +- Builtin icons - no more invalid, theme/OS dependent icons - [#659](https://github.com/qarmin/czkawka/pull/659) - Big(usually 2x) speedup of showing previews of images(both previews in scan and compare window) - [#660](https://github.com/qarmin/czkawka/pull/660) - Fix selecting records by custom selection popup - [#632](https://github.com/qarmin/czkawka/pull/632) - Support more tags when comparing music files - [#590](https://github.com/qarmin/czkawka/pull/590) diff --git a/czkawka_cli/src/commands.rs b/czkawka_cli/src/commands.rs index 27d947d..565c9ba 100644 --- a/czkawka_cli/src/commands.rs +++ b/czkawka_cli/src/commands.rs @@ -240,7 +240,7 @@ pub enum Commands { minimal_file_size: u64, #[clap(short = 'i', long, parse(try_from_str = parse_maximal_file_size), default_value = "18446744073709551615", help = "Maximum size in bytes", long_help = "Maximum size of checked files in bytes, assigning lower value may speed up searching")] maximal_file_size: u64, - #[clap(short = 't', long, parse(try_from_str = parse_tolerance), default_value = "10", help = "Video maximium difference (allowed values <0,20>)", long_help = "Maximum difference between video frames, bigger value means that videos can looks more and more different (allowed values <0,20>)")] + #[clap(short = 't', long, parse(try_from_str = parse_tolerance), default_value = "10", help = "Video maximum difference (allowed values <0,20>)", long_help = "Maximum difference between video frames, bigger value means that videos can looks more and more different (allowed values <0,20>)")] tolerance: i32, }, #[clap(name = "ext", about = "Finds files with invalid extensions", help_message = HELP_MESSAGE, after_help = "EXAMPLE:\n czkawka broken -d /home/czokolada/ -f results.txt")] diff --git a/czkawka_core/Cargo.toml b/czkawka_core/Cargo.toml index 2eb662c..c85d2e2 100644 --- a/czkawka_core/Cargo.toml +++ b/czkawka_core/Cargo.toml @@ -43,7 +43,7 @@ xxhash-rust = { version = "0.8.5", features = ["xxh3"] } tempfile = "3.3.0" -# Video Duplactes +# Video Duplicates vid_dup_finder_lib = "0.1.1" ffmpeg_cmdline_utils = "0.1.2" diff --git a/czkawka_core/src/bad_extensions.rs b/czkawka_core/src/bad_extensions.rs index 0fb770a..41e44c9 100644 --- a/czkawka_core/src/bad_extensions.rs +++ b/czkawka_core/src/bad_extensions.rs @@ -83,7 +83,7 @@ static WORKAROUNDS: &[(&str, &str)] = &[ ("html", "ent"), // Mingw ("html", "md"), // Markdown ("jpg", "jfif"), // Photo format - ("m4v", "mp4"), // m4v and mp4 are interchangable + ("m4v", "mp4"), // m4v and mp4 are interchangeable ("mobi", "azw3"), // Ebook format ("mpg", "vob"), // Weddings in parts have usually vob extension ("obj", "bin"), // Multiple apps, Czkawka, Nvidia, Windows @@ -145,9 +145,9 @@ static WORKAROUNDS: &[(&str, &str)] = &[ ("html", "svg"), ("xml", "html"), // Probably bug in external library - ("msi", "ppt"), // Not sure whe ppt is not recognized - ("msi", "doc"), // Not sure whe doc is not recognized - ("exe", "xls"), // Not sure whe xls is not recognized + ("msi", "ppt"), // Not sure why ppt is not recognized + ("msi", "doc"), // Not sure why doc is not recognized + ("exe", "xls"), // Not sure why xls is not recognized ]; #[derive(Clone)] diff --git a/czkawka_core/src/big_file.rs b/czkawka_core/src/big_file.rs index 5000043..a5aa252 100644 --- a/czkawka_core/src/big_file.rs +++ b/czkawka_core/src/big_file.rs @@ -191,7 +191,7 @@ impl BigFile { let mut dir_result = vec![]; let mut warnings = vec![]; let mut fe_result = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_core/src/broken_files.rs b/czkawka_core/src/broken_files.rs index 40006d3..033360d 100644 --- a/czkawka_core/src/broken_files.rs +++ b/czkawka_core/src/broken_files.rs @@ -240,7 +240,7 @@ impl BrokenFiles { let mut dir_result = vec![]; let mut warnings = vec![]; let mut fe_result = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_core/src/common_dir_traversal.rs b/czkawka_core/src/common_dir_traversal.rs index 9093880..01f341d 100644 --- a/czkawka_core/src/common_dir_traversal.rs +++ b/czkawka_core/src/common_dir_traversal.rs @@ -378,7 +378,7 @@ where let mut fe_result = vec![]; let mut set_as_not_empty_folder_list = vec![]; let mut folder_entries_list = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_core/src/similar_images.rs b/czkawka_core/src/similar_images.rs index 98a0a6f..ee440d6 100644 --- a/czkawka_core/src/similar_images.rs +++ b/czkawka_core/src/similar_images.rs @@ -334,7 +334,7 @@ impl SimilarImages { let mut dir_result = vec![]; let mut warnings = vec![]; let mut fe_result = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_core/src/similar_videos.rs b/czkawka_core/src/similar_videos.rs index e24fd92..c92f713 100644 --- a/czkawka_core/src/similar_videos.rs +++ b/czkawka_core/src/similar_videos.rs @@ -299,7 +299,7 @@ impl SimilarVideos { let mut dir_result = vec![]; let mut warnings = vec![]; let mut fe_result = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_core/src/temporary.rs b/czkawka_core/src/temporary.rs index 9bbd849..7f763a3 100644 --- a/czkawka_core/src/temporary.rs +++ b/czkawka_core/src/temporary.rs @@ -178,7 +178,7 @@ impl Temporary { let mut dir_result = vec![]; let mut warnings = vec![]; let mut fe_result = vec![]; - // Read current dir childrens + // Read current dir children let read_dir = match fs::read_dir(¤t_folder) { Ok(t) => t, Err(e) => { diff --git a/czkawka_gui/Cargo.toml b/czkawka_gui/Cargo.toml index fab1ed8..a82f599 100644 --- a/czkawka_gui/Cargo.toml +++ b/czkawka_gui/Cargo.toml @@ -19,7 +19,7 @@ chrono = "0.4.22" # Used for sending stop signal across threads crossbeam-channel = "0.5.6" -# To get informations about progress +# To get information about progress futures = "0.3.24" # For saving/loading config files to specific directories diff --git a/czkawka_gui/src/compute_results.rs b/czkawka_gui/src/compute_results.rs index 609c7fb..ffa0822 100644 --- a/czkawka_gui/src/compute_results.rs +++ b/czkawka_gui/src/compute_results.rs @@ -877,7 +877,7 @@ pub fn connect_compute_results(gui_data: &GuiData, glib_stop_receiver: Receiver< // Sort let vec_file_entry = if vec_file_entry.len() >= 2 { let mut vec_file_entry = vec_file_entry.clone(); - // Use comparsion by similarity, because it is more important that path here + // Use comparison by similarity, because it is more important that path here vec_file_entry.sort_unstable_by_key(|e| e.similarity); vec_file_entry } else { diff --git a/czkawka_gui/src/opening_selecting_records.rs b/czkawka_gui/src/opening_selecting_records.rs index a38bce1..04835d5 100644 --- a/czkawka_gui/src/opening_selecting_records.rs +++ b/czkawka_gui/src/opening_selecting_records.rs @@ -31,7 +31,7 @@ pub fn opening_enter_function_ported_upper_directories(event_controller: >k4:: panic!() } } - // false // True catches signal, and don't send it to function, e.g. up button is catched and don't move selection + // false // True catches signal, and don't send it to function, e.g. up button is caught and don't move selection Inhibit(false) } @@ -81,7 +81,7 @@ pub fn opening_enter_function_ported(event_controller: >k4::EventControllerKey nt_object.column_selection, nt_object.column_header, ); - Inhibit(false) // True catches signal, and don't send it to function, e.g. up button is catched and don't move selection + Inhibit(false) // True catches signal, and don't send it to function, e.g. up button is caught and don't move selection } pub fn opening_double_click_function(gesture_click: &GestureClick, number_of_clicks: i32, _b: f64, _c: f64) { diff --git a/instructions/Installation.md b/instructions/Installation.md index 013e49e..903206e 100644 --- a/instructions/Installation.md +++ b/instructions/Installation.md @@ -4,7 +4,7 @@ If you use Snap, Flatpak or Appimage, you need to only install ffmpeg if you want to use Similar Videos tool. For Czkawka GUI the lowest supported version of GTK is `3.24` which is the only required dependency(of course on Ubuntu, different distributions will probably require a little different set of dependences). -In app exists Similar Video tool which require `FFmpeg` to work, but is completelly optional and without it, only warning would be printed when trying to use this tool without installed ffmpeg. +In app exists Similar Video tool which require `FFmpeg` to work, but is completely optional and without it, only warning would be printed when trying to use this tool without installed ffmpeg. Broken files finder by default don't check for music files, but it is possible to enable this feature and that require to have alsa lib installed(on Ubuntu this is `libasound2-dev` package) **Warning**