Antonios Barotsis
a14bbfc904
Switched to explicit shutdown message instead of None
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
a3e5bac438
fix STDIN syncrhonization problems
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
ccbdceac34
logger: fix warning output
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
62d70225ab
remove macros.rs
module
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
615a7d3c49
logger: flush logs temporarily
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
c56978d1e7
handle logger thread in main function
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
25d7d3d870
logger: refactor usage of sync primitives
...
use `std::sync::Barrier` instead of the barebones `Condvar` + `Mutex`
combo
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
792db000bb
move spawn_logger_thread
to logger module
...
and create another module inside of the logger module to reorganize
things
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
0b760aadf7
fix logger thread shutdown system
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
39395c797a
move code to function run_cmd
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
d0280f0579
move code to function spawn_logger_thread
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
28daa9e8c4
make logger channel static
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
bed8ea0276
create Logger::info_accessible
2024-04-01 10:58:35 -03:00
Antonios Barotsis
1e56bb8f1f
Improve logging interface
2024-04-01 10:58:35 -03:00
Antonios Barotsis
b04122a6de
fix some errors + warnings
2024-04-01 10:58:35 -03:00
Antonios Barotsis
380893b6df
Add levels and fix output
2024-04-01 10:58:35 -03:00
Antonios Barotsis
93752d5fb5
fmt
2024-04-01 10:58:35 -03:00
Antonios Barotsis
e2ac5c4c9b
Make all info logs use the new system
2024-04-01 10:58:35 -03:00
Antonios Barotsis
e989db7a3a
Added buffering
2024-04-01 10:58:35 -03:00
Antonios Barotsis
c2873f77d3
wip
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
6f566b9c4d
add module docs for accessible mode
2024-03-15 15:26:55 -03:00
Antonios Barotsis
8e43cd2afa
Change existing method docs to valid rustdoc
2024-02-28 20:27:32 -03:00
cyqsimon
fa2d214fee
Feature-gate RAR support
2023-12-14 23:32:17 -03:00
João Marcos P. Bezerra
4314a3bbdd
Mention Rar support in README and help
2023-12-05 13:04:08 -03:00
Ilya Grigoriev
e2796cef78
Mention 7z support in README and help
2023-12-05 13:04:08 -03:00
Ilya Grigoriev
9f82c9a655
Clarify that .sz refers to Google's Snappy format
...
It needs to be disambiguated from the unfortunately named
SZ compression, see https://szcompressor.org/ .
Fixes #563
2023-12-05 13:04:08 -03:00
João Marcos P. Bezerra
a7a65d2510
Report errors for non-UTF-8 entries in Zip and 7z
2023-11-25 21:33:22 -03:00
João Marcos P. Bezerra
d07c65508a
Removing redundant code
2023-11-25 21:33:22 -03:00
João Marcos P. Bezerra
8483739184
Minor refactor to archive handling code
2023-11-25 21:33:22 -03:00
Flat
69b1db4a35
chore: cargo fmt
2023-11-25 21:33:22 -03:00
Flat
97b4356aa8
feat: implement 7zip support for compression and decompression
...
This also fixes symlink canonicalization for Windows and fixes UI tests on Windows.
2023-11-25 21:33:22 -03:00
MisileLab
9a6d73bf57
idk i just merged and patch some
...
Signed-off-by: MisileLab <misileminecord@gmail.com>
2023-11-25 21:33:22 -03:00
figsoda
8023a9157e
small cleanups
2023-11-25 21:33:22 -03:00
misilelab
db0bc8a7d9
impl except test
2023-11-25 21:33:22 -03:00
MisileLaboratory
d0d227b234
fix: Incorrect count
2023-11-25 21:33:22 -03:00
MisileLaboratory
30d269fc8f
fix: Incorrect decompressed file count
2023-11-25 21:33:22 -03:00
MisileLaboratory
2ebdaf6ecf
feat: RefCell remove
2023-11-25 21:33:22 -03:00
MisileLaboratory
f2b984bc7a
feat: cleanup codes and more error handling
2023-11-25 21:33:22 -03:00
MisileLaboratory
76a459e02e
feat: good error handling
2023-11-25 21:33:22 -03:00
MisileLaboratory
d825feaeff
feat: good error output
2023-11-25 21:33:22 -03:00
MisileLaboratory
862181ae0a
feat: decompress with count
2023-11-25 21:33:22 -03:00
MisileLaboratory
ceed0156a0
fix: now recursivly compress 7z
2023-11-25 21:33:22 -03:00
MisileLaboratory
9e6a9cf40b
[ci skip] not ready
2023-11-25 21:33:22 -03:00
MisileLaboratory
d4581090d8
style: cargo fmt
2023-11-25 21:33:22 -03:00
MisileLaboratory
3cb2367793
feat: simple impl 7zip and lot of todo
2023-11-25 21:33:22 -03:00
Łukasz Krawiec
dade163243
added support for listing and decompressing .rar archives
2023-11-15 08:59:00 -03:00
Łukasz Krawiec
a3dca85cdd
fixed check_mime_type usage
2023-11-15 08:59:00 -03:00
figsoda
b7da9b02ac
Merge pull request #509 from ouch-org/fix-unaligned-messages
...
fix unaligned output when using parallelism
2023-09-19 22:42:39 -04:00
João M. Bezerra
a26d3d34ce
Improve hints when decompressing with no extension
...
refactored `check_missing_formats_when_decompressing` to be aware of
missing extensions and unsupported extensions in order to give a more
detailed error message
2023-09-17 20:05:54 -03:00
João M. Bezerra
c7f69194e8
give a less ambiguous warning for sniff failure
...
Ouch check for file signatures to be sure that the file indeed has the
correct format as inferred by extension, when that fails, we output a
message explaining that Ouch wasn't able to confirm the format, however,
previous message was confusing with the other extension detection ones
2023-09-17 19:06:14 -03:00