Adriaan de Groot
4f60a6340e
[dummyqml] Drop module; it makes more sense to just be notesqml
5 years ago
Adriaan de Groot
04e608d164
Docs: remove example dummypythonqml from settings.conf
...
- PythonQt is going to go away (eventually), don't encourage it.
5 years ago
Adriaan de Groot
f95b4ba825
Merge pull request #1315 from demmm/master
...
[notesqml] adding notesqml, copy of dummyqml
5 years ago
Adriaan de Groot
cc17898da8
Docs: remove references to HACKING.md (moved to wiki)
5 years ago
Adriaan de Groot
0dde233c51
Docs: move HACKING to the wiki
5 years ago
Adriaan de Groot
f75a1e1c9a
Changes: remove obsolete badge
5 years ago
demmm
c0e1ebb72a
adding notesqml, copy of dummyqml
...
included in settings.conf, commented out
5 years ago
Adriaan de Groot
39ef671836
Changes: mention QML bits
5 years ago
Adriaan de Groot
4c7a0035aa
Merge branch 'qml-activation'
5 years ago
Adriaan de Groot
39a5453904
[libcalamaresui] Add QML onActivate() and onLeave() calls.
...
- This comes from the ExecutionViewStep, V2 loading, which
notifies the QML that the QML is now active.
5 years ago
Adriaan de Groot
1f34c2834e
[libcalamaresui] Move definitions inside namespace {}
...
- Remove the extra Calamares:: namespace specifier from half the
definitions.
5 years ago
Adriaan de Groot
12675be516
[libcalamaresui] Factor out "simple" QML method calls
5 years ago
Adriaan de Groot
bf675d971b
Merge branch 'qml'
5 years ago
Adriaan de Groot
faa88afc88
Merge branch 'issue-1314'
...
FIXES #1314
5 years ago
Adriaan de Groot
229d09927e
Changes: for 2020, new fake Linux distro name
5 years ago
Adriaan de Groot
3e2908ea16
[machineid] Follow Manjaro flags
...
- add -f to ln(1) flags
5 years ago
Adriaan de Groot
110a84344b
[machineid] Test job function
...
- Create a job and ask it to create dbus files -- either directly,
or as a symlink. Since the target chroot isn't viable, this will
fail but we can at least see that directories are created, etc.
5 years ago
Adriaan de Groot
4cdcb48de6
[machineid] Functionality moved to libcalamares
5 years ago
Adriaan de Groot
b62004aae9
[machineid] Create the DBus data directory
...
- before running dbus-uuidgen or linking to systemd's UUID,
create /var/lib/dbus; some distro's don't create that
beforehand.
FIXES #1314
5 years ago
Adriaan de Groot
240fe2a564
[libcalamares] Add convenience createTargetParentDirs()
5 years ago
Adriaan de Groot
6ede9f2c7c
[libcalamares] Test QFileInfo::dir() for completeness
5 years ago
Adriaan de Groot
e65969d587
[libcalamares] Re-do createTargetDirs()
...
- Drop the basedirs idea, replace return with just bool
- Use QDir::mkpath, with some extra validation
- Test it a bit
5 years ago
Adriaan de Groot
8b8ecf7b7b
[libcalamars] Improve test init and cleanup
...
- Test createTargetFile and removeTargetFile
- Clean up afterwards
- Ensure /tmp is the RMP for each test
5 years ago
Adriaan de Groot
b502d78984
[libcalamares] Fix warning message
...
- "create" was when this function was used elsewhere
5 years ago
Adriaan de Groot
394eee3954
[libcalamares] Test more targetPath() scenario's
5 years ago
Adriaan de Groot
8d23e665ea
[libcalamares] Fix targetPath() tests
...
- there is less simplification done than you might think
5 years ago
Adriaan de Groot
daa5b804b3
[libcalamares] Split paths-tests into own test executable
...
- Since these tests all want a system object, and a GS
with a sensible setup, give them one with its own initTestCase().
This could have been done with one executable, running tests from
multiple classes, but there's not much overall benefit there.
5 years ago
Adriaan de Groot
31878dd43b
[libcalamares] Avoid double / between root and path in targetPath()
5 years ago
Adriaan de Groot
15bca702c1
[libcalamares] Add tests for path functions (part 1)
5 years ago
Adriaan de Groot
95936549e2
[libcalamares] Add a createTargetBasedirs()
...
- Used to ensure that the directories leading up to a given path
exist. Implementation is incomplete and broken for now.
- While here, avoid removing an empty pathname in removeTargetFile()
(the empty pathname indicates a broken configuration).
5 years ago
Adriaan de Groot
4af68365c9
[machineid] Remove obsolete implementation
5 years ago
Adriaan de Groot
bf882cec1d
[machineid] Migrate removeFile() to libcalamares
...
- Becomes removeTargetFile()
5 years ago
Adriaan de Groot
9ef04192db
[libcalamares] Simplify returns in targetPath()
5 years ago
Philip Müller
97ddd30af4
[machineid] folder needs to be created when not exists
...
- See #1314
5 years ago
Philip Müller
72d742e2f4
[machineid] Use same approach as we do in Manjaro
...
- See also https://gitlab.manjaro.org/applications/calamares/commit/da8f45ae
- Fixes #1314
5 years ago
Philip Müller
c766a0f10f
[machineid] create dbus var-lib folder when not existing
...
See also #1314
5 years ago
Adriaan de Groot
dec30d70fd
CI: tidy up scripts
...
- Add SPDX headers
- Indent consistently (tabs, not a mix of 2-space, 4-space, and tabs)
The scripts were originally added without a license header.
Since they are simple, and re-usable, and not particularly
interesting, I've made the license explicitly 2-clause BSD.
This is unlike the rest of Calamares, which is GPLv3+; the
build system and support scripts are not the software itself.
5 years ago
Adriaan de Groot
0d2425ca78
CI: make shell-scripts tab-indented by default
5 years ago
Adriaan de Groot
44489d3d7b
CI: tidy up license header in txcheck.sh
5 years ago
Adriaan de Groot
b8505dc621
CI: tidy up txcheck.sh
...
- Add license header with SPDX info
- Add usage header
- Support --help
- Document internals a little more
5 years ago
Adriaan de Groot
53b6113c75
[welcome] Fix QML tests
5 years ago
Adriaan de Groot
eaea262449
Merge branch 'master' into qml
5 years ago
Adriaan de Groot
5d25719918
Merge branch 'translation-debugging'
...
Better support for ad-hoc translation loading. Use -T to load
local translations independent of the -d flag.
5 years ago
Adriaan de Groot
4b3f7eb209
[calamares] Local translations can be a separate setting
...
- Don't stick this in Settings, though, it becomes overly complicated.
5 years ago
Adriaan de Groot
24c2c435a0
[libcalamares] Try repairing tests
...
- Fail on FreeBSD with an instant timeout
5 years ago
Adriaan de Groot
4525060c26
[calamares] Refactor Settings initialization
...
- add a Settings::init() to do actual work
- remove the same kind of code from CalamaresApplication
- make constructor of Settings private
- initialize settings before the application
5 years ago
Adriaan de Groot
68e8b0695d
[calamares] Make declaration order match calling order
5 years ago
Adriaan de Groot
db80a34aca
[calamares] Remove intermediate debug-settings
...
- There's a multi-stage setup for debug-mode, where the application
object also knows that debugging is set. Remove it.
- Break debug mode (because now the settings don't get debug-mode set).
- Refactor so that parameter handing is only done if this Calamares
is the unique (first) Calamares.
5 years ago
Adriaan de Groot
50b6801d35
[calamares] Install translator after loading settings
...
- means that also the *initial* translation can take settings
into account, like -d loading local translations.
5 years ago
Adriaan de Groot
f233cac7a1
[calamares] Refactor debug-logging settings
5 years ago