| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Change-Id: I022f6dfd1851c8e969aec9f58d8f3718067c54c7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Using the new config field "installer/allowedURLs" you can supply a
list of URLs that will be used to filter the accepted URLs by
PackageManager::startPackageInstallation().
In the absence of this field, all URLs are accepted as before.
Any entry in the list is wildcard-matched, if it contains '*'.
Change-Id: Ia289e8cad1f65f17fb397c8044b31a844845faa5
Pick-to: 6.11
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
A package doesn't exist yet when the install rule is created. Making
the install optional fixes this problem.
Fixes: QTBUG-129127
Pick-to: 6.11 6.10 6.8
Change-Id: Iff7f28f687b2aca8c104eebbba20c03f75491ac7
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
| |
|
|
|
| |
Change-Id: I3fd1a1ddebdabc7085bbab9f35e001b29c09a006
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTBUG-129127
Change-Id: Idadb205ed5fa215ae4c61b0707b73451406be715
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
| |
|
|
|
| |
Change-Id: I21c9253c0becb0404a6ccfa47139026fa3a3339f
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
| |
|
|
|
|
|
| |
This will correct dashboard error which prevents files to be open
Change-Id: Ia84d1c1ed78e0490e428598fce94cc573407c406
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.11
Change-Id: I045672c8e17d76c0407f854d2bffbf8d52b967cb
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I8209941450e9b86c9f11b61d065042f38dffb119
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Due to the timing the single-process runtimes are destructed, the
"close reason" message was printed multiple times (up to once for each
window and then again up to once for each application)
Change-Id: I68a580e01b7554ec8f828cc6d136b680be85ea91
Pick-to: 6.11
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I038c2c78ad9984d7561a986a9494c66267de501e
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I64f22c16417fb826a87e53a5e8d86662a8c8add3
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
While at it, the new parsePassword function from the controller was
moved into the base class as well and put to use in the packager as
well.
It also received a secure Windows and Unix implementation for
readPasswordFromConsole(), that do not echo the password while you are
typing.
Change-Id: I163b89c253fae2bcc9e558793487e8f886a37ea3
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The available signal handlers were stored in a list, but this is
inherently not async-signal-safe. It was giving us the flexibility to
have multiple signal handlers installed for a single signal, but in
practice this is not a requirement at all and was never used.
The new solution is to use a static array of SigHandler*, one handler
per signal (ideally, we would store each std::function inside an
atomic, but that is not possible).
Removal of signal handlers is tricky even with atomics, because signal
handlers block the current thread completely. This means we cannot
delete a removed SigHandler instance immediately, but we can safely
do so after a grace period (currently set to 10min).
Also marked all libc and kernel functions with '::', as is the case
in the rest of the AM source code.
Change-Id: Ibd79fd489dc9d4db8edbf569f7ce29dee30c8d02
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
YAML 1.2 was specified in 2009 and 1.1 is considered legacy nowadays.
The default for parsing and emitting unversioned documents is still
1.1, but you will see warnings for unversioned documents that use
features that are not compatible with 1.2.
Starting with AppMan 6.12, the default will switch over to 1.2 for
unversioned documents.
In addition all tags from the core schema are now correctly applied
to both 1.1 and 1.2 documents.
Version 1.1 will still be supported in the future for explicitly
versioned documents.
Change-Id: I6c9920784c8f7650d7e63f2273773d7fa462fe9a
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Our structured-exception handler was effectively disabled by the CRT
due to a changed call order for static constructors
- RaiseException() to re-throw exceptions does not work across modules
for some arcane reason, but calling the compiler-internal wrapper
CxxThrowException still does.
Change-Id: I2dbfe10e014fb41a030ca0ce9f81101e9aef99ec
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
| |
It's been a long time since the last round, so there are a lot of fixes
Change-Id: Ic226130eed0d03776749a2a04806efaa537f3f19
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is part 2 of this patch series. Part 1 was about converting the
libs from static to shared.
This patch now consolidates the library zoo into more manageable and
logical chunks. Plus this will also help with keeping the hit to the
startup performance (incurred by part 1) in check.
The new setup closely follows the QML module nomenclature, but needs
to account for the tool builds as well.
The new libs are:
- Common no changes
- Package a combination of Package, Application and Crypto
- Shared renamed from SharedMain and combined with Monitor and
IntentClient
- SystemUI renamed from Main and combined with Manager, DBus,
IntentServer and Window
- Application renamed from ApplicationMain
Because the CrashHandler is using a "constructor" function, it had to
be moved from the Common to the Shared lib to avoid having the custom
crash handler also in the tools, as they need to install their own
CTRL+C handler at times.
In addition the 3 QML import modules are now built as official QML
plugins and they are installed into $QTDIR/qml as any other import
library.
NB! There is a problem we still have to solve: custom appman binaries
(system-ui's) are currently built by linking against Qt::AppManMain,
but this no longer exists. It would be ideal if we could add an alias
here. The other renamed modules are not that problematic, as they
shouldn't be used outside of the appman project itself.
If an alias is not possible, a dummy library which depends on the new
"SystemUI" one should also do the trick.
Change-Id: Id07e05a523c48e773c295c5be2f27804229155e0
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The idea of using static libraries only was to shave off any
milli-second possible from the startup time. This does bring a lot of
problems though, in that a lot of valid use-cases where you need
access to an internal symbol are not possible, because you cannot link
to the static libraries from a Qt or QML plugin, because you get
duplicate symbols.
As we need the possibility to access Appman symbols from auto-generated
plugins for a new intent overhaul, we are doing 2 things now:
1) This patch will simply convert the existing libs over to building
as static/shared, depending on how Qt itself was built.
2) The follow-up patch will consolidate the library zoo into more
managable and logical chunks. Plus this will also help with keeping
the hit to the startup performance in check.
A few destructors used in std::unique_ptrs had to made explicit to make
MSVC happy.
Change-Id: I1bdbb6d8f4c16a6bf70bd98b9a146203d9036a57
Pick-to: 6.11
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
| |
Change-Id: I2941fce43b142d9305c21eaacff35d540af1deed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: Ib752f9113a4b23a20afd5fda7634ef3053fa1d5e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
| |
We could get away with just disabling the installer part before the
development-mode revamp, but we now have the Certificate type in
the PackageManager QML API.
Change-Id: If805ac076e7a25a5c65ab4b630c8ba6faed7530a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
All the warnings in the examples came from qt_internal_add_example
in qtbase changing and nobody applying the necessary fixes to the
appman examples.
The bubblewrap example on the other hand just had a package name
that conflicted with QML module conventions.
Change-Id: Id63ccb9b02c16ae581a1796c09d1308f61a85511
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: I361f2876144a5f07cb8b0d2b01b7f1466bd90e73
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I0b3dcadf4509c0c1a13cacc2edcf24d9a4ac8fd9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
| |
Avoid using kernel types (__u64) that are not available
for user space with musl c library.
Change-Id: Iccb059b72a83c6338fe7f043bcb70f6d627145fa
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
|
| |
|
|
|
| |
Change-Id: I324e3242a369c0769cc25df99465285ec1564b24
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I941a4c5a3ab9d1bbd049adfaf17f26f30c9b5733
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: Ie5b0bde58e414fd6f7cf202f09871671eda98d35
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Do not compile in absolute paths from the build environment when
cross compiling. Yocto does not like that, plus it just is useless
anyway.
2) Tell the user that he needs to start the appman-package-server on
his desktop machine for the example to work.
3) Switch the appman-package-server from being an 'app' to being a
'tool', as it is only meant to be used on a development machine.
Change-Id: I5f159fafb38aac17f04f73f27405b6ddb8fd6698
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: I94445cd77ad7a0de6bb124f730aafe7bde544d37
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
|
|
|
| |
This allows us to have the report nicely in journald including all the
meta-data.
Change-Id: Ibd9e11cafc3722abbb5848aa9ffa9bc68aba2d4e
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Instead of ensuring the validity of the engine pointer, we simply
reimplement that part using Quick's C++ API. This way we don't have
to worry about the actual engine pointer at all.
Change-Id: Ife75b9f227a36f6e2ccd97b4f41318846d6db062
Pick-to: 6.10 6.8
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: Ife6318bb2bf9cd7c542630715d9ef834bc2c1c4e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I050cee2f770ee7dd86ca1e52c0c956244ac60853
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: Id8bdb0e09d2e3ecf9513ec227bd6fe724e28e2e7
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When allowUnsignedPackages is set, packages installed via the
development p2p bus are still checked if the package-id is allowed via
the installed developer certificate.
This makes it possible to run without signatures, but still restrict
3rd party developers to their assinged package-ids.
Change-Id: I34181248b4794951157faa97ac7eed9368f39f79
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Quick-launchers should not, but can open windows and thus trigger the
watchdog. We will now report them as such.
- Container solutions that bundle multiple applications under one PID
were not supported correctly, as the application <-> PID mapping was
only updated when a new window was being created.
Change-Id: I29343f3277c1e63cf2ffa66ff95dca991980c715
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
| |
That got broken with 3a051f87e50f7c5b9da0c2a0258336c4421edf37
Change-Id: I3d9d49e8dc453cd0d5dccbdba10cae87ae9abfbc
Pick-to: 6.10 6.8
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: I5a6f0fcf81a9eddc87c66e9dbd09e3c83cd38f6c
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: I71d232c7abab7b6dbd4da04a3e470b2b2ddd682a
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Also added documentation for the new commands.
The '--password stdin' option needs improvement, but this should be
done in conjunction with switching the packager over to this style of
password parsing.
Change-Id: I2601e0bfca12c578b9c6cdc6b930523c1f260fae
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: Ifb1d7f8dae3d41c5c9a3ba6af85d54f77b58fa85
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10 6.8
Change-Id: I7502184d31befdd06e4607067efd0464408a9104
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When sending file-descriptors (argument of type 'h') as the first thing
after connecting to an P2P server, the connection sometimes gets
disconnected from the client side while libdbus is in the middle of
negotiating the "can-send-fds" capability.
Retrieving a property first gets rid of this problem consistently.
Change-Id: I2d5daaa434d4199ba1e55d08856d2f5f6e3a232d
Pick-to: 6.10 6.8
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
|
|
|
|
| |
QtDBus will not free D-Bus resources when a peer disconnects and to
make matters worse, there isn't even a signal to get notified.
Pick-to: 6.10 6.8
Change-Id: I34e06ad6d603a939a873af602291463a155d4abf
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: Ib337472b9a9118d9630014ad231f4305b5197a33
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
|
| |
|
|
|
| |
Change-Id: Ia95b96d6e819b33b6fad30f20bedaa370fbd86eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: Ie17e5b96a3625de59bcb57cbfa3d2e312fc1da69
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I881ad74e503c7f6e46d300fdf4ad5b57bd7c8b26
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|