Adriaan de Groot
fbb452f9bf
CMake: add support for NO_CONFIG
...
- A C++ module should set NO_CONFIG to flag that it doesn't have a
config file (this is an error if it secretly **does** have one)
5 years ago
Adriaan de Groot
fed0c46612
[libcalamaresui] Change return type of loadedInstanceKeys()
...
- Replace stringlist with a stronger-typed list of InstanceKey objects
- Move smashing-that-to-stringlist into consumers of the list
(just one, the debug window)
5 years ago
demmm
32eee82744
clean-up dummyqml.conf
5 years ago
demmm
f2e68ddcf4
adding configure option dummyqml
...
sidebar entry can be configured and translated
adding a more elaborate qml example
keeping this in dummyqml for now, another commit will follow with
continuation of dummyqml in a more aptly named module
5 years ago
Adriaan de Groot
750465153f
[dummyqml] Improve QML searching
...
- if the filename is an absolute path, use that
- support searching in branding directory
5 years ago
Adriaan de Groot
7f8a31007a
[dummyqml] Search for files
...
- start implementation of searching-for-qml
- add a *filename* configuration item, so that the filename
can be set per-instance (via the config file)
5 years ago
Adriaan de Groot
ed4127f661
[libcalamaresui] Shuffle the module interface
...
- introduce NamedEnum lookup tables for interface and type
- drop "final" and "virtual" from methods that don't make
sense as virtual
- shuffle declaration order so the virtual API for modules
sits together
5 years ago
Adriaan de Groot
f89c137c90
[libcalamaresui] Migrate module to using InstanceKey
...
- Trying to get away from untyped strings with special meaning.
- The "split identifier" branch tried the same thing, but
was duplicating the existing InstanceKey.h work.
5 years ago
Adriaan de Groot
a7e1a1f9fc
[libcalamaresui] Refactor Module::initFrom()
...
- generic initFrom() also sets the instance id
- subclass-specific initFrom() now pure virtual in base
- chase changes in subclasses
5 years ago
Adriaan de Groot
04615b251c
[dummyqml] Make prettyName() return a sentence with .
5 years ago
Adriaan de Groot
ce6d54ad95
[libcalamaresui] Improve failure message, unbreak loading
...
- example loading had an X inserted in filename (to test failure)
- add a space between name and failure
5 years ago
Adriaan de Groot
fed298b179
[libcalamaresui] Defer QML loading
...
- need a configuration before we can start loading (to support
the variable search paths)
- refactor showing a failure in the spinner widget. On failure,
the spinner will never go away, so a message for the user is good.
- stop clang-format from messing up the table of names.
5 years ago
Adriaan de Groot
e7e66497d2
[libcalamaresui] Introduce search method for QML UI modules
...
- add a sample config and documentation in dummyqml/
5 years ago
Adriaan de Groot
23a957e783
[libcalamares] Chase API change (timeouts)
...
- The new mount service needed adjustment for the independent
change of timeouts: int -> chrono::seconds.
5 years ago
Adriaan de Groot
f6d89354a1
Merge branch 'master' into kpmcore-manager
5 years ago
Adriaan de Groot
e6713d456c
[libcalamaresui] Need explicit qrc: scheme
5 years ago
Adriaan de Groot
c03c6fc8ed
[libcalamaresui] Qml loading
...
- this is mostly copied from ExecutionViewStep (only the V2 QML
loading), which does the same kind of thing.
- loading from QRC does not work yet
5 years ago
Adriaan de Groot
44b250809f
[libcalamaresui] Add spinner to QmlViewStep
...
- view step now has a widget, doesn't load QML yet
5 years ago
Adriaan de Groot
60c1d40b20
[libcalamaresui] Log which ViewStep is broken
...
- a ViewStep with no widget will crash the application;
print out its name before doing so.
5 years ago
Adriaan de Groot
1cc40bda83
[dummyqml] Stub of a QML module
5 years ago
Adriaan de Groot
4924839217
[libcalamaresui] Start QmlViewStep
5 years ago
Adriaan de Groot
16a460adff
[libcalamaresui] Move ExecutionViewStep where it belongs
...
- viewpages/ collects the ViewStep implementations
- chase header moving and tidy some #includes
5 years ago
Adriaan de Groot
970702daa0
[libcalamaresui] Tidy up includes
5 years ago
Adriaan de Groot
63b8de00ef
CI: allow plain clang-format (Tumbleweed)
5 years ago
Adriaan de Groot
537c257acf
Merge branch 'master' into qml
5 years ago
Adriaan de Groot
56f926094e
[welcomeq] Update comments
...
- Copyright years
- Purpose of this module
5 years ago
Adriaan de Groot
c482990bc5
CMake: fix find-boost
5 years ago
Adriaan de Groot
1bc8a28eac
CMake: Calamares doesn't want -p in automoc
...
FIXES #1286
5 years ago
Adriaan de Groot
1a8926181e
[locale] Warnings-- (initialization-order)
5 years ago
Adriaan de Groot
2dff2d9d70
[libcalamares] TZRegion is hard to copy
...
- delete the copy and move constructors
- adjust tests (which were just interested in simple tr() behavior) to use TZZone instead
5 years ago
Adriaan de Groot
5fbd0169ca
[libcalamares] Reduce clang warnings (only-inline-virtual, unused parameters)
5 years ago
Adriaan de Groot
1b62b2f66c
[libcalamares] Reduce warnings (extra ;, empty statement ..)
5 years ago
Adriaan de Groot
b4c0ebe8ab
[calamares] Use screen and window sizes, not position
5 years ago
Adriaan de Groot
fcb0109b7b
[calamares] Refactor center-placement
...
- Just move it to its own function where it can have more documentation
- Tested on multi-screen setups
SEE #1293
5 years ago
Adriaan de Groot
61b6d058d7
Changes: credits for packagechooser bits
5 years ago
Adriaan de Groot
3877151bd8
Merge branch 'issue-1293'
...
FIXES #1293
5 years ago
Adriaan de Groot
121013fd96
[calamares] Avoid deprecated desktop()
...
- Put Calamares on the first screen where it fits
- This is wordy and weird
5 years ago
Adriaan de Groot
43caf7b46a
[calamares] Restore functionality for 'center window'
5 years ago
Adriaan de Groot
60c659c82b
Changes: document new branding element
5 years ago
Adriaan de Groot
17d09342e9
[libcalamaresui] Add a setting for window placement
5 years ago
Adriaan de Groot
1625bb1dae
[locale] Support Qt 5.9
...
FIXES #1296
5 years ago
Adriaan de Groot
d21ed0cc7f
[packagechooser] Coding style
5 years ago
Adriaan de Groot
cefb66ab5b
Merge pull request #1276 from bill-auger/patch-packagechooser-default-selection
...
[packagechooser] pre-select default item in packagechooser
5 years ago
Adriaan de Groot
bb4771a12a
Changes: it's the locale module with translated zone names
5 years ago
Adriaan de Groot
25f0ba672c
i18n: fix spelling of Kyiv
...
- Add Ukranian translations of zone names. Since I don't write
Ukranian, add only a translation (er .. in this case, the
proper original spelling) of Kyiv.
- Fix spelling in English following UN resolution.
- Dutch remains unchanged, since as far as I can tell the Dutch
Government still sticks to the Soviet-era spelling.
FIXES #1298
5 years ago
Adriaan de Groot
dd5adc153f
Merge pull request #1291 from calamares/initcpiocfg-usr
...
[initcpiocfg] add usr hook if partition is separate
5 years ago
Adriaan de Groot
d12390bb62
Merge branch 'initcpio-plymouth'
...
FIXES #1290
5 years ago
Adriaan de Groot
fe64903d2f
[initcpiocfg] Polish PR #1290
...
- List discrete years in copyright
- Add docstrings
- Massage detect_plymouth() to return bool (easier in if() context)
5 years ago
Philip Müller
85d3f9e9b9
[initcpiocfg] add usr hook if partition is separate
5 years ago
Philip Müller
a3da47cd9c
[initcpiocfg] update plymouth check
5 years ago