Adriaan de Groot
2878c474c5
Warnings-- (~T() override)
...
Change all the places that had
virtual ~T() override
to the less redundant form without override.
2020-09-22 22:49:30 +02:00
Adriaan de Groot
2126be6d6d
Warnings-- (~T() override)
...
Consistently use
~T() override;
in class declarations (so no virtual in front, and avoid
warnings due to the missing override in back).
2020-09-22 22:40:52 +02:00
Adriaan de Groot
466e08a8ba
[welcome] Set some localeConf values from the welcome page
2020-09-03 20:44:23 +02:00
Adriaan de Groot
a2180936ef
CI: apply coding style across the entire codebase again
2020-08-26 02:28:43 +02:00
Adriaan de Groot
1cd9b93a22
REUSE: Giant boilerplate cleanup
...
- point to main Calamares site in the 'part of' headers instead
of to github (this is the "this file is part of Calamares"
opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
this is the 3-paragraph summary of the GPL-3.0-or-later, which has
a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00
Adriaan de Groot
30a85668b7
REUSE: (GPL-3.0-or-later) C++ modules
2020-08-26 02:22:49 +02:00
Adriaan de Groot
1b23520f20
REUSE: (CC0-1.0) module descriptors and configuration files
...
In spite of there being considerable documentation sometimes in the
config file, we go with CC0 because we don't want the notion of
'derived work' of a config file.
The example `settings.conf` is also CC0. Add some docs to
it while we're at it.
2020-08-26 02:22:49 +02:00
Adriaan de Groot
95ceb1e8c7
REUSE: (BSD-2-Clause) all CMakeLists
...
The build instructions are not that interesting, it's a toss-up
between CC0 and BSD-2, but because other CMake bits are BSD-2-Clause,
apply that to more CMakeLists. The copyright date isn't all that
accurate, but these are just inconsequential files.
While here, tidy up and get rid of some useless intermediates.
2020-08-26 02:05:46 +02:00
Adriaan de Groot
965bc3b0b4
REUSE: use <author> tag in .ui for license info
...
The .ui files are all GPL-3.0-or-later style, but it's
slightly difficult to keep licensing information in them:
it's XML, so an XML comment might work, but there's no
guarantee that safe/load will preserve them.
Put the SPDX tags in the <author> tag, so that it's visible
in Qt Designer.
2020-08-26 02:05:46 +02:00
Adriaan de Groot
86f66e8f16
REUSE: (GPL-3.0-or-later) all the schema files
...
- these are vaguely derived from the schema's written by
artoo@manjaro.org , but totally re-done for JSON-Schema
2020-08-26 02:01:58 +02:00
Adriaan de Groot
b65b5228e1
[welcome] Don't apply code-style to other C-code
2020-08-26 00:31:16 +02:00
Adriaan de Groot
daf9451e69
[welcome] Warnings--
2020-06-23 13:16:56 +02:00
Adriaan de Groot
df183d4026
[welcome] Add schema for welcome config
...
- Note that this is missing *languageIcon* so if that gets uncommented,
it will fail validation.
- While here decide that should be
right up front in object (mappings) declaration.
2020-06-16 16:03:28 +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
5b1e5a9e03
[welcome] Some API docs
2020-06-08 09:45:19 -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
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
67d7c700fd
[locale] Update documentation to mention *fixed* style
2020-06-03 15:11:19 +02:00
AI Lion
c6174b027c
remove unnecessary period mark since it's a title
2020-05-31 00:31:05 +08:00
Adriaan de Groot
2b0b873159
[welcome] Remove spurious logging
2020-05-14 15:23:45 +02:00
Adriaan de Groot
1a1fde1885
[welcome] [welcomeq] Chase API change for requirements progress
2020-05-12 17:07:15 +02:00
Adriaan de Groot
90f8e748ef
[welcome] Improve debugging of general requirements
...
- distinguish 'this has not been checked' from 'checked and failed'
2020-05-12 15:29:16 +02:00
Adriaan de Groot
9e0aa76375
[welcome] Order member pointers
...
- Create config before the page
- .. and in doing so, create the page in the initializer list instead
2020-05-12 14:54:18 +02:00
Adriaan de Groot
c0fa212fa9
[welcome] Be slightly more verbose in reporting missed req's
2020-05-11 20:45:47 +02:00
Adriaan de Groot
7d00f7e0dc
[welcome] Explain in the debug log what failed
2020-05-11 16:30:26 +02:00
Adriaan de Groot
fabe5ec439
[welcome] Config should not have its own RequirementsModel
...
- Use the one from ModuleManager
2020-05-11 16:30:26 +02:00
Adriaan de Groot
8306de731a
[welcome] Setting requirements from own reqs is totally wrong
...
- The requirements are collected by ModuleManager, checked
by an internal RequirementsChecker and changes to the
requirements state are all signalled from ModuleManager.
By connecting the requirements in the welcome modules' Config
only to their own configs -- and immediately checking them,
which is bad on its own -- we end up with a disconnect between
what the ModuleManager says about requirements, and what
the welcome modules report on.
2020-05-11 16:30:26 +02:00
Adriaan de Groot
0f5db0ba5e
[libcalamares] Remove direct access to model internals
...
- This was just for the ResultsListWidget, which can also use
normal role-based model access.
2020-05-11 16:30:26 +02:00
Adriaan de Groot
5dc358093e
[welcome] Apply coding style
2020-05-06 15:52:56 +02:00
Adriaan de Groot
713132d4af
[welcome] Move GeoIP loading into Config
...
- The Config object can handle GeoIP loading on its own. Both
View steps that used this had a derpy view->setCountry() that
didn't really do anything with the view anymore.
2020-05-06 15:46:23 +02:00
Adriaan de Groot
6434374bf3
[welcome] Move languageIcon loading into the Config object
...
- The QML module had an additional check that the normal one
did not; add it in the merged code.
2020-05-06 15:24:08 +02:00
Adriaan de Groot
120a2b0f03
[welcome] Move get-the-show*Url code into Config
...
- Since this is configuration-loading, put it in the Config
class; reduces code duplication between welcome and welcomeq.
2020-05-06 15:08:31 +02:00
Adriaan de Groot
e65a0ee617
[welcome] Update welcome example
...
- donate **does** have a corresponding branding setting
- show that "false" is a valid setting
2020-05-06 14:37:59 +02:00
Adriaan de Groot
7d1800a0d7
[welcome] Apply coding style
2020-05-04 13:00:00 +02:00
Adriaan de Groot
70054e5db4
[welcome] Chase Branding API change
2020-05-04 12:52:14 +02:00
Adriaan de Groot
4786a91eb8
[welcome] Order get/setters consistently
...
- code styling OCD, all the other ones are get, then set
- getters can be in the header, they're boring
2020-04-30 17:41:17 +02:00
Adriaan de Groot
1f6752307d
[welcome] Massage layout when banner is used
...
- simplify handling of image loading (if the image doesn't exist,
Branding will bail out on startup)
- reduce space above the banner if it is in use
2020-04-22 14:53:55 +02:00
Adriaan de Groot
c3941b6e65
[welcome] Shuffle code
...
- things that can be done in the designer file should be there,
not weirdly repeated in code elsewhere
- drop the insertion of an extra spacer (why not include it in the
designer file?)
- shuffle all the connect() calls down to the end of the constructor
2020-04-22 14:53:55 +02:00
bill-auger
7bce58f6f2
[welcome] add optional branding banner to welcome page
2020-04-19 04:01:22 -04:00
Adriaan de Groot
fafc508d63
[welcome] Update the widget's notion of the locale
...
- when the locale changes, tell the widget so that the drop-down
displays the right language.
FIXES #1361
2020-04-02 23:10:55 +02:00
Adriaan de Groot
5956c6678e
[welcome] Don't const& POD
...
- simplify parameter types in some set-methods
- while here, shuffle methods to bring things together
2020-04-02 22:42:41 +02:00
Adriaan de Groot
d2f5185d49
[welcome] Remove unused m_configurationMap
...
- the configuration is split into specific properties, not
stored generically.
2020-04-02 22:00:43 +02:00
Adriaan de Groot
39afbdb570
[welcome] Shuffle signals to conventional location
...
- signals after slots, before private
- while here give the *MessageChanged signals a parameter (the changed
message)
2020-04-02 21:57:00 +02:00
Adriaan de Groot
9d97972a34
[welcome] Apply coding style
2020-04-02 21:53:02 +02:00
Adriaan de Groot
ca7733c8e4
[welcome] Drop RequirementsModel
...
- Use the one from libcalamares
- Massage warning message into Config after it was removed from the model
2020-04-02 21:52:05 +02:00
Adriaan de Groot
215bc46469
[welcome] Update copyright years in about-popup
2020-03-25 13:54:54 +01:00
Adriaan de Groot
2a93c7e236
[welcome] Chase changed API in master
2020-03-25 13:48:10 +01:00
Adriaan de Groot
ce244d8514
[welcome] Style in viewstep (unrelated to merge)
2020-03-25 13:46:27 +01:00
Adriaan de Groot
81912f9e7d
[welcome] Style in Config
2020-03-25 12:00:41 +01:00