6431 Commits (0d1355d4577ffbd4f6f5a616bfbdfee2c464ca02)

Author SHA1 Message Date
Adriaan de Groot 144b51f00e [partition] Use automount control
FIXES #1604

(Admittedly, this fixes the problem only when there's Plasma Solid automount
present, and not any of the other kinds; but none of those have been reported
yet, and adding them into AutoMount.cpp is opaque to the rest of the
system)
6 years ago
Adriaan de Groot 17f73b1294 [partition] Test automount job in a queue 6 years ago
Adriaan de Groot 38fa1d9567 [libcalamares] Distinguish logging raw, shared and unique pointers
- It shouldn't be necessary to explicitly .get() pointers for
  logging, and it's convenient to know when a pointer is smart.
  * no annotation means raw (e.g. @0x0)
  * S means shared
  * U means unique
6 years ago
Adriaan de Groot c43a6ab866 [partition] Improve logging in automount test
- switch logging in job to VERBOSE because we don't want to be printing
  pointers to the regular session log
- switch logging in test to VERBOSE to actually see the messages from the Job
- hook the test into the build
6 years ago
Adriaan de Groot c98a330bf9 [libcalamares] Store DBus reply value, drop debug-logging 6 years ago
Adriaan de Groot aae815cf3b [partition] Add trivial test for automount management job 6 years ago
Adriaan de Groot 1704ad5977 [partition] Add a job to handle automount behavior
- while here, nudge CalamaresUtils automount API a little,
  since it doesn't really need an rvalue-ref.
6 years ago
Adriaan de Groot f3752e200a [libcalamaresui] Display first 6, last 2 lines of long error messages, preserve newlines 6 years ago
Adriaan de Groot b9210721e6 Merge branch 'issue-1613' into calamares
The popup now cuts down messages to a manageable length.
Hopefully the part that is preserved, will still show
something meaningful for the user (8 lines of text should
be sufficient for the kind of things we do).

FIXES #1613
6 years ago
Adriaan de Groot eafb8149b3 [libcalamares] Test some degenerate truncation cases 6 years ago
Adriaan de Groot a383aa974a [users] Need <memory> for unique_ptr
- Although unique_ptr is only used when ICU is enabled, include it
  always because it is likely that we'll use more unique_ptr
  in the implementation at some point.
6 years ago
Adriaan de Groot caff0176b1 [libcalamares] Need <memory> for unique_ptr
FIXES #1631
6 years ago
Neal Gompa e56bdd019f modules/bootloader: Use the correct names for the shim binaries
Ever since signed shim binaries for multiple architectures became
available, the shim binaries installed in Linux distributions have
been renamed to include the EFI architecture in the binary names.

This started in Fedora, but is now used in openSUSE and Ubuntu too.

Reference for shim binary names comes from shim spec in Fedora:

d8c3c8e392/f/shim.spec (_23-32)
6 years ago
Adriaan de Groot 7ab9c63903 [libcalamares] Extend test with some degenerate cases 6 years ago
Adriaan de Groot 5c402ffd66 [libcalamares] Truncate to a character count as well 6 years ago
Adriaan de Groot 1542bad224 [libcalamares] Truncate strings without trailing newline properly 6 years ago
Adriaan de Groot 8e3ed3c933 [libcalamares] Remove redundant variable, use NEWLINE instead of character-literal 6 years ago
Adriaan de Groot 3623e9aefc [libcalamares] Extend tests of string-truncation 6 years ago
Adriaan de Groot b85e5b52c2 [libcalamaresui] Apply coding style
- Some minor bits snuck in with the string-truncation code
- While here, make UPDATE_BUTTON_PROPERTY more statement-like
  so it doesn't confuse code-formatters.
