Commit graph

55 commits

Author SHA1 Message Date
Tom Dewey
bb30d38b77 cmake: Remove OpenSSL dependency 2024-09-11 17:12:48 +01:00
Tom Dewey
ff1ac4f08b cmake: Windows: Drop openSSL linkage, add Bcrypt. 2024-09-11 17:12:48 +01:00
Tom Dewey
e7dd0630a0 cmake: Windows: Remove OpenSSL dependency. 2024-09-11 17:12:48 +01:00
Tom Dewey
762ed2b940 deps: cURL: Set default SSL backends 2024-09-11 17:12:48 +01:00
Tom Dewey
d9082f8abd AcceleratedCryptographicHash: Use platform capabilities
Introduce a CNG version for Windows, a CommonCrypto
version for macOS and a GnuTLS version for Linux, as
we're using gnutls _anyway_.
2024-09-11 17:12:48 +01:00
Tom Dewey
7074a5e389 cmake: Use target names instead of paths 2024-09-11 17:12:48 +01:00
Tom Dewey
331381ba2e cmake: Fixup libcurl linking on Linux 2024-09-11 17:12:48 +01:00
Tom Dewey
2e42e914c9 meta: v1.9.0 2024-09-11 17:12:48 +01:00
Tom Dewey
844c44597e cmake: bump minimum to 3.15 2024-09-11 17:12:48 +01:00
Tom Dewey
7c3a958758 cmake: Use LIST_DIR rather than SOURCE_DIR, fix Curl filename 2024-09-11 17:12:48 +01:00
Tom Dewey
da720afc7e imager: Target Windows 10, as required by Qt6 2024-09-11 17:12:48 +01:00
Tom Dewey
1dabdde5f0 imager: CMake: Use vendored dependencies rather than system 2024-09-11 17:12:48 +01:00
Tom Dewey
64381d2dd3 deps: Remove unlabelled curl, xz
With very little version data, these area hard to reason about.
2024-09-11 17:12:48 +01:00
Tom Dewey
6b77ed7edc deps: zstd upgrade 1.5.4 -> 1.5.6 2024-09-11 17:12:48 +01:00
Tom Dewey
fc9423e65b deps: zlib upgrade 1.2.13 -> 1.3.1 2024-09-11 17:12:48 +01:00
Tom Dewey
61171a0db6 deps: Upgrade libarchive 3.6.2->3.7.4 2024-09-11 17:12:48 +01:00
MrSmör
a44b9ae856 Exposing 'DRIVELIST_FILTER_SYSTEM_DRIVES' as a cmake variable
Makes the filtering-behaviour userconfigureable during compile-time.
This way its easier to configure the imager for flashing SATA or NVME
Drives installed in your system (because of lack of adapters),
or if the drives are (accidentally) labled as systemdrives by drivelist.
2024-02-09 15:59:24 +00:00
Floris Bos
06abbadbb5 Linux: rename .desktop file to match DBus name
Fixes #785
2024-01-20 16:39:13 +01:00
Floris Bos
8c9de2d78c Embedded: fix network detection 2024-01-15 00:16:43 +01:00
Floris Bos
ebe72a4b16 Disable LTO (just in case it gives hard to debug compiler problems) 2024-01-15 00:15:49 +01:00
Floris Bos
b918a7ea6f Retry on HTTP/2 frame errors as long as it do is making progress
Ref #767
2023-12-26 16:09:21 +01:00
Floris Bos
26c9dc4dfb Add PL translation to CMakeLists.txt 2023-12-22 21:57:03 +01:00
Tom Dewey
30433d512f meta: Release 1.8.4 2023-12-22 15:37:36 +00:00
Tom Dewey
d729317c54 meta: v1.8.3 2023-11-16 15:01:20 +00:00
Tom Dewey
be814b92c7 meta: v1.8.2 2023-11-15 15:18:36 +00:00
Peter Dave Hello
253a9ced64 Add zh-TW Traditional Chinese translation 2023-10-21 20:50:14 +01:00
Floris Bos
457f2fdbed Linux: CMakeLists: only require libdrm on embedded platform
Closes #692
2023-10-20 09:24:34 +02:00
Floris Bos
6b918b448e Release 1.8.1 2023-10-19 20:23:46 +02:00
Tom Dewey tom.dewey@raspberrypi.com
1a6c683b55 version: Bump to 1.8.0
We've now modified the UI in a fairly major way - but no so much that
it's unrecognisable. As a result, bump the version number to the next
minor revision.
2023-10-18 14:57:14 +01:00
Floris Bos
f28b9d0d77 Windows: fix zstd
Closes #654
2023-10-17 00:00:18 +02:00
Floris Bos
25a028ca58 Embedded: deal with vc4-kms supplying multiple /dev/dri devices 2023-10-16 22:15:55 +02:00
Floris Bos
e8931b7b8f Local .xz files: parse uncompressed size for better progress reports 2023-09-25 21:13:22 +02:00
Floris Bos
a382f985f3 Add support for model selection filtering. Bump version number. 2023-09-23 19:51:45 +02:00
Floris Bos
9073e4fca2 Fix es/uk/fr translations 2023-09-22 20:32:02 +02:00
Floris Bos
60c53db98c Windows: fix handling of .zip files
If set(ZLIB_INCLUDE_PATH value) is called without setting cache,
and find_package(zlib) is called twice, the second call fails.
Behavior described here: https://gitlab.kitware.com/cmake/cmake/-/issues/21343

