Commit graph

577 commits

Author SHA1 Message Date
Floris Bos
a382f985f3 Add support for model selection filtering. Bump version number. 2023-09-23 19:51:45 +02:00
Floris Bos
2853fd2b87 Windows: improve error reporting if Conditional File Access is active 2023-09-23 19:46:13 +02:00
Floris Bos
ce549cadb2 Misc advanced options improvements 2023-09-23 19:45:17 +02:00
Floris Bos
6eb358ed75 WIP: Tabbed options interface 2023-09-22 23:51:36 +02:00
maxnet
4c71a2294e
Merge pull request #618 from Eddy-Wallace/feat/lsblk-arch-hotfix
Hotfix for Issue #610
2023-09-22 20:38:05 +02:00
Floris Bos
1390d3515f Workaround errornous gcc string overflow warning 2023-09-22 20:32:46 +02:00
Floris Bos
9073e4fca2 Fix es/uk/fr translations 2023-09-22 20:32:02 +02:00
maxnet
5968cb37b5
Merge pull request #622 from disq/feat/drag-and-drop-files
feat: Allow image drag/drop
2023-09-22 20:20:27 +02:00
maxnet
ce661dce46
Merge pull request #603 from oscfdezdz/es
Add Spanish translation
2023-09-22 20:18:33 +02:00
maxnet
d4af5f306d
Merge pull request #588 from Vovkiv/qml
Add Ukrainian translation
2023-09-22 20:18:21 +02:00
maxnet
3fece0aab2
Merge pull request #632 from JofreFaraudo/qml
Update Catalan translation files
2023-09-22 20:14:01 +02:00
maxnet
0e5fa723d1
Merge pull request #633 from martignoni/qml
Update French localisation and fix some strings
2023-09-22 20:13:43 +02:00
Nicolas Martignoni
9b26ba30f9
Update French localisation and fix some strings 2023-09-17 12:30:53 +02:00
Jofre Faraudo
91d594243a
Update Catalan translation files
Remove vanished translations & add the new ones
2023-09-07 13:56:14 +02:00
Kemal Hadimli
dcb392cbf0 feat: Allow image drag/drop 2023-08-13 00:21:31 +01:00
Eddy-Wallace
52af71cff9
Hotfix for Issue #610
Possible hotfix for newer version of lsblk on Arch based distributions.
2023-08-11 11:53:23 +02:00
oscfdezdz
84bcd23ab2
Add Spanish translation 2023-07-06 22:10:23 +02:00
Vovkiv
11b51697ab
Add Ukrainian translation 2023-05-24 13:47:05 +03:00
Floris Bos
b49408781a Bump version number 2023-05-22 19:04:41 +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
e490ec1c4d Windows: fix depreceation warnings
- winsock2.h should be included before windows.h
- QProcess::execute('name') -> QProcess::execute('name', args);
2023-05-22 10:46:07 +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
bovirus
a7acd80908 Update Italian language 2023-05-18 15:09:11 +02:00
maxnet
c96c77fca0
Merge pull request #578 from RuffaloLavoisier/AddMessage
rpi-imager_ko: add message for 'unmounting drive'
2023-05-18 15:07:43 +02:00
Floris Bos
1ab22a1d9e Size "Do you want to use saved settings?" dialog box better
Prevents buttons overflowing the dialog box when German language
translation is used.
(Issue reported on forum)
2023-05-18 15:06:29 +02:00
Floris Bos
1c62713219 Enable CodeQL static code analyze/automated build tests 2023-05-11 22:42:00 +02:00
maxnet
e357fda335
devicewrapperfatpartition.cpp: supress false positive gcc warning 2023-05-11 21:54:37 +02:00
Ruffalo Lavoisier
cbb65ed61c rpi-imager_ko: add message for 'unmounting drive' 2023-04-13 16:43:08 +09:00
Floris Bos
23b0bf6b32 Linux udisks2: force kernel to rescan MBR before ejection
Otherwise it may still be doing it during ejection, resulting
in read IO errors in dmesg, which are harmless by themselves
but may confuse users.

Also tell udisks2 not to analyze disk by setting 'HintAuto'
property on BlockDevice object to 'false'
2023-03-30 16:26:26 +02:00
Floris Bos
9e882b31c4 Add Russian translation to CMakelists.txt 2023-03-24 15:51:09 +01:00
Floris Bos
83e2d22a9a Linux: only eject through udisks2 when we have DBus 2023-03-24 15:41:15 +01:00
maxnet
0790003d6d
Merge pull request #549 from OlesyaGerasimenko/qml
Add Russian translation
2023-03-24 15:39:26 +01:00
maxnet
7ba382f454
Merge pull request #560 from bovirus/qml
Add on top left after program name program version
2023-03-24 15:38:42 +01:00
Floris Bos
dc6ef75333 udisks2: add support for 'safely removing storage'
mountutils lacks implemention of ejecting storage on Linux.
Add that to our own code (not to mountutils as it is hard to
do DBus calls from there).
2023-03-24 15:33:54 +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
0378751295 Windows: update libcurl dependency
Update bundled libcurl.
Only used on Windows. On Linux and OSX we use system libraries.
2023-03-24 14:13:35 +01:00
Floris Bos
a97de5c703 drivelist/mountutils remove package.json
We are only cherry picking the C++ files from the drivelist and
mountutils dependencies and are not using the node.js stuff
that lives inside same directories.

package.json (that is not being used) mentions node dependencies
with version numbers that contain known vulnerabilties
and that seems to make some uncomfortable.

Delete files to avoid confusion.

Closes #556
2023-03-24 14:08:58 +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
43911005a2 FAT editing: handle root directory without end-of-dir marker
Fixes customizing Homebridge image.
2023-03-22 17:54:22 +01:00
Floris Bos
65f6a07fae FAT editing: fix creating files that are multiple of cluster size
Closes #568
2023-03-22 16:42:10 +01:00
Floris Bos
493869e47a Embedded: ensure /var/run exists for use by dhcpcd 2023-03-20 15:20:48 +01:00
Floris Bos
03f4924b8c Embedded: bump rpi-firmware version 2023-03-20 15:20:24 +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
maxnet
08599d082c
Merge pull request #567 from onuralpszr/cstdint_fix
fix: header import cstdint
2023-03-19 21:44:35 +01:00
Onuralp SEZER
569a70671b
fix: header import cstdint
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2023-03-19 23:18:20 +03: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
ebaf2ef6a1 qml advanced options: do not render HTML when displaying username
QML text labels by default support a small subset of HTML
formatting (e.g. <b> and <a href>)
Disable this.

Closes #564
2023-03-10 15:50:27 +01:00
bovirus
3094d5f316
Update rpi-imager.nsi.in
Add Product Version info in installer exe file properties.
2023-03-04 15:51:45 +01:00