8962 Commits (e773fb65a8a659da4687e340186e70fec0c6d413)
 

Author SHA1 Message Date
Adriaan de Groot 9665af0e5a [libcalamares] Make keys case-insensitive (as documented) 4 years ago
Adriaan de Groot 48541629f9 [libcalamares] Extend tests to handle case-insensitive 4 years ago
Adriaan de Groot f3681a533e [libcalamares] Rearrange filesystem-use API
- make the functies that take a GS* first-class
- use the convenience functions from JobQueue for the others
- inline so only the explicit-GS* functions are in the library
4 years ago
Adriaan de Groot 488631824d [libcalamares] Make the KPMCore global storage filesystem handlers inline 4 years ago
Adriaan de Groot 75eb2c3cd4 [libcalamares] Add tests for filesystem_use service 4 years ago
Adriaan de Groot afdf431b77 [libcalamares] Add partition service for managing global storage
- the global storage key filesystem_use has a structured meaning,
  so give it a (trivial-ish) API for reading and writing.
4 years ago
Adriaan de Groot 1e1b7b7ece [libcalamares] Introduce a convenience getter for GlobalStorage 4 years ago
Adriaan de Groot cc6a598c61
Merge pull request #1658 from erikdubois/calamares
displaymanager from arcolinux
4 years ago
Adriaan de Groot 88aa1755ce CMake: split out skip-module-checking to its own cmake module
The skip-checking is now in the functions for adding plugins and
subdirectories, so that third-party building should get it
as well, for free. Since AddModuleSubdirectory and AddPlugin
use the newly split-out module, handling SKIP_MODULES and USE_*
consistently across module repositories is now easier.

While here, make accumulating-the-skipped-modules explicit.
4 years ago
Adriaan de Groot a64a54ff04 CMake: split out global skip-modules checking
There are two ways to skip building a module:
 - SKIP_MODULES (individually listed)
 - USE_* (pick one from a collection)

Move the handling for those ways to a separate function, so that it
can be re-used in the calamares-extensions module too, or other
external module repositories.
4 years ago
Adriaan de Groot 0bf1df72cd CMake: report Python module name without subdirectory
FIXES ##1641
4 years ago
Adriaan de Groot dc0164d508 [libcalamares] Also install the version header 4 years ago
Adriaan de Groot b5788d4b17 CMake: be more verbose on developer machines
This change is relevant only if you build Calamares and some out-of-tree
modules (e.g. calamares-extensions) on the same machine where CMake
caches files in the developer's ~/.cmake/packages . If the user
packages registry kicks in the include files won't be found, and
the targets are not defined.
4 years ago
Adriaan de Groot 3600c67485 CMake: remove mention of the os-modules
The modules (and the need for a specific USE_os) have moved to
calamares-extensions.
4 years ago
Adriaan de Groot 6d4a0a1ba3 i18n: update the English source files 4 years ago
Adriaan de Groot ba89f03d8e Changes: post-release housekeeping
- mention the *packages* service in CHANGES for the previous release
4 years ago
Calamares CI 4243d5f41a i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 64f9a2df26 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 779e5ecf8f [libcalamaresui] Factor out the pastebin UI
- offer a convenience method for showing a popup and
  URL information and copying the URL to the clipboard
- use that from ViewManager (on failure) and DebugWindow (on demand)
4 years ago
Adriaan de Groot 981e96ea7f [calamares] Redo debug window tools
- make the tools tab buttons along the bottom row
- show the global storage tab by default

This costs little screen real-estate, makes the tools much more
visible and useful.
4 years ago
Adriaan de Groot c54e417ff3 [calamares] Add a 'send log' button to the debug window
FIXES #1660
4 years ago
Adriaan de Groot 668921543a [libcalamaresui] Convenience method to check if paste would do anything 4 years ago
Adriaan de Groot 63e61e9924 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 5ed1dff655 Merge branch 'issue-1579' into calamares
FIXES #1579
4 years ago
Adriaan de Groot 3588f06767 [netinstall] Document groupsUrl with multiple entries 4 years ago
Adriaan de Groot fdfe52efe2 [netinstall] Improve loader queue API a bit
- use load() to start loading
- the FetchNextUnless class is useful in more spots in
  the loading process
