Hello community,
here is the log from the commit of package deepin-qt-dbus-factory for
openSUSE:Factory checked in at 2019-04-30 13:02:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-qt-dbus-factory (Old)
and /work/SRC/openSUSE:Factory/.deepin-qt-dbus-factory.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deepin-qt-dbus-factory"
Tue Apr 30 13:02:53 2019 rev:5 rq:697662 version:1.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/deepin-qt-dbus-factory/deepin-qt-dbus-factory.changes
2019-03-26 15:45:29.392080020 +0100
+++
/work/SRC/openSUSE:Factory/.deepin-qt-dbus-factory.new.5536/deepin-qt-dbus-factory.changes
2019-04-30 13:02:58.658116035 +0200
@@ -1,0 +2,9 @@
+Mon Apr 15 14:13:39 UTC 2019 - Hillwood Yang <[email protected]>
+
+- Update version to 1.1.1
+ * new methods for handling per-screen scale factors
+ * Fix sw: add CXXFLAGS -mieee
+ * update com.deepin.daemon.SoundEffect
+ * WMSwitcher: update xml
+
+-------------------------------------------------------------------
Old:
----
dde-qt-dbus-factory-1.0.6.tar.gz
New:
----
dde-qt-dbus-factory-1.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ deepin-qt-dbus-factory.spec ++++++
--- /var/tmp/diff_new_pack.KD7W4i/_old 2019-04-30 13:02:59.482115337 +0200
+++ /var/tmp/diff_new_pack.KD7W4i/_new 2019-04-30 13:02:59.482115337 +0200
@@ -12,14 +12,15 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define libver 2
%define _name dde-qt-dbus-factory
+
Name: deepin-qt-dbus-factory
-Version: 1.0.6
+Version: 1.1.1
Release: 0
Summary: A repository storing auto-generated Qt5 D-Bus code
License: GPL-3.0-only
@@ -85,11 +86,11 @@
%postun -n libdframeworkdbus%{libver} -p /sbin/ldconfig
%files -n libdframeworkdbus%{libver}
-%license LICENSE
-%doc README
%{_libdir}/libdframeworkdbus.so.*
%files -n libdframeworkdbus-devel
+%license LICENSE
+%doc README
%{_includedir}/libdframeworkdbus-*
%{_libdir}/libdframeworkdbus.so
%dir %{_libdir}/cmake/DFrameworkdbus
++++++ dde-qt-dbus-factory-1.0.6.tar.gz -> dde-qt-dbus-factory-1.1.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/dde-qt-dbus-factory-1.0.6/CHANGELOG.md
new/dde-qt-dbus-factory-1.1.1/CHANGELOG.md
--- old/dde-qt-dbus-factory-1.0.6/CHANGELOG.md 2018-11-30 13:03:25.000000000
+0100
+++ new/dde-qt-dbus-factory-1.1.1/CHANGELOG.md 2019-03-27 02:11:32.000000000
+0100
@@ -1,3 +1,46 @@
+<a name="1.1.1"></a>
+## 1.1.1 (2019-03-26)
+
+
+#### Features
+
+* new methods for handling per-screen scale factors
([036f7da3](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/036f7da3fdf760fc2fa56906abcae59255c05f1a))
+
+
+
+<a name=""></a>
+## 1.1.0 (2019-02-25)
+
+
+
+
+<a name="1.0.9"></a>
+### 1.0.9 (2019-02-11)
+
+
+#### Bug Fixes
+
+* **sw:** add CXXFLAGS -mieee
([b4e755eb](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/b4e755eb90e774c34ea05a7f6011882181c78b75))
+
+
+
+<a name="1.0.8"></a>
+## 1.0.8 (2019-01-24)
+
+
+
+
+<a name="1.0.7"></a>
+### 1.0.7 (2018-12-28)
+
+
+#### Features
+
+* update com.deepin.daemon.SoundEffect
([d3c5535d](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/d3c5535df66cd2cfb64a69ce9d1f3f1643ce71a6))
+* **WMSwitcher:** update xml
([7d60f502](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/7d60f502fd45b97c984b1655768d9338d41727bb))
+
+
+
<a name="1.0.6"></a>
### 1.0.6 (2018-11-30)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/dde-qt-dbus-factory-1.0.6/debian/control
new/dde-qt-dbus-factory-1.1.1/debian/control
--- old/dde-qt-dbus-factory-1.0.6/debian/control 2018-11-30
13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/debian/control 2019-03-27
02:11:32.000000000 +0100
@@ -9,6 +9,7 @@
qtbase5-dev,
pkg-kde-tools,
qtbase5-private-dev,
+ deepin-qt5config
Standards-Version: 4.1.1
Homepage: https://github.com/linuxdeepin/dde-qt-dbus-factory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/libdframeworkdbus.pro
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/libdframeworkdbus.pro
--- old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/libdframeworkdbus.pro
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/libdframeworkdbus.pro
2019-03-27 02:11:32.000000000 +0100
@@ -4,6 +4,7 @@
CONFIG += c++11 create_pc create_prl no_install_prl
CONFIG += no_keywords
+load(deepin_qt)
include(qtdbusextended/qtdbusextended.pri)
HEADERS += \
@@ -41,6 +42,8 @@
types/appscgroupinfolist.h \
types/chrometablist.h \
types/windowinfomap.h \
+ types/dbusimagelist.h \
+ types/dbustooltip.h \
types/dockrect.h
SOURCES += \
@@ -77,6 +80,8 @@
types/appscgroupinfolist.cpp \
types/chrometablist.cpp \
types/windowinfomap.cpp \
+ types/dbusimagelist.cpp \
+ types/dbustooltip.cpp \
types/dockrect.cpp
!system(python $$PWD/generate_code.py): error("Failed to generate code")
@@ -118,6 +123,10 @@
}
}
+host_sw_64 {
+ QMAKE_CXXFLAGS += -mieee
+}
+
QMAKE_PKGCONFIG_NAME = libdframeworkdbus
QMAKE_PKGCONFIG_VERSION = $$VERSION
QMAKE_PKGCONFIG_DESCRIPTION = libdframeworkdbus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/qtdbusextended/dbusextendedabstractinterface.cpp
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/qtdbusextended/dbusextendedabstractinterface.cpp
---
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/qtdbusextended/dbusextendedabstractinterface.cpp
2018-11-30 13:03:25.000000000 +0100
+++
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/qtdbusextended/dbusextendedabstractinterface.cpp
2019-03-27 02:11:32.000000000 +0100
@@ -60,6 +60,17 @@
void DBusExtendedAbstractInterface::setSync(bool sync) { setSync(sync, true); }
+/*
+ * Note: After sync is set to false, it will always return a empty value
+ * if you call the property's get function directly. So you can only get it
+ * through the changed signal when you get an property, and it's also a good
idea
+ * to save a cache yourself.
+ */
+
+/*
+ * 注意: 如果设置 sync 为 false 那么在调用属性的 get 函数获取一个属性时会一直返回空值,
+ * 解决方法是监听属性的 changed 信号并自行保存一份缓存, 让 changed 信号修改这个缓存
+ */
void DBusExtendedAbstractInterface::setSync(bool sync, bool autoStart)
{
m_sync = sync;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbusimagelist.cpp
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbusimagelist.cpp
--- old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbusimagelist.cpp
1970-01-01 01:00:00.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbusimagelist.cpp
2019-03-27 02:11:32.000000000 +0100
@@ -0,0 +1,59 @@
+/*
+ * Copyright (C) 2011 ~ 2017 Deepin Technology Co., Ltd.
+ *
+ * Author: listenerri <[email protected]>
+ *
+ * Maintainer: listenerri <[email protected]>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "dbusimagelist.h"
+
+QDBusArgument &operator<<(QDBusArgument &argument, const DBusImage &image)
+{
+ argument.beginStructure();
+ argument << image.width << image.height << image.pixels;
+ argument.endStructure();
+ return argument;
+}
+
+const QDBusArgument &operator>>(const QDBusArgument &argument, DBusImage
&image)
+{
+ argument.beginStructure();
+ argument >> image.width >> image.height >> image.pixels;
+ argument.endStructure();
+ return argument;
+}
+
+void registerDBusImageListMetaType()
+{
+ qRegisterMetaType<DBusImage>("DBusImage");
+ qDBusRegisterMetaType<DBusImage>();
+
+ qRegisterMetaType<DBusImageList>("DBusImageList");
+ qDBusRegisterMetaType<DBusImageList>();
+}
+
+bool operator ==(const DBusImage &a, const DBusImage &b)
+{
+ return a.width == b.width
+ && a.height == b.height
+ && a.pixels == b.pixels;
+}
+
+bool operator !=(const DBusImage &a, const DBusImage &b)
+{
+ return !(a == b);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbusimagelist.h
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbusimagelist.h
--- old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbusimagelist.h
1970-01-01 01:00:00.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbusimagelist.h
2019-03-27 02:11:32.000000000 +0100
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2011 ~ 2017 Deepin Technology Co., Ltd.
+ *
+ * Author: listenerri <[email protected]>
+ *
+ * Maintainer: listenerri <[email protected]>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef DBUSIMAGELIST_H
+#define DBUSIMAGELIST_H
+
+#include <QDBusMetaType>
+#include <QRect>
+#include <QList>
+
+struct DBusImage
+{
+ int width;
+ int height;
+ QByteArray pixels;
+};
+Q_DECLARE_METATYPE(DBusImage)
+
+typedef QList<DBusImage> DBusImageList;
+Q_DECLARE_METATYPE(DBusImageList)
+
+QDBusArgument &operator<<(QDBusArgument&, const DBusImage&);
+const QDBusArgument &operator>>(const QDBusArgument&, DBusImage&);
+
+bool operator ==(const DBusImage&, const DBusImage&);
+bool operator !=(const DBusImage&, const DBusImage&);
+
+void registerDBusImageListMetaType();
+
+#endif // DBUSIMAGELIST_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbustooltip.cpp
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbustooltip.cpp
--- old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbustooltip.cpp
1970-01-01 01:00:00.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbustooltip.cpp
2019-03-27 02:11:32.000000000 +0100
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2011 ~ 2017 Deepin Technology Co., Ltd.
+ *
+ * Author: listenerri <[email protected]>
+ *
+ * Maintainer: listenerri <[email protected]>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "dbustooltip.h"
+
+QDBusArgument &operator<<(QDBusArgument &argument, const DBusToolTip &tip)
+{
+ argument.beginStructure();
+ argument << tip.iconName << tip.iconPixmap << tip.title << tip.description;
+ argument.endStructure();
+ return argument;
+}
+
+const QDBusArgument &operator>>(const QDBusArgument &argument, DBusToolTip
&tip)
+{
+ argument.beginStructure();
+ argument >> tip.iconName >> tip.iconPixmap >> tip.title >> tip.description;
+ argument.endStructure();
+ return argument;
+}
+
+bool operator ==(const DBusToolTip &a, const DBusToolTip &b)
+{
+ return a.iconName == b.iconName
+ && a.iconPixmap == b.iconPixmap
+ && a.title == b.title
+ && a.description == b.description;
+}
+
+bool operator !=(const DBusToolTip &a, const DBusToolTip &b)
+{
+ return !(a == b);
+}
+
+void registerDBusToolTipMetaType()
+{
+ qRegisterMetaType<DBusToolTip>("DBusToolTip");
+ qDBusRegisterMetaType<DBusToolTip>();
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbustooltip.h
new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbustooltip.h
--- old/dde-qt-dbus-factory-1.0.6/libdframeworkdbus/types/dbustooltip.h
1970-01-01 01:00:00.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/dbustooltip.h
2019-03-27 02:11:32.000000000 +0100
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2011 ~ 2017 Deepin Technology Co., Ltd.
+ *
+ * Author: listenerri <[email protected]>
+ *
+ * Maintainer: listenerri <[email protected]>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef DBUSTOOLTIP_H
+#define DBUSTOOLTIP_H
+
+#include "dbusimagelist.h"
+
+#include <QDBusMetaType>
+#include <QRect>
+#include <QList>
+
+struct DBusToolTip
+{
+ QString iconName;
+ DBusImageList iconPixmap;
+ QString title;
+ QString description;
+};
+Q_DECLARE_METATYPE(DBusToolTip)
+
+QDBusArgument &operator<<(QDBusArgument&, const DBusToolTip&);
+const QDBusArgument &operator>>(const QDBusArgument&, DBusToolTip&);
+
+bool operator ==(const DBusToolTip&, const DBusToolTip&);
+bool operator !=(const DBusToolTip&, const DBusToolTip&);
+
+void registerDBusToolTipMetaType();
+
+#endif // DBUSTOOLTIP_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
new/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
--- old/dde-qt-dbus-factory-1.0.6/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
2019-03-27 02:11:32.000000000 +0100
@@ -630,8 +630,11 @@
}
}
- for (const QString &anootation : annotations)
- hs << "#include \"types/" << anootation.toLower() << ".h\"" << endl;
+ for (const QString &annotation : annotations) {
+ if (annotation.indexOf('<')==-1) {
+ hs << "#include \"types/" << annotation.toLower() << ".h\"" <<
endl;
+ }
+ }
hs << endl;
foreach (const QDBusIntrospection::Interface *interface, interfaces) {
@@ -699,10 +702,17 @@
if (!interface->properties.isEmpty())
cs << " connect(this, &" << className << "::propertyChanged,
this, &" << className << "::onPropertyChanged);" << endl << endl;
- for (const QString &annotation : annotations)
- {
- cs << " if (QMetaType::type(\"" << annotation << "\") ==
QMetaType::UnknownType)" << endl;
- cs << " register" << annotation << "MetaType();" << endl;
+ for (const QString &annotation : annotations) {
+ if(annotation.indexOf('<')!=-1) {
+ cs << " if (QMetaType::type(\"" << annotation << "\") ==
QMetaType::UnknownType) {" << endl;
+ cs << " qRegisterMetaType< " << annotation << " >(\""
<< annotation << "\");" << endl;
+ cs << " qDBusRegisterMetaType< " << annotation << "
>();" << endl;
+ cs << " }" << endl;
+ }
+ else {
+ cs << " if (QMetaType::type(\"" << annotation << "\") ==
QMetaType::UnknownType)" << endl;
+ cs << " register" << annotation << "MetaType();" <<
endl;
+ }
}
cs << "}" << endl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/tools/qdbusxml2cpp/qdbusxml2cpp.pro
new/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.pro
--- old/dde-qt-dbus-factory-1.0.6/tools/qdbusxml2cpp/qdbusxml2cpp.pro
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.pro
2019-03-27 02:11:32.000000000 +0100
@@ -8,3 +8,9 @@
DESTDIR = $$PWD/../../bin/
CONFIG += c++11
+
+load(deepin_qt)
+
+host_sw_64 {
+ QMAKE_CXXFLAGS += -mieee
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.SessionManager.xml
new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.SessionManager.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.SessionManager.xml
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.SessionManager.xml
2019-03-27 02:11:32.000000000 +0100
@@ -1,4 +1,7 @@
<interface name="com.deepin.SessionManager">
+ <method name="AllowSessionDaemonRun">
+ <arg type="b" direction="out"></arg>
+ </method>
<method name="CanHibernate">
<arg type="b" direction="out"></arg>
</method>
@@ -30,8 +33,12 @@
<method name="RequestReboot"></method>
<method name="RequestShutdown"></method>
<method name="RequestSuspend"></method>
+ <method name="SetLocked">
+ <arg type="b" direction="in"></arg>
+ </method>
<method name="Shutdown"></method>
<method name="ToggleDebug"></method>
+ <property name="Locked" type="b" access="read"></property>
<property name="CurrentUid" type="s" access="read"></property>
<property name="Stage" type="i" access="read"></property>
</interface>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.WMSwitcher.xml
new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.WMSwitcher.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.WMSwitcher.xml 2018-11-30
13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.WMSwitcher.xml 2019-03-27
02:11:32.000000000 +0100
@@ -1,8 +1,13 @@
<interface name="com.deepin.WMSwitcher">
+ <method name="AllowSwitch">
+ <arg type="b" direction="out"/>
+ </method>
<method name="CurrentWM">
<arg type="s" direction="out"/>
</method>
<method name="RequestSwitchWM"/>
+ <method name="RestartWM"/>
+ <method name="Start2DWM"/>
<signal name="WMChanged">
<arg type="s"/>
</signal>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.Appearance.xml
new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Appearance.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.Appearance.xml
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Appearance.xml
2019-03-27 02:11:32.000000000 +0100
@@ -27,6 +27,14 @@
<method name="SetScaleFactor">
<arg type="d" direction="in"/>
</method>
+ <method name="GetScreenScaleFactors">
+ <arg name="scaleFactors" type="a{sd}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0"
value="QMap<QString,double>"/>
+ </method>
+ <method name="SetScreenScaleFactors">
+ <arg name="scaleFactors" type="a{sd}" direction="in"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.In0"
value="QMap<QString,double>"/>
+ </method>
<signal name="Changed">
<arg type="s"></arg>
<arg type="s"></arg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.SoundEffect.xml
new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.SoundEffect.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.SoundEffect.xml
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.SoundEffect.xml
2019-03-27 02:11:32.000000000 +0100
@@ -1,6 +1,29 @@
- <interface name="com.deepin.daemon.SoundEffect">
- <method name="PlaySystemSound">
- <arg type="s" direction="in"></arg>
- </method>
- <property name="Enabled" type="b" access="readwrite"></property>
- </interface>
+<interface name="com.deepin.daemon.SoundEffect">
+ <method name="EnableSound">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="enabled" type="b" direction="in"/>
+ </method>
+ <method name="GetSoundEnabledMap">
+ <arg name="result" type="a{sb}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0"
value="QMap<QString,bool>"/>
+ </method>
+ <method name="GetSoundFile">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="file" type="s" direction="out"/>
+ </method>
+ <method name="GetSystemSoundFile">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="file" type="s" direction="out"/>
+ </method>
+ <method name="IsSoundEnabled">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="enabled" type="b" direction="out"/>
+ </method>
+ <method name="PlaySound">
+ <arg name="name" type="s" direction="in"/>
+ </method>
+ <method name="PlaySystemSound">
+ <arg name="name" type="s" direction="in"/>
+ </method>
+ <property name="Enabled" type="b" access="readwrite"/>
+</interface>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.dde.daemon.Dock.xml
new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.dde.daemon.Dock.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/com.deepin.dde.daemon.Dock.xml
2018-11-30 13:03:25.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/com.deepin.dde.daemon.Dock.xml
2019-03-27 02:11:32.000000000 +0100
@@ -9,6 +9,9 @@
<method name="GetEntryIDs">
<arg type="as" direction="out"/>
</method>
+ <method name="GetPluginSettings">
+ <arg type="s" direction="out"/>
+ </method>
<method name="IsDocked">
<arg type="s" direction="in"/>
<arg type="b" direction="out"/>
@@ -40,6 +43,10 @@
<arg type="u" direction="in"/>
<arg type="s" direction="out"/>
</method>
+ <method name="RemovePluginSettings">
+ <arg type="s" direction="in"/>
+ <arg type="as" direction="in"/>
+ </method>
<method name="RequestDock">
<arg type="s" direction="in"/>
<arg type="i" direction="in"/>
@@ -55,6 +62,12 @@
<arg type="u" direction="in"/>
<arg type="u" direction="in"/>
</method>
+ <method name="SetPluginSettings">
+ <arg type="s" direction="in"/>
+ </method>
+ <method name="MergePluginSettings">
+ <arg type="s" direction="in"/>
+ </method>
<signal name="ServiceRestarted"/>
<signal name="EntryAdded">
<arg type="o"/>
@@ -63,6 +76,7 @@
<signal name="EntryRemoved">
<arg type="s"/>
</signal>
+ <signal name="PluginSettingsSynced"/>
<property name="Entries" type="ao" access="read"/>
<property name="HideMode" type="i" access="readwrite"/>
<property name="DisplayMode" type="i" access="readwrite"/>
@@ -75,4 +89,5 @@
<property name="FrontendWindowRect" type="(iiuu)" access="read">
<annotation name="org.qtproject.QtDBus.QtTypeName" value="DockRect"/>
</property>
-</interface>
\ No newline at end of file
+ <property name="Opacity" type="d" access="readwrite"/>
+</interface>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/dde-qt-dbus-factory-1.0.6/xml/org.kde.StatusNotifierItem.xml
new/dde-qt-dbus-factory-1.1.1/xml/org.kde.StatusNotifierItem.xml
--- old/dde-qt-dbus-factory-1.0.6/xml/org.kde.StatusNotifierItem.xml
1970-01-01 01:00:00.000000000 +0100
+++ new/dde-qt-dbus-factory-1.1.1/xml/org.kde.StatusNotifierItem.xml
2019-03-27 02:11:32.000000000 +0100
@@ -0,0 +1,61 @@
+<interface name="org.kde.StatusNotifierItem">
+ <property access="read" type="s" name="Category"/>
+ <property access="read" type="s" name="Id"/>
+ <property access="read" type="s" name="Title"/>
+ <property access="read" type="s" name="Status"/>
+ <property access="read" type="i" name="WindowId"/>
+ <!-- An additional path to add to the theme search path to find the icons
specified above. -->
+ <property access="read" type="s" name="IconThemePath"/>
+ <property access="read" type="o" name="Menu"/>
+ <property access="read" type="b" name="ItemIsMenu"/>
+ <!-- main icon -->
+ <!-- names are preferred over pixmaps -->
+ <property access="read" type="s" name="IconName"/>
+ <!--struct containing width, height and image data-->
+ <property access="read" type="a(iiay)" name="IconPixmap">
+ <annotation value="DBusImageList"
name="com.trolltech.QtDBus.QtTypeName"/>
+ </property>
+ <property access="read" type="s" name="OverlayIconName"/>
+ <property access="read" type="a(iiay)" name="OverlayIconPixmap">
+ <annotation value="DBusImageList"
name="com.trolltech.QtDBus.QtTypeName"/>
+ </property>
+ <!-- Requesting attention icon -->
+ <property access="read" type="s" name="AttentionIconName"/>
+ <!--same definition as image-->
+ <property access="read" type="a(iiay)" name="AttentionIconPixmap">
+ <annotation value="DBusImageList"
name="com.trolltech.QtDBus.QtTypeName"/>
+ </property>
+ <property access="read" type="s" name="AttentionMovieName"/>
+ <!-- tooltip data -->
+ <!--(iiay) is an image-->
+ <property access="read" type="(sa(iiay)ss)" name="ToolTip">
+ <annotation value="DBusToolTip"
name="com.trolltech.QtDBus.QtTypeName"/>
+ </property>
+ <!-- interaction: the systemtray wants the application to do something -->
+ <method name="ContextMenu">
+ <!-- we're passing the coordinates of the icon, so the app knows where
to put the popup window -->
+ <arg direction="in" type="i" name="x"/>
+ <arg direction="in" type="i" name="y"/>
+ </method>
+ <method name="Activate">
+ <arg direction="in" type="i" name="x"/>
+ <arg direction="in" type="i" name="y"/>
+ </method>
+ <method name="SecondaryActivate">
+ <arg direction="in" type="i" name="x"/>
+ <arg direction="in" type="i" name="y"/>
+ </method>
+ <method name="Scroll">
+ <arg direction="in" type="i" name="delta"/>
+ <arg direction="in" type="s" name="orientation"/>
+ </method>
+ <!-- Signals: the client wants to change something in the status-->
+ <signal name="NewTitle"/>
+ <signal name="NewIcon"/>
+ <signal name="NewAttentionIcon"/>
+ <signal name="NewOverlayIcon"/>
+ <signal name="NewToolTip"/>
+ <signal name="NewStatus">
+ <arg type="s" name="status"/>
+ </signal>
+</interface>