12 Commits (a31cbefab6e4e973041fa51a465d8b8dfabd9f97)

Author SHA1 Message Date
Adriaan de Groot b44fd65986 [libcalamares] load/save globals in YAML format 6 years ago
Adriaan de Groot ac287a0ac5 [libcalamares] Add a save() method to global storage
- This is a quick way to dump GS to JSON, which is useful
   for the preservefiles module #928
 - Also useful for, e.g., #466
7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
Adriaan de Groot 74be2fd098 Python-i18n: implement gettext functions in libcalamares.utils
- remove Job.gettextPath
 - add libcalamares.utils.gettext_path()
 - add libcalamares.utils.gettext_lang()
 - modify examples in main.py
 - add some gettext debug-output from dummypython
 - correct namespace mis-labeling
 - provide two forms of GlobalStorage
   - regular use, has a JobQueue with storage
   - testing use, creates GlobalStorage separately, provide
     independent access to that for Python.
8 years ago
Adriaan de Groot cbfdd8690d Python-i18n: WIP, moving API to libcalamares.utils 8 years ago
Adriaan de Groot b922d88b0f Python-i18n: add a gettext_path for python job modules 8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 8 years ago
Adriaan de Groot d29acf4a06 Logging: add a global storage dump method 8 years ago
Teo Mrnjavac edb21e05af New GlobalStoragePythonWrapper is passed to the Python API.
This allows us to make GlobalStorage a QObject, with disabled copy
constructor. And thanks to this change, GlobalStorage now emits
changed() every time an insert or remove is performed.
10 years ago
Teo Mrnjavac d1c4976ee6 Copyright. 10 years ago
Teo Mrnjavac d8ca5eee5b Friend DebugWindow to GlobalStorage for future use. 10 years ago
Teo Mrnjavac 0753e6ccde New GlobalStorage map. With Python API support. 11 years ago