Adriaan de Groot
9c9486bb78
[libcalamares] When ViewManager is destroyed, reset instance pointer
2018-01-17 09:17:40 -05:00
Adriaan de Groot
845986d48f
[libcalamaresui] Mark virtual QObject destructors override
2018-01-17 09:17:40 -05:00
Adriaan de Groot
308441ee3a
Merge branch '3.1.x-stable'
2018-01-02 15:44:34 +01:00
Adriaan de Groot
41e6f0e06c
[calamares] Allow WM close button
...
- remove hide-close-button hack
- refactor code in viewmanager for confirming quit
- hook up confirm-and-quit to WM close button
- also works for alt-F4 and other quit methods
- while here, update copyright year
FIXES #870
2018-01-02 14:58:08 +01:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Adriaan de Groot
65cf28b716
[libcalamaresui] Provide access to the breeze SVGs
2017-11-20 09:04:26 -05:00
Adriaan de Groot
fbe1976c11
[libcalamaresui] Add breeze SVGs under LGPLv3
2017-11-20 08:59:10 -05:00
Adriaan de Groot
4d7f70a28f
[kcrash] Remove duplicate 'Tools' tab
2017-11-13 07:35:37 -05:00
Adriaan de Groot
e8e284f724
Merge remote-tracking branch 'origin/kcrash'
2017-11-13 13:18:53 +01:00
Adriaan de Groot
2d31e987c0
[libcalamaresui] Unrelated typedef for JobList
2017-11-03 11:02:06 -04:00
Adriaan de Groot
e09f179d76
Coverity: repair previous commit
2017-10-30 08:43:09 -04:00
Adriaan de Groot
a138eb501c
Coverity: fix issues reported in QJsonModel
...
- Also reported upstream, in the MIT-licensed version of same.
This is a re-hash of b348a45834
,
adding memory-leak prevention when load() is called.
2017-10-30 08:20:08 -04:00
Adriaan de Groot
fe0cb88d70
Linking: be a little more relaxed in linking to dependent libs
2017-10-24 12:56:02 -04:00
Adriaan de Groot
33f78b375d
Merge branch 'master' into kcrash
2017-09-27 09:52:01 -04:00
Adriaan de Groot
bd4ee9320d
Clang: warnings--, drop unused WindowFlags parameter
2017-09-26 11:51:11 +02:00
Adriaan de Groot
866d338894
Clang: warnings--
2017-09-25 16:28:08 +02:00
Adriaan de Groot
40c49bd50d
Clang: be more explicit about marking third-party code.
...
- This is only a partial solution to warnings caused by third-party
code, since #including the headers from other sources won't apply
the warning-suppressions.
- Flags are not applied when building the source as part of a larger
target, but are on re-building just one object (it seems -- CMake
issue to track down).
2017-09-21 04:53:09 -04:00
Adriaan de Groot
337903db09
Clang: reduce warnings about overriden destructors
2017-09-20 09:11:18 -04:00
Adriaan de Groot
b04a890798
Fix code using re-imported imageregistry
2017-09-19 16:49:14 +02:00
Adriaan de Groot
6010805935
Licensing: add header to imageregistry copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
a65bc7d756
Licensing: re-import ImageRegistry
...
- include full license headers,
- copied from
- repo: https://github.com/tomahawk-player/tomahawk/
- rev: 00f602e10203b76fc28b4615868c567e6bd4ced4
- path: src/libtomahawk/utils/ImageRegistry.cpp
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d23818b27c
Fix code using re-imported spinner
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d2d59e6206
Licensing: add header to QtWaitingSpinner copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
553a66b326
Licensing: re-import QtWaitingSpinner
...
- include full license headers,
- copied from
- repo: https://github.com/snowwlex/QtWaitingSpinner
- rev: bb8f8987ca19406dc75704eb382ab52e981b773f
This revision *does not build* because the files have been renamed.
2017-09-19 16:26:26 +02:00
Adriaan de Groot
24f26ee7c8
Licensing: add header to QJsonModel copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:23 +02:00
Adriaan de Groot
e5c0854e66
Licensing: re-import GPLv3 version of QJsonItem
...
- include full license headers,
- copied from
- repo: https://github.com/dridk/QJsonmodel
- rev: fbd4fb3b1c1311f69cd8ada9bbb7a89fd6fe171e
2017-09-19 15:57:46 +02:00
Adriaan de Groot
13807ceabf
Licensing: add self
...
- to all the files I've touched recently
- to (very incomplete) AUTHORS list
Licensing: add license info to top-level CMakeLists.txt
2017-09-19 15:57:25 +02:00
Adriaan de Groot
ddb6455365
Revert be2338ff0
(intended just to reduce warnings)
...
- keep the calamaresstyle formatting changes,
- drop shadowing and nullptr changes.
FIXES #805
2017-09-18 15:11:18 +02:00
Adriaan de Groot
ddf7b7fc90
CMake: remove superfluous indirection
2017-09-18 12:12:10 +02:00
Adriaan de Groot
c6297f1db5
Clang: warnings--
2017-09-14 06:34:31 -04:00
Adriaan de Groot
edb1dbaa6e
Clang: warnings--
2017-09-13 22:32:21 +02:00
Adriaan de Groot
da4fa6a63a
Fix link / library name
2017-09-13 19:03:56 +02:00
Adriaan de Groot
bd37572fd8
Clang: reduce warnings
2017-09-13 19:03:56 +02:00
Adriaan de Groot
be2338ff08
Clang: reduce warnings
2017-09-13 08:03:18 -04:00
Adriaan de Groot
cb57de2e65
Clang: float -> qreal where it matches Qt API
2017-09-11 11:07:32 +02:00
Adriaan de Groot
463615a1c0
Clang: don't shadow local variable names
2017-09-10 13:22:54 -04:00
Adriaan de Groot
764fb742ba
Clang: clean up documentation markup
2017-09-10 13:22:54 -04:00
Adriaan de Groot
bd3786ebeb
Clang: reduce warnings in various places
2017-09-10 13:22:32 -04:00
Adriaan de Groot
7e25909e18
YAML: refactor YAML-exception reporting
...
- both NetInstall (group data) and Locale (GeoIP) use network
data returned as a source of YAML data. Try to explain
parsing errors for both.
FIXES #786
2017-09-06 07:51:22 -04:00
Adriaan de Groot
6c5199c9cc
YAML: on error, report filename along with location
2017-09-06 05:10:33 -04:00
Adriaan de Groot
73a75e837b
Auto-resize the main window.
...
If the summary widget is large, it gets a scrollbar. This looks really
weird, so prefer to grow the installer window instead. Discussed with
@sitter and settled on this solution.
ViewSteps can signal the ViewManager that they need more space (in pixels),
which may or may not be honored.
FIXES #778
2017-09-05 10:51:54 -04:00
Adriaan de Groot
e26d5ab206
Don't leak memory for allocated modules
2017-08-31 04:13:52 -04:00
Adriaan de Groot
a718eb76cb
Docs: code-documentation about summary page
2017-08-08 07:54:38 -04:00
Adriaan de Groot
2fdccdf090
Merge branch 'simplify-module-desc'
2017-08-02 11:29:58 -04:00
Adriaan de Groot
e3008657c4
Modules: accept 'viewmodule' as alias of 'view', improve logging on error.
2017-08-02 11:05:32 -04:00
Adriaan de Groot
594bc37d67
Coverity: uninitialized member
2017-07-11 09:32:09 -04:00
Adriaan de Groot
10eaf06f60
Python: Be more descriptive when modules can't be loaded.
2017-07-05 06:30:23 -04:00
Adriaan de Groot
d3f624f818
FinishedPage: no modal pop-ups in a slot
...
Switch the failure popup to non-modal, and quit the application when
the pop-up is closed. This allows signals to be delivered to other
slots connected to JobQueue::failed.
2017-07-04 08:14:30 -04:00
Adriaan de Groot
44e6955f19
Feature: allow disable welcome-logo resizing
2017-07-04 04:30:08 -04:00
Adriaan de Groot
c4f955874d
QLabel::setPixmap() isn't virtual, don't make it so.
2017-07-04 03:36:42 -04:00
Adriaan de Groot
ee4e4dfccc
C++ trickery to make the code shorter to read.
2017-07-03 18:07:18 -04:00
Adriaan de Groot
43e7ea6265
Merge branch 'no-rcc'
2017-07-03 05:48:50 -04:00
Adriaan de Groot
9b3af4aac3
i18n: translate yes/no buttons, don't rely on Qt translations
2017-07-03 05:46:33 -04:00
Adriaan de Groot
61c0ab4534
Clang: fix the right conversions (thanks KKofler)
2017-06-29 06:18:52 -04:00
Adriaan de Groot
4561849c39
UI: add tooltip to Cancel / Quit button
...
Change 'Quit' at the end to 'Done', because we're done -- and Quit
is sometimes interpreted as cancelling. Tooltip for additional
explanation.
2017-06-28 07:48:51 -04:00
Adriaan de Groot
09b25ab3e9
Clang: make ViewManager instance a proper singleton.
2017-06-27 06:46:59 -04:00
Adriaan de Groot
6a3aa01564
Clang: reduce warnings
2017-06-27 06:11:26 -04:00
Adriaan de Groot
2add7f6f86
Clang: type-annotate float literal
2017-06-27 06:08:07 -04:00
Adriaan de Groot
3b5955900e
Coverity: explicit initialization
2017-06-27 06:05:26 -04:00
Adriaan de Groot
8ea14d7957
Release: add copyright to files I've touched
2017-06-21 08:27:10 -04:00
Adriaan de Groot
12a0edfa50
Clang: reduce warnings
2017-06-21 07:28:38 -04:00
Adriaan de Groot
2148538fac
Clang: reduce warnings
2017-06-21 07:28:38 -04:00
Adriaan de Groot
d9ea22a486
Screensize: refactor, move screen-size constants into global constexpr
...
Also drop the minimum size a tiny bit, to 1024x520.
2017-06-21 06:51:51 -04:00
Adriaan de Groot
ce6997d214
Coverity: fix some uninitialized members
2017-06-17 15:14:02 -04:00
Adriaan de Groot
f1cfde36d6
Allow different welcome message.
...
FIXES #592
2017-06-12 15:25:54 -04:00
Adriaan de Groot
14912d6c63
Merge branch 'master' of https://github.com/AOSC-Dev/calamares into AOSC-Dev-master
2017-06-08 04:54:06 -04:00
Adriaan de Groot
14cba59ab3
Logging: distinguish different failures in module instantiation.
2017-06-06 09:10:13 -04:00
Adriaan de Groot
367fe716b3
Configs: empty config files are ok.
...
The default umount.conf contains no keys -- so it isn't a map,
but it is a valid config file. Avoid the warning by accepting
empty files.
FIX 707
2017-06-02 16:10:08 +02:00
Teo Mrnjavac
17962179bd
Documentation++
2017-03-03 12:32:44 +01:00
Teo Mrnjavac
6c7cdb5f50
Documentation++
2017-03-01 13:35:06 +01:00
Teo Mrnjavac
99a1c2245f
Documentation++
2017-02-28 18:08:20 +01:00
Teo Mrnjavac
de3c94fc97
Useless debug is useless.
2017-02-28 18:08:20 +01:00
Teo Mrnjavac
f4696f22a1
Pass locale name to PythonQt module.
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
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
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
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
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
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
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
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
e2b2d761c2
Do not LINK_PUBLIC by default.
2016-12-07 16:37:29 +01:00