| 1 |
Descriptionscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/patches/`1003_typo-fixes.patch`#Description.: Some typo fixes. |
| 2 |
Authorscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/patches/`1003_typo-fixes.patch`#Author.: Mike Gabriel <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
|
| 4 |
--- a/doc/src/serviceframework/plugins/qml-serviceframework.qdocscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`doc/src/serviceframework/plugins/qml-serviceframework.qdoc`: |
| 5 |
+++ b/doc/src/serviceframework/plugins/qml-serviceframework.qdocscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`doc/src/serviceframework/plugins/qml-serviceframework.qdoc`: |
| 6 |
@@ -103,7 +103,7 @@ |
| 7 |
} |
| 8 |
\endqml |
| 9 |
|
| 10 |
|
| 11 |
+ Note the usage of the ignoreUnknownSignals attribute which is useful for ignoring |
| 12 |
uknown signals, especially in the case where Service::serviceObject has not been |
| 13 |
called yet or provides an invalid interface. |
| 14 |
|
| 15 |
--- a/src/imports/serviceframework/qdeclarativeservice.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/serviceframework/qdeclarativeservice.cpp`: |
| 16 |
+++ b/src/imports/serviceframework/qdeclarativeservice.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/serviceframework/qdeclarativeservice.cpp`: |
| 17 |
@@ -268,7 +268,7 @@ |
| 18 |
switch (errorValue) { |
| 19 |
default: |
| 20 |
case QService::ErrorUnknown: |
| 21 |
|
| 22 |
+ m_errorString = QLatin1String("IPC Error: Unknown Error"); |
| 23 |
break; |
| 24 |
case QService::ErrorServiceNoLongerAvailable: |
| 25 |
m_errorString = QLatin1String("IPC Error: Service no longer available"); |
| 26 |
--- a/src/imports/serviceframework/qdeclarativeserviceold.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/serviceframework/qdeclarativeserviceold.cpp`: |
| 27 |
+++ b/src/imports/serviceframework/qdeclarativeserviceold.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/serviceframework/qdeclarativeserviceold.cpp`: |
| 28 |
@@ -225,7 +225,7 @@ |
| 29 |
switch (errorValue) { |
| 30 |
default: |
| 31 |
case QService::ErrorUnknown: |
| 32 |
|
| 33 |
+ m_error = QLatin1String("IPC Error: Unknown Error"); |
| 34 |
break; |
| 35 |
case QService::ErrorServiceNoLongerAvailable: |
| 36 |
m_error = QLatin1String("IPC Error: Service no longer available"); |
| 37 |
--- a/src/imports/systeminfo/qdeclarativedisplayinfo.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/systeminfo/qdeclarativedisplayinfo.cpp`: |
| 38 |
+++ b/src/imports/systeminfo/qdeclarativedisplayinfo.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/imports/systeminfo/qdeclarativedisplayinfo.cpp`: |
| 39 |
@@ -148,7 +148,7 @@ |
| 40 |
|
| 41 |
Returns the backlight state of the given \a screen. Possible values are: |
| 42 |
\list |
| 43 |
|
| 44 |
+ \li DisplayInfo.BacklightUnknown - The state of the backlight is unknown. |
| 45 |
\li DisplayInfo.BacklightOff - Backlight is turned off. |
| 46 |
\li DisplayInfo.BacklightDimmed - Backlight has been dimmed. |
| 47 |
\li DisplayInfo.BacklightOn - Backlight is on. |
| 48 |
--- a/src/serviceframework/ipc/ipc.priscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/ipc/ipc.pri`: |
| 49 |
+++ b/src/serviceframework/ipc/ipc.priscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/ipc/ipc.pri`: |
| 50 |
@@ -41,7 +41,7 @@ |
| 51 |
SOURCES += ipc/qremoteserviceregister_ls_p.cpp \ |
| 52 |
ipc/objectendpoint.cpp |
| 53 |
} else { |
| 54 |
|
| 55 |
+ error("Unknown SFW_BACKEND $$SFW_BACKEND") |
| 56 |
} |
| 57 |
|
| 58 |
PRIVATE_HEADERS += ipc/qslotinvoker_p.h \ |
| 59 |
--- a/src/serviceframework/ipc/proxyobject.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/ipc/proxyobject.cpp`: |
| 60 |
+++ b/src/serviceframework/ipc/proxyobject.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/ipc/proxyobject.cpp`: |
| 61 |
@@ -221,7 +221,7 @@ |
| 62 |
if (pType == QMetaType::QVariant) |
| 63 |
arg = *reinterpret_cast<const QVariant(*)>(a[0]); |
| 64 |
else if (pType == 0) { |
| 65 |
|
| 66 |
+ qWarning("%s: property %s has unknown type", property.name(), property.typeName()); |
| 67 |
return id; |
| 68 |
} else { |
| 69 |
arg = QVariant(pType, a[0]); |
| 70 |
--- a/src/serviceframework/qservicemanager.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/qservicemanager.cpp`: |
| 71 |
+++ b/src/serviceframework/qservicemanager.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/qservicemanager.cpp`: |
| 72 |
@@ -690,7 +690,7 @@ |
| 73 |
Registers the service defined by the XML file at \a xmlFilePath. |
| 74 |
Returns true if the registration succeeded, and false otherwise. |
| 75 |
|
| 76 |
|
| 77 |
+ If a previously unknown interface is added the newly registered service automatically |
| 78 |
becomes the new default service provider for the new interface. |
| 79 |
|
| 80 |
A service plugin cannot be added if another service is already registered |
| 81 |
@@ -711,7 +711,7 @@ |
| 82 |
/*! |
| 83 |
Registers the service defined by the XML data from the given \a device. |
| 84 |
Returns true if the registration succeeded, and false otherwise. If a |
| 85 |
|
| 86 |
+ previously unknown interface is added the newly registered service |
| 87 |
automatically becomes the new default service provider for the new |
| 88 |
interface. |
| 89 |
|
| 90 |
--- a/src/serviceframework/qserviceclientcredentials.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/qserviceclientcredentials.cpp`: |
| 91 |
+++ b/src/serviceframework/qserviceclientcredentials.cppscip-debian debian qtsystems-opensource-src 5.0~git20230712.81e08ee+dfsg-4 qtsystems-opensource-src/upstream/`src/serviceframework/qserviceclientcredentials.cpp`: |
| 92 |
@@ -135,7 +135,7 @@ |
| 93 |
bool QServiceClientCredentials::isClientAccepted() const |
| 94 |
{ |
| 95 |
if (!d->acceptedSet) { |
| 96 |
|
| 97 |
+ qWarning() << "SFW credentials were queried, but service never called setClientAccepted(bool). Returning default accepted. This will break in the future."; |
| 98 |
} |
| 99 |
return d->accepted; |
| 100 |
} |