Adriaan de Groot
404a9ef98a
[netinstall] Split off requesting netinstall data into a queue-manager
...
This is the actual "meat" of the branch, which makes the
netinstall module request one URL at a time until one succeeds.
2021-03-17 00:09:15 +01:00
Adriaan de Groot
603a7106b3
[netinstall] Move package-listing wrangling to the Config object
...
Now all the business logic is in Config, the door is open to
building a QML-ified netinstall module. I'm not sure that
would be worth it: packagechooser offers more space for a
nice UI and should be QML'ed first.
2021-03-16 14:51:01 +01:00
Adriaan de Groot
6662cb5f2d
[netinstall] Swap parameters to makeSourceItem and document it
2021-03-16 13:17:33 +01:00
Adriaan de Groot
79b4f918fc
[netinstall] Apply coding style
2021-03-16 13:10:35 +01:00
Adriaan de Groot
04f4441182
[netinstall] Build up a list of urls, rather than just one
...
- the list is unused, and doesn't drive the loading of groups either;
the existing one-string entry is used.
2021-02-09 15:06:53 +01:00
Adriaan de Groot
ca1ae6fd1d
[netinstall] Support retranslation in the Config object
2021-02-09 11:06:59 +01:00
Adriaan de Groot
cf7391696e
[netinstall] Continue moving settings to the Config object
2021-02-08 22:57:38 +01: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
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
85551f0fdb
[netinstall] Various refactoring
...
- move ready-indication to Config
- don't check pointers that can't be null
- hand the whole Config to the page
2020-03-27 16:12:48 +01:00
Adriaan de Groot
4cdfe1276a
[netinstall] Rip loading out of the UI page
...
- Create a config object in the ViewStep
- Model lives in the config object and loads there
- Give model to the UI page for display
2020-03-27 15:51:03 +01:00
Adriaan de Groot
1a74a713b6
[netinstall] Make status an enum
...
- Since we might change translations after loading, display
the message based on the status enum, rather than
setting it once at load-time.
2020-03-27 14:54:06 +01:00
Adriaan de Groot
f5b4e5d5e1
[netinstall] Add data-loading to the Config object
...
- Mostly copied from NetInstallPage
2020-03-24 13:13:18 +01:00
Adriaan de Groot
5e03df723c
[netinstall] Add a (stub) Config object
...
- Add initial definition of Config object, which will extract the model-
setting and loading code from the page, and which is also prep-work
for a QML version of this module.
- While here, remove superfluous code
2020-03-24 12:05:48 +01:00