Commit graph

6 commits

Author SHA1 Message Date
Floris Bos
6b178731c7 Improve status reporting
There are some user complaints that Imager hangs at "writing 0%"
Mention in the progress status what it is actually doing prior
to writing (e.g. opening storage, blkdiscarding,
zero'ing out MBR, starting download) to help diagnose
potential issues.
2020-11-19 18:10:05 +01:00
Floris Bos
19bfc8eacb Close files on error 2020-07-03 21:08:51 +02:00
Floris Bos
3248f9f04b Linux: improve progess indication
Report data actually written to device instead of to cache.
2020-05-23 22:22:32 +02:00
Floris Bos
8048b5e47c Use accelerated hashing for verification
Modern CPUs have special instructions to accelerate computing
SHA hashes.
The Qt QCryptographicHash code is standard C, so not taking
advantage of those though.
Outsource the hashing to OpenSSL that does.

Shaves off some seconds during verification stage.
2020-05-23 17:50:59 +02:00
Floris Bos
0264af9b73 Performance improvements
- Use larger buffer size when writing uncompressed files
  (was libcurl's default of 16 kb, change it to 128 kb)
- Uncompress the next MB of data, while it is hashing/writing to
  disk in seperate thread.
2020-03-10 23:22:20 +01:00
Floris Bos
d7b361ba44 Qt/QML edition 2020-03-04 16:55:40 +01:00