5075 Commits (b074696ac1a51dbf237ab5994b94e90f32a209a6)

Author SHA1 Message Date
Adriaan de Groot b074696ac1 [netinstall] isCritical is const after construction 6 years ago
Adriaan de Groot 09006a936d [netinstall] Expand groups if requested 6 years ago
Adriaan de Groot 4f22a70b08 [netinstall] Restructure model-method data() 6 years ago
Adriaan de Groot df86972ea7 [netinstall] Introduce constexpr names for columns and roles 6 years ago
Adriaan de Groot 3d68c74a19 [netinstall] Sanitize PackageTreeItem::data()
- Use of != nullptr for QString just a bad idea
- Massage code so structure for packages resembles that of groups
6 years ago
Adriaan de Groot 201c5ddfe1 [netinstall] Add some debug-logging
- Also, prepare for a start-expanded setting
6 years ago
Adriaan de Groot 4cf3ec8663 [netinstall] Resolve TODO (changes translations) 6 years ago
Adriaan de Groot 3302fe319b [netinstall] Fix typo's in README 6 years ago
Adriaan de Groot 220fd31226 [partition] Improve EncryptionWidget
- Use normal translation framework. The EncryptWidget was the one place
  not using the "usual" translation framework, but rolled its own.
- Emphasize that the checkbox-state (checked-ness) is the parameter,
  not a state of the EncryptWidget.
- All other instances of UI classes from Designer use a pointer-to-UI,
  not multiple inheritance.
- Convenience method for setting the pixmap in response to
  changes in the passphrase
- Tighten up types: enum -> enum class
- Reduce the scope for int-confusion by using an enum-class for
  the encryption state of the widget
- Include UI implementation header only in .cpp
- Apply coding style
- Update copyright
6 years ago
Adriaan de Groot 1299c64415 [interactiveterminal] Tidy up includes
- The KF5/ part of the path isn't necessary, and some of the KF5
  includes can be found with a shorter name (with modern ECM and
  imported targets)
6 years ago
Adriaan de Groot 350627172d [partition] Tidy up includes 6 years ago
Adriaan de Groot c5b038587e [welcome] Tidy up includes 6 years ago
Adriaan de Groot ebb3f319cc [modules] Be more consistent in include punctuation
- Use <> for Qt, system, externals
 - Use double-quotes for Calamares headers
6 years ago
Adriaan de Groot 841ea9ff48 [libcalamares] Tidy up includes
- Remove commented-out includes
- Consistent punctuation
6 years ago
Adriaan de Groot c4bfad9399 [packages] Provide status feedback
- The status message should be updated; the name is constant.

FIXES #1330
6 years ago
Adriaan de Groot ef249043f9 [libcalamares] call Python method only from Python thread 6 years ago
Adriaan de Groot b4aaf85ccf [libcalamares] Call Python function if available for status 6 years ago
Adriaan de Groot 252089e372 [libcalamares] Refactor pretty_name() call
- Split out a general method-that-returns-string caller.
6 years ago
Adriaan de Groot ed4cdbeacc [dummypython] Provide status 6 years ago
Adriaan de Groot aa62ca639b [libcalamares] Start getting prettyDescription from Python 6 years ago
Adriaan de Groot 9b5a391c86 [libcalamares] Factor out Python helper
- the strange construction of Helper and treating it as a singleton
  can be factored out into a separate singleton-handling instance()
  function. The Helper should never be destroyed.
6 years ago
Adriaan de Groot 3025c5383b [libcalamares] Document the pretty*() functions for Jobs 6 years ago
Adriaan de Groot 6d29c19e3e [libcalamares] Progress is float 6 years ago
Adriaan de Groot d3828a82fc [packages] Make dummy backend slower
- insert sleeps to make it slower (easier when testing)
- improve debug logging clarity by noting where the messages
  are coming from
6 years ago
Adriaan de Groot 0abde6f1a7 [libcalamares] Don't print funcinfo in continuations
- when a single function does more logging, it generally marks
  those as subsequent debug-messages (with Continuation, or SubEntry)
  and we don't need to print funcinfo for those, since it was already
  printed the first time.
