26 Commits (4e3f9fb6b32187852e5ef816cd3e698512fcb7b4)

Author SHA1 Message Date
Adriaan de Groot c1151cbcfa [libcalamares] Update copyright info 5 years ago
Adriaan de Groot 95722541d0 [libcalamares] Untangle Python includes
- Use BoostPython.h to manage overall includes
 - Remove local home-grown variations
5 years ago
Adriaan de Groot d42e757576 [libcalamares] Simplify includes
- CalamaresVersion used by the job, not the API presented to Python.
 - Untangle Qt includes from there.
5 years ago
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.
5 years ago
Adriaan de Groot 1afa9c4d08 [libcalamares] Apply current coding style to all of libcalamares/ 6 years ago
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>
7 years ago
Adriaan de Groot 84d599625f [libcalamares] Give Python jobs a warning()
- Add libcalamares.utils.warning() alongside debug() for
   Python modules to output warnings.
7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
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.
7 years ago
Adriaan de Groot 78b3c8ed32 Python-i18n: allow None as a gettext path (searches default) 8 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
Teo Mrnjavac 0684a761bd Copyright. 9 years ago
Teo Mrnjavac f8078be2fd Wrap CalamaresUtils::obscure in CalamaresPython. 9 years ago
Teo Mrnjavac bf885d65db chroot calls are now generic "target env" calls. 10 years ago
Teo Mrnjavac f90bf469dd Add chrootOutput/check_chroot_output to libcalamares utils API. 11 years ago
Teo Mrnjavac 45ac91c784 Add check_chroot_call to libcalamares Python interface. 11 years ago
Teo Mrnjavac 63534f7154 Add mount and chrootCall utilities to libcalamares + Python wrappers. 11 years ago
Teo Mrnjavac fb328494b3 Make the libcalamares Python API better for PEP8 11 years ago
Teo Mrnjavac 845ae05f7e Added debug( str ) to the Python API. 11 years ago
Teo Mrnjavac 78de11a412 Emit job progress from Python jobs. 11 years ago
Teo Mrnjavac 2636a1273f Add job.setprogress to Python API. 11 years ago
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.
11 years ago
Teo Mrnjavac 2f03dfa43b CalamaresPrivate ==> CalamaresPython 11 years ago
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.
11 years ago