- set status explicitly on success (otherwise, a failure in a
  previous URL would leave a failure message lying around even
  when the module shows something useful)
4 years ago
Adriaan de Groot 03d086a233 [netinstall] Missing initialisations, split out slot
- m_queue was not initialized to nullptr, crashes
- split queue-is-done to a separate slot rather than a lambda
- prefer queueing calls to fetchNext(), for responsiveness
4 years ago
Erik Dubois 0379fa9b7d displaymanager from arcolinux 4 years ago
Adriaan de Groot 404a9ef98a [netinstall] Split off requesting netinstall data into a queue-manager
This is the actual "meat" of the branch, which makes the
netinstall module request one URL at a time until one succeeds.
4 years ago
Adriaan de Groot 186d32ebee [partition] More missing ; 4 years ago
Adriaan de Groot 2b4bc7adf4 [partition] Apply newer formatting tool 4 years ago
Adriaan de Groot 3b9c0bdf91 CI: don't allow clang-format 7 any more 4 years ago
Adriaan de Groot bb426ebac4 [partition] Add missing ; (and apply coding style) 4 years ago
Adriaan de Groot 9341a84820 [libcalamares] Make the RETRANSLATE macros more statement-line
Require a ; after RETRANSLATE macros. They are statement-like;
this makes it easier for some of them to be recognized by
clang-format and resolves some existing weird formatting.
4 years ago
Adriaan de Groot 603a7106b3 [netinstall] Move package-listing wrangling to the Config object
Now all the business logic is in Config, the door is open to
building a QML-ified netinstall module. I'm not sure that
would be worth it: packagechooser offers more space for a
nice UI and should be QML'ed first.
4 years ago
Adriaan de Groot 9acd2fe458 [netinstall] Use the packages service 4 years ago
Adriaan de Groot f1446736f8 [libcalamares] Expand tests a little
- do some additions and check they work
- drop the ";add" annotation on the source, this is not
  needed in the current situation with only adds available.
4 years ago
Adriaan de Groot 5b609565e2 [libcalamares] Make Packages API more flexible
- pass in the GS object; this makes mostly **testing** much easier
4 years ago
Adriaan de Groot b868894371 [libcalamares] Start a packages service for netinstall and others 4 years ago
Adriaan de Groot 6662cb5f2d [netinstall] Swap parameters to makeSourceItem and document it 4 years ago
Adriaan de Groot 79b4f918fc [netinstall] Apply coding style 4 years ago
Adriaan de Groot 8e8525a941 [netinstall] Simplify slots in the UI page 4 years ago
Adriaan de Groot a90f510b85 [libcalamares] Convenience for logging subentries
For methods that log a bunch of things, and which want to
consistently use SubEntry, but don't know when the **first**
log entry is within the method, Logger::Once can be used
to log one regular message (with function info) and the
rest are subentries.
4 years ago
Adriaan de Groot 72f67286a4 [libcalamares] Preserve type CDebug() if possible. 4 years ago
Adriaan de Groot 8fe2e1f68a [finished] Make the debug-log less cryptic 4 years ago
Adriaan de Groot a3a1350dc7 [libcalamares] Don't complain if there isn't a preset
- If the module knows about a preset, then it should be registered
  even if there is not a value set for it specifically; this avoids
  complaints from isEditable() for fields that are known, but
  do not have a preset. (Reported by Anke)
4 years ago
Adriaan de Groot a4c1f07521 [libcalamares] Reduce indentation-depth in apply() through early-return 4 years ago
Adriaan de Groot 33fec86ef6 [welcome] Improve logging of requirements-checking
- less chatty when 0-results come in
- compress the welcome debug to one output chunk
4 years ago
Adriaan de Groot f8afb15c4c [libcalamaresui] Improve logging for QML modules
- mention which instance produces warnings
- tag additional debugging from the same method with Logger::SubEntry
4 years ago
Adriaan de Groot 6556f96442 Merge branch 'calamares' into issue-1579
Bring the branch up-to-date with the past few releases,
so it can be merged more easily once complete.
4 years ago