6 years ago
Adriaan de Groot 5248a37eb3 [libcalamares] Add FUNC_INFO into all debug messages
- This is needlessly verbose
- Chase CreatePartitionTableJob which needs to bind to a temporary
6 years ago
Adriaan de Groot 3ddee8090c [libcalamares] Drop intermediate CLog class
- All the real work is done in CDebug, so remove the base class.
6 years ago
Adriaan de Groot ae633c7e7b [removeuser] Remove superfluous formatting around logging 6 years ago
Adriaan de Groot 623a8c2d43 [removeuser] Port to C++
No changes in functionality; add a little description in the .conf file.
6 years ago
Adriaan de Groot bfe45aea18 [netinstall] Warnings--, unused parameter 6 years ago
Adriaan de Groot 3df0878e43 [initramfs] Warnings--
Initializing the JobQuene (and hence Global Storage) and
the System instance is a bit odd, avoid unused-variable
warning with an ugly cast instead.
6 years ago
Adriaan de Groot 0793971d01 [libcalamares] Warnings--, unused variable 6 years ago
Adriaan de Groot 72dcf886bf [contextualprocess] Improve tests, fix off-by-one
- there's no string representation for a QVariantMap, so it
  won't be converted; in *debug* output it looks like there's a
  string there.
- off-by-one when diving into compound selectors, spotted by
  test, now fixed.
6 years ago
Adriaan de Groot 28bf4082b3 [contextualprocess] Tests for new lookup behavior 6 years ago
Adriaan de Groot bdb208c079 [contextualprocess] Split API
In order to test some of the internals, split them into Binding.h.
This makes the interface visible for tests. The implementation
still lives in the same place.

While here, adjust the test to the changed **example** which
now lists an additional variable.
6 years ago
Adriaan de Groot 4a5b3e7bc8 [contextualprocess] Document new behavior for compound keys 6 years ago
Adriaan de Groot d114a3dc21 [contextualprocess] Allow selection from GS with "var1.var2.var3" 6 years ago
Adriaan de Groot f5522425f6
Merge pull request #1331 from PureTryOut/apk-support
[packages] Add apk (Alpine Linux package manager) support
6 years ago
Adriaan de Groot 54a4644893 [partition] Store filesystem types
- Write a new GS key filesystems_use, which is a map of filesystems
  in use on the target system.
6 years ago
Adriaan de Groot d4b26bbaf0 [partition] Tighten up the types of internal methods 6 years ago
Calamares CI 29ba5c961d i18n: [dummypythonqt] Automatic merge of Transifex translations 6 years ago
Adriaan de Groot b0abb99ee1 [libcalamares] Don't log useless FUNC_INFO for Python
- When a Python module calls utils.debug(), there's no point
  in logging the C++ funcinfo that passes the parameters on;
  don't use cDebug() with its attendant magic.
6 years ago
Adriaan de Groot f818d4b446 [libcalamares] Log Q_FUNC_INFO as part of debug
- Warnings, errors, don't get funcinfo, but regular cDebug()
  calls do. Other special-cases, like calling Logger::CDebug()
  constructor explicitly, don't get funcinfo either.

FIXES #1328
6 years ago
Bart Ribbers 136d22188e
[packages] Add apk (Alpine Linux package manager) support 6 years ago
Adriaan de Groot 3456aabfce [libcalamares] Expand utility of list-logging
- Allow logging any QList type (needs explicit call in usage).
- Add a DebugList inheriting from DebugListT to keep existing
  code that logs QStringLists.
- For Calamares 3.3, consider using C++17 and class template deduction.
6 years ago
Adriaan de Groot 8f060a741f [calamares] Default to log-level 1 (not 8)
- This bug has been here since f233cac7a1,
  where a check for isSet() (of the -D option) was dropped. So since then,
  Calamares has always been running with full logging (-D8) on.
- The recently-added "easter egg" of showing the debug-button when
  log-level is 8 (to allow debugging-in-production) trips over the
  default-log-level of 8, so the debug-button is always visible.

So, minor bugs in the debugging-setup, combine to show a debug-button
when there shouldn't be one.

FIXES #1329
6 years ago
Adriaan de Groot 2db3b413f4 [libcalamares] Unmount with mount point, not device
- The manpage for umount says that -R can only be used with
  a mount point (e.g. /usr/local) and not a device name;
  this makes sense because a device might be mounted in multiple
  locations, but the mountpoint (and things mounted under it) lives
  in the filesystem tree.
- Existing code tried to unmount -R the device, not the mount point,
  and so always failed; leaving things mounted that shouldn't.
6 years ago
Philip Müller 0c8257df3d [initcpio] Don't claim other swap
From downstream ee99e34e25ed1224504bbef93fb41e5cad6b0ee8
6 years ago
Matti Hyttinen 717b8947d5
Update main.py
Unset GRUB_SAVEDEFAULT if / or /boot is in btrfs or f2fs partition. This avoids the error "sparse file not allowed" at boot time. Btrfs and f2fs do not support saving default entry in grub.
6 years ago
Adriaan de Groot c20ac0836e [users] Take setRootPassword into account when hiding fields 6 years ago