6 years ago
Adriaan de Groot db5f3bc309 Merge branch 'issue-1613' into calamares 6 years ago
Adriaan de Groot 319a720d1b [libcalamares Expand tests 6 years ago
Adriaan de Groot b144d81979 [libcalamares] Fix up smart-string-truncation
- off-by-one when source ends with a newline
- lastNewLine was being calculated as a left-index into the string,
  then used as a count-from-right
6 years ago
Adriaan de Groot 3be360e433 [libcalamares] Add tests to string truncation
- check that basic manipulations succeed
- trailing-lines selection fails, though
6 years ago
Adriaan de Groot 8cc114bf2c [libcalamares] Move smart-string-truncation to library
Expand the API a little to support first-lines, last-lines,
and something of both. Use strong types to make the names
clear for each.
6 years ago
benne-dee 938edf5bd6
Create shellprocess.schema.yaml 6 years ago
Adriaan de Groot 4f78afe67e [libcalamaresui] Display a reduced amount of details
Cut the error message from down to a maximum of 8 lines
so that the messagebox does not hopelessly overflow.
6 years ago
Adriaan de Groot f0fd47eeb3 [libcalamares] Simplify logging-manipulators
Writing `Logger::NoQuote{}`` has annoyed me for a while, so
switch it to a constant, like SubEntry, so it looks more
like a regular manipulator object.
6 years ago
Adriaan de Groot c1064c5e08
Merge pull request #1597 from Chrysostomus/btrfs-swap
[fstab][mount] Btrfs swapfile handling
6 years ago
Adriaan de Groot 9a4c599e22 [libcalamares] Tidy logging a little for Python errors 6 years ago
Adriaan de Groot 6978ce3cb4 [partition] Collect more kpmcore 4.2 code 6 years ago
Adriaan de Groot 520f08bbba [partition] Fix build with legacy kpmcore 6 years ago
Adriaan de Groot 31bf38977e [partition] Refactor partition-labeling 6 years ago
Adriaan de Groot 3ade1fd84a Merge branch 'add-automount-control' into calamares 6 years ago
Adriaan de Groot b709ba7a5b
Merge pull request #1590 from deprov447/Back/Next_buttons_at_installation
Navigation buttons hideability during installation
6 years ago
Adriaan de Groot 9482935034
Merge pull request #1572 from gportay/partition-output-more-things-in-overiew
[partition] output more things in overiew
6 years ago
Adriaan de Groot 478af25cec
Merge pull request #1571 from gportay/unpackfs-skip-overlay-extended-attributes
[unpackfs] Skip overlay extended attributes
6 years ago
Anubhav Choudhary 0ff32784d1 hooked backAndNextVisible signal to nonQML navigation 6 years ago
Anubhav Choudhary a9539018e9 [fixed] backAndNextVisbility logic 6 years ago
Gaël PORTAY af5c57a713 [partition] Output filesystem features in overview 6 years ago
Gaël PORTAY c045af1975 [partition] Output GPT entries in overview 6 years ago
Gaël PORTAY bf9c9a64f1 [libcalamares] Introduce new function getPartitionTable 6 years ago
Adriaan de Groot 132ff59d9c [libcalamares] Make running commands less chatty
If there's no output, don't mention it; don't mention failure modes
if the command was successful.
6 years ago
Adriaan de Groot a3eae323f1 [libcalamares] Rename test-executable: avoid clashes with 'cala<tab>' 6 years ago
Adriaan de Groot d74bdbcfd0 [libcalamares] coding-style, logging in calautomount 6 years ago
Adriaan de Groot 3150785ff1 [libcalamares] Use shared_ptr instead of unique_ptr
The value inside a unique_ptr can't be opaque, it needs to be known
at any site where the pointer may be deleted. shared_ptr does not
have that (deletion is part of the shared_ptr object, which is larger
than the unique_ptr) and so can be used for opaque deletions.
6 years ago
Adriaan de Groot 1c4bf58fb4 [libcalamares] automount-manipulation test-program 6 years ago
Adriaan de Groot f0a33a235c [libcalamares] Make automountDisable() more flexible 6 years ago
Adriaan de Groot 9e6bddf31a [partition] Add new AutoMount-manipulating helpers 6 years ago
Adriaan de Groot 1c285f011b [libcalamares] Export partition-syncer symbols 6 years ago
Adriaan de Groot c963d8905f [netinstall] Merge the two descriptions of *immutable* 6 years ago