It seems that the new libcurl version also calls find_package(zlib)
so the second call by libarchive fails. And without zlib support
handling .zip files that use deflate compression does not work.

Only affected Windows, because we are only using a bundled zlib
there.
On Linux system libarchive and system zlib is used.
On Mac OS X bundled libarchive, but system zlib is used.

Ref #586
2023-05-22 10:50:20 +02:00
Floris Bos
64d271b092 Windows/NSIS installer: use signtool.exe found by CMake 2023-05-21 17:25:04 +02:00
Floris Bos
bb8b097c7d Windows: lazy load wlanapi.dll
Appearently wlanapi.dll (which we use to borrow the wlan password
from the computer running Imager) is not always present on the
server editions of Windows, so only load it if it exists.

Ref #584
2023-05-21 17:22:17 +02:00
Floris Bos
9e882b31c4 Add Russian translation to CMakelists.txt 2023-03-24 15:51:09 +01:00
Floris Bos
b93fe29617 Apply advanced settings prompt: offer "no" without clear options
By request.
When prompted if previous settings should be applied, offer a
"no" button that only applies this time, and does not clear
settings.
2023-03-24 14:26:43 +01:00
Floris Bos
50b017332f Update dependencies libarchive/zlib/liblzma/zstd
Update various bundled dependencies to handle archive formats.
(Only used on Windows and OSX. On Linux system libraries are used)
2023-03-24 14:05:29 +01:00
Floris Bos
ed15fcda46 CMakeLists.txt: add support for Qt 6 / Apple universal builds 2023-03-22 17:57:08 +01:00
Floris Bos
c8a05b995f Make code Qt 6 compatible / raises minimum Qt 5 version to 5.14
In addition to replacing Qt5 with Qt6 in CMakeLists.txt
two small changes to the code are needed to make things build
on Qt 6 (which in turn is needed for Apple M1/M2 support).

The cost of this change is that when building on Qt 5, at least
version 5.14 is needed.
Certain older but still used Linux distributions such as
Ubuntu 10.04 LTS still use 5.12, so revert this commit if you
are building on those...
2023-03-20 14:42:48 +01:00
Floris Bos
6dc2f3e58e Refactor WLAN PSK retrieval code
- Reduce platform specific code in ImageWriter class,
  and move that to seperate classes.
- Use API calls to get current SSID on Windows and Linux instead
  of launching command line utilities.
2023-03-10 18:37:22 +01:00
Floris Bos
5fa3fbe8dc Switch to using FAT classes for advanced settings
- No longer relies on operating system for mounting FAT partition
  when applying 'advanced settings'
- change '__attribute__ ((packed))' to '#pragma pack()' as the
  mingw version we are using for Windows has a bug with the former
2022-11-15 01:15:08 +01:00
Floris Bos
142ddfc037 Add classes for mounting FAT16/32 without help from OS
Minimal implementation for reading/writing files in the root
directory of a FAT16/FAT32 file system.

Can read/write from raw disk devices, and no longer relies on
operating system support for mounting the file system.

Currently assumes Imager will always be run on 'little endian'
architectures such as Intel and ARM (at least under Linux).
If there is a use-case for big-endian (anybody still using Sparc?)
this may be revisited later.
2022-11-14 21:41:20 +01:00
Floris Bos
30225187bd OSX: fix unmounting drives that have APFS volumes
- If a drive is formatted APFS it will have a seperate disk
devices for physical drive (e.g. /dev/disk2) and volumes
(e.g. /dev/disk3).
Need to unmount all, or opening the device for
writing will subsequently fail.
(User will see an "Error running authopen" error in Imager
in that case).

- Also do not show APFS volumes seperately in the disk
selection dialog. List mount points under physical drive
instead.

Closes #501
2022-11-07 03:36:32 +01:00
Floris Bos
ef4abc661f Linux distros that use NetworkManager: prefill WLAN PSK
Only supported when NetworkManager is used on the Linux distro
as wpa_supplicant itself does not support reading PSKs through
DBus, only setting them.

Closes #457
2022-07-31 13:24:52 +02:00
Floris Bos
cb415a6a02 Linux: allow using GnuTLS instead of OpenSSL for computing SHA256 hashes
Prevents issues with often changing OpenSSL ABI.

Ref #429
2022-06-14 16:13:55 +02:00
Floris Bos
8d943ce2bd Remove overscan/piwiz supression options
- Remove overscan and piwiz supression option
- Change wifi -> wireless LAN
- Bump version
2022-03-24 20:06:14 +01:00
maxnet
d2a92383b6
Merge pull request #362 from lnussel/qml
Add compile time options for telemetry and updates
2022-03-24 17:49:16 +01:00