Adriaan de Groot
dc0ed24f1a
[libcalamaresui] Install libcalamaresui headers
...
- All the headers go to relevant subdirs, but we don't keep
libcalamares and libcalamaresui apart.
- While here, remove unused variable from libcalamares CMake
2020-06-10 16:43:34 +02:00
Adriaan de Groot
23c93904df
CMake: put CMake-level ABI settings in CalamaresConfig
...
- drop the BuildTreeSettings, it was not usefully used
- make CalamaresConfig repeat the WITH_* settings, so that
consumers can know the ABI offered
2020-06-10 11:51:53 +02:00
Adriaan de Groot
6c272bc8be
[libcalamares] Link yamlcpp privately
...
- link the library privately -- the public API uses QVariantMap
- install FindYAMLCPP just in case
- add yamlcpp explicitly in the few places that really need it
(e.g. netinstall testing the parsing of netinstall.yaml)
2020-06-10 02:27:57 +02:00
Adriaan de Groot
3c770b79b3
CMake: install all the libcalamares subdir-headers
2020-06-10 02:10:21 +02:00
Adriaan de Groot
14ff681106
CMake: give libcalamares IMPORTED includes
...
- Set the interface-include path for libcalamares, so that
linking to it (as one would from an external repo) pulls in
all the includes.
2020-06-10 02:01:59 +02:00
Adriaan de Groot
dc16afac4a
CMake: massage IMPORTED targets and module path
...
- Add the Calamares CMake-modules to the search path automatically
- Export to CalamaresTargets.cmake and use namespace Calamares::
- Document imported targets
- Find Qt, because the translations machinery will need macros from that
- The installed lib links to IMPORTED libraries from KF5, so we need
to find them (again) as well.
2020-06-10 01:37:54 +02:00
Adriaan de Groot
38b4f45b92
[locale] Repair timezone graphics -- west-Africa and Pacific
2020-06-09 14:54:19 +02:00
Adriaan de Groot
d511cc2f7a
[locale] Norfolk Island gave up +11.5 in 2015
2020-06-09 14:21:11 +02:00
demmm
a617dba85e
[welcomeq]re-add the donate button example to welcomeq.conf
2020-06-09 13:34:16 +02:00
Adriaan de Groot
35fb8dcc27
[mount] Warn if chcon is missing, rather than fail
...
FIXES #1429
2020-06-09 13:24:12 +02:00
Adriaan de Groot
d22178ca5e
[welcomeq] Show filtered list of requirements
...
- only the unsatisfied ones are shown; no need to filter and
fiddle about in QML
2020-06-09 12:13:44 +02:00
Adriaan de Groot
f68d0f0628
[welcome] Add a filtered model for unsatisfied requirements
2020-06-09 12:05:40 +02:00
Adriaan de Groot
d1165bea56
[welcomeq] Use just one component to display requirements
...
- Do all the status indication in one component, but vary
the top-level message based on whether the mandatory
requirements are satisfied.
- Vary color and icon based on each requirement's *mandatory* setting.
2020-06-08 10:22:03 -04:00
Adriaan de Groot
5b1e5a9e03
[welcome] Some API docs
2020-06-08 09:45:19 -04:00
Adriaan de Groot
abe558f127
[libcalamares] Be more verbose when the requirements check is done
2020-06-08 08:33:48 -04:00
Adriaan de Groot
f35fab24ac
[welcome] Remove name-tangle
...
- use useful, not-single-letter, variable names
- don't rename inconsistently in the lambda capture
2020-06-08 08:33:48 -04:00
Adriaan de Groot
8255bc3fc1
[welcome] Sanitize example configurations
...
- remove all duplicated documentation from ; it's the same as
`welcome.conf` in all respects except for *qmlSearch*.
2020-06-08 08:33:48 -04:00
demmm
73eb718c08
adding needed geoip section to welcomeq.conf
...
see https://github.com/calamares/calamares/issues/1427#issuecomment-640531710
2020-06-08 13:25:47 +02:00
Adriaan de Groot
5e79176f47
Merge pull request #1422 from andy1247008998/patch-2
...
remove unnecessary period mark since it's a title
2020-06-06 17:22:13 +02:00
Adriaan de Groot
0e7c984854
[partition] Add missing includes for Qt 5.15 compatibility
2020-06-03 16:43:31 +02:00
Adriaan de Groot
1c598d769b
[partition] Apply coding style (to just this one file)
2020-06-03 16:42:42 +02:00
Adriaan de Groot
25d36a8943
[netinstall] Improve documentation of translation framework
...
- Not country-code, but language-code
FIXES #1411
2020-06-03 16:02:43 +02:00
Adriaan de Groot
881187de8d
Merge pull request #1423 from Cal8031/t1
...
Update and add SPDX identifiers
2020-06-03 15:32:07 +02:00
Adriaan de Groot
67d7c700fd
[locale] Update documentation to mention *fixed* style
2020-06-03 15:11:19 +02:00
Adriaan de Groot
ac2a9c569e
[libcalamares] Allow "fixed" as a GeoIP lookup type
2020-06-03 15:03:19 +02:00
Adriaan de Groot
672f506e72
[libcalamares] Add unittests for GeoIPFixed
...
- Ignores the data, just returns selector
2020-06-03 14:55:01 +02:00
Adriaan de Groot
d9effb4ba7
[libcalamares] Add GeoIPFixed to the test-tool for GeoIP lookup
...
- Allow format "fixed"
- Allow specifying the selector in the test-tool
2020-06-03 14:34:45 +02:00
Adriaan de Groot
d37ec35592
[libcalamares] GeoIP that always returns a fixed value
...
- Value is configurable (through the "selector" which is passed
to GeoIP lookups). This is convenient for tests so you can "fix"
the value that the lookup will return.
2020-06-03 14:26:14 +02:00
Callum Farmer
0c4dc71d5c
[libcalamares] Update SPDX identifiers.
...
Update CppJob.h
Update CalamaresConfig.h.in
Update DllMacro.h
Update GlobalStorage.cpp
Update GlobalStorage.h
Update Job.cpp
Update Job.h
Update JobExample.cpp
Update JobExample.h
Update JobQueue.cpp
Update CalamaresConfig.h.in
Update CppJob.cpp
Update CppJob.h
Update DllMacro.h
Update GlobalStorage.cpp
Update GlobalStorage.h
Update Job.cpp
Update Job.h
Update JobExample.cpp
Update JobExample.h
Update JobQueue.h
Update ProcessJob.cpp
Update ProcessJob.h
Update PythonHelper.cpp
Update PythonJob.cpp
Update PythonJob.h
Update PythonHelper.h
Update PythonJobApi.cpp
Update PythonJobApi.h
Update Settings.cpp
Update Settings.h
Update GeoIPJSON.cpp
Update GeoIPJSON.h
Update GeoIPTests.cpp
Update GeoIPTests.h
Update GeoIPXML.cpp
Update GeoIPXML.h
Update Handler.cpp
Update Handler.h
Update Interface.cpp
Update Interface.h
Update test_geoip.cpp
Update CountryData_p.cpp
Update Label.cpp
Update Label.h
Update LabelModel.cpp
Update LabelModel.h
Update CountryData_p.cpp
Update CountryData_p.cpp
Update Lookup.cpp
Update Lookup.h
Update Tests.cpp
Update Tests.h
Update TimeZone.cpp
Update TimeZone.h
Update TranslatableConfiguration.cpp
Update TranslatableConfiguration.h
Update ZoneData_p.cxxtr
Update cldr-extractor.py
Update zone-extractor.py
Update Actions.h
Update Actions.h
Update Descriptor.h
Update InstanceKey.cpp
Update Module.cpp
Update Module.h
Update Requirement.cpp
Update RequirementsChecker.h
Update RequirementsModel.cpp
Update RequirementsModel.h
Update Tests.cpp
Update Manager.cpp
Update Manager.h
Update Tests.cpp
Update FileSystem.cpp
Update FileSystem.h
Update KPMManager.cpp
Update KPMManager.h
Update KPMTests.cpp
Update FileSystem.cpp
Update FileSystem.cpp
Update FileSystem.h
Update KPMManager.cpp
Update KPMManager.h
Update Mount.cpp
Update Mount.h
Update PartitionIterator.cpp
Update PartitionIterator.h
Update PartitionIterator.h
Update PartitionQuery.cpp
Update PartitionQuery.h
Update PartitionSize.cpp
Update PartitionSize.h
Update Sync.cpp
Update Sync.h
Update Tests.cpp
Update Tests.h
Update BoostPython.h
Update CalamaresUtilsSystem.cpp
Update CalamaresUtilsSystem.h
Update CommandList.cpp
Update CommandList.h
Update Dirs.cpp
Update Dirs.h
Update Entropy.cpp
Update Entropy.h
Update Entropy.cpp
Update Logger.cpp
Update Logger.h
Update NamedEnum.h
Update NamedSuffix.h
Update PluginFactory.cpp
Update PluginFactory.h
Update RAII.h
Update RAII.h
Update Retranslator.cpp
Update Retranslator.h
Update String.cpp
Update String.h
Update TestPaths.cpp
Update Tests.cpp
Update Tests.h
Update UMask.cpp
Update UMask.h
Update Units.h
Update Variant.cpp
Update Variant.h
Update Yaml.cpp
Update Yaml.h
Update moc-warnings.h
2020-06-03 12:52:53 +01:00
Adriaan de Groot
24653c1cc6
[locale] C&P code with repeated bugs from QML branches
2020-06-03 13:42:15 +02:00
Callum Farmer
210ce97bf6
[libcalamaresui] Update SPDX identifiers.
...
Update ImageRegistry.cpp
2020-06-03 12:28:58 +01:00
Callum Farmer
741b680513
[qml] Update SPDX identifiers.
...
Update Presentation.qml
2020-06-03 12:28:58 +01:00
Adriaan de Groot
c6d147bde6
[keyboard] Give Canadian English the US keyboard layout, eh
2020-06-03 01:38:11 -07:00
AI Lion
c6174b027c
remove unnecessary period mark since it's a title
2020-05-31 00:31:05 +08:00
Adriaan de Groot
689a65e107
Merge pull request #1414 from gportay/remove-unused-locals
...
[partition] Remove unused locals
2020-05-25 10:43:56 +02:00
Calamares CI
bc9544bf14
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-05-25 03:40:18 -04:00
Gaël PORTAY
629bb2e2f6
[partition] Remove unused locals
...
- Unused since commit 0d284759f5
2020-05-20 11:06:39 -04:00
Adriaan de Groot
69c2d089f2
Merge pull request #1413 from gportay/rawfs-fix-crash-if-bogus-is-unset
...
[rawfs] Fix crash if bogus is unset
2020-05-20 14:50:57 +02:00
Adriaan de Groot
738a6a9019
[calamares] Make module-tester configurable in slideshow mode
...
- Uses global storage to steer the jobs that are created, in case
the slideshow needs to be tweaked by percentages or whatever.
- While here, add some code docs and apply coding style.
2020-05-20 12:12:11 +02:00
Adriaan de Groot
d51a545fcf
[calamares] onInitComplete() already activates first step
...
- In the test application, there is only one viewstep, so it is
already activated; avoid double-activation.
2020-05-20 11:44:27 +02:00
Adriaan de Groot
39b5dd4e6e
[libcalamaresui] Avoid deadlock
...
- When loading QML V2, both loadQmlV2Complete() and changeSlideShowState()
lock the same mutex, introduced in e7f4479df1
.
- Explicitly unlock when loading is done and we need to change the state
immediately.
2020-05-20 11:36:44 +02:00
Adriaan de Groot
376cb3c042
[calamares] Give the fake ExecutionViewModule a name
...
- This is needed for addModule() so the module manager knows there
is a module by the name x@x.
- Tell the ExecutionViewStep to run jobs from x@x.
2020-05-20 11:03:21 +02:00
Adriaan de Groot
28500de2f8
[calamares] Register modules in test-loader
...
- When a viewmodule is loaded, register it with the module manager
(especially relevant for the slideshow module).
2020-05-20 10:54:48 +02:00
Adriaan de Groot
c7d0df223a
[libcalamaresui] Expose registering-a-single-module
...
- For testing purposes, it's useful to load a module externally
and then register it to the ModuleManager (this hands off ownership).
- Refactor overall module loading to use the exposed single-module method.
2020-05-20 10:36:42 +02:00
Adriaan de Groot
1fec95ac48
[libcalamares] Move QML search-path initialization
...
- QML files need to be searched in specific places; this was initialized
by Calamares, but not for the text application. Move initialization
into the library.
2020-05-19 21:25:05 +02:00
Adriaan de Groot
6dffec2730
[libcalamaresui] Move QML-related directory functions to Qml.cpp
2020-05-19 21:02:06 +02:00
Adriaan de Groot
4491fb8c27
[libcalamaresui] Name QML-wrangling functions consistently
...
- Use "Qml" in camel-cased names
2020-05-19 21:00:05 +02:00
Gaël PORTAY
40dd34c7d0
[rawfs] Fix crash if bogus is unset
...
- fixes:
12:44:25 [6]: Python Error:
<class 'TypeError'>
'builtin_function_or_method' object is not subscriptable
File "/usr/lib/calamares/modules/rawfs/main.py", line 188, in run
item.copy(filesystems.index(item), len(filesystems))
File "/usr/lib/calamares/modules/rawfs/main.py", line 99, in copy
if libcalamares.job.configuration["bogus"]:
2020-05-19 12:58:36 -04:00
Adriaan de Groot
0947da3d41
[libcalamaresui] Report on QML errors
...
- If the slideshow fails to load entirely, say so
2020-05-19 17:08:49 +02:00
Adriaan de Groot
ae861f7ec0
[calamares] Give slideshow-test some jobs to run
2020-05-19 16:44:56 +02:00