9128 Commits (604535f65a36a67bbf934cc056c648a79a6d03ba)
 

Author SHA1 Message Date
Adriaan de Groot 46f2d72b4c [partition] requiredPartitionTableType: improve docs 4 years ago
Adriaan de Groot 5f7cfefed7 [partition] Migrate EFI settings-setting to Config object 4 years ago
Adriaan de Groot c3bc305bb6 [partition] Shuffle Config and ViewStep to top
Modules nearly always have a Config and either a Job or ViewStep
as their "top level" components. Everything else is implementation-
detail. The *partition* module was unusual in that those two
"top level" components were tucked away in subdirectories.

Shuffle them to the top: this makes it more clear that these
two files are there to coordinate the module.
4 years ago
Adriaan de Groot cba5b9e4fb [partition]: restore defaultFileSystemType in config
Add the old key back, document the new key, expand schema.
4 years ago
Adriaan de Groot e5f93d3563 Changes: credits for recent PRs 4 years ago
Adriaan de Groot 015f644acf [calamares] More attributes in injected Python script
Fake a little more of the subprocess module.
4 years ago
Adriaan de Groot 5d54a08581 [calamares] Allow disabling the Python pre-script
The test-application injects a script into Python code
to render harmless functions in the subprocess module
(eg to avoid Python code from running the package manager
for real). There are cases, though, where that injection
should be skipped (eg because the whole point of test-
loading some Python is to check commands that are run).

Add a -P option to the test-application to do that.
4 years ago
Adriaan de Groot a86ffd105a [bootloader] factor out GRUB EFI determinations 4 years ago
Adriaan de Groot d068371e62
Merge pull request #1733 from CC2130/aarch64-support
[bootloader] add support for aarch64
4 years ago
Adriaan de Groot 2f25173ac3
Merge pull request #1734 from demmm/calamares
[usersq] add inline messages, adjust layout
4 years ago
demmm 2f7d251000 [usersq] empty length is starting color 4 years ago
demmm 1554646a38 Changes: add QML modules changes 4 years ago
demmm 989d08c70a [usersq] add inline messages, adjust layout
warning messages implemented for user & host names
move root password option box inline with password section
adjust background color according to text.length
hardcode color instead of kirigami colors
usersq is now usable, sets user, hostname & password correctly on install
warning messages & color changes not fully done yet
4 years ago
Adriaan de Groot e5aa90d3a8 Changes: credit for patch 4 years ago
Adriaan de Groot d102750b13
Merge pull request #1731 from omeritzics/patch-1
[keyboard] Add Hebrew and Arabic to the non-ASCII layouts list
4 years ago
Jia Chao 3dce393dcc bootloader: add-support_for_aarch64 4 years ago
Omer I.S e1bf7ae96f
Add Hebrew and Arabic 4 years ago
Adriaan de Groot b54b486ee8 Merge branch 'issue-1724' into calamares
FIXES #1724
4 years ago
Calamares CI 2b37c41b08 i18n: [python] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 131352ca03 [partition] Apply coding style 4 years ago
Adriaan de Groot e2bf717ea0 [partition] Rewrite new-partition API
The existing API required calling the one constructor with
specific pointers (nullptr for a partition-from-free-space)
followed by calling one of the initFrom*() functions. This
is fragile design.

Use tag-classes to distinguish create-from-free-space and
edit-another-freshly-created-partition cases, refactor
to merge the initFrom*() methods into the constructors
and factor out the shared UI creation.

Callers can now use the tag-class to distinguish. While
here, adjust both callers to use QPointer, avoiding some
very specific dialog-on-the-stack crash possibilities.
4 years ago
Adriaan de Groot dbfd8bea03 [partition] Newly-created (fresh) partitions don't have flags yet
When a partition is set as "freshly created", the dialog was
passing in newFlags() as the **already-active** flags on the
partition; then the caller was setting those same flags as
"set these in the future", so that afterwards, no flags would
actually be set (because they're already active -- see the
first sentence).

