Commit graph

760 commits

Author SHA1 Message Date
Tom Dewey tom.dewey@raspberrypi.com
1f444bacf6 schema: Update to fixup devices, matching_type 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
4fb84ff3e8 qml: Filtering types
Introduce 4 filtering types per device spec:

- "exclusive", which only includes OS' that match one of the specified
  tags, and discards any OS that is untagged.
- "exclusive_prefix", which only includes OS' that prefix-match one of
  the specified tags, discarding any OS that is untagged.
- "inclusive", which discards any OS that doesn't include one of the
  specified tags, but includes untagged images.
- "inclusive_prefix", which discards any OS that doesn't prefix match
  one of the specified tags, but includes untagged images.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
0f496dc2c9 os-list-schema: Consistent naming of tags 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
a4a90361a3 qml: Use a ListView for the hw selector 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
c7fa7504fe qml: Rebalance button widths
Removed preferred widths for OS, device buttons, and set one for the
storage button. This allows the storage label (generally the longest)
to fit on the control face reliably.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
8291e00934 qml: Include device icon, desc in model 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
d603d29671 OS selector: Return to home after close
Prior to this change, you could enter a submenu of the OS selector,
close the window, and then change device filter - presenting stale information
when you went back in to the OS selector.

Work around this by resetting the OS selector sequence when you close
the OS selector window.
2023-10-12 12:28:19 +01:00
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