Skip to content

Commit f6af965

Browse files
committed
editorconfig: Add config and correct indent
1 parent 6c7f744 commit f6af965

10 files changed

+147
-134
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 8
10+
11+
[Makefile.am]
12+
indent_style = tab

LICENSE

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
LICENSES
22

3-
The daemon itself is GPL3 licensed, for more information see the GPL
4-
file.
3+
The daemon itself is GPL3 licensed, for more information see the GPL
4+
file.
55

6-
The client library is BSD licensed, for more information see the
7-
headers of the appropriate files.
6+
The client library is BSD licensed, for more information see the
7+
headers of the appropriate files.
88

99
Lennart Poettering, 2009

org.freedesktop.RealtimeKit1.conf

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
<!DOCTYPE busconfig PUBLIC
2-
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3-
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
2+
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3+
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
44
<busconfig>
55

6-
<policy user="rtkit">
7-
<allow own="org.freedesktop.RealtimeKit1"/>
8-
</policy>
6+
<policy user="rtkit">
7+
<allow own="org.freedesktop.RealtimeKit1"/>
8+
</policy>
99

10-
<policy user="root">
11-
<allow own="org.freedesktop.RealtimeKit1"/>
12-
</policy>
10+
<policy user="root">
11+
<allow own="org.freedesktop.RealtimeKit1"/>
12+
</policy>
1313

14-
<policy context="default">
15-
<allow send_destination="org.freedesktop.RealtimeKit1"/>
16-
<allow receive_sender="org.freedesktop.RealtimeKit1"/>
14+
<policy context="default">
15+
<allow send_destination="org.freedesktop.RealtimeKit1"/>
16+
<allow receive_sender="org.freedesktop.RealtimeKit1"/>
1717

18-
<deny send_destination="org.freedesktop.RealtimeKit1"
19-
send_interface="org.freedesktop.RealtimeKit1" send_member="Exit"/>
20-
<deny send_destination="org.freedesktop.RealtimeKit1"
21-
send_interface="org.freedesktop.RealtimeKit1" send_member="ResetKnown"/>
22-
<deny send_destination="org.freedesktop.RealtimeKit1"
23-
send_interface="org.freedesktop.RealtimeKit1" send_member="ResetAll"/>
24-
</policy>
18+
<deny send_destination="org.freedesktop.RealtimeKit1"
19+
send_interface="org.freedesktop.RealtimeKit1" send_member="Exit"/>
20+
<deny send_destination="org.freedesktop.RealtimeKit1"
21+
send_interface="org.freedesktop.RealtimeKit1" send_member="ResetKnown"/>
22+
<deny send_destination="org.freedesktop.RealtimeKit1"
23+
send_interface="org.freedesktop.RealtimeKit1" send_member="ResetAll"/>
24+
</policy>
2525

26-
<policy user="root">
27-
<allow send_destination="org.freedesktop.RealtimeKit1"/>
28-
<allow receive_sender="org.freedesktop.RealtimeKit1"/>
29-
</policy>
26+
<policy user="root">
27+
<allow send_destination="org.freedesktop.RealtimeKit1"/>
28+
<allow receive_sender="org.freedesktop.RealtimeKit1"/>
29+
</policy>
3030

3131
</busconfig>

org.freedesktop.RealtimeKit1.policy

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE policyconfig PUBLIC
3-
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
4-
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
3+
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
4+
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
55
<policyconfig>
6-
<vendor>Lennart Poettering</vendor>
6+
<vendor>Lennart Poettering</vendor>
77

8-
<action id="org.freedesktop.RealtimeKit1.acquire-high-priority">
9-
<description>Grant high priority scheduling to a user process</description>
10-
<description xml:lang="tr">Bir sürece yüksek öncelikli çalışabilme yetkisi ver</description>
11-
<message>Authentication is required to grant an application high priority scheduling</message>
12-
<message xml:lang="tr">Sürecin yüksek öncelikli çalıştırılabilmesi için yetki gerekiyor</message>
13-
<defaults>
14-
<allow_any>no</allow_any>
15-
<allow_inactive>yes</allow_inactive>
16-
<allow_active>yes</allow_active>
17-
</defaults>
18-
</action>
8+
<action id="org.freedesktop.RealtimeKit1.acquire-high-priority">
9+
<description>Grant high priority scheduling to a user process</description>
10+
<description xml:lang="tr">Bir sürece yüksek öncelikli çalışabilme yetkisi ver</description>
11+
<message>Authentication is required to grant an application high priority scheduling</message>
12+
<message xml:lang="tr">Sürecin yüksek öncelikli çalıştırılabilmesi için yetki gerekiyor</message>
13+
<defaults>
14+
<allow_any>no</allow_any>
15+
<allow_inactive>yes</allow_inactive>
16+
<allow_active>yes</allow_active>
17+
</defaults>
18+
</action>
1919

