Skip to content

Commit 65662cb

Browse files
authored
0.16.0 (#900)
Merge develop into master.
1 parent e26c1e6 commit 65662cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1626
-81
lines changed

CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endif()
1313

1414
# Set version
1515
set(SDDM_VERSION_MAJOR 0)
16-
set(SDDM_VERSION_MINOR 15)
16+
set(SDDM_VERSION_MINOR 16)
1717
set(SDDM_VERSION_PATCH 0)
1818
set(SDDM_VERSION_STRING "${SDDM_VERSION_MAJOR}.${SDDM_VERSION_MINOR}.${SDDM_VERSION_PATCH}")
1919

@@ -82,6 +82,10 @@ if(ENABLE_PAM)
8282
endif()
8383
add_feature_info("PAM" PAM_FOUND "PAM support")
8484

85+
# getspnam and shadow(5) support
86+
include(CheckFunctionExists)
87+
check_function_exists(getspnam HAVE_GETSPNAM)
88+
8589
# XCB
8690
find_package(XCB REQUIRED)
8791

@@ -180,6 +184,8 @@ set(SESSION_COMMAND "${DATA_INSTALL_DIR}/scripts/Xsession"
180184
set(WAYLAND_SESSION_COMMAND "${DATA_INSTALL_DIR}/scripts/wayland-session" CACHE PATH "Script to execute when starting the Wayland desktop session")
181185

182186
set(CONFIG_FILE "${CMAKE_INSTALL_FULL_SYSCONFDIR}/sddm.conf" CACHE PATH "Path of the sddm config file")
187+
set(CONFIG_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/sddm.conf.d" CACHE PATH "Path of the sddm config directory")
188+
set(SYSTEM_CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/sddm/sddm.conf.d" CACHE PATH "Path of the system sddm config directory")
183189
set(LOG_FILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/sddm.log" CACHE PATH "Path of the sddm log file")
184190
set(DBUS_CONFIG_FILENAME "org.freedesktop.DisplayManager.conf" CACHE STRING "Name of the sddm config file")
185191
set(COMPONENTS_TRANSLATION_DIR "${DATA_INSTALL_DIR}/translations" CACHE PATH "Components translations directory")

ChangeLog

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,39 @@
44
- Bug fixes
55
* Others
66

7+
## 0.16.0 - 2017-10-04
8+
----------------------
9+
+ Support non-latin characters in theme settings.
10+
+ Support fish shell in Xsession and wayland-session.
11+
+ Unlock GNOME keyring at login.
12+
+ Configuration directory.
13+
- Make the default cursor themed.
14+
- Update date and time in elarun theme.
15+
- Fix theme metadata default values.
16+
- Fix session selection in elarun.
17+
- Do not truncate XAUTHORITY on login.
18+
- Make enabled property of Button functional.
19+
- Fix typos in documentation.
20+
* Re-use existing sessions.
21+
* Add ConsoleKit 2 support.
22+
* Stop assuming shadow(5) is always available.
23+
* Explicitely set XDG_SEAT when starting a user session.
24+
* Suppress errors when pam_elogind is not available.
25+
* Suppress errors when pam_systemd is not available.
26+
* Added possibility to change color of dropdown menu.
27+
* Add Hindi translation.
28+
* Completed Swedish translation.
29+
* Update French translation.
30+
731
## 0.15.0 - 2017-08-30
8-
- Fix display of avatars
9-
+ New sddm.conf option EnableHiDPI to allow opt out of auto scaling
10-
- Theme cursor
11-
+ Support optional kwallet PAM opening
12-
+ Autologin, try last successful login if not explicitly set
13-
+ Ignore session desktop files with hidden=true
14-
+ Support elogind
32+
----------------------
33+
- Fix display of avatars.
34+
+ New sddm.conf option EnableHiDPI to allow opt out of auto scaling.
35+
- Theme cursor.
36+
+ Support optional kwallet PAM opening.
37+
+ Autologin, try last successful login if not explicitly set.
38+
+ Ignore session desktop files with hidden=true.
39+
+ Support elogind.
1540

1641
## 0.14.0 - 2016-08-28
1742
----------------------

components/2.0/Button.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ Rectangle {
9999

100100
cursorShape: Qt.PointingHandCursor
101101

102-
hoverEnabled: true
102+
hoverEnabled: container.enabled
103+
enabled: container.enabled
103104

104105
acceptedButtons: Qt.LeftButton
105106

components/2.0/ComboBox.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ FocusScope {
3232
property color borderColor: "#ababab"
3333
property color focusColor: "#266294"
3434
property color hoverColor: "#5692c4"
35+
property color menuColor: "white"
3536
property color textColor: "black"
37+
3638
property font font
3739
property alias model: listView.model
3840
property int index: 0
@@ -148,6 +150,8 @@ FocusScope {
148150
anchors.top: container.bottom
149151
anchors.topMargin: -1
150152

153+
color: container.menuColor
154+
151155
clip: true
152156

153157
Behavior on height { NumberAnimation { duration: 100 } }
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
2+
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
3+
<node>
4+
<interface name="org.freedesktop.login1.Manager">
5+
<property name="NAutoVTs" type="u" access="read">
6+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
7+
</property>
8+
<property name="KillOnlyUsers" type="as" access="read">
9+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
10+
</property>
11+
<property name="KillExcludeUsers" type="as" access="read">
12+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
13+
</property>
14+
<property name="KillUserProcesses" type="b" access="read">
15+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
16+
</property>
17+
<property name="IdleHint" type="b" access="read">
18+
</property>
19+
<property name="IdleSinceHint" type="t" access="read">
20+
</property>
21+
<property name="IdleSinceHintMonotonic" type="t" access="read">
22+
</property>
23+
<property name="BlockInhibited" type="s" access="read">
24+
</property>
25+
<property name="DelayInhibited" type="s" access="read">
26+
</property>
27+
<property name="InhibitDelayMaxUSec" type="t" access="read">
28+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
29+
</property>
30+
<property name="HandlePowerKey" type="s" access="read">
31+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
32+
</property>
33+
<property name="HandleSuspendKey" type="s" access="read">
34+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
35+
</property>
36+
<property name="HandleHibernateKey" type="s" access="read">
37+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
38+
</property>
39+
<property name="HandleLidSwitch" type="s" access="read">
40+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
41+
</property>
42+
<property name="IdleAction" type="s" access="read">
43+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
44+
</property>
45+
<property name="IdleActionUSec" type="t" access="read">
46+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
47+
</property>
48+
<property name="PreparingForShutdown" type="b" access="read">
49+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
50+
</property>
51+
<property name="PreparingForSleep" type="b" access="read">
52+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
53+
</property>
54+
<method name="GetSession">
55+
<arg type="s" direction="in"/>
56+
<arg type="o" direction="out"/>
57+
</method>
58+
<method name="GetSessionByPID">
59+
<arg type="u" direction="in"/>
60+
<arg type="o" direction="out"/>
61+
</method>
62+
<method name="GetUser">
63+
<arg type="u" direction="in"/>
64+
<arg type="o" direction="out"/>
65+
</method>
66+
<method name="GetUserByPID">
67+
<arg type="u" direction="in"/>
68+
<arg type="o" direction="out"/>
69+
</method>
70+
<method name="GetSeat">
71+
<arg type="s" direction="in"/>
72+
<arg type="o" direction="out"/>
73+
</method>
74+
<method name="ListSessions">
75+
<arg type="a(susso)" direction="out"/>
76+
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="SessionInfoList"/>
77+
</method>
78+
<method name="ListUsers">
79+
<arg type="a(uso)" direction="out"/>
80+
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="UserInfoList"/>
81+
</method>
82+
<method name="ListSeats">
83+
<arg type="a(so)" direction="out"/>
84+
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="NamedSeatPathList"/>
85+
</method>
86+
<method name="ListInhibitors">
87+
<arg type="a(ssssuu)" direction="out"/>
88+
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="InhibitorList"/>
89+
</method>
90+
<method name="ReleaseSession">
91+
<arg type="s" direction="in"/>
92+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
93+
</method>
94+
<method name="ActivateSession">
95+
<arg type="s" direction="in"/>
96+
</method>
97+
<method name="ActivateSessionOnSeat">
98+
<arg type="s" direction="in"/>
99+
<arg type="s" direction="in"/>
100+
</method>
101+
<method name="LockSession">
102+
<arg type="s" direction="in"/>
103+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
104+
</method>
105+
<method name="UnlockSession">
106+
<arg type="s" direction="in"/>
107+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
108+
</method>
109+
<method name="LockSessions">
110+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
111+
</method>
112+
<method name="UnlockSessions">
113+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
114+
</method>
115+
<method name="KillSession">
116+
<arg type="s" direction="in"/>
117+
<arg type="s" direction="in"/>
118+
<arg type="i" direction="in"/>
119+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
120+
</method>
121+
<method name="KillUser">
122+
<arg type="u" direction="in"/>
123+
<arg type="i" direction="in"/>
124+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
125+
</method>
126+
<method name="TerminateSession">
127+
<arg type="s" direction="in"/>
128+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
129+
</method>
130+
<method name="TerminateUser">
131+
<arg type="u" direction="in"/>
132+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
133+
</method>
134+
<method name="TerminateSeat">
135+
<arg type="s" direction="in"/>
136+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
137+
</method>
138+
<method name="SetUserLinger">
139+
<arg type="u" direction="in"/>
140+
<arg type="b" direction="in"/>
141+
<arg type="b" direction="in"/>
142+
</method>
143+
<method name="AttachDevice">
144+
<arg type="s" direction="in"/>
145+
<arg type="s" direction="in"/>
146+
<arg type="b" direction="in"/>
147+
</method>
148+
<method name="FlushDevices">
149+
<arg type="b" direction="in"/>
150+
</method>
151+
<method name="PowerOff">
152+
<arg type="b" direction="in"/>
153+
</method>
154+
<method name="Reboot">
155+
<arg type="b" direction="in"/>
156+
</method>
157+
<method name="Suspend">
158+
<arg type="b" direction="in"/>
159+
</method>
160+
<method name="Hibernate">
161+
<arg type="b" direction="in"/>
162+
</method>
163+
<method name="HybridSleep">
164+
<arg type="b" direction="in"/>
165+
</method>
166+
<method name="CanPowerOff">
167+
<arg type="s" direction="out"/>
168+
</method>
169+
<method name="CanReboot">
170+
<arg type="s" direction="out"/>
171+
</method>
172+
<method name="CanSuspend">
173+
<arg type="s" direction="out"/>
174+
</method>
175+
<method name="CanHibernate">
176+
<arg type="s" direction="out"/>
177+
</method>
178+
<method name="CanHybridSleep">
179+
<arg type="s" direction="out"/>
180+
</method>
181+
<method name="Inhibit">
182+
<arg type="s" direction="in"/>
183+
<arg type="s" direction="in"/>
184+
<arg type="s" direction="in"/>
185+
<arg type="s" direction="in"/>
186+
<arg type="h" direction="out"/>
187+
</method>
188+
<signal name="SessionNew">
189+
<arg type="s"/>
190+
<arg type="o"/>
191+
</signal>
192+
<signal name="SessionRemoved">
193+
<arg type="s"/>
194+
<arg type="o"/>
195+
</signal>
196+
<signal name="UserNew">
197+
<arg type="u"/>
198+
<arg type="o"/>
199+
</signal>
200+
<signal name="UserRemoved">
201+
<arg type="u"/>
202+
<arg type="o"/>
203+
</signal>
204+
<signal name="SeatNew">
205+
<arg type="s"/>
206+
<arg type="o"/>
207+
</signal>
208+
<signal name="SeatRemoved">
209+
<arg type="s"/>
210+
<arg type="o"/>
211+
</signal>
212+
<signal name="PrepareForShutdown">
213+
<arg type="b"/>
214+
</signal>
215+
<signal name="PrepareForSleep">
216+
<arg type="b"/>
217+
</signal>
218+
</interface>
219+
</node>
220+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
2+
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
3+
<node>
4+
<interface name="org.freedesktop.login1.Seat">
5+
<property name="Id" type="s" access="read">
6+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
7+
</property>
8+
<property name="ActiveSession" type="(so)" access="read">
9+
<annotation name="org.qtproject.QtDBus.QtTypeName" value="NamedSessionPath"/>
10+
</property>
11+
<property name="CanMultiSession" type="b" access="read">
12+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
13+
</property>
14+
<property name="CanTTY" type="b" access="read">
15+
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
16+
</property>
17+
<property name="CanGraphical" type="b" access="read">
18+
</property>
19+
<property name="Sessions" type="a(so)" access="read">
20+
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QList<NamedSessionPath>"/>
21+
</property>
22+
<property name="IdleHint" type="b" access="read">
23+
</property>
24+
<property name="IdleSinceHint" type="t" access="read">
25+
</property>
26+
<property name="IdleSinceHintMonotonic" type="t" access="read">
27+
</property>
28+
<method name="Terminate">
29+
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
30+
</method>
31+
<method name="ActivateSession">
32+
<arg type="s" direction="in"/>
33+
</method>
34+
<method name="SwitchTo">
35+
<arg type="u" direction="in"/>
36+
</method>
37+
<method name="SwitchToNext">
38+
</method>
39+
<method name="SwitchToPrevious">
40+
</method>
41+
</interface>
42+
</node>
43+

0 commit comments

Comments
 (0)