Adriaan de Groot
2f88ba0d3f
[partition] Coding style
2021-08-31 14:03:04 +02:00
Adriaan de Groot
09491e4cbb
[partition] expect failures when kpm can't read the disk
2021-08-31 13:58:23 +02:00
Adriaan de Groot
1554c3a07c
[partition] Create KPM backend at start of test
2021-08-31 13:54:23 +02:00
Adriaan de Groot
3d0709c779
[partition] Avoid crash when there is no KPM backend
2021-08-31 13:46:25 +02:00
Adriaan de Groot
ede19c8a61
[partition] Fix build of devices test
2021-08-31 13:45:15 +02:00
Adriaan de Groot
854eb845d2
[partition] Fix build of layoutstest
...
This test needs UI because the devicemodel uses GUI parts.
2021-08-05 15:49:29 +02:00
Adriaan de Groot
22ba21f937
[partition] Stub of a test of scandevice
2021-08-31 13:16:45 +02:00
Adriaan de Groot
e294221a2d
[partition] Rename test executables
...
- all partition tests are now named partition<thing>test
2021-08-31 13:08:54 +02:00
Adriaan de Groot
0899eefde7
[packagechooserq] Fix build on Debian, openSUSE with AppStream
2021-08-31 11:33:05 +02:00
Adriaan de Groot
d7767afe1b
Merge branch 'extra_qml' into calamares
2021-08-30 23:17:36 +02:00
Adriaan de Groot
6f16d3db83
Merge remote-tracking branch 'origin/issue-1761' into calamares
...
FIXES #1761
2021-08-30 22:33:03 +02:00
Adriaan de Groot
b9a1d090ec
Merge pull request #1762 from demmm/calamares
...
[localeq] redo i18n.qml
2021-08-30 13:57:17 +02:00
waneon
4bf3afac48
[partition] Fix invalid variable name
2021-08-27 19:18:09 -04:00
Adriaan de Groot
da49becac3
[partition] Tailor warning message about ESP
...
- tell the user all the things that are wrong with the
(proposed) ESP; a missing one gets all the suggestions.
2021-08-27 17:28:07 +02:00
Adriaan de Groot
6324fa3eb9
[partition] Disentangle questions of suitability of ESP
...
- split into size, type, flags so the warning message can
be tailored to what is wrong.
2021-08-27 17:27:26 +02:00
Adriaan de Groot
7d08770806
[partition] Apply code style
2021-08-27 17:26:50 +02:00
Adriaan de Groot
52a82ea1e6
[partition] Improve warning message in log
2021-08-26 17:39:06 +02:00
Adriaan de Groot
46ca4d93e7
[partition] Improve constness, naming
2021-08-26 17:30:55 +02:00
Adriaan de Groot
ad9306d7bb
Merge pull request #1749 from LordTermor/calamares
...
[partition] Disable delete button for extended partition
2021-08-26 17:18:09 +02:00
Adriaan de Groot
51c18baedb
Merge branch 'issue-1669' into calamares
2021-08-26 17:15:03 +02:00
Adriaan de Groot
f376b42c31
[welcome] Add a handful of tests for different URL configs
2021-08-26 16:58:46 +02:00
Adriaan de Groot
ad76a2cbe8
[welcome] [welcomeq] Move requirements to Config
...
The Config object can hold all of the configuration information,
including also the requirements-checking parts. Move requirements-
checking configuration there, so it is shared and consistent
across welcome and welcomeq, regardless.
This repairs the test that expects the Config object to handle
**all** of the configuration, too.
2021-08-26 16:39:55 +02:00
Adriaan de Groot
67d2b5568d
[welcome] Fix test, check that the internet check URLs are loaded
2021-08-26 14:40:52 +02:00
demmm
7bfb769288
[localeq] redo i18n.qml
...
set colors as vars, mostly kirigami colors, to make it work for boths dark & light themes
highlights now full width and on hover
currentindex still at -1, not implemented in cofig.cpp/h, possible to use js, or is
https://github.com/calamares/calamares/blob/calamares/src/modules/locale/LCLocaleDialog.cpp#L43 accessible to QML?
2021-08-26 12:05:38 +02:00
Adriaan de Groot
d5e6e1075d
[welcome] Expand stub tests to check that crashes are gone
2021-08-24 13:37:02 +02:00
Adriaan de Groot
e0ee2d9514
[welcome] Handle nullptrs nicely in Config
...
- Branding, Settings, and ModuleManager may all be nullptr,
in which case the corresponding code shouldn't call methods
of those instances -- this is demonstrated by just creating
a Config object
2021-08-24 12:50:03 +02:00
Adriaan de Groot
e9a98f35ad
[welcome] Avoid crash when no Branding available
...
- don't install translators twice -- do it in setLocaleIndex only
- avoid crash if the branding instance is nullptr
2021-08-24 11:58:24 +02:00
Adriaan de Groot
f1a47a9f0a
[welcome] Add (stub) test for the Config object
...
This crashes because there's no translations object yet,
but that is an internal issue.
2021-08-24 10:24:11 +02:00
demmm
805fed559c
[networkcfg] use os.getlogin()
...
cala running as root returns root for live_user otherwise
2021-08-16 20:17:07 +02:00
demmm
8913317a44
[networkcfg] add setting the correct target user in copied file
...
see https://github.com/calamares/calamares/issues/1753
2021-08-16 14:06:13 +02:00
Artem Grinev
74a3a2da78
[partition] Fix Delete button for extended
...
Extended partition can't be removed when contains children. This commit
adds missing check.
2021-08-12 02:13:16 +04:00
Adriaan de Groot
b7a3f58df4
[partition] Update waiting widget only if it (still) exists
2021-08-05 14:51:31 +02:00
Adriaan de Groot
a1690ac2d6
[partition] Set up swap-choice texts correctly
2021-08-04 01:47:55 +02:00
Adriaan de Groot
0be4c38a87
[partition] Remove useless parameter
...
- previously, updateSwapChoicesTr() wanted to be a static free function,
but it needs QObject::tr() ; drop the unnecessary parameter (since it
is a member function).
2021-08-04 01:45:22 +02:00
Adriaan de Groot
390acd41b2
[partition] Factor out manual partitioning translation
...
- needs to be called when the button is created, too
2021-08-04 01:42:00 +02:00
Adriaan de Groot
c5fa6383d7
[welcome] Remove annoying debug message
2021-08-05 14:25:20 +02:00
Adriaan de Groot
2820316d16
Partition: don't set text if button doesn't exist
2021-08-05 14:23:11 +02:00
Adriaan de Groot
1452b74740
[welcome] Load potentially a list of URLs to check
2021-08-01 23:52:27 +02:00
Adriaan de Groot
2b485a5e59
[keyboard] Only guess layouts until the user picks one
...
- when activating the page, the "guess" functions do their
work and afterwards the config is left in a "guessable"
state, but if the user makes a specific choice, then
the config leaves the "guessable" state and the user's
explicit choice is preserved.
FIXES #1744
2021-07-31 00:24:10 +02:00
Adriaan de Groot
12b23db286
[keyboard] Re-phrase API
...
- expose only intended API, guessLayout() becomes internal and static
- rename onActivate() since it was *called* for activation, but does
something totally different.
2021-07-30 22:17:26 +02:00
Adriaan de Groot
f38b518e86
[keyboard] Factor out lambdas to regular slots
...
- Long and complicated, nested, lambdas are not convenient for reasoning.
- The debug messages from the innermost lambda have a totally useless
function name, which makes debugging harder.
2021-07-30 13:22:40 +02:00
Adriaan de Groot
fc2286117d
[packages] Move package-list-logic into PM base class
2021-07-28 13:13:39 +02:00
Adriaan de Groot
e8cb5c621a
[partition] Fix build
2021-07-26 20:54:43 +02:00
Adriaan de Groot
616f3d4fd7
[partition] Simplify retranslation of swap choices and manual partitioning
2021-07-26 16:18:31 +02:00
Adriaan de Groot
e0b8942242
[partition] Introduce retranslate slot for ChoicePage, code style
2021-07-26 16:12:41 +02:00
Adriaan de Groot
4114a2bbe8
CMake: chase renamed YAMLCPP
2021-07-26 15:08:29 +02:00
Adriaan de Groot
03e621f4a2
Modules: clean up linking
...
- do not link (explicitly) to Calamares libraries, the CMake
functions do that automatically.
- while here, tidy and remove commented-out-bits
- while here, remove unneeded includes
2021-07-26 15:04:43 +02:00
Adriaan de Groot
85a1eb95ee
[welcome] Some translation / label fixes
...
- the message had been arbitrarily changed; change it back
- update (warning) message when there is progress in checking the
model, so it doesn't stay at "unchecked" until you change language
- minor clean-ups
2021-07-25 00:08:47 +02:00
Adriaan de Groot
51c5c9ba26
[welcome] Switch to using the message from the Config object
...
- The Config object owns the requirements model, and has messages /
strings describing the state of the model. Use that message,
dropping the duplicate message from the requirements widget.
- Re-jig to pass the Config object around rather than the model
that it owns.
- This does not work, because translation events do not arrive
(and the slot isn't called automatically either).
2021-07-24 23:15:05 +02:00
Adriaan de Groot
b81bc17560
[welcome] Log when translation events arrive
2021-07-24 16:59:38 +02:00