Adriaan de Groot
60aecaf0b8
[calamares] Fix height of the navigation bar in QML
...
- If the QML navigation panel sets a height, use that
- If it doesn't, use 48px (which *may* make sense, but like many
screen dimensions in Calamares doesn't take HiDPI into account)
- Give the demo QML an explicit height of 48
2020-05-08 10:20:59 +02:00
Adriaan de Groot
401a34fcbd
[libcalamares] Fix tests on FreeBSD
...
- https requests can fail if ca_nss isn't installed; ping something
else then.
2020-05-06 18:06:17 +02:00
Adriaan de Groot
7277d52828
[libcalamares] Expand range of errors for network requests
...
- All failures were being reported as Timeout, which is confusing
when they are not. Introduce HttpError for the not-timeout
other kinds of errors.
- Add operator<< for RequestStatus for nicer error logging.
2020-05-06 17:50:34 +02:00
Adriaan de Groot
5dc358093e
[welcome] Apply coding style
2020-05-06 15:52:56 +02:00
Adriaan de Groot
713132d4af
[welcome] Move GeoIP loading into Config
...
- The Config object can handle GeoIP loading on its own. Both
View steps that used this had a derpy view->setCountry() that
didn't really do anything with the view anymore.
2020-05-06 15:46:23 +02:00
Adriaan de Groot
6434374bf3
[welcome] Move languageIcon loading into the Config object
...
- The QML module had an additional check that the normal one
did not; add it in the merged code.
2020-05-06 15:24:08 +02:00
Adriaan de Groot
a7a6c937ea
[libcalamaresui] Add needed includes
...
- Return type QPixmap means we should definitely #include it
2020-05-06 15:23:27 +02:00
Adriaan de Groot
120a2b0f03
[welcome] Move get-the-show*Url code into Config
...
- Since this is configuration-loading, put it in the Config
class; reduces code duplication between welcome and welcomeq.
2020-05-06 15:08:31 +02:00
Adriaan de Groot
e65a0ee617
[welcome] Update welcome example
...
- donate **does** have a corresponding branding setting
- show that "false" is a valid setting
2020-05-06 14:37:59 +02:00
Adriaan de Groot
cd44f548f5
[libcalamaresui] Add donateUrl to the branding settings
...
SEE #1384
2020-05-06 14:34:37 +02:00
Adriaan de Groot
9e344f50a7
[bootloader] Refactor efi-next-boot
...
- move the setup-next-boot code to a function on its own
- credit to Gaë
2020-05-06 13:31:02 +02:00
Adriaan de Groot
7c633f1253
Merge pull request #1394 from gportay/set-efi-bootnext
...
[bootloader] Set the EFI Boot Next
2020-05-06 13:10:13 +02:00
Calamares CI
b66867f0ff
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-05-06 11:52:16 +02:00
Gaël PORTAY
4a9c8d0278
[bootloader] Set the EFI Boot Next
...
- This forces the EFI firmware to boot the loader that was just
created, whatever the boot order set in the firmware setup (USB,
CD/DVD, HD...).
- It is safe to use the first Boot Entry listed in BootOrder as the
previous command creates the new entry and adds it to the first place
of the BootOrder.
2020-05-05 12:34:55 -04:00
Adriaan de Groot
7d1800a0d7
[welcome] Apply coding style
2020-05-04 13:00:00 +02:00
Adriaan de Groot
70054e5db4
[welcome] Chase Branding API change
2020-05-04 12:52:14 +02:00
Adriaan de Groot
0046c3f161
[tracking] Chase Branding API change
...
- While here, apply coding style
2020-05-04 12:52:14 +02:00
Adriaan de Groot
c0a3614f09
[partition] Chase Branding API change
2020-05-04 12:52:14 +02:00
Adriaan de Groot
da82adeeee
[finished] Chase Branding API change
...
- while here, also apply coding style
2020-05-04 12:52:14 +02:00
Adriaan de Groot
dc1a4fab8e
[libcalamaresui] Chase Branding API change
2020-05-04 12:52:14 +02:00
Adriaan de Groot
794939b6a8
[calamares] Chase Branding API change
2020-05-04 12:52:14 +02:00
Adriaan de Groot
62696a3a48
[libcalamaresui] Remove the special * operator for string-enums in branding
...
- This is a good example of being overly clever in C++
- the whole API with an enum requesting a specific string is a bit weird,
although it makes sense from the 'might need more strings specified'
point of view.
2020-05-04 12:52:05 +02:00
Adriaan de Groot
7d8e54ba47
Merge branch 'qml-globalstorage'
...
- Make GlobalStorage generally available to QML modules (as Global
from io.calamares.core)
2020-05-01 14:38:05 +02:00
Adriaan de Groot
0e71957b74
[libcalamaresui] Apply coding style
2020-05-01 14:37:25 +02:00
Adriaan de Groot
8af17fafe1
[libcalamaresui] Register Global Storage (as 'Global') for QML
2020-05-01 14:37:25 +02:00
Adriaan de Groot
dc523525c2
[libcalamaresui] Register the right type for ViewManager (C&P typo)
2020-05-01 09:15:46 +02:00
Philip Müller
e4bdeaa943
[displaymanager] don't write AutomaticLogin lines
...
- sometimes if you use external OEM modules you might have those lines already present
- by skipping them you won't have double lines when rerun the module in a later step
2020-05-01 09:11:50 +02:00
Adriaan de Groot
f4f720bc8f
i18n: update English sources
2020-04-30 23:13:45 +02:00
Adriaan de Groot
156a473565
[welcomeq] Hook the translations up to the language combobox
2020-04-30 18:04:14 +02:00
Adriaan de Groot
4786a91eb8
[welcome] Order get/setters consistently
...
- code styling OCD, all the other ones are get, then set
- getters can be in the header, they're boring
2020-04-30 17:41:17 +02:00
Adriaan de Groot
22e64d8c18
[branding] Remove duplicate keys for images (thanks Bill)
2020-04-30 16:11:06 +02:00
Adriaan de Groot
8eace7ba5c
Merge branch 'wallpaper'
...
Merge in the documentation from Bill Auger and then implement
what it documents (this had been missing; productWallpaper was
an orphan setting).
FIXES #1380
2020-04-30 13:45:11 +02:00
Adriaan de Groot
3d6e5c5df7
[calamares] Implement productWallpaper setting
...
- If we have a wallpaper, bung in an extra QWidget between the main
window and the panels (sidebar, nav and main) where we set a
stylesheet that displays the chosen image.
2020-04-30 13:33:12 +02:00
Adriaan de Groot
1d44c88e0a
[libcalamaresui] Refactor loading of stylesheet
...
- prep-work for adding special-case styling for productWallpaper
2020-04-30 12:18:15 +02:00
Adriaan de Groot
ddde817abf
[libcalamaresui] Apply coding style
2020-04-30 12:10:09 +02:00
Adriaan de Groot
fabb351b77
[libcalamaresui] Give ViewManager widgets names for styling
2020-04-30 12:08:48 +02:00
bill-auger
e2bbaf2cee
[branding] add documentation for WIP 'productWallpaper' branding
2020-04-29 22:38:59 +02:00
Calamares CI
d46122dab9
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-04-29 12:57:44 +02:00
Adriaan de Groot
cb99f446b3
Merge branch 'issue-1192'
...
FIXES #1192
(Calls it the *boot* flag when using KPMCore4, which also shows the
flag *boot* in the flags list of the partitioning dialogs)
2020-04-24 11:56:16 +02:00
Adriaan de Groot
479b467bb6
[partition] Substitute in the right flag name
...
- This uses "esp" in KPMCore 3 and "boot" in KPMCore 4
2020-04-23 13:53:30 +02:00
Adriaan de Groot
79e8c447b9
[libcalamares] Test some specific KPM partition flags
2020-04-23 13:46:09 +02:00
Adriaan de Groot
cc1a1079e4
Merge pull request #1383 from demmm/master
...
[welcomeq] add language bar
2020-04-23 13:26:49 +02:00
Adriaan de Groot
23af4fcdac
Merge pull request #1387 from gportay/set-efi-system-partition-name
...
[partition] Allow a configurable EFI System Partition name
2020-04-23 13:25:56 +02:00
Adriaan de Groot
4c3c8c6239
Merge pull request #1389 from gportay/update-debug-trace
...
[partition] Update debug output
2020-04-23 12:42:26 +02:00
Adriaan de Groot
3f4e167aca
[libcalamares] Expand kpm test with API 3/4 differences
...
- fix build
- KPMCore 3 distinguishes esp and boot
- KPMCore 4 does not
2020-04-23 12:16:30 +02:00
Adriaan de Groot
43c5e1fc96
[libcalamares] Fix build of tests
...
- Typed in on FreeBSD, where it doesn't get built
2020-04-23 11:45:12 +02:00
Adriaan de Groot
cca067a34d
[libcalamares] Add a bogus test showing flag names
2020-04-22 15:38:42 +02:00
Adriaan de Groot
1f6752307d
[welcome] Massage layout when banner is used
...
- simplify handling of image loading (if the image doesn't exist,
Branding will bail out on startup)
- reduce space above the banner if it is in use
2020-04-22 14:53:55 +02:00
Adriaan de Groot
c3941b6e65
[welcome] Shuffle code
...
- things that can be done in the designer file should be there,
not weirdly repeated in code elsewhere
- drop the insertion of an extra spacer (why not include it in the
designer file?)
- shuffle all the connect() calls down to the end of the constructor
2020-04-22 14:53:55 +02:00
Adriaan de Groot
be86561913
[branding] Example banner graphic that matches the default branding.desc
...
- Bogus "CalaMinix" (maybe the example branding should be consistent
with that) banner.
- Turn off the (example) banner in the default branding.
2020-04-22 14:53:45 +02:00