Adriaan de Groot
46ad704ede
[partition] Fix build for old KPMCore
...
SEE #1444
2020-07-03 22:33:00 +02:00
Adriaan de Groot
36a9088480
Merge pull request #1444 from gportay/add-parttype-partattrs-to-global-storage
...
[partition] Add the GPT type and attributes to global storage
2020-07-03 16:18:56 -04:00
Adriaan de Groot
0be6f63d2a
Merge pull request #1443 from gportay/add-default-value-to-variant-helpers
...
[libcalamares] Add default value to variant helpers
2020-07-03 16:12:34 -04:00
Adriaan de Groot
d3f9415bc1
[packages] Expand schema to cover the operations
...
- Not complete, since the items in the operations aren't done
2020-07-03 22:07:18 +02:00
Adriaan de Groot
8aa8ac2d26
[packages] Tidy up configuration
...
- fix the schema so the schema is valid json-schema
- the schema doesn't actually validate the *operations* yet
- sort the named backends (needs a double-check that the
list covers all the ones we currently support)
SEE #1441
2020-07-03 21:51:39 +02:00
Adriaan de Groot
08aa362c5c
[license] Warnings-reduction
...
- Don't do in code what is already done in the designer (.ui) file
- setFrameStyle() is difficult because it mixes different enums
into an int, which causes the warning from clang.
2020-06-27 00:33:50 +02:00
Adriaan de Groot
3b5c4839e3
[libcalamaresui] Warnings--
2020-06-26 20:34:33 +02:00
Adriaan de Groot
31a1b710bc
Docs: say something about QML modules
2020-06-25 15:26:48 +02:00
Adriaan de Groot
6735ff1cd0
Docs: give up on PythonQt modules
2020-06-25 14:45:35 +02:00
Adriaan de Groot
fa2f91aa46
[libcalamaresui] Minor documentation improvements
2020-06-25 14:04:49 +02:00
Adriaan de Groot
8ced67680d
[calamares] Allow get/set of panel-sides
...
- Add access to the panel-sides membe of the view manager, and
calculate which sides are populated by panels (if any).
- Pass the calculated panel-sides to the view manager before it
starts adding viewpages, so they get consistent margins.
2020-06-25 00:00:13 +02:00
Adriaan de Groot
68aecf6a26
[libcalamaresui] Special margins for QML view steps
...
If there are no surrounding panels, drop the margin around the QML on
the assumption it needs to be full screen under special circumstances.
2020-06-24 23:41:20 +02:00
Adriaan de Groot
d952faf909
[libcalamaresui] Set margins based on viewstep suggestion
2020-06-24 22:12:59 +02:00
Adriaan de Groot
d7ed450dbf
[libcalamaresui] Give ViewManager data about side-panels
2020-06-24 21:41:06 +02:00
Adriaan de Groot
1648f311fe
[libcalamaresui] apidox touch-up
2020-06-24 21:26:22 +02:00
Adriaan de Groot
748d76df4f
[libcalamaresui] Add support for steps with own margins
2020-06-24 21:15:37 +02:00
Adriaan de Groot
347a25d13d
[libcalamaresui] Avoid nullptr deref
...
- there's a check already there, and probably this means things are hopelessly
broken anyway, but let's not crash here.
2020-06-24 20:48:06 +02:00
Adriaan de Groot
4a6ee39f8b
[libcalamaresui] Blanket unmargin the content area
2020-06-24 11:08:31 +02:00
Adriaan de Groot
bfbb0f1c49
[libcalamaresui] Mark some TODO for 3.3, in passing
2020-06-24 04:59:19 -04:00
Adriaan de Groot
8a9e85db71
Branding: shuffle around a bit, expand documentation
2020-06-24 04:53:22 -04:00
Adriaan de Groot
e206eb086b
[partition] Missing includes for Qt-compatibility
2020-06-23 17:05:08 +02:00
Adriaan de Groot
c3ff9edfa2
[tracking] Add a test executable
...
- just a stub, hardly tests useful functionality
2020-06-23 14:43:26 +02:00
Adriaan de Groot
3ee53435c5
[libcalamares] Fix constness issue (gcc reported)
2020-06-23 14:30:12 +02:00
Adriaan de Groot
1dfb25372b
[tracking] Warnings-reduction
...
- Give classes a virtual destructor that need them
- Remove spurious ;
- Refactor addJobs() because that doesn't need to be in a class
- Remove redundant intermediate base-classes
2020-06-23 13:37:56 +02:00
Adriaan de Groot
0bede0692a
[locale] Warnings-- on static_cast with no message
2020-06-23 13:18:30 +02:00
Adriaan de Groot
daf9451e69
[welcome] Warnings--
2020-06-23 13:16:56 +02:00
Adriaan de Groot
22fdca8f44
[libcalamares] Use Logger::Pointer for logging void-pointers
2020-06-23 13:02:06 +02:00
Adriaan de Groot
8a14316e16
[calamares] be less chatty in startup
...
- without the SubEntry part, the function name is printed each time.
2020-06-23 13:01:08 +02:00
Adriaan de Groot
916c10816b
[libcalamares] Logging-convenience for pointers
...
- This reduces the amount of (void*) C-style casts in the code,
and formats generic pointers more consistently.
2020-06-23 12:29:18 +02:00
Adriaan de Groot
192263cf9d
[libcalamares][modules] Use compatibility for QString::split()
...
- Use the compatibility value, which has an enum value suitable
for the Qt version in use.
2020-06-23 11:13:55 +02:00
Adriaan de Groot
d6b0583bad
[libcalamares] Compatibility-layer for QString::split
...
- QString::split() api changed in 5.14, in 5.15 generates warnings,
so introduce a compatibility value.
2020-06-23 11:08:55 +02:00
Gaël PORTAY
9392473fec
[partition] Add the GPT type and attributes to global storage
2020-06-22 16:37:20 -04:00
Gaël PORTAY
c9f942ad67
[libcalamares] Add default value to variant helpers
...
- Some variant helpers take a default parameter if the map does not
contains the given key or if the type mismatches. Make all helpers
behave the same.
2020-06-22 15:37:24 -04:00
Gaël PORTAY
4974d86932
[partition] Fix missing initialization of the attribute partAttributes
...
- Initialize the attribute partAttributes to 0; it is a primitive type
and it is not initialized in some constructors.
Fixes commit c1b5426c6
([partition] Add support for partition attributes).
- Move implementation of default constructor to cpp.
2020-06-22 14:24:14 -04:00
Adriaan de Groot
fde1aad465
CMake: add support for USE_*=none (from the os-modules branch)
2020-06-22 13:39:36 +02:00
Adriaan de Groot
bff0bed07e
[users] Apply coding style (only CreateUserJob.cpp though)
...
- use ci/calamaresstyle
- SPDX licensing
2020-06-22 13:17:39 +02:00
demmm
ccff4edd91
[keyboard] fully functional QML module
...
added missing components listed as ResponsiveBase, ListItemDelegate & ListViewTemplate
parts of which were on nitrux
keyboard.qml no longer uses buttons within ListView, can't work as buttons and have them visible
see https://doc.qt.io/qt-5/qml-qtquick-listview.html#footerPositioning-prop
set ListView as actually visible within a normal calamares window size
2020-06-19 17:05:29 +02:00
Adriaan de Groot
5da2012465
[users] Expand schema to support the keys documented in users.conf
...
- Now the documentation in the file and the source is leading
to update the schema, but in future those should go hand-in-hand
2020-06-18 16:23:32 +02:00
Adriaan de Groot
463545290e
[users] Fix up schema syntax
...
- Remove schema items *availableShells* and *avatarFilePath* because
those have no implementation.
2020-06-18 16:12:40 +02:00
Adriaan de Groot
c284024b0e
i18n: Update English translations
2020-06-18 15:47:18 +02:00
Adriaan de Groot
b9b79f11a4
[unpackfs] Prevent accidental 0777 permissions on /
...
FIXES #1418
2020-06-18 14:47:33 +02:00
Adriaan de Groot
0305476f8a
Merge branch 'issue-1287' into calamares
...
Major update to the 'tracking' module with improved wording,
functionality, QML-preparation, and a working kuserfeedback mode.
FIXES #1287
2020-06-18 13:46:57 +02:00
Adriaan de Groot
1b11cc90c4
[tracking] Polish the phrase for 'none' a bit
2020-06-18 13:37:43 +02:00
Adriaan de Groot
6365b7a362
Merge branch 'calamares' into issue-1287
2020-06-17 18:10:33 +02:00
Adriaan de Groot
2cad90d9ca
Merge pull request #1437 from gportay/handle-integers-with-octal-or-hexa-prefix
...
[libcalamares] Handle integers prefixed with 0 or 0x
2020-06-17 17:32:19 +02:00
demmm
fc91b4ce60
[localeq] use js to get the hasInternet status
...
switching between Map.qml & Offline.qml now happens properly
2020-06-17 16:52:59 +02:00
Adriaan de Groot
8ad221311d
[tracking] Can't uncheck 'none' box by itself
...
- If the 'no tracking' box is checked, then the way to uncheck
it is to tick some **other** box.
- It doesn't make sense to unselect 'none' and then have .. none
selected.
2020-06-17 15:31:53 +02:00
Adriaan de Groot
47b0fa5d55
[tracking] Get username from gs
2020-06-17 15:24:21 +02:00
Adriaan de Groot
9b8d591b5d
[tracking] Configure user-tracking areas
2020-06-17 15:11:11 +02:00
Adriaan de Groot
e834ce532c
[libcalamares] Add variant-map getStringList() convenience
2020-06-17 15:02:01 +02:00