Commit Graph

1980 Commits

Author SHA1 Message Date
Teo Mrnjavac
e9f113a6a8 Translate user-visible strings! 2017-01-04 15:28:09 +01:00
Teo Mrnjavac
028f56d94a Better to keep font style manipulation to a minimum. 2017-01-04 15:28:09 +01:00
Teo Mrnjavac
3ec7c6f881 Style. 2017-01-04 15:28:09 +01:00
Calamares CI
fdc970cfda [dummypythonqt] Automatic merge of Transifex translations 2017-01-04 02:46:58 +00:00
Calamares CI
8dbfbcaa70 [dummypythonqt] Automatic merge of Transifex translations 2017-01-04 00:36:00 +00:00
Calamares CI
6dd61deb35 [dummypythonqt] Automatic merge of Transifex translations 2017-01-03 02:46:57 +00:00
Calamares CI
bee6941d9b [dummypythonqt] Automatic merge of Transifex translations 2017-01-03 00:35:31 +00:00
Calamares CI
02dcffb413 [dummypythonqt] Automatic merge of Transifex translations 2017-01-02 02:46:57 +00:00
Calamares CI
3e34090f0b [dummypythonqt] Automatic merge of Transifex translations 2017-01-02 00:35:29 +00:00
Calamares CI
e7e3e6a8a6 [dummypythonqt] Automatic merge of Transifex translations 2017-01-01 02:47:08 +00:00
Calamares CI
b28a2d9f26 [dummypythonqt] Automatic merge of Transifex translations 2017-01-01 00:35:26 +00:00
Lisa
02abc0d0a7 Merge pull request #276 from shainer/mountpoint
Disallow assigning the same mountpoint to two partitions
2016-12-31 18:49:05 +01:00
Calamares CI
c9e06f9c76 [dummypythonqt] Automatic merge of Transifex translations 2016-12-31 02:46:50 +00:00
Calamares CI
b82720ca7b [dummypythonqt] Automatic merge of Transifex translations 2016-12-31 00:35:30 +00:00
Calamares CI
9ff8d7e585 [dummypythonqt] Automatic merge of Transifex translations 2016-12-30 02:46:57 +00:00
Calamares CI
3f697e3956 [dummypythonqt] Automatic merge of Transifex translations 2016-12-30 00:35:36 +00:00
Calamares CI
1d34185efe [dummypythonqt] Automatic merge of Transifex translations 2016-12-29 02:47:05 +00:00
Calamares CI
d6e1c5c7c3 [dummypythonqt] Automatic merge of Transifex translations 2016-12-29 00:35:25 +00:00
Calamares CI
c1442f1461 [dummypythonqt] Automatic merge of Transifex translations 2016-12-28 02:46:56 +00:00
Calamares CI
7258b02b6c [dummypythonqt] Automatic merge of Transifex translations 2016-12-28 00:35:33 +00:00
Calamares CI
4dd2b3786b [dummypythonqt] Automatic merge of Transifex translations 2016-12-27 02:46:44 +00:00
Calamares CI
807d732a52 [dummypythonqt] Automatic merge of Transifex translations 2016-12-27 00:35:40 +00:00
Calamares CI
041377fd12 [dummypythonqt] Automatic merge of Transifex translations 2016-12-26 02:46:53 +00:00
Calamares CI
91679a83b5 [dummypythonqt] Automatic merge of Transifex translations 2016-12-26 00:35:32 +00:00
Calamares CI
79b8ad4d75 [dummypythonqt] Automatic merge of Transifex translations 2016-12-25 02:46:47 +00:00
Calamares CI
def56ada77 [dummypythonqt] Automatic merge of Transifex translations 2016-12-25 00:35:33 +00:00
Calamares CI
e9214a5a49 [dummypythonqt] Automatic merge of Transifex translations 2016-12-24 02:46:54 +00:00
Calamares CI
716fb0b858 [dummypythonqt] Automatic merge of Transifex translations 2016-12-24 00:35:24 +00:00
Teo Mrnjavac
40eba50821 Improve debug output. 2016-12-23 14:17:57 +01:00
Teo Mrnjavac
244b4dff83 Improve debug output. 2016-12-23 14:03:47 +01:00
Calamares CI
63d71e49ff [dummypythonqt] Automatic merge of Transifex translations 2016-12-23 02:46:44 +00:00
Calamares CI
e4500a30d8 [dummypythonqt] Automatic merge of Transifex translations 2016-12-23 00:35:31 +00:00
Teo Mrnjavac
0dbd8906ac Alignment. 2016-12-22 13:52:33 +01:00
demmm
cfef01de39 fix crash on loading webview page with QtWebengine 2016-12-22 12:11:46 +01:00
Calamares CI
96476982d7 [dummypythonqt] Automatic merge of Transifex translations 2016-12-22 02:54:26 +00:00
Calamares CI
f88a980526 [dummypythonqt] Automatic merge of Transifex translations 2016-12-22 00:35:29 +00:00
Calamares CI
84d52a8b78 [dummypythonqt] Automatic merge of Transifex translations 2016-12-21 02:46:51 +00:00
Calamares CI
b3c62180a1 [dummypythonqt] Automatic merge of Transifex translations 2016-12-21 00:35:32 +00:00
Rohan Garg
4a55802b18 Allow passing a LOCALE variable in the package list
This allows for installing locale packages. This can be achieved
by adding a entry of the format packagename-${LOCALE} in the
packages configuration module.
2016-12-20 16:57:23 +01:00
Calamares CI
39d188079c [dummypythonqt] Automatic merge of Transifex translations 2016-12-20 02:46:41 +00:00
Calamares CI
8b1da00235 [dummypythonqt] Automatic merge of Transifex translations 2016-12-20 00:35:35 +00:00
Calamares CI
54e98359de [dummypythonqt] Automatic merge of Transifex translations 2016-12-19 02:47:02 +00:00
Calamares CI
afca3d2778 [dummypythonqt] Automatic merge of Transifex translations 2016-12-19 00:35:30 +00:00
Calamares CI
cee5bc34f5 [dummypythonqt] Automatic merge of Transifex translations 2016-12-18 02:46:57 +00:00
Calamares CI
0614753216 [dummypythonqt] Automatic merge of Transifex translations 2016-12-18 00:35:35 +00:00
Calamares CI
13e16b6954 [dummypythonqt] Automatic merge of Transifex translations 2016-12-17 02:46:16 +00:00
Calamares CI
4b78714704 [dummypythonqt] Automatic merge of Transifex translations 2016-12-17 00:35:22 +00:00
Calamares CI
5bea549daa [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:15:41 +00:00
Teo Mrnjavac
ec1fc5f74d Properly load translations. 2016-12-16 17:03:14 +01:00
Calamares CI
172d336f57 [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
86bb699fdf [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
7b5b099c39 [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
404d261839 [core] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
5f632e8a3d [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
13e79f8c64 Format correctly. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
1797c5fea1 Handle exception. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
7160aa60c3 Reorder. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
27328a720b Get new locale name in retranslate function. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
b1c67f429f Update headers. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
f4696f22a1 Pass locale name to PythonQt module. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
99ca3d768d Expose translator locale name. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
0c36de68ff Attach retranslator to base widget of ViewStep. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
3143015440 PEP fix. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
e541dbfbea React to retranslate call. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
9923e8504d Nicer strings. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
d3845144bb Start from empty str for entry point annotation. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
46787222c9 Fix ifdefs for WITH_PYTHONQT. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0d6daf11b5 Update dummypythonqt to test PythonQt jobs. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
ca7728cd34 Implement PythonQtViewStep::jobs as a wrapper for Python-provided jobs. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
d425f71fdb Build it. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
aad1c536d1 New PythonQtJob class. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
3170067089 Make JobResult inheritable and remove obsolete Status enum. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
f3fa124f8d Set configuration map in PythonQt module. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
a3887d268a Expose global_storage and utils as objects in PythonQt.calamares. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
864109fd4e Build them. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
4648f5e8e0 Utils wrapper class, to expose libcalamares.utils under PythonQt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
7791307e1e Wrapper for GlobalStorage, to make it available through PythonQt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
25613d1bef Fix _calamares_module_basewidget check and improve readability. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0f0a6ab18d PythonQtViewStep has no decorator. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
9aefeed648 Expose PythonQt.calamares.global_storage. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
69d870a486 Preliminary work on translations support in dummypythonqt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
b77b4ee7d5 Extend dummypythonqt to test QWidget parenting and QObject::connect. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
a54f217173 Use CalamaresUtils::lookupAndCall in PythonQtViewStep.
This is done to support both Pythonic and Qt style method names, i.e.
both "isNextEnabled" and "is_next_enabled" is ok in a Python module.
Also better documentation in PythonQtViewStep, and stub for
setConfigurationMap.
Finally, proper handling of PythonQtViewStep Python-facing basewidget:
with this change, a call to PQVS::widget() only triggers a widget
relayout if it's necessary, and leaves it alone otherwise.
2016-12-16 17:03:00 +01:00
Teo Mrnjavac
fb9d1fa339 Add PythonQtUtils.{h,cpp} with CalamaresUtils::lookupAndCall. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
9570bd94e8 Nor this. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
869828a557 We don't need this. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
f1d6cc0283 Rewritten dummypythonqt module to work with current API state. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
53f687587b Add support for attaching a Python console in DebugWindow.
Also add support for showing module type/interface.
Also minor layout improvements.
2016-12-16 17:03:00 +01:00
Teo Mrnjavac
c618999418 Properly load new PythonQtViewModule.
Only initialize Python if it's not initialized yet.
Inject @calamares_module decorator to fetch the entry class.
2016-12-16 17:03:00 +01:00
Teo Mrnjavac
2736ad6e09 User-visible Type and Interface strings in Module. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
d526935001 Remove PythonQtConsoleViewStep, which was only there for testing. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
b4002a716a New PythonQtViewStep. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0f734c8c5c Make sure to only call Py_Initialize if Python is not initialized. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
553062fc11 Fix build. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
8a90b89d25 Headers. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
264fb6996f dummypythonqt module for testing purposes. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0a5faa4888 PythonQtConsoleViewStep for testing purposes. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
2c3b56c803 Link against PythonQt; new PythonQtViewModule stub. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
ada620effc Find PythonQt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
457172df66 Do not dereference nullptr. 2016-12-13 12:17:07 +01:00