20-
<action id="org.freedesktop.RealtimeKit1.acquire-real-time">
21-
<description>Grant realtime scheduling to a user process</description>
22-
<description xml:lang="tr">Bir sürece gerçek zamanlı çalışabilme yetkisi ver</description>
23-
<message>Authentication is required to grant an application realtime scheduling</message>
24-
<message xml:lang="tr">Sürecin gerçek zamanlı çalıştırılabilmesi için yetki gerekiyor</message>
25-
<defaults>
26-
<allow_any>no</allow_any>
27-
<allow_inactive>yes</allow_inactive>
28-
<allow_active>yes</allow_active>
29-
</defaults>
30-
</action>
20+
<action id="org.freedesktop.RealtimeKit1.acquire-real-time">
21+
<description>Grant realtime scheduling to a user process</description>
22+
<description xml:lang="tr">Bir sürece gerçek zamanlı çalışabilme yetkisi ver</description>
23+
<message>Authentication is required to grant an application realtime scheduling</message>
24+
<message xml:lang="tr">Sürecin gerçek zamanlı çalıştırılabilmesi için yetki gerekiyor</message>
25+
<defaults>
26+
<allow_any>no</allow_any>
27+
<allow_inactive>yes</allow_inactive>
28+
<allow_active>yes</allow_active>
29+
</defaults>
30+
</action>
3131

3232
</policyconfig>

org.freedesktop.RealtimeKit1.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
2-
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
1+
<!DOCTYPE node PUBLIC
2+
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
3+
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
34
<node>
45
<interface name="org.freedesktop.RealtimeKit1">
56
<method name="MakeThreadRealtime">

rtkit-daemon.c

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
/*-*- Mode: C; c-basic-offset: 8 -*-*/
22

33
/***
4-
This file is part of RealtimeKit.
4+
This file is part of RealtimeKit.
55
6-
Copyright 2009 Lennart Poettering
7-
Copyright 2010 Maarten Lankhorst
6+
Copyright 2009 Lennart Poettering
7+
Copyright 2010 Maarten Lankhorst
88
9-
RealtimeKit is free software: you can redistribute it and/or modify
10-
it under the terms of the GNU General Public License as published by
11-
the Free Software Foundation, either version 3 of the License, or
12-
(at your option) any later version.
9+
RealtimeKit is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
1313
14-
RealtimeKit is distributed in the hope that it will be useful, but
15-
WITHOUT ANY WARRANTY; without even the implied warranty of
16-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
General Public License for more details.
14+
RealtimeKit is distributed in the hope that it will be useful, but
15+
WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+
General Public License for more details.
1818
19-
You should have received a copy of the GNU General Public License
20-
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
19+
You should have received a copy of the GNU General Public License
20+
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
2121
***/
2222

2323
#ifdef HAVE_CONFIG_H

rtkit-test.c

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/*-*- Mode: C; c-basic-offset: 8 -*-*/
22

33
/***
4-
This file is part of RealtimeKit.
4+
This file is part of RealtimeKit.
55
6-
Copyright 2009 Lennart Poettering
6+
Copyright 2009 Lennart Poettering
77
8-
RealtimeKit is free software: you can redistribute it and/or modify
9-
it under the terms of the GNU General Public License as published by
10-
the Free Software Foundation, either version 3 of the License, or
11-
(at your option) any later version.
8+
RealtimeKit is free software: you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation, either version 3 of the License, or
11+
(at your option) any later version.
1212
13-
RealtimeKit is distributed in the hope that it will be useful, but
14-
WITHOUT ANY WARRANTY; without even the implied warranty of
15-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
General Public License for more details.
13+
RealtimeKit is distributed in the hope that it will be useful, but
14+
WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+
General Public License for more details.
1717
18-
You should have received a copy of the GNU General Public License
19-
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
18+
You should have received a copy of the GNU General Public License
19+
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
2020
***/
2121

