7118 Commits (7bce58f6f2dfb3c6aa54094596bab1e561cf547b)
 

Author SHA1 Message Date
Adriaan de Groot 1a5c916923 [netinstall] Implement `local` loading of packages
- For a static list of selectable packages (e.g. what you might otherwise
  use file:/// for with a static file on the ISO) you can now stick the
  list in the config file itself, simplifying some setups.
- Also saves faffing about with network.

SEE #1319
5 years ago
Adriaan de Groot f59cae2dbb [netinstall] Document `local` URL
- `local` is supposed to read from the config-file, rather than
  externally; this simplifies examples, makes it easier to have
  multiple netinstalls, and condenses the documentation.
5 years ago
Adriaan de Groot fa28788f78 [netinstall] Build the model from QVariantList always 5 years ago
Adriaan de Groot ebc1db6a7b [netinstall] Test loading of a whole (example) file 5 years ago
Adriaan de Groot f592a3f373 [netinstall] Expand tests to include group-checking
- Check groups
- Check whole treemodels recursively (this is not in PackageTreeItem,
  because that explicitly ignores the tree structure).
- Also a stub of checking example files (from the src dir)
5 years ago
Adriaan de Groot 025ab8b524 [netinstall] Be explicit about checkedness-to-bool conversions 5 years ago
Adriaan de Groot 0e2b3986b9 [netinstall] Use explicit accessor for the type-of-item 5 years ago
Adriaan de Groot f7191ac29e [netinstall] Compare two PackageTreeItems
- Packages and groups check different fields for equality.
- Selected-state is **not** part of equality.
- Also operator !=
5 years ago
Adriaan de Groot 52d3f4417f [netinstall] Add explicit isGroup()
- Previously you would either need to know where in the tree a
  PackageTreeItem was, or guess that an empty packageName() means that
  it's a group.
5 years ago
Adriaan de Groot bca316299e [netinstall] Add tests
- Just some simple tests for the Items
- Test creation of package group from variant
- This needs Qt5::Gui to link because QStandardItem is a GUI class,
  although we can run the tests without a GUI.
5 years ago
Adriaan de Groot dc403237f2 [netinstall] Build model from QVariantList
- As an alternative to the YAML-wranging, build the model from
  a QVariantList instead.
- Expose this as a constructor, too.
5 years ago
Adriaan de Groot 4143ad67af [netinstall] Remove superfluous code
- The constructor for PackageTreeItem now takes over the selected
  state from the parent.
5 years ago
Adriaan de Groot c7b646315a [netinstall] Add immutable to groups settings 5 years ago
Adriaan de Groot 4cb2ed9552 [netinstall] Chase removal of ItemData
- Simplify creation of PackageTreeItems by interpreting the
  YAML directly (instead of via ItemData),
- Simplify list types,
- Drop superfluous API.
5 years ago
Adriaan de Groot c66ef5a201 [netinstall] Refactor: kill ItemData
- This doesn't compile right now.
- The nested class ItemData doesn't do anything useful or
  meaningful that having model items with the right data wouldn't.
5 years ago
Adriaan de Groot 8825c9c995 [netinstall] Apply coding style 5 years ago
Adriaan de Groot 0aaf24c4a5 CMake: tell tests where their source-dir is
- Abuse BUILD_AS_TEST to pass in the value as a string
5 years ago
Adriaan de Groot 4efb082d67 Changes: credit to Gael (I spelled it right in the file) 5 years ago
Adriaan de Groot 8c92768f66
Merge pull request #1348 from gportay/partition-type
[partition] Add support for partition type
5 years ago
Adriaan de Groot 1718f7a8a8
Merge branch 'master' into partition-type 5 years ago
Adriaan de Groot 377a78a405
Merge pull request #1347 from gportay/partition-name
[partition] Name partition using filesystem label
5 years ago
Adriaan de Groot 74aaccda15
Merge pull request #1341 from gportay/filesystem-features
[partition] Add support for filesystem-specific features (KPMCore 4.2.0 required)
5 years ago
Adriaan de Groot 54356a22ba [fsresizer] Chase API change in tests
- Missed this earlier because the module is not enabled in FreeBSD.
5 years ago
Gaël PORTAY 15cce29a51 [partition] Add support for filesystem-specific features 5 years ago
Gaël PORTAY c5ebe13aeb [partition] Add support for partition type 5 years ago
Gaël PORTAY cba4d2e93b [partition] Name partition using filesystem label 5 years ago
Adriaan de Groot c850408555 Merge branch 'tighten-yaml-types' 5 years ago
Adriaan de Groot 3b0c0435bc [libcalamaresui] Chase API change in Yaml
- We can drop a bunch of calls to toMap() now.
5 years ago
Adriaan de Groot 1678a03cb3 [libcalamares] Tighten up types
- If we're converting a YAML map to a QVariant (Map), may as well
  express that in the types. This makes the return from, say,
  `yamlMapToVariant()` cheaper, but incurs conversion in
  `yamlToVariant()` .. previously the place for costs was
  swapped around.
- For those cases that want-and-expect a Map, or List, this makes
  the calls slightly cheaper. For the generic case, the costs move
  around internally.
5 years ago
Adriaan de Groot 2eb84e2de1 [partition] [tracking] [welcome] Missing Q_OBJECT
- These aren't strictly necessary for the code, but they
  help with translations.
5 years ago
Adriaan de Groot d65e0fb4c8 [libcalamares] Fix build with GCC
- <memory> isn't implicitly-included for std::unique_ptr
5 years ago
Adriaan de Groot 9fe679dca8 Merge commit 'afc0c78b4c01ac734b9877b11ae94597c685d804'
Pull in the instance-weight changes and type-improvements,
but not the part where special-casing of unsquash is dropped:
weights are still per-job, not per-module.
5 years ago
Calamares CI 92bbf6896c i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI 2eff1f0e78 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI 1d0ff39c92 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot fba38b949a Changes: Credits to Gabriel for resume-fixes 5 years ago
Gabriel Craciunescu 47c167dc04 [bootloader] Resume from outer swap partition
- These fixes are similar to the other swap-from-LUKS changes,
  and just needed to be applied to a different module.
5 years ago
Gabriel Craciunescu 65a989d3cd [grubcfg] With LUKS, resume from the correct swap name
FIXES #1208
5 years ago
Adriaan de Groot 489fd0b272 [welcomeq] Fix QML import
- Now using the properly-namespaced QML import for Calamares things
5 years ago
Adriaan de Groot cd7884a0e5 [welcomeq] Fix build with clang
- can't convert lambda-with-captures to a function pointer (Clang 9)
- instead, use a context property .. QmlViewStep already sets a
  "config" property with the Config object, but WelcomeQ wants it
  as another name as well.
- this avoids registering the Welcome object across all QML pages,
  as well.

NOTE: needs to have the QML adjusted for this change.
5 years ago
Adriaan de Groot c4324fd3ea [libcalamaresui] Provide convenience method for context properties 5 years ago
Adriaan de Groot 3f87cc214a [calamares] Warnings--
- Set the width of the QML sidebar explicitly
- Handle all sidebar-flavor enum values explicitly
5 years ago
Adriaan de Groot 948ecb4fd1 CMake: explain the policy settings 5 years ago
Adriaan de Groot 685c2c9de0 Changes: mention Camilo for his QML work 5 years ago
Adriaan de Groot afc0c78b4c [libcalamares] Refactor job-weight computations
- only check index-vs-length once
5 years ago
Adriaan de Groot 07da6e3905 [libcalamares] Expand instance with weight 5 years ago
Adriaan de Groot e37809a126 [libcalamares] Detailed InstanceDescription type 5 years ago
Adriaan de Groot 0e68013bb3 [libcalamares] Start making InstanceDescription a stronger type
- Replace a map-of-strings with a class type.
- For now, doesn't compile.
- Intention is to construct from a YAML / QVariant from the
  *instances* list in `settings.conf`.
5 years ago
Adriaan de Groot 3897bd54df Changes: write some of the QML docs
- Fix references; I decided to put it in Qml.h, which is
  the header for the code that does the work.
5 years ago
Adriaan de Groot 4576cb4fa0 [notesqml] Fix up documentation pointers 5 years ago