Philip Müller
78e9926349
Merge branch 'development' into 3.2.x-stable
2019-09-29 15:10:11 +02:00
Philip Müller
e1618f20a1
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-26 09:04:58 +02:00
Adriaan de Groot
d2899d4bee
Merge branch 'issue-1247'
...
Look at the TryExec line, if it is there in the .desktop file
FIXES #1247
2019-09-25 13:06:39 +02:00
Adriaan de Groot
92ab0c1add
[displaymanager] Unify looking for executables
...
- use executable, and the result of looking up TryExec
- reduce chattiness again
2019-09-25 13:05:35 +02:00
Adriaan de Groot
0b81d2562b
[displaymanager] Be more chatty
2019-09-25 12:52:07 +02:00
Adriaan de Groot
f9e36b9c73
[displaymanager] Missing self
2019-09-25 12:41:58 +02:00
Adriaan de Groot
01cd95512f
[displaymanager] Check the TryExec key from the .desktop file
2019-09-25 12:41:37 +02:00
Adriaan de Groot
38369634df
[displaymanager] Find the .desktop file explicitly
2019-09-25 12:26:26 +02:00
Adriaan de Groot
409c90a5bf
i18n: welcome Malayalam translation
2019-09-23 12:56:51 +02:00
Calamares CI
3caab1cf96
i18n: [python] Automatic merge of Transifex translations
2019-09-23 12:43:05 +02:00
Calamares CI
d77141a147
i18n: [calamares] Automatic merge of Transifex translations
2019-09-23 12:43:04 +02:00
Adriaan de Groot
bb9cca643f
[libcalamares] Avoid warnings from MOC-generated code
...
- Moc generates Q_UNUSED(_a); which in turn (with clang) issues
a superfluous-semicolon warning. Existing code with automoc
uses utils/moc-warnings.h to turn off warnings that are issued
on moc code. Include it explicitly here because automoc isn't
applied.
2019-09-23 11:50:06 +02:00
Adriaan de Groot
3c387a11c9
[libcalamares] class/struct mismatch
...
- Manager::Private is a class, not just a struct. Needed for
hypothetical MSVC compatibility.
2019-09-23 11:26:53 +02:00
Adriaan de Groot
4799e821d3
[locale] Reduce warnings, missing override
2019-09-23 11:25:18 +02:00
Adriaan de Groot
57bb9c16f4
[displaymanager] Also look for Wayland sessions
...
- Sessions can be X11-sessions (living in xsessions) or Wayland-
(living in wayland-sessions). Look in both places.
- Refactor code a little to make it nicer to read.
2019-09-23 10:55:59 +02:00
Adriaan de Groot
f8ed7009f1
Changes: mention module updates
2019-09-23 10:51:19 +02:00
Adriaan de Groot
25af4b9234
Merge pull request #1246 from apachelogger/master
...
[displaymanager] map plasma 5.17+ desktop environment
2019-09-20 14:48:19 +02:00
Harald Sitter
0e054f1246
[displaymanager] map plasma 5.17+ desktop environment
...
exec changed compared to earlier 5.x
2019-09-18 12:38:08 +02:00
Calamares CI
4ef10ca326
i18n: [python] Automatic merge of Transifex translations
2019-09-15 21:51:51 +02:00
Calamares CI
3bef83b152
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-09-15 21:51:51 +02:00
Calamares CI
c448117073
i18n: [calamares] Automatic merge of Transifex translations
2019-09-15 21:51:51 +02:00
Adriaan de Groot
8652a220e3
Merge branch 'fixup-module-weights'
2019-09-15 20:39:08 +02:00
Adriaan de Groot
7a5ac63f92
[libcalamares] Chase change of API
...
- Replace QString( x ) by x.toString() where x is an InstanceKey
2019-09-15 20:38:16 +02:00
Adriaan de Groot
d6ed046495
[libcalamaresui] Replace a superfluous lambda
...
- The whole method body can be a lot on its own, and since
loadModules() does nothing but single-shot the lambda,
call it from outside instead.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
ce6f6592d4
[libcalamares] Drop parts of InstanceKey API
...
- Drop the 1-argument QString constructor, it is suprising
- Drop the conversion to QString
- Add a toString() instead
- Drop tests for the removed API
- While here, apply code formatting to the tests
This is done to force consumers to update to strongly-typed
InstanceKeys.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
7dcc6e8e07
[libcalamares] Fix bug in InstanceKey::QString
2019-09-15 20:38:16 +02:00
Adriaan de Groot
57e4b66af2
[libcalamares] Test QString() operator
...
- An invalid InstanceKey should give an empty string
- Test remaining QString() cases
- Edge cases for 2-string constructor
2019-09-15 20:38:16 +02:00
Adriaan de Groot
ba7e96c5e1
[libcalamares] Add test for InstanceKey
...
- cover all the constructors
- Start with some tests that fail, showing bugs in the implementation
- Fix bug that "derp@derp" was creating a valid instance-key with
a bad module and id (need to use ::fromString() to get that
functionality).
- Extend tests with more bad cases.
- Refactor tests to simplify "this is bad" assertions.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
2f99004041
[libcalamares] Move the module instance-key
...
- Split out of the UI library and into (header-only) libcalamares.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
666462651b
[libcalamares] Namespace consistently
...
- Things in libcalamares/ subdirectories are namespaced
according to that subdirectory (sometimes in namespace
Calamares, sometimes CalamaresUtils). Do that in modulesystem/ too.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
78de6776af
[libcalamaresui] Swap out use of QString for ModuleInstanceKey
...
- The strings `module@id` are used internally, make that type explicit.
2019-09-15 20:38:19 +02:00
Adriaan de Groot
b8dd6e9ae7
[libcalamaresui] Introduce a module-instance-key class
...
- This replaces rather ad-hoc use of a QString as key.
2019-09-15 20:38:16 +02:00
Adriaan de Groot
e1aced56fd
Changes: fix typo's
2019-09-14 08:01:44 -04:00
Adriaan de Groot
0c14bbc50b
Merge branch 'locale-polish'
2019-09-14 07:56:52 -04:00
Adriaan de Groot
57a942d155
[libcalamares] Make a NAM per thread
...
- To avoid warnings about creating requests and replies, parented
by the NAM but from another thread, make a NAM per thread.
2019-09-14 07:21:24 -04:00
Adriaan de Groot
ca351ff7b6
[libcalamares] Apply (some) options to request earlier
2019-09-10 14:26:46 +02:00
Adriaan de Groot
11d3f10e26
[locale] Dispose of waiting widget
...
- Do the async GeoIP checking in the async requirements-checking phase
- Do not return any requirements results -- we just need the async bit
- Drop the waiting widget, since it's not needed (done by the
requirements phase)
2019-09-10 14:18:47 +02:00
Adriaan de Groot
41ece863de
[locale] Create widgets when needed instead of at startup
...
- this blocks forever, since now the GeoIP lookup isn't done at all.
2019-09-10 06:19:20 -04:00
Adriaan de Groot
0a1dc77f9b
[locale] Hang on to GeoIP::Handler just once
...
- replace configuration settings by putting them in an object
- use unique_ptr to allow us to create one optionally.
2019-09-10 11:26:47 +02:00
Adriaan de Groot
d70d418d92
[locale] Refactor setting of LC entries
2019-09-07 17:02:59 +02:00
Adriaan de Groot
5cac3ac6ad
[locale] Apply coding style
2019-09-07 16:58:37 +02:00
Adriaan de Groot
0ee8427d5a
[locale] Remove old-style GeoIP configuration
2019-09-07 16:05:09 +02:00
Adriaan de Groot
5a24e45e3b
[locale] Factor out a simple lambda
...
- If this was handed to an algorithm it would make more sense
as a lambda
2019-09-07 15:58:56 +02:00
Adriaan de Groot
3093f635e2
[locale] Apply coding style
2019-09-07 15:48:22 +02:00
Adriaan de Groot
21dde80a65
[locale] Refactor button handling to plain methods
2019-09-07 15:47:12 +02:00
Adriaan de Groot
91f0509272
[locale] Refactor lambdas to plain methods
...
- Lengthy lambda's doing UI stuff -- that doesn't change --
are easier to read as plain methods.
2019-09-07 15:18:58 +02:00
Adriaan de Groot
782b469974
[locale] Move all the translation work to a single slot
2019-09-07 12:38:49 +02:00
Philip Müller
fae488b998
Merge branch 'development' into 3.2.x-stable
2019-09-05 07:00:56 -04:00
Philip Müller
718f24b826
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-05 07:00:21 -04:00
Adriaan de Groot
a57a030ee2
[packagechooser] Massage the list view to be narrower
2019-09-05 06:41:06 -04:00