Now, fresh partitions have no flags.
4 years ago
Adriaan de Groot f06766085a [partition] Rename function, to track down consumers 4 years ago
Adriaan de Groot acb731d823 [libcalamaresui] Provide the logFile path
This is intended for consumption by QML; the ViewManager object
acts as a proxy for a handful of global Settings values already,
so throw in global Logger values as well. A QML module that would
like to read the log file (e.g. for tailing it as part of a
slide-show) can get the path via this property.
4 years ago
Adriaan de Groot 54e66ff1c0 [calamares] Python pre-script only if Python is enabled
If Python support isn't enabled, you can include the PythonJob header,
but the symbols aren't in libcalamares so fails at link time.

FIXES #1729
4 years ago
Adriaan de Groot 60f8a7c5fb [partition] Don't offer /boot if EFI wants something else
- Don't leave /boot in the list always; EFI might be configured
  for /boot/efi on this system
- While here, apply coding style.
4 years ago
Adriaan de Groot 6936915dd6 [partition] Fix logging (type of debug stream changed) 4 years ago
Adriaan de Groot 7deb6c0e9e [partition] Improve logging in clearmounts job 4 years ago
Adriaan de Groot 432154e50a [libcalamares] Improve Once-logging
Sending a Once to a logger that isn't enabled should not "consume"
that Once; it's still available for a subsequent logger that **is**
enabled (useful if you're using more than one log-level in a function).
4 years ago
Adriaan de Groot 66f96e339c [libcalamares] Introduce cVerbose() convenience macro (like cDebug()) 4 years ago
Adriaan de Groot 17cc0470da [partition] Log names of partition flags, not just a number 4 years ago
Adriaan de Groot bf7eed9342 [partition] Tidy debug output when creating table 4 years ago
Adriaan de Groot fb7e6101ff [partition] Hook erase-fs-type changes to the config-object 4 years ago
Adriaan de Groot 7ce2a87644 [partition] Fix build
- fsName was a QString (a copy) so it could be modified;
- the modification isn't really necessary.
- While here, pick up new PointerSetter convenience class.
4 years ago
Adriaan de Groot ef436ac4d7 [libcalamares] add a convenience optional-setter for use with pointers 4 years ago
Adriaan de Groot 2a0d4e5a23 [partition] Initialize pointers in declaration 4 years ago
Adriaan de Groot 26cabbb3e4 [partition] refactor config-reading from availableFileSystemTypes 4 years ago
Adriaan de Groot cd804470b5 [partition] Canonicalize the FS choice for erase 4 years ago
Adriaan de Groot d8a862ec82 [partition] Use Q_EMIT 4 years ago
Adriaan de Groot 4fa61249a8 [partition] Make the fs type used for erase, a config property 4 years ago
Adriaan de Groot 9fa5ab04e5 [partition] Apply coding style to core/ 4 years ago
Adriaan de Groot f9659989b1 [partition] rename findFS
Rename findFS -> canonicalFilesystemName because that's what it actually
does. While here, apply coding style to the files that are affected.
4 years ago
Adriaan de Groot 546253d750 [partition] Apply coding style 4 years ago
Adriaan de Groot b29f3e919b Merge branch 'improve-btrfs-default-layout' into calamares
Avoids a broken btrfs installation in the face of missing
configurations, and makes testing a little more safe by
neutering parts of the subprocess module in Python job-tests.
4 years ago
Adriaan de Groot cc0e39db56 [calamares] Inject a pre-script when testing Python modules
Co-opt the subprocess module and replace call and check_call
functions with something that logs the call and does nothing.
4 years ago
Adriaan de Groot 629fc83f21 [libcalamares] Add a pre-script for PythonJobs
This allows injecting arbitrary Python code before
the script of a module is even run. For testing
purposes, that gives us a chance to modify existing
(internal) modules before the script (e.g. to test
subprocess calls).
4 years ago
Adriaan de Groot 69cad09a00 [calamares] Tighten debug-output from module-loader test executable 4 years ago
Adriaan de Groot 7b297a0e16 [mount] Rename test file, re-jig tests for mount 4 years ago
Adriaan de Groot 846936357b [mount] If no btrfs layout at all, use something reasonable
This is related to https://invent.kde.org/neon/neon/calamares-settings/-/merge_requests/1
which adds .. the default things from the example configuration to the
configuration file KDE neon ships. The default layout doesn't add
any subvolumes at all, which seems to be non-functional.

If nothing is configured, complain and use /@ as the lone subvolume.
4 years ago
Adriaan de Groot 9ef22f4168 Merge branch 'calamares' of https://github.com/LordTermor/calamares into pr-1667 4 years ago