Adriaan de Groot
653359d815
[libcalamares] Fix up multiple URLs for checkinternet
...
- was filtering out the wrong URLs
- was not actually removing the invalid URLs
- extend API to make it possible to count / confirm the settings
- extend tests to demonstrate that API and the issues
2021-08-26 12:57:40 +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
1e05e7996b
[libcalamares] Avoid cError + SubEntry
...
The combination of Error and SubEntry loses the indentation.
2021-08-24 12:32:48 +02:00
Adriaan de Groot
14c26d01af
[libcalamares] Warnings for nullptr Settings
2021-08-24 12:30:44 +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
38c65e80f3
[libcalamaresui] Warn when asking for nonexistent Branding instance
2021-08-24 11:57:37 +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
Adriaan de Groot
c79fc2e6d9
[libcalamares] Add urls only if valid, add tests to check that
2021-08-24 10:00:42 +02:00
Adriaan de Groot
b9f22a7526
Changes: mention the networkcfg improvement
2021-08-23 17:37:08 +02:00
demmm
bf677df6ca
Merge pull request #1755 from demmm/calamares
...
[networkcfg] add setting the correct target user in copied file
Fixes https://github.com/calamares/calamares/issues/1754
2021-08-16 20:33:08 +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
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
8a2f60a03a
Changes: post-release housekeeping
2021-08-05 15:29:23 +02: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
670d8089bc
Changes: pre-release housekeeping
2021-08-05 14:16:28 +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
2f3062f4c2
[libcalamares] Fix typo in comment
2021-08-01 23:49:33 +02:00
Adriaan de Groot
81fe8b1488
[libcalamares] Expand API for setting URLs to check
2021-08-01 22:37:13 +02:00
Adriaan de Groot
b8583a1e59
[libcalamares] Expand the number of URLs to check for connectivity
...
- introduce a list of URLs instead of just one
- ping each of them, in turn, until one responds
2021-08-01 22:07:51 +02:00
Adriaan de Groot
12a361556b
Changes: post-release housekeeping
2021-08-01 21:26:06 +02:00
Adriaan de Groot
07a9e3dd46
CHANGES: release date
2021-07-31 00:41:27 +02:00
Adriaan de Groot
1297845e31
i18n: update language lists
...
I'm specifically putting zh_HK in the 'ok' list so it is selectable,
because that's what we need to be able to improve it most quickly,
2021-07-31 00:39:37 +02:00
Adriaan de Groot
559c53b09c
[libcalamares]: stronger type for translation name
...
QString -> Id for translations in the external API, to avoid
accidentally converting a QLocale name (e.g. ca_ES) into a
Calamares translation name. This preserves special-cases
like ca@valencia and sr@latin.
2021-07-28 14:22:28 +02:00
Adriaan de Groot
bc9d8fb13a
[libcalamares] Rename files Label -> Translation
2021-07-28 14:22:28 +02:00
Adriaan de Groot
bf9f1c95bc
[libcalamares] Rename classes describing Translations
...
- the name 'Label' was a relic of the class being UI-centered
2021-07-28 14:22:28 +02:00
Adriaan de Groot
d6825c4986
[libcalamares] Fix linking with renamed targets
2021-07-28 13:20:35 +02:00
Adriaan de Groot
3596b48c7a
[libcalamares] Factor out common string in Python logging
...
- enforce consistent [PYTHON JOB]
- use CDebug() constructor, because the convenience macro's
introduce the function name -- that's the C++ function, so
it isn't useful for logging.
2021-07-28 13:13:39 +02:00
Adriaan de Groot
fc2286117d
[packages] Move package-list-logic into PM base class
2021-07-28 13:13:39 +02:00
Calamares CI
e577cd4495
i18n: [python] Automatic merge of Transifex translations
2021-07-26 20:56:52 +02:00
Calamares CI
9bf7212458
i18n: [calamares] Automatic merge of Transifex translations
2021-07-26 20:56:52 +02:00
Adriaan de Groot
54d31c85e7
Merge branch 'issue-1744' into calamares
...
FIXES #1744
2021-07-31 00:27:49 +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
a65723d4da
[libcalamares] Extend cPointerSetter with initial-value
...
This is a convenience for "set <some variable> to <some value>
at end of scope".
2021-07-31 00:20:27 +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
7e0e063c3f
Changes: pre-release housekeeping
2021-07-30 12:54:47 +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