pangdudu-ruby-dbus 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +110 -0
- data/config/remote.session.dbus.conf +39 -0
- data/config/start_dbus_session.sh +2 -0
- data/lib/dbus.rb +6 -4
- data/lib/dbus/auth.rb +23 -8
- data/lib/dbus/bus.rb +35 -30
- data/lib/dbus/introspect.rb +2 -2
- data/test/simple_socket_test.rb +27 -0
- metadata +25 -34
- data/ChangeLog +0 -782
- data/NEWS +0 -31
- data/README +0 -54
- data/examples/gdbus/gdbus +0 -255
- data/examples/gdbus/gdbus.glade +0 -184
- data/examples/gdbus/launch.sh +0 -4
- data/examples/no-introspect/nm-test.rb +0 -21
- data/examples/no-introspect/tracker-test.rb +0 -16
- data/examples/rhythmbox/playpause.rb +0 -25
- data/examples/service/call_service.rb +0 -25
- data/examples/service/service_newapi.rb +0 -51
- data/examples/simple/call_introspect.rb +0 -34
- data/examples/utils/listnames.rb +0 -11
- data/examples/utils/notify.rb +0 -19
- data/lib/dbus/connection.rb +0 -468
data/lib/dbus/introspect.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# dbus/introspection.rb - module containing a low-level D-Bus introspection implementation
|
1
|
+
p# dbus/introspection.rb - module containing a low-level D-Bus introspection implementation
|
2
2
|
#
|
3
3
|
# This file is part of the ruby-dbus project
|
4
4
|
# Copyright (C) 2007 Arnaud Cornet and Paul van Tilburg
|
@@ -237,7 +237,7 @@ module DBus
|
|
237
237
|
end
|
238
238
|
d = Time.now - t
|
239
239
|
if d > 2
|
240
|
-
|
240
|
+
wlog "Some XML took more that two secs to parse. Optimize me! (Hpricot?)"
|
241
241
|
end
|
242
242
|
[ret, subnodes]
|
243
243
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rofl'
|
5
|
+
require 'dbus'
|
6
|
+
|
7
|
+
=begin
|
8
|
+
puts "NOW LISTING SYSTEM BUS:\n"
|
9
|
+
|
10
|
+
#show services on system bus
|
11
|
+
sysbus = DBus::SystemBus.instance
|
12
|
+
puts "\tsystem bus - listnames:"
|
13
|
+
sysbus.proxy.ListNames[0].each { |name| puts "\t\tservice: #{name}" } unless sysbus.nil?
|
14
|
+
=end
|
15
|
+
#test sockets
|
16
|
+
|
17
|
+
puts "NOW LISTING SESSION BUS:\n"
|
18
|
+
|
19
|
+
#show services on a tcp session bus
|
20
|
+
#socket_name = "unix:path=/tmp/socket_test_session_bus_socket" #look at: config/remote.session.dbus.conf
|
21
|
+
#socket_name = "tcp:host=0.0.0.0,port=2687,family=ipv4" #look at: config/remote.session.dbus.conf
|
22
|
+
socket_name = "tcp:host=10.11.12.13,port=2687,family=ipv4" #look at: config/remote.session.dbus.conf
|
23
|
+
dlog "\tsession socket name: #{socket_name}"
|
24
|
+
DBus.const_set("SessionSocketName", socket_name) #overwrite the modules constant
|
25
|
+
sesbus = DBus::SessionBus.instance
|
26
|
+
dlog "\tsession bus - listnames:"
|
27
|
+
sesbus.proxy.ListNames[0].each { |name| dlog "\t\tservice: #{name}" } unless sesbus.nil?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pangdudu-ruby-dbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruby DBUS Team, pangdudu
|
@@ -9,39 +9,31 @@ autorequire: dbus
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-27 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: pangdudu-rofl
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description: Ruby module for interaction with dbus, panda dev fork.
|
26
|
+
email: pangdudu@github
|
18
27
|
executables: []
|
19
28
|
|
20
29
|
extensions: []
|
21
30
|
|
22
31
|
extra_rdoc_files:
|
23
|
-
-
|
32
|
+
- README.rdoc
|
24
33
|
- COPYING
|
25
|
-
- README
|
26
|
-
- NEWS
|
27
34
|
files:
|
28
|
-
-
|
29
|
-
-
|
30
|
-
- examples/service
|
31
|
-
- examples/service/call_service.rb
|
32
|
-
- examples/service/service_newapi.rb
|
33
|
-
- examples/gdbus
|
34
|
-
- examples/gdbus/gdbus.glade
|
35
|
-
- examples/gdbus/gdbus
|
36
|
-
- examples/gdbus/launch.sh
|
37
|
-
- examples/no-introspect
|
38
|
-
- examples/no-introspect/nm-test.rb
|
39
|
-
- examples/no-introspect/tracker-test.rb
|
40
|
-
- examples/rhythmbox
|
41
|
-
- examples/rhythmbox/playpause.rb
|
42
|
-
- examples/utils
|
43
|
-
- examples/utils/listnames.rb
|
44
|
-
- examples/utils/notify.rb
|
35
|
+
- COPYING
|
36
|
+
- README.rdoc
|
45
37
|
- lib/dbus
|
46
38
|
- lib/dbus/message.rb
|
47
39
|
- lib/dbus/auth.rb
|
@@ -51,14 +43,13 @@ files:
|
|
51
43
|
- lib/dbus/introspect.rb
|
52
44
|
- lib/dbus/matchrule.rb
|
53
45
|
- lib/dbus/bus.rb
|
54
|
-
- lib/dbus/connection.rb
|
55
46
|
- lib/dbus.rb
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
- NEWS
|
47
|
+
- config/remote.session.dbus.conf
|
48
|
+
- config/start_dbus_session.sh
|
49
|
+
- test/simple_socket_test.rb
|
60
50
|
has_rdoc: true
|
61
|
-
homepage: http://
|
51
|
+
homepage: http://github.com/pangdudu/ruby-dbus/tree/master
|
52
|
+
licenses:
|
62
53
|
post_install_message:
|
63
54
|
rdoc_options: []
|
64
55
|
|
@@ -79,9 +70,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
70
|
requirements: []
|
80
71
|
|
81
72
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.
|
73
|
+
rubygems_version: 1.3.5
|
83
74
|
signing_key:
|
84
75
|
specification_version: 2
|
85
|
-
summary: Ruby module for interaction with dbus
|
76
|
+
summary: Ruby module for interaction with dbus.
|
86
77
|
test_files: []
|
87
78
|
|
data/ChangeLog
DELETED
@@ -1,782 +0,0 @@
|
|
1
|
-
2007-12-28 09:37 paul
|
2
|
-
|
3
|
-
* ChangeLog, NEWS: Another NEWS and ChangeLog for the 0.2.1
|
4
|
-
release.
|
5
|
-
|
6
|
-
2007-12-27 22:26 acornet
|
7
|
-
|
8
|
-
* examples/gdbus/gdbus: gdbus: Don't fail on error.
|
9
|
-
|
10
|
-
2007-12-27 21:57 acornet
|
11
|
-
|
12
|
-
* examples/service/call_service.rb,
|
13
|
-
examples/service/service_newapi.rb: Variant usage example.
|
14
|
-
|
15
|
-
2007-12-27 21:57 acornet
|
16
|
-
|
17
|
-
* lib/dbus/introspect.rb, lib/dbus/marshall.rb,
|
18
|
-
lib/dbus/message.rb, lib/dbus/type.rb: Working VARIANT
|
19
|
-
marshalling (closes: #10).
|
20
|
-
|
21
|
-
2007-12-27 20:51 acornet
|
22
|
-
|
23
|
-
* lib/dbus/marshall.rb: Totally untested VARIANT marshalling code
|
24
|
-
|
25
|
-
2007-12-27 20:11 paul
|
26
|
-
|
27
|
-
* ChangeLog, NEWS: Prepare for the 0.2.1 release; updated the NEWS
|
28
|
-
and ChangeLog files.
|
29
|
-
|
30
|
-
2007-12-27 20:00 paul
|
31
|
-
|
32
|
-
* examples/gdbus/launch.sh, lib/dbus/matchrule.rb,
|
33
|
-
lib/dbus/message.rb: Make sure instance variables are
|
34
|
-
initialized. This surpresses the reported warnings (closes #6).
|
35
|
-
|
36
|
-
2007-12-27 19:50 acornet
|
37
|
-
|
38
|
-
* lib/dbus/marshall.rb: Complete double support.
|
39
|
-
|
40
|
-
2007-12-27 19:47 acornet
|
41
|
-
|
42
|
-
* lib/dbus/marshall.rb: Double marshalling support. Thanks to
|
43
|
-
patricksissons@gmail.com (closes: #8).
|
44
|
-
|
45
|
-
2007-12-27 19:43 paul
|
46
|
-
|
47
|
-
* lib/dbus/bus.rb, lib/dbus/introspect.rb: Only print stuff if is
|
48
|
-
set (closes: #3).
|
49
|
-
|
50
|
-
2007-12-27 19:28 acornet
|
51
|
-
|
52
|
-
* lib/dbus/bus.rb, lib/dbus/introspect.rb: Pass errors to receiving
|
53
|
-
classes.
|
54
|
-
|
55
|
-
2007-12-16 21:34 acornet
|
56
|
-
|
57
|
-
* lib/dbus/marshall.rb, lib/dbus/message.rb: Drake Wilson's fix for
|
58
|
-
a bug as old as ruby-dbus.
|
59
|
-
|
60
|
-
2007-12-16 21:30 acornet
|
61
|
-
|
62
|
-
* lib/dbus/marshall.rb: Merge Drake Wilson's excellent dict type
|
63
|
-
support.
|
64
|
-
|
65
|
-
2007-11-19 22:43 acornet
|
66
|
-
|
67
|
-
* examples/gdbus/gdbus: drop old commented-out code.
|
68
|
-
|
69
|
-
2007-11-17 16:40 acornet
|
70
|
-
|
71
|
-
* examples/gdbus/gdbus, lib/dbus/bus.rb, lib/dbus/message.rb: Raise
|
72
|
-
exception when marshalling a message to
|
73
|
-
/org/freedesktop/DBus/Local (new in spec). Thanks to sjoerd for
|
74
|
-
this one.
|
75
|
-
|
76
|
-
2007-11-11 12:39 acornet
|
77
|
-
|
78
|
-
* lib/dbus/marshall.rb: Don't forget to commit the fix.
|
79
|
-
|
80
|
-
2007-11-11 05:17 acornet
|
81
|
-
|
82
|
-
* lib/dbus/marshall.rb: Blank character cosmetics.
|
83
|
-
|
84
|
-
2007-09-22 21:31 acornet
|
85
|
-
|
86
|
-
* examples/gdbus/gdbus, examples/no-introspect/tracker-test.rb: Add
|
87
|
-
tracker example.
|
88
|
-
|
89
|
-
2007-09-22 21:28 acornet
|
90
|
-
|
91
|
-
* lib/dbus/bus.rb, lib/dbus/introspect.rb, lib/dbus/message.rb: Fix
|
92
|
-
converting DBUS error to ruby Exception on synchronous calls.
|
93
|
-
|
94
|
-
2007-09-22 20:46 acornet
|
95
|
-
|
96
|
-
* doc/tutorial/src/20.basic_client.page: Fix example in tutorial.
|
97
|
-
|
98
|
-
2007-07-30 08:18 paul
|
99
|
-
|
100
|
-
* lib/dbus/marshall.rb: Fixed unknown variable use in the struct
|
101
|
-
part of the packet marshaller.
|
102
|
-
|
103
|
-
2007-07-21 11:58 acornet
|
104
|
-
|
105
|
-
* examples/no-introspect, examples/no-introspect/nm-test.rb: Add
|
106
|
-
example without introspection.
|
107
|
-
|
108
|
-
2007-07-02 19:21 paul
|
109
|
-
|
110
|
-
* NEWS: Prepare for 0.2.0 release.
|
111
|
-
|
112
|
-
2007-06-17 09:42 acornet
|
113
|
-
|
114
|
-
* lib/dbus/introspect.rb: Trivial doc fixes.
|
115
|
-
|
116
|
-
2007-06-17 09:38 acornet
|
117
|
-
|
118
|
-
* lib/dbus/introspect.rb: Trivial doc fixes.
|
119
|
-
|
120
|
-
2007-06-17 09:36 acornet
|
121
|
-
|
122
|
-
* lib/dbus/bus.rb: Trivial doc fixes.
|
123
|
-
|
124
|
-
2007-06-15 16:34 paul
|
125
|
-
|
126
|
-
* lib/dbus.rb, lib/dbus/auth.rb, lib/dbus/bus.rb,
|
127
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb,
|
128
|
-
lib/dbus/matchrule.rb, lib/dbus/type.rb: Added documentation for
|
129
|
-
many classes, modules and methods.
|
130
|
-
|
131
|
-
2007-05-30 18:41 paul
|
132
|
-
|
133
|
-
* NEWS, lib/dbus.rb: Prepare the 0.2.0 release.
|
134
|
-
|
135
|
-
2007-05-26 11:43 acornet
|
136
|
-
|
137
|
-
* lib/dbus/introspect.rb, lib/dbus/marshall.rb,
|
138
|
-
lib/dbus/matchrule.rb: Parse INT64. Lose a check in on_signal.
|
139
|
-
|
140
|
-
2007-05-26 11:37 acornet
|
141
|
-
|
142
|
-
* examples/gdbus/gdbus: Small error prevention fix.
|
143
|
-
|
144
|
-
2007-05-21 08:26 paul
|
145
|
-
|
146
|
-
* examples/rhythmbox/playpause.rb,
|
147
|
-
examples/service/call_service.rb,
|
148
|
-
examples/service/service_newapi.rb,
|
149
|
-
examples/simple/call_introspect.rb, examples/utils/notify.rb:
|
150
|
-
Synchronise the syntax in the examples a bit. Small misc fixes.
|
151
|
-
|
152
|
-
2007-05-21 08:17 paul
|
153
|
-
|
154
|
-
* ChangeLog, NEWS: Merged old ChangeLog into NEWS; new ChangeLog
|
155
|
-
now generated by svn2cl.
|
156
|
-
|
157
|
-
2007-05-19 15:42 acornet
|
158
|
-
|
159
|
-
* examples/gdbus/gdbus: Add a warning in gdbus header.
|
160
|
-
|
161
|
-
2007-05-19 10:04 acornet
|
162
|
-
|
163
|
-
* lib/dbus/marshall.rb: Allow to add two byte integer in packet.
|
164
|
-
|
165
|
-
2007-05-19 09:53 acornet
|
166
|
-
|
167
|
-
* lib/dbus/marshall.rb: Implement integer type parser. Fix typo.
|
168
|
-
|
169
|
-
2007-05-12 19:51 paul
|
170
|
-
|
171
|
-
* NEWS, README: Preparing the 0.1.2 releases: added release to the
|
172
|
-
NEWS file and updated the README.
|
173
|
-
|
174
|
-
2007-05-12 19:41 paul
|
175
|
-
|
176
|
-
* doc/tutorial/src/20.basic_client.page,
|
177
|
-
doc/tutorial/src/30.service.page: Tutorial fixes based on review
|
178
|
-
comments:
|
179
|
-
* Added a note about the manual introspection requirement.
|
180
|
-
* Added a remark that explains that when a service name is
|
181
|
-
requested,
|
182
|
-
which is denied, an exception is thrown.
|
183
|
-
|
184
|
-
2007-05-12 09:32 acornet
|
185
|
-
|
186
|
-
* doc/tutorial/src/20.basic_client.page: Word the ListNames method
|
187
|
-
correctly.
|
188
|
-
|
189
|
-
2007-05-10 22:08 acornet
|
190
|
-
|
191
|
-
* doc/tutorial/src/20.basic_client.page: Fix doc mistake.
|
192
|
-
|
193
|
-
2007-05-09 21:46 paul
|
194
|
-
|
195
|
-
* doc/tutorial/src/10.intro.page,
|
196
|
-
doc/tutorial/src/20.basic_client.page: Applied tutorial fixes
|
197
|
-
supplied by Bram. Thanks!
|
198
|
-
|
199
|
-
2007-05-06 18:57 paul
|
200
|
-
|
201
|
-
* README: Fixed typo in the README.
|
202
|
-
|
203
|
-
2007-05-06 18:07 paul
|
204
|
-
|
205
|
-
* doc/tutorial/src/00.index.page, doc/tutorial/src/10.intro.page,
|
206
|
-
doc/tutorial/src/default.css, doc/tutorial/src/index.page: Small
|
207
|
-
CSS style tweaks and renamed index.page to 00.index.page to
|
208
|
-
follow the filename convention of the others.
|
209
|
-
|
210
|
-
2007-05-06 16:45 paul
|
211
|
-
|
212
|
-
* doc/tutorial/src/10.intro.page,
|
213
|
-
doc/tutorial/src/20.basic_client.page,
|
214
|
-
doc/tutorial/src/30.service.page: Reviewed the tutorial and
|
215
|
-
reworked some parts.
|
216
|
-
|
217
|
-
2007-05-05 21:27 paul
|
218
|
-
|
219
|
-
* doc/tutorial/src/10.intro.page,
|
220
|
-
doc/tutorial/src/20.basic_client.page,
|
221
|
-
doc/tutorial/src/30.service.page, doc/tutorial/src/default.css,
|
222
|
-
doc/tutorial/src/default.template, doc/tutorial/src/index.page:
|
223
|
-
Pimped the tutorial:
|
224
|
-
* Added a new palette to the CSS.
|
225
|
-
* Add "Ruby D-Bus tutorial" to the title.
|
226
|
-
* Restructured the pages: added section navigation and more
|
227
|
-
sections.
|
228
|
-
* Added some textile style stuff to things such as object names,
|
229
|
-
object
|
230
|
-
paths and service names.
|
231
|
-
* More consistent spelling for: Ruby, D-Bus, buses
|
232
|
-
* General spellcheck!
|
233
|
-
* Misc fixes.
|
234
|
-
|
235
|
-
2007-05-05 21:00 acornet
|
236
|
-
|
237
|
-
* doc/tutorial/src/10.intro.page,
|
238
|
-
doc/tutorial/src/20.basic_client.page,
|
239
|
-
doc/tutorial/src/30.service.page: Look! I now have super aspell
|
240
|
-
powers!
|
241
|
-
|
242
|
-
2007-04-25 21:42 paul
|
243
|
-
|
244
|
-
* doc/tutorial/src/default.template: Mention the license in the
|
245
|
-
tutorial footer.
|
246
|
-
|
247
|
-
2007-04-25 21:32 paul
|
248
|
-
|
249
|
-
* NEWS: Added NEWS file. Should correspond to trac's milestones.
|
250
|
-
|
251
|
-
2007-04-25 21:29 acornet
|
252
|
-
|
253
|
-
* COPYING, lib/dbus.rb, lib/dbus/auth.rb, lib/dbus/bus.rb,
|
254
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb, lib/dbus/marshall.rb,
|
255
|
-
lib/dbus/matchrule.rb, lib/dbus/message.rb, lib/dbus/type.rb:
|
256
|
-
Switch license to LGPL.
|
257
|
-
|
258
|
-
2007-04-25 21:09 paul
|
259
|
-
|
260
|
-
* doc/tutorial/src/10.intro.page,
|
261
|
-
doc/tutorial/src/20.basic_client.page,
|
262
|
-
doc/tutorial/src/30.service.page, doc/tutorial/src/default.css,
|
263
|
-
doc/tutorial/src/default.template, doc/tutorial/src/index.page:
|
264
|
-
Tutorial style tweaks: template changes, imported old CSS, fixed
|
265
|
-
some titles and the directoryName.
|
266
|
-
|
267
|
-
2007-04-25 20:44 acornet
|
268
|
-
|
269
|
-
* doc/tutorial/src/30.service.page: Small tutorial refactoring.
|
270
|
-
|
271
|
-
2007-04-25 20:41 paul
|
272
|
-
|
273
|
-
* README: Added feature list.
|
274
|
-
|
275
|
-
2007-04-25 20:36 acornet
|
276
|
-
|
277
|
-
* doc/tutorial/src/30.service.page: Fix code rendering in tutorial.
|
278
|
-
|
279
|
-
2007-04-23 17:53 acornet
|
280
|
-
|
281
|
-
* ChangeLog, lib/dbus/bus.rb: Fix stupid hardcoded string, bug
|
282
|
-
found by Rudi Cilibrasi.
|
283
|
-
|
284
|
-
2007-04-17 16:15 acornet
|
285
|
-
|
286
|
-
* ChangeLog: Here, have a changelog.
|
287
|
-
|
288
|
-
2007-04-17 16:13 acornet
|
289
|
-
|
290
|
-
* lib/dbus.rb, lib/dbus/auth.rb, lib/dbus/bus.rb,
|
291
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb, lib/dbus/marshall.rb,
|
292
|
-
lib/dbus/matchrule.rb, lib/dbus/message.rb, lib/dbus/type.rb: Add
|
293
|
-
proper licensing terms.
|
294
|
-
|
295
|
-
2007-04-14 08:03 acornet
|
296
|
-
|
297
|
-
* examples/service, examples/simple/service: Move service example
|
298
|
-
around.
|
299
|
-
|
300
|
-
2007-04-14 08:02 acornet
|
301
|
-
|
302
|
-
* examples/gdbus/gdbus, examples/rhythmbox/playpause.rb,
|
303
|
-
examples/service, examples/simple/call_introspect.rb,
|
304
|
-
examples/simple/service/service_newapi.rb,
|
305
|
-
examples/utils/listnames.rb, examples/utils/notify.rb,
|
306
|
-
lib/dbus/bus.rb, lib/dbus/introspect.rb, lib/dbus/matchrule.rb,
|
307
|
-
tests: Move more examples to newer api. Tutorial update.
|
308
|
-
|
309
|
-
2007-04-12 18:16 acornet
|
310
|
-
|
311
|
-
* doc/tutorial/src/10.intro.page,
|
312
|
-
doc/tutorial/src/20.basic_client.page,
|
313
|
-
doc/tutorial/src/30.service.page: Tutorial fixes.
|
314
|
-
|
315
|
-
2007-04-11 17:44 acornet
|
316
|
-
|
317
|
-
* doc/tutorial/src/10.intro.page, doc/tutorial/src/10_intro.page,
|
318
|
-
doc/tutorial/src/20.basic_client.page,
|
319
|
-
doc/tutorial/src/20_basic_client.page,
|
320
|
-
doc/tutorial/src/30.service.page,
|
321
|
-
doc/tutorial/src/30_service.page: Fix names for correct order in
|
322
|
-
menu.
|
323
|
-
|
324
|
-
2007-04-11 17:43 acornet
|
325
|
-
|
326
|
-
* doc/tutorial/00_intro, doc/tutorial/10_basic_client,
|
327
|
-
doc/tutorial/20_service, doc/tutorial/src,
|
328
|
-
doc/tutorial/src/10_intro.page,
|
329
|
-
doc/tutorial/src/20_basic_client.page,
|
330
|
-
doc/tutorial/src/30_service.page, doc/tutorial/src/default.css,
|
331
|
-
doc/tutorial/src/default.template, doc/tutorial/src/index.page:
|
332
|
-
More tutorial.
|
333
|
-
|
334
|
-
2007-04-10 17:59 acornet
|
335
|
-
|
336
|
-
* doc/tutorial/10_basic_client, doc/tutorial/20_service,
|
337
|
-
doc/tutorial/30_annoying_client, doc/tutorial/70_signatures,
|
338
|
-
examples/simple/service/call_service.rb,
|
339
|
-
examples/simple/service/service_newapi.rb, lib/dbus/bus.rb,
|
340
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb: More tutorial and a
|
341
|
-
main loop.
|
342
|
-
|
343
|
-
2007-04-06 16:58 acornet
|
344
|
-
|
345
|
-
* BRAINSTORM, doc/tutorial/10_basic_client,
|
346
|
-
examples/simple/call_introspect.rb, lib/dbus/bus.rb,
|
347
|
-
lib/dbus/introspect.rb, lib/dbus/message.rb: More tutorial error
|
348
|
-
management and fixes
|
349
|
-
|
350
|
-
2007-04-05 17:42 acornet
|
351
|
-
|
352
|
-
* doc, doc/tutorial, doc/tutorial/00_intro,
|
353
|
-
doc/tutorial/10_basic_client, doc/tutorial/20_service,
|
354
|
-
doc/tutorial/30_annoying_client, doc/tutorial/70_signatures:
|
355
|
-
Start of a tutorial
|
356
|
-
|
357
|
-
2007-04-04 18:57 acornet
|
358
|
-
|
359
|
-
* lib/dbus.rb, lib/dbus/auth.rb, lib/dbus/bus.rb: Authenticator !
|
360
|
-
|
361
|
-
2007-04-03 18:08 acornet
|
362
|
-
|
363
|
-
* examples/gdbus/gdbus, examples/utils/notify.rb, lib/dbus/bus.rb:
|
364
|
-
Fixes
|
365
|
-
|
366
|
-
2007-04-02 18:28 acornet
|
367
|
-
|
368
|
-
* examples/gdbus/gdbus, examples/simple/call_introspect.rb,
|
369
|
-
examples/simple/service/call_service.rb,
|
370
|
-
examples/simple/service/service_newapi.rb, lib/dbus/bus.rb,
|
371
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb: Pack things up with
|
372
|
-
new API.
|
373
|
-
|
374
|
-
2007-03-31 10:50 acornet
|
375
|
-
|
376
|
-
* examples/service/service.rb, examples/simple/service,
|
377
|
-
examples/simple/service.rb,
|
378
|
-
examples/simple/service/call_service.rb,
|
379
|
-
examples/simple/service/service_newapi.rb, lib/dbus.rb,
|
380
|
-
lib/dbus/bus.rb, lib/dbus/export.rb, lib/dbus/introspect.rb:
|
381
|
-
Implement extremely sexy object definition interface.
|
382
|
-
See examples/simple/service/*
|
383
|
-
|
384
|
-
2007-03-29 17:02 acornet
|
385
|
-
|
386
|
-
* examples/simple, examples/simple/call_introspect.rb,
|
387
|
-
examples/simple/service.rb, lib/dbus.rb, lib/dbus/bus.rb,
|
388
|
-
lib/dbus/export.rb, lib/dbus/introspect.rb, lib/dbus/message.rb:
|
389
|
-
Now that's a sexy api
|
390
|
-
|
391
|
-
2007-03-28 18:24 acornet
|
392
|
-
|
393
|
-
* examples/gdbus/gdbus, examples/rhythmbox,
|
394
|
-
examples/rhythmbox/playpause.rb, lib/dbus/bus.rb,
|
395
|
-
lib/dbus/matchrule.rb: Signals work client side.
|
396
|
-
|
397
|
-
2007-03-28 17:42 acornet
|
398
|
-
|
399
|
-
* examples/gdbus/gdbus, lib/dbus/bus.rb, lib/dbus/introspect.rb,
|
400
|
-
lib/dbus/matchrule.rb, lib/dbus/message.rb: Some cleanups and
|
401
|
-
more signal code
|
402
|
-
|
403
|
-
2007-03-27 18:34 acornet
|
404
|
-
|
405
|
-
* examples/gdbus/gdbus, examples/service/call.rb,
|
406
|
-
examples/service/call_intro.rb,
|
407
|
-
examples/service/call_intro_async.rb,
|
408
|
-
examples/service/service.rb, examples/utils/notify.rb,
|
409
|
-
lib/dbus.rb, lib/dbus/bus.rb, lib/dbus/introspect.rb,
|
410
|
-
lib/dbus/marshall.rb, lib/dbus/matchrule.rb, lib/dbus/message.rb:
|
411
|
-
Fairly complete introspection support.
|
412
|
-
Some signal management. Add funny notify example.
|
413
|
-
Add matchrule object
|
414
|
-
|
415
|
-
2007-03-26 22:18 acornet
|
416
|
-
|
417
|
-
* examples/service/service.rb, lib/dbus/bus.rb,
|
418
|
-
lib/dbus/introspect.rb, lib/dbus/message.rb: Now you can register
|
419
|
-
a service. Service can be introspected. One last word: YAY.
|
420
|
-
|
421
|
-
2007-03-26 18:27 acornet
|
422
|
-
|
423
|
-
* examples/service/call.rb, examples/service/service.rb,
|
424
|
-
lib/dbus/bus.rb, lib/dbus/introspect.rb: Some more cleanups.
|
425
|
-
getting closer to have a service running
|
426
|
-
|
427
|
-
2007-03-26 18:01 acornet
|
428
|
-
|
429
|
-
* examples/service/service.rb, lib/dbus.rb, lib/dbus/bus.rb:
|
430
|
-
Cosmetic fixes.
|
431
|
-
|
432
|
-
2007-03-26 17:55 acornet
|
433
|
-
|
434
|
-
* lib/dbus.rb, lib/dbus/bus.rb, lib/dbus/introspect.rb,
|
435
|
-
lib/dbus/marshall.rb, lib/dbus/message.rb, lib/dbus/type.rb:
|
436
|
-
Answer paul's questions. Implement his resquests. Split things
|
437
|
-
up.
|
438
|
-
|
439
|
-
2007-03-25 00:40 paul
|
440
|
-
|
441
|
-
* lib/dbus.rb: Small style and typo fixes.
|
442
|
-
|
443
|
-
2007-03-25 00:34 paul
|
444
|
-
|
445
|
-
* lib/dbus.rb, lib/dbus/introspect.rb, lib/dbus/type.rb: Added
|
446
|
-
documentation (mainly to dbus.rb).
|
447
|
-
|
448
|
-
2007-03-24 22:45 acornet
|
449
|
-
|
450
|
-
* lib/dbus.rb: move exception at top of fil
|
451
|
-
|
452
|
-
2007-03-24 14:07 acornet
|
453
|
-
|
454
|
-
* examples/service, examples/service/service.rb, lib/dbus.rb,
|
455
|
-
lib/dbus/introspect.rb: Some work to allow service creation.
|
456
|
-
Nothing that actually works yet.
|
457
|
-
|
458
|
-
2007-03-24 10:11 acornet
|
459
|
-
|
460
|
-
* lib/dbus.rb, lib/dbus/introspect.rb: Look! I just learned the
|
461
|
-
kind_of? method!
|
462
|
-
|
463
|
-
2007-03-23 18:09 acornet
|
464
|
-
|
465
|
-
* lib/dbus/introspect.rb: Quick parsing fix.
|
466
|
-
|
467
|
-
2007-03-23 18:07 acornet
|
468
|
-
|
469
|
-
* BRAINSTORM, lib/dbus/introspect.rb: Start some object exporting
|
470
|
-
work.
|
471
|
-
|
472
|
-
2007-03-22 23:30 acornet
|
473
|
-
|
474
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade, lib/dbus.rb,
|
475
|
-
lib/dbus/introspect.rb, lib/dbus/type.rb: Preliminary ability do
|
476
|
-
call methods with arguments in gdbus.
|
477
|
-
Better alignment management.
|
478
|
-
Missing check in array unmarshalling.
|
479
|
-
|
480
|
-
2007-03-21 22:14 acornet
|
481
|
-
|
482
|
-
* lib/dbus.rb, tests/rhythmboxplaypause.rb: param type handling
|
483
|
-
fixed. Make rhythmboxplaypause work again.
|
484
|
-
|
485
|
-
2007-03-21 21:42 acornet
|
486
|
-
|
487
|
-
* lib/dbus.rb, tests/rhythmboxplaypause.rb: Small fix in send_sync.
|
488
|
-
|
489
|
-
2007-03-21 20:16 acornet
|
490
|
-
|
491
|
-
* examples/gdbus/gdbus: Slightly more responsive through a
|
492
|
-
idle_add_priority. Still not satisfying
|
493
|
-
|
494
|
-
2007-03-21 19:53 acornet
|
495
|
-
|
496
|
-
* lib/dbus.rb: Blah, renaming methods...
|
497
|
-
|
498
|
-
2007-03-21 19:53 acornet
|
499
|
-
|
500
|
-
* examples/gdbus/gdbus, lib/dbus.rb: Be more flexible when
|
501
|
-
extracting messages from the wire.
|
502
|
-
|
503
|
-
2007-03-21 15:21 acornet
|
504
|
-
|
505
|
-
* examples/gdbus/gdbus, lib/dbus.rb: Bugfix in msg parsing and
|
506
|
-
polling.
|
507
|
-
|
508
|
-
Attempt at making gdbus more responsive on init.
|
509
|
-
|
510
|
-
2007-03-20 16:12 acornet
|
511
|
-
|
512
|
-
* BRAINSTORM: Add some ideas in a plain text file.
|
513
|
-
|
514
|
-
2007-03-19 23:31 acornet
|
515
|
-
|
516
|
-
* examples/gdbus/gdbus, lib/dbus.rb: I think I spotted the problem
|
517
|
-
that makes gdbus UI not responsive. I have no solution though.
|
518
|
-
|
519
|
-
When there is a lot of dbus messages that stackup, the
|
520
|
-
while msg = bus.poll_message
|
521
|
-
is a loop that does not return. Hence we don't go back to the
|
522
|
-
glib main loop
|
523
|
-
while there are still buffer on the stack.
|
524
|
-
|
525
|
-
2007-03-19 21:51 paul
|
526
|
-
|
527
|
-
* examples/gdbus/gdbus, tests/rhythmboxplaypause.rb: * Fixed a
|
528
|
-
small typo.
|
529
|
-
* Keep the GIO channels in an instance variable otherwise it will
|
530
|
-
be GC'ed while using it (fixes #2, courtesy of Sjoerd Simons).
|
531
|
-
|
532
|
-
2007-03-19 19:08 acornet
|
533
|
-
|
534
|
-
* examples/gdbus/gdbus, lib/dbus.rb, lib/dbus/introspect.rb: And
|
535
|
-
commit the API breakage.
|
536
|
-
|
537
|
-
2007-03-19 19:02 acornet
|
538
|
-
|
539
|
-
* examples/utils, examples/utils/listnames.rb: A listnames with a
|
540
|
-
sexy api.
|
541
|
-
|
542
|
-
2007-03-19 18:43 acornet
|
543
|
-
|
544
|
-
* examples/gdbus/gdbus, lib/dbus/introspect.rb: More beautiful
|
545
|
-
method defs in gdbus
|
546
|
-
|
547
|
-
2007-03-18 21:22 acornet
|
548
|
-
|
549
|
-
* examples/gdbus/gdbus: Sort the tree a bit.
|
550
|
-
|
551
|
-
2007-03-18 21:15 acornet
|
552
|
-
|
553
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade, lib/dbus.rb,
|
554
|
-
lib/dbus/introspect.rb: More gdbus hacking and api fixes.
|
555
|
-
Fix connect with bigendian architecture support
|
556
|
-
|
557
|
-
2007-03-18 13:34 acornet
|
558
|
-
|
559
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade,
|
560
|
-
examples/gdbus/gdbus.glade.old, lib/dbus.rb,
|
561
|
-
lib/dbus/introspect.rb: Some API polishing.
|
562
|
-
gDBus is now officially sexy.
|
563
|
-
|
564
|
-
2007-03-18 00:17 acornet
|
565
|
-
|
566
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade,
|
567
|
-
examples/gdbus/gdbus.glade.old: Simplify GDbus. Don't make
|
568
|
-
everything too complex at once.
|
569
|
-
|
570
|
-
2007-03-18 00:13 acornet
|
571
|
-
|
572
|
-
* examples/gdbus/gdbus, lib/dbus.rb, lib/dbus/introspect.rb: Mess
|
573
|
-
things up a bit :p
|
574
|
-
|
575
|
-
2007-03-17 15:46 acornet
|
576
|
-
|
577
|
-
* examples/gdbus/gdbus, lib/dbus.rb, lib/dbus/introspect.rb:
|
578
|
-
Introspector fixes.
|
579
|
-
|
580
|
-
2007-03-17 14:51 acornet
|
581
|
-
|
582
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade: Add window
|
583
|
-
delete handler.
|
584
|
-
|
585
|
-
2007-03-17 14:40 acornet
|
586
|
-
|
587
|
-
* examples/gdbus/gdbus, examples/gdbus/gdbus.glade, lib/dbus.rb,
|
588
|
-
lib/dbus/introspect.rb: Some api fixes
|
589
|
-
|
590
|
-
2007-03-17 10:20 acornet
|
591
|
-
|
592
|
-
* examples/gdbus, examples/gdbus/gdbus, examples/gdbus/gdbus.glade,
|
593
|
-
examples/gdbus/launch.sh, lib/dbus.rb, tests/gdbus: Finally, Glib
|
594
|
-
IOChannels are easy to cope with. Start a real life example.
|
595
|
-
|
596
|
-
2007-03-17 09:16 acornet
|
597
|
-
|
598
|
-
* lib/dbus/introspect.rb: Add xml validation checks.
|
599
|
-
|
600
|
-
2007-03-17 09:08 acornet
|
601
|
-
|
602
|
-
* lib/dbus.rb, tests/gdbus: Method rename.
|
603
|
-
|
604
|
-
2007-03-17 09:05 acornet
|
605
|
-
|
606
|
-
* contrib, lib/dbus.rb: Use Kristoffer Lundén's hack instead of the
|
607
|
-
ruby interpreter patch, until the interpreter is fixed.
|
608
|
-
|
609
|
-
2007-03-15 18:31 acornet
|
610
|
-
|
611
|
-
* lib/dbus.rb, lib/dbus/introspect.rb, tests/gdbus: Synchronous
|
612
|
-
calls.
|
613
|
-
Use XML and a proxy object for org.freedesktop.DBus methods.
|
614
|
-
Implement lame dbus stuff viewer.
|
615
|
-
XML parser fixes.
|
616
|
-
|
617
|
-
2007-03-14 20:47 acornet
|
618
|
-
|
619
|
-
* lib/dbus.rb, lib/dbus/type.rb, tests/listnames.rb: More types.
|
620
|
-
Few fixes.
|
621
|
-
|
622
|
-
2007-03-13 18:49 acornet
|
623
|
-
|
624
|
-
* lib/dbus.rb, lib/dbus/introspect.rb, lib/dbus/type.rb,
|
625
|
-
tests/intro.rb, tests/listnames.rb: Lots of stuff:
|
626
|
-
A ProxyObjectFactory that creates proxy object from XML
|
627
|
-
definitions.
|
628
|
-
A signature genrerator (Type#to_s).
|
629
|
-
Marshaller support for arrays and structs.
|
630
|
-
|
631
|
-
2007-03-12 19:17 acornet
|
632
|
-
|
633
|
-
* lib/dbus.rb, lib/dbus/introspect.rb, tests/intro.rb: Add a basic,
|
634
|
-
REXML based Introspect data parser.
|
635
|
-
|
636
|
-
2007-03-12 18:39 acornet
|
637
|
-
|
638
|
-
* lib/dbus.rb, tests/listnames.rb: on_return implementation.
|
639
|
-
|
640
|
-
2007-03-11 21:17 acornet
|
641
|
-
|
642
|
-
* lib/dbus.rb, tests/listnames.rb: Fix some alignments. Add
|
643
|
-
listname.rb example.
|
644
|
-
|
645
|
-
2007-03-11 14:45 acornet
|
646
|
-
|
647
|
-
* lib/dbus.rb, tests/rhythmboxplaypause.rb, tests/unmarshall.rb:
|
648
|
-
Packet size computation fixes.
|
649
|
-
|
650
|
-
This also comes with another example that actually talks to a
|
651
|
-
dbus-application.
|
652
|
-
It asks rhythmbox to play.
|
653
|
-
|
654
|
-
2007-03-10 19:47 paul
|
655
|
-
|
656
|
-
* lib/dbus/type.rb: Fixed typo.
|
657
|
-
|
658
|
-
2007-03-08 11:38 paul
|
659
|
-
|
660
|
-
* README: Fixed the README because it mention 'bindings'.
|
661
|
-
|
662
|
-
2007-03-07 20:53 acornet
|
663
|
-
|
664
|
-
* lib/dbus.rb, tests/connection.rb, tests/ping.rb,
|
665
|
-
tests/sendsignal.rb: Add message poller.
|
666
|
-
|
667
|
-
2007-03-06 19:09 acornet
|
668
|
-
|
669
|
-
* lib/dbus.rb, tests/connection.rb: Alignment and other fixes.
|
670
|
-
|
671
|
-
2007-03-05 18:37 acornet
|
672
|
-
|
673
|
-
* lib/dbus.rb, tests/conn3.rb, tests/connection.rb: Dirty
|
674
|
-
request_name implementation.
|
675
|
-
|
676
|
-
2007-03-04 11:07 acornet
|
677
|
-
|
678
|
-
* contrib, contrib/903_abstract_unix_socket.patch, contrib/README:
|
679
|
-
Add the (hopefully) temporary hack to connect to dbus from ruby.
|
680
|
-
|
681
|
-
2007-03-04 10:19 acornet
|
682
|
-
|
683
|
-
* lib/dbus.rb, tests/unmarshall.rb: Message::unmarshall
|
684
|
-
implemented.
|
685
|
-
|
686
|
-
2007-03-03 23:00 acornet
|
687
|
-
|
688
|
-
* lib/dbus.rb, tests/conn2.rb, tests/conn3.rb: Basic message
|
689
|
-
creation.
|
690
|
-
|
691
|
-
2007-03-02 18:27 acornet
|
692
|
-
|
693
|
-
* lib/dbus, lib/dbus.rb, lib/dbus/type.rb, tests/connection.rb,
|
694
|
-
tests/unmarshall.rb: Some basic stuff:
|
695
|
-
- Signature parsing
|
696
|
-
- Packet unmarshalling
|
697
|
-
- A braindead connection routine without auth
|
698
|
-
|
699
|
-
2007-03-02 13:02 paul
|
700
|
-
|
701
|
-
* README, ext, tests/test000.rb: Removed dbusglue stuff from trunk.
|
702
|
-
|
703
|
-
2007-02-23 10:44 acornet
|
704
|
-
|
705
|
-
* tests/test000.rb: Fix test.
|
706
|
-
|
707
|
-
2007-02-23 10:41 acornet
|
708
|
-
|
709
|
-
* ext/dbus/dbusglue.c: Should be working if it builds.
|
710
|
-
|
711
|
-
2007-02-22 23:28 acornet
|
712
|
-
|
713
|
-
* ext/dbus/bus.c, ext/dbus/dbusglue.c, ext/dbus/message.c,
|
714
|
-
tests/test000.rb: More stuff, I need to implement
|
715
|
-
bus.request_name to get a signal working.
|
716
|
-
|
717
|
-
2007-02-22 19:06 acornet
|
718
|
-
|
719
|
-
* ext/dbus/bus.c, ext/dbus/dbusglue.c, tests/test000.rb: More
|
720
|
-
functions.
|
721
|
-
|
722
|
-
2007-02-22 18:56 acornet
|
723
|
-
|
724
|
-
* ext/dbus/bus.c, ext/dbus/dbusglue.c: Make module names sexier.
|
725
|
-
|
726
|
-
2007-02-22 16:09 acornet
|
727
|
-
|
728
|
-
* ext/dbus/bus.c: bus.c new file for bus methods.
|
729
|
-
|
730
|
-
2007-02-22 15:28 paul
|
731
|
-
|
732
|
-
* ext/dbus/dbus-glue.c, ext/dbus/dbusglue.c, ext/dbus/extconf.rb:
|
733
|
-
Fixed the source filename (dash not allowed).
|
734
|
-
|
735
|
-
2007-02-22 15:25 acornet
|
736
|
-
|
737
|
-
* ext/dbus/dbus-glue.c: Add some static keywords.
|
738
|
-
|
739
|
-
2007-02-22 15:23 acornet
|
740
|
-
|
741
|
-
* ext/dbus/dbus-glue.c: New messages constructor for signals,
|
742
|
-
method return and errors.
|
743
|
-
|
744
|
-
2007-02-22 15:15 paul
|
745
|
-
|
746
|
-
* ext/dbus/dbus-glue.c: Fixed some errors to fix building:
|
747
|
-
* Corrected message types const names.
|
748
|
-
* Removed unused variables.
|
749
|
-
|
750
|
-
2007-02-22 14:59 acornet
|
751
|
-
|
752
|
-
* ext/dbus/dbus-glue.c: More basic stuff. DBusMessage constructor.
|
753
|
-
|
754
|
-
2007-02-22 14:49 paul
|
755
|
-
|
756
|
-
* COPYING, README: Added README and COPYING files.
|
757
|
-
|
758
|
-
2007-02-22 14:38 paul
|
759
|
-
|
760
|
-
* ext/dbus, ext/dbusglue: Renamed the ext directory.
|
761
|
-
|
762
|
-
2007-02-22 14:37 paul
|
763
|
-
|
764
|
-
* ext/dbusglue, ext/dbusglue/dbus-glue.c, ext/dbusglue/extconf.rb,
|
765
|
-
ext/dbusglue/pkg-config.rb: Added some preliminary code and some
|
766
|
-
build stuff.
|
767
|
-
|
768
|
-
2007-02-22 13:22 paul
|
769
|
-
|
770
|
-
* ruby-dbus: Remove redundant directory.
|
771
|
-
|
772
|
-
2007-02-22 13:21 paul
|
773
|
-
|
774
|
-
* examples, ext, lib, ruby-dbus/examples, ruby-dbus/src,
|
775
|
-
ruby-dbus/tests, setup.rb, tests: Restructure to fit
|
776
|
-
setup.rb-compatible setup.
|
777
|
-
|
778
|
-
2007-02-22 13:17 paul
|
779
|
-
|
780
|
-
* tags, ., ruby-dbus, ruby-dbus/examples, ruby-dbus/src,
|
781
|
-
ruby-dbus/tests: Created initial structure in Subversion.
|
782
|
-
|