Callum Farmer
0c4dc71d5c
[libcalamares] Update SPDX identifiers.
...
Update CppJob.h
Update CalamaresConfig.h.in
Update DllMacro.h
Update GlobalStorage.cpp
Update GlobalStorage.h
Update Job.cpp
Update Job.h
Update JobExample.cpp
Update JobExample.h
Update JobQueue.cpp
Update CalamaresConfig.h.in
Update CppJob.cpp
Update CppJob.h
Update DllMacro.h
Update GlobalStorage.cpp
Update GlobalStorage.h
Update Job.cpp
Update Job.h
Update JobExample.cpp
Update JobExample.h
Update JobQueue.h
Update ProcessJob.cpp
Update ProcessJob.h
Update PythonHelper.cpp
Update PythonJob.cpp
Update PythonJob.h
Update PythonHelper.h
Update PythonJobApi.cpp
Update PythonJobApi.h
Update Settings.cpp
Update Settings.h
Update GeoIPJSON.cpp
Update GeoIPJSON.h
Update GeoIPTests.cpp
Update GeoIPTests.h
Update GeoIPXML.cpp
Update GeoIPXML.h
Update Handler.cpp
Update Handler.h
Update Interface.cpp
Update Interface.h
Update test_geoip.cpp
Update CountryData_p.cpp
Update Label.cpp
Update Label.h
Update LabelModel.cpp
Update LabelModel.h
Update CountryData_p.cpp
Update CountryData_p.cpp
Update Lookup.cpp
Update Lookup.h
Update Tests.cpp
Update Tests.h
Update TimeZone.cpp
Update TimeZone.h
Update TranslatableConfiguration.cpp
Update TranslatableConfiguration.h
Update ZoneData_p.cxxtr
Update cldr-extractor.py
Update zone-extractor.py
Update Actions.h
Update Actions.h
Update Descriptor.h
Update InstanceKey.cpp
Update Module.cpp
Update Module.h
Update Requirement.cpp
Update RequirementsChecker.h
Update RequirementsModel.cpp
Update RequirementsModel.h
Update Tests.cpp
Update Manager.cpp
Update Manager.h
Update Tests.cpp
Update FileSystem.cpp
Update FileSystem.h
Update KPMManager.cpp
Update KPMManager.h
Update KPMTests.cpp
Update FileSystem.cpp
Update FileSystem.cpp
Update FileSystem.h
Update KPMManager.cpp
Update KPMManager.h
Update Mount.cpp
Update Mount.h
Update PartitionIterator.cpp
Update PartitionIterator.h
Update PartitionIterator.h
Update PartitionQuery.cpp
Update PartitionQuery.h
Update PartitionSize.cpp
Update PartitionSize.h
Update Sync.cpp
Update Sync.h
Update Tests.cpp
Update Tests.h
Update BoostPython.h
Update CalamaresUtilsSystem.cpp
Update CalamaresUtilsSystem.h
Update CommandList.cpp
Update CommandList.h
Update Dirs.cpp
Update Dirs.h
Update Entropy.cpp
Update Entropy.h
Update Entropy.cpp
Update Logger.cpp
Update Logger.h
Update NamedEnum.h
Update NamedSuffix.h
Update PluginFactory.cpp
Update PluginFactory.h
Update RAII.h
Update RAII.h
Update Retranslator.cpp
Update Retranslator.h
Update String.cpp
Update String.h
Update TestPaths.cpp
Update Tests.cpp
Update Tests.h
Update UMask.cpp
Update UMask.h
Update Units.h
Update Variant.cpp
Update Variant.h
Update Yaml.cpp
Update Yaml.h
Update moc-warnings.h
2020-06-03 12:52:53 +01:00
Adriaan de Groot
13ded5f005
[libcalamares] #include-styling
2020-05-14 12:21:33 +02:00
Adriaan de Groot
c1151cbcfa
[libcalamares] Update copyright info
2020-02-12 12:08:46 +01:00
Adriaan de Groot
95722541d0
[libcalamares] Untangle Python includes
...
- Use BoostPython.h to manage overall includes
- Remove local home-grown variations
2020-02-12 11:02:38 +01:00
Adriaan de Groot
d42e757576
[libcalamares] Simplify includes
...
- CalamaresVersion used by the job, not the API presented to Python.
- Untangle Qt includes from there.
2020-02-12 10:48:19 +01:00
Adriaan de Groot
6432b7f42a
[libcalamares] Hit Boost warnings with a hammer
...
- Tons of warnings from Clang 9 in Boost::Python code, so
turn of most of those warnings in the Boost-support code.
2020-02-11 16:46:44 +01:00
Adriaan de Groot
1afa9c4d08
[libcalamares] Apply current coding style to all of libcalamares/
2019-08-04 22:24:55 +02:00
Adriaan de Groot
dd8e53dc22
Copyright: update copyright lines on files touched in 2018
...
Contributions from:
Adriaan de Groot <groot@kde.org>
Gabriel Craciunescu <crazy@frugalware.org>
AlmAck <gluca86@gmail.com>
Andrius Štikonas <andrius@stikonas.eu>
Caio Carvalho <caiojcarvalho@gmail.com>
Raul Rodrigo Segura <raurodse@gmail.com>
2018-06-15 05:59:11 -04:00
Adriaan de Groot
84d599625f
[libcalamares] Give Python jobs a warning()
...
- Add libcalamares.utils.warning() alongside debug() for
Python modules to output warnings.
2018-02-20 04:28:45 -05:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Adriaan de Groot
f5aec1ad8a
[libcalamares] Add output to CalledProcessError
...
- Refactor, internal _handle_check_target_env_call_error doesn't need
to be in header or visible.
- Add optional output (of the command) to the Python exception.
2017-11-28 08:53:40 -05:00
Adriaan de Groot
78b3c8ed32
Python-i18n: allow None as a gettext path (searches default)
2017-08-16 16:45:34 +02:00
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.
2017-08-16 10:53:11 +02:00
Adriaan de Groot
cbfdd8690d
Python-i18n: WIP, moving API to libcalamares.utils
2017-08-15 12:31:47 +02:00
Adriaan de Groot
b922d88b0f
Python-i18n: add a gettext_path for python job modules
2017-08-10 15:39:24 -04:00
Teo Mrnjavac
0684a761bd
Copyright.
2016-08-19 12:49:36 +02:00
Teo Mrnjavac
f8078be2fd
Wrap CalamaresUtils::obscure in CalamaresPython.
2016-08-19 12:49:36 +02:00
Teo Mrnjavac
bf885d65db
chroot calls are now generic "target env" calls.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
f90bf469dd
Add chrootOutput/check_chroot_output to libcalamares utils API.
2014-08-08 14:17:34 +02:00
Teo Mrnjavac
45ac91c784
Add check_chroot_call to libcalamares Python interface.
2014-08-04 16:06:29 +02:00
Teo Mrnjavac
63534f7154
Add mount and chrootCall utilities to libcalamares + Python wrappers.
2014-07-29 20:21:40 +02:00
Teo Mrnjavac
fb328494b3
Make the libcalamares Python API better for PEP8
2014-07-29 13:16:46 +02:00
Teo Mrnjavac
845ae05f7e
Added debug( str ) to the Python API.
2014-07-28 18:56:00 +02:00
Teo Mrnjavac
78de11a412
Emit job progress from Python jobs.
2014-07-23 12:54:53 +02:00
Teo Mrnjavac
2636a1273f
Add job.setprogress to Python API.
2014-07-22 18:05:58 +02:00
Teo Mrnjavac
d9f4c74537
Add support for config map to Python job API.
...
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
2014-07-18 14:36:30 +02:00
Teo Mrnjavac
2f03dfa43b
CalamaresPrivate ==> CalamaresPython
2014-07-18 14:36:30 +02:00
Teo Mrnjavac
a61a36d99d
We have a Python API for jobmodules!
...
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
2014-07-17 19:42:16 +02:00