Commit graph

653 commits

Author SHA1 Message Date
Tom Dewey tom.dewey@raspberrypi.com
3f665e01b4 Device-first OS list filtering
Rather than a drop down dialog, which could present users with images
that may not run on their hardware, allow selection of Raspberry Pi as a
first stage. If users adopt this feature, they are presented with a
subset of images that we know will actually run on their hardware.

This is achieved by leveraging @maxnet's excellent OS filtering scheme.

Future work will attach image and description support to this OS list.
2023-10-12 12:28:19 +01:00
maxnet
591452aba9
Merge pull request #652 from tdewey-rpi/i18n/ru/shorten-choose-storage
i18n: ru: Shorten storage selection label
2023-10-10 16:16:03 +02:00
Tom Dewey
e5289a5c3f
Merge pull request #651 from tdewey-rpi/dev/shared/gitignore-all-build-dirs
gitignore: Ignore all build** trees
2023-10-10 11:16:52 +01:00
Tom Dewey tom.dewey@raspberrypi.com
da76e0d93a i18n: ru: Shorten storage selection label
Rather than "Choose Memory Device", use "Choose Mem. Device", an
acceptable shortening of the phrase which fits inside our controls
2023-10-10 10:27:00 +01:00
Tom Dewey tom.dewey@raspberrypi.com
2a84b11b38 gitignore: Ignore all build** trees 2023-10-10 10:22:26 +01:00
maxnet
90cffc0b2e
Merge pull request #642 from cillian64/file_association_customise
Show options when opening image by file association
2023-10-07 01:12:09 +02:00
maxnet
3c80dfc59b
Merge pull request #643 from cillian64/file_association
Enable file associations on linux
2023-10-06 23:09:00 +02:00
maxnet
b0648eec97
Merge pull request #644 from tdewey-rpi/dev/shared/gitignore-debuild
gitignore: Ignore debuild artefacts
2023-10-06 23:08:01 +02:00
Tom Dewey tom.dewey@raspberrypi.com
81c08fee55 gitignore: Ignore debuild artefacts
Ignore two additional patterns to capture debuild intermediates
and results.
2023-10-06 14:21:53 +01:00
David Turner
249e910c06 Enable file associations on linux
Add " %F" to the Exec parameter in the rpi-imager.desktop file so that
Linux desktop environments know that rpi-imager can be used to open
files.  After this change, Imager appears within the list of "Open With"
applications in GNOME, and you can set it so double-clicking image files
always opens rpi-imager.
2023-10-04 14:58:10 +01:00
David Turner
dbf9757796 Show options when opening image by file association
If you load a custom image by running `rpi-imager my_image.img.xz` then
the Advanced Options button is not shown.  This is triggered if you set
a file association to load rpi-imager and then double-click an image
file.

The fix is simply to set the visibility on this button on start-up
(custom images set on the command-line are loaded before this).

Fixes #451
2023-10-04 14:43:28 +01:00
Floris Bos
63124443c3 Add liblzma-dev to debian/control 2023-10-03 18:20:04 +02:00
Floris Bos
0b3a6b3f95 Apply settings if saved setting popup was opened and cancelled
Make sure original saved settings are also applied if
settings popup was opened and subsequently closed
by pressing "X" instead of "Save"
2023-10-03 18:19:17 +02:00
maxnet
aba3ccd794
Merge pull request #639 from tdewey-rpi/qml
Add lzma dependencies to instructions
2023-10-03 18:14:48 +02:00
maxnet
fb4c42ac6f
Merge pull request #640 from tdewey-rpi/dev/shared/gitignore
gitignore: Ignore CMake, vscode artefacts.
2023-10-03 18:14:13 +02:00
Floris Bos
af5828e6e2 Embedded: switch to 64-bit environment and 6.1 kernel 2023-10-03 18:11:23 +02:00
Tom Dewey tom.dewey@raspberrypi.com
b7f821edc7 gitignore: Ignore CMake, vscode artefacts. 2023-10-03 13:47:14 +01:00
Tom Dewey
19af037cd4 Add lzma-sdk-devel to Fedora instructions
The find_package in the root CMakeLists doesn't descriminate between Ubuntu/Debian and Fedora, so the check for LibLZMA will be applied on Fedora too.

So update the instructions for Fedora to include the liblzma-sdk-devel package, which should satisfy CMake.
2023-10-03 13:34:49 +01:00
Tom Dewey
4c91f7c7e5 Add liblzma-dev to Debian instructions
Turns out we actually require liblzma-dev, and without it we will fail to configure CMake with default options.

So let's add it to the readme.
2023-10-03 13:34:49 +01:00
Floris Bos
317dad3b24 Apply settings if saved setting popup was opened and cancelled
Make sure original saved settings are also applied if
settings popup was opened and subsequently closed
by pressing "X" instead of "Save"
2023-10-02 19:50:36 +02:00
maxnet
d48db2ee87
Merge pull request #638 from oscfdezdz/es
Update Spanish translation
2023-10-02 19:32:50 +02:00
oscfdezdz
5456bcffbf
Update Spanish translation 2023-09-30 10:49:16 +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
269e43ced5 Advanced settings: add cfg80211.ieee80211_regdom=cc to cmdline.txt 2023-09-25 20:51:16 +02:00
maxnet
1411ba39b6
Merge pull request #635 from bovirus/qml
Update Italian language
2023-09-24 20:42:53 +02:00
bovirus
178521a9d8
Update Italian language 2023-09-24 10:48:43 +02:00
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