Floris Bos
033ff07abf
Move source files to /src
2022-02-14 10:07:15 +01:00
Floris Bos
b8222915f8
Raspberry Pi (Trading) Limited -> Raspberry Pi Ltd
...
Same legal entity, just a company name change.
https://find-and-update.company-information.service.gov.uk/company/08207441/filing-history
2022-02-03 12:01:10 +01:00
Floris Bos
4b71b5c305
Give extract thread more time to gracefully terminate on cancellation
...
Embedded build does not deal well with threads being forcefully
terminated.
So wait 10 seconds instead of 2 before resorting to that.
2022-02-01 19:53:22 +01:00
Floris Bos
9c22346d61
If exiting program while downloading, terminate thread gracefully
...
Fix "terminate called without an active exception" message on Linux
2022-02-01 15:30:47 +01:00
Floris Bos
69f5799145
Fix QtConcurrent use for future Qt version
...
Qt 6 has a breaking ABI change in relation to QtConcurrent::run()
https://doc.qt.io/qt-6/concurrent-changes-qt6.html
2021-12-21 22:50:13 +01:00
Floris Bos
67618a2eac
Bump bundled libarchive version to 3.5.2
...
- Update bunlded libarchive version used on Windows/Mac
- Enable requested zstd support while we are at it. Closes #211
2021-12-09 12:22:14 +01:00
Floris Bos
c8409d7419
Linux: delay extracting .zip after mount on sandboxed systems
2021-03-26 15:54:52 +01:00
Floris Bos
ab29b218af
Fix handling of .iso files
...
Do not let libarchive treat iso as archive that needs to be
extracted.
2021-01-26 22:17:56 +01:00
Floris Bos
fa7637e7dc
Do not use libcurl for reading local files
...
We originally used libcurl for both downloading images from
Internet and reading local files to have the same code path for both.
It doesn't work that well in practice, as Qt and libcurl are not
on the same page how special characters such as Chinese characters
are represented in a local file URL.
So create a new class to handle local files.
Closes #76
2020-06-01 19:43:51 +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