6202 Commits (42425e4030125a4c30cacb21a8589cfe7d9f4aa4)
 

Author SHA1 Message Date
Adriaan de Groot 8dc91b9838 Merge branch 'issue-1188'
FIXES #1181
FIXES #1188

You can now copy single files from the source image to the target.
You can now copy directories from the source image to the target.
5 years ago
Adriaan de Groot 95f725831f [unpackfs] Shuffle the documentation
- move all the examples to an EXAMPLES section
 - leave one single-file example enabled in the configuration
5 years ago
Adriaan de Groot 6fb2563c75 [unpackfs] Copy files when sourcefs = "file"
- Just use the existing rsync code, which can do both
   files and directory trees.
 - The existing code assumed we were always copying directories.
   Now double-check beforehand.
5 years ago
Adriaan de Groot 27cdaba8b2 [unpackfs] Special-case file sources 5 years ago
Adriaan de Groot 7856c1a6a8 [unpackfs] Do more checks before doing any work 5 years ago
Adriaan de Groot 784bc5b86e [unpackfs] Expand documentation
- comment out the squashfs example, since it's not readily
   available even on developer systems
 - add entries for the upcoming "file" type.
5 years ago
Adriaan de Groot 03cdfc3af6 Merge branch 'issue-1248'
FIXES #1248

Now with documentation and chasing TryExec if a .desktop file is
given alongside a broken executable value (the value is still
mandatory, but `executable: /bin/nonexistent/no-really/whut`
is now a suitable setting).
5 years ago
Adriaan de Groot 7ffe25fca0 [displaymanager] Document that TryExec can supplant executable 5 years ago
Adriaan de Groot 1beadee2a7 [displaymanager] Believe the .desktop file
- if a default DE is configured but the executable doesn't exist,
   believe the .desktop file. Then use that, and warn if the
   whole thing can not be found.
5 years ago
Adriaan de Groot 290a0698d8 [displaymanager] Add DE.find() which believes .desktop files
- for a DE entry which has a bad executable setting,
   update the entry from the .desktop file using TryExec.
   This assumes that the TryExec command is actually something
   you might want to run.
5 years ago
Adriaan de Groot fe33952733 [displaymanager] Document the internal functions for DE finding
- rename find_* to _search_* to make clear they're internal.
5 years ago
Adriaan de Groot a3666cabe0 [displaymanager] Fix naming
- Having a global and a class-local function with the same name
   that do very different things is confusing.
5 years ago
Adriaan de Groot fb07757aab [displaymanager] Document *defaultDesktopEnvironment*
- while the keys are mandatory, their meaning is entirely optional.
5 years ago
Adriaan de Groot 0510820594 [displaymanager] Document what the list of DE's is for 5 years ago
Calamares CI 7a8c44a4a3 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI ecb1128b61 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI aecf776bf7 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 479ffb3530 Changes: credits, mention bug numbers 5 years ago
Adriaan de Groot 5d0a5c035d
Merge pull request #1243 from stikonas/master
QLatin1Literal->QLatin1String.
5 years ago
Adriaan de Groot d2899d4bee Merge branch 'issue-1247'
Look at the TryExec line, if it is there in the .desktop file

FIXES #1247
5 years ago
Adriaan de Groot 92ab0c1add [displaymanager] Unify looking for executables
- use executable, and the result of looking up TryExec
 - reduce chattiness again
5 years ago
Adriaan de Groot 0b81d2562b [displaymanager] Be more chatty 5 years ago
Adriaan de Groot f9e36b9c73 [displaymanager] Missing self 5 years ago
Adriaan de Groot 01cd95512f [displaymanager] Check the TryExec key from the .desktop file 5 years ago
Adriaan de Groot 38369634df [displaymanager] Find the .desktop file explicitly 5 years ago
Adriaan de Groot 409c90a5bf i18n: welcome Malayalam translation 5 years ago
Calamares CI 3caab1cf96 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI d77141a147 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
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.
5 years ago
Adriaan de Groot 3c387a11c9 [libcalamares] class/struct mismatch
- Manager::Private is a class, not just a struct. Needed for
   hypothetical MSVC compatibility.
5 years ago
Adriaan de Groot 4799e821d3 [locale] Reduce warnings, missing override 5 years ago
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.
5 years ago
Adriaan de Groot f8ed7009f1 Changes: mention module updates 5 years ago
Andrius Štikonas 490c14d93d QLatin1Literal->QLatin1String. 5 years ago
Adriaan de Groot 25af4b9234
Merge pull request #1246 from apachelogger/master
[displaymanager] map plasma 5.17+ desktop environment
5 years ago
Harald Sitter 0e054f1246 [displaymanager] map plasma 5.17+ desktop environment
exec changed compared to earlier 5.x
5 years ago
Calamares CI 4ef10ca326 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI 3bef83b152 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI c448117073 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 8652a220e3 Merge branch 'fixup-module-weights' 5 years ago
Adriaan de Groot 7a5ac63f92 [libcalamares] Chase change of API
- Replace QString( x ) by x.toString() where x is an InstanceKey
5 years ago
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.
5 years ago
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.
5 years ago
Adriaan de Groot 7dcc6e8e07 [libcalamares] Fix bug in InstanceKey::QString 5 years ago
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
5 years ago
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.
5 years ago
Adriaan de Groot 2f99004041 [libcalamares] Move the module instance-key
- Split out of the UI library and into (header-only) libcalamares.
5 years ago
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.
5 years ago
Adriaan de Groot 78de6776af [libcalamaresui] Swap out use of QString for ModuleInstanceKey
- The strings `module@id` are used internally, make that type explicit.
5 years ago
Adriaan de Groot b8dd6e9ae7 [libcalamaresui] Introduce a module-instance-key class
- This replaces rather ad-hoc use of a QString as key.
5 years ago