2222
#include <errno.h>

rtkit.c

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
/*-*- Mode: C; c-basic-offset: 8 -*-*/
22

33
/***
4-
Copyright 2009 Lennart Poettering
5-
Copyright 2010 David Henningsson <[email protected]>
6-
7-
Permission is hereby granted, free of charge, to any person
8-
obtaining a copy of this software and associated documentation files
9-
(the "Software"), to deal in the Software without restriction,
10-
including without limitation the rights to use, copy, modify, merge,
11-
publish, distribute, sublicense, and/or sell copies of the Software,
12-
and to permit persons to whom the Software is furnished to do so,
13-
subject to the following conditions:
14-
15-
The above copyright notice and this permission notice shall be
16-
included in all copies or substantial portions of the Software.
17-
18-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
22-
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
23-
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25-
SOFTWARE.
4+
Copyright 2009 Lennart Poettering
5+
Copyright 2010 David Henningsson <[email protected]>
6+
7+
Permission is hereby granted, free of charge, to any person
8+
obtaining a copy of this software and associated documentation files
9+
(the "Software"), to deal in the Software without restriction,
10+
including without limitation the rights to use, copy, modify, merge,
11+
publish, distribute, sublicense, and/or sell copies of the Software,
12+
and to permit persons to whom the Software is furnished to do so,
13+
subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be
16+
included in all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
22+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
23+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25+
SOFTWARE.
2626
***/
2727

2828
#include <errno.h>

rtkit.h

+22-22
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@
44
#define foortkithfoo
55

66
/***
7-
Copyright 2009 Lennart Poettering
8-
Copyright 2010 David Henningsson <[email protected]>
9-
10-
Permission is hereby granted, free of charge, to any person
11-
obtaining a copy of this software and associated documentation files
12-
(the "Software"), to deal in the Software without restriction,
13-
including without limitation the rights to use, copy, modify, merge,
14-
publish, distribute, sublicense, and/or sell copies of the Software,
15-
and to permit persons to whom the Software is furnished to do so,
16-
subject to the following conditions:
17-
18-
The above copyright notice and this permission notice shall be
19-
included in all copies or substantial portions of the Software.
20-
21-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
25-
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
26-
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28-
SOFTWARE.
7+
Copyright 2009 Lennart Poettering
8+
Copyright 2010 David Henningsson <[email protected]>
9+
10+
Permission is hereby granted, free of charge, to any person
11+
obtaining a copy of this software and associated documentation files
12+
(the "Software"), to deal in the Software without restriction,
13+
including without limitation the rights to use, copy, modify, merge,
14+
publish, distribute, sublicense, and/or sell copies of the Software,
15+
and to permit persons to whom the Software is furnished to do so,
16+
subject to the following conditions:
17+
18+
The above copyright notice and this permission notice shall be
19+
included in all copies or substantial portions of the Software.
20+
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
25+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
26+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28+
SOFTWARE.
2929
***/
3030

3131
#include <sys/types.h>

rtkitctl.c

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/*-*- Mode: C; c-basic-offset: 8 -*-*/
22

33
/***
4-
This file is part of RealtimeKit.
4+
This file is part of RealtimeKit.
55
6-
Copyright 2009 Lennart Poettering
6+
Copyright 2009 Lennart Poettering
77
8-
RealtimeKit is free software: you can redistribute it and/or modify
9-
it under the terms of the GNU General Public License as published by
10-
the Free Software Foundation, either version 3 of the License, or
11-
(at your option) any later version.
8+
RealtimeKit is free software: you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation, either version 3 of the License, or
11+
(at your option) any later version.
1212
13-
RealtimeKit is distributed in the hope that it will be useful, but
14-
WITHOUT ANY WARRANTY; without even the implied warranty of
15-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
General Public License for more details.
13+
RealtimeKit is distributed in the hope that it will be useful, but
14+
WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+
General Public License for more details.
1717
18-
You should have received a copy of the GNU General Public License
19-
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
18+
You should have received a copy of the GNU General Public License
19+
along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
2020
***/
2121

2222
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)