1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
|
Revision history for perl module Net::DBus
1.2.0 2019-12-16
- Avoid memory leak with timeouts in reactor
- Disable XML entity expansion in introspection XML docs
- Don't include GIT repo in dist
- Remove obsolete XML::Grove dep from spec
- Fix GIT repo location
- Fix misc typos in POD
- Make reactor robust to time going backwards
- Add GIT repo & bug tracker to Makefile.PL
- Fix basepath when enumerating subnodes
- Fix child paths in introspection XML to be relative
- Support passing UNIX file descriptors
- Fix encoding of properties via GetAll method
- Add return & param names for standard interface introspection
- Use org.freedesktop.DBus.Error.UnknownMethod error code
- Fix reactor add_exception method
- Enable exporting objects on the root node
- Fix introspection decode with zero parameters
- Validate parameters for standard methods
- Validate object interface against declared method
- Don't include MYMETA.* files in dist
- Fix passing nomainloop parameter to constructor
- Fix variant type in mock iterator
1.1.0 2015-03-16
- Support customizable timeouts on method calls
- Fix invocation of properties
- Fix example in object export tutorial
- Introduce a new Net::DBus:ProxyObject providing an alternative
approach for exporting objects
- Cache objects when casting to interfaces
- Treat NoReply as fatal when introspecting
- Add UNIX file descriptor passing
- Fix misc mistakes in POD docs
- Fix error when when requesting bus names
- Fix encoding of dict & variant types
- Fix decoding of signatures with nested arrays
- Update README to point to gitlab.com instead of gitorious.org
- Fix handling of select() return value
- Fix toggling of timeouts in reactor
- Add 'strict_exceptions' annotation
- Document missing constructor parameters.
1.0.0 2011-06-30
- Updated to require minimum dbus >= 1.0.0
- Automatically track change in ownership of bus names
for signal handlers
- Strict validation of method invocation against introspection
data on exported objects
- Improved error messages for invalid interfaces
- Add API for disconnecting an object from a signal
- Implement GetAll methods on properties interface
- Allow leading _ in interface names
- Other minor fixes
0.33.6 2008-02-20
- Fix introspection XML handling when exporting objects with child
objects
- Improve output of Net::DBus::Dumper
- Add support for providing parameter & return value names in
introspection XML
- Fixes to marshalling of variants
- Fix handling of compound data types within object properties
- Remove non-portable makefile rules
- Fix ref counting bugs in error path.
0.33.5 2007-07-18
- Added support for getting private bus connections for apps which
don't want to deal with a shared bus
- Fix test case to use a private connection
- On Perl builds where integers are 32-bits, the DBus 64 bit integer
types will be serialized to/from the Perl String type instead of
calling 'die'.
- Fix signature when marshalling dicts on newer DBus builds
- Fix calling of disconnect wrt to newer DBus semantics
- Make introspection much more tolerant of missing information
about methods/properties/signals.
- Fix use of magic values & added tests
- Export the Net::DBus::Dumper methods correctly.
0.33.4 2006-11-04
- Fixed service owner used for org.freedesktop.DBus object
to make signal handling on the bus work again
- Pass return value for signal handling callbacks all the
way back to DBus
- Fix multiple problems with marshalling of variant data
types
- Replace use of dbus_connection_disconnect with _close
when compiling against dbus >= 0.90
- Call dbus_connection_unref in the DESTROY method of
connection object
- Fix reference counting in connection & pending call
objects
- Added example of galago desktop notifications
- Fix test suite errors
- Added missing import statement
- Throw Net::DBus::Error if an async call fails
0.33.3 2006-07-05
- Fixed parsing of introspection data if there are processing
instructions, or other non-data nodes before the root element.
- Replace use of XML::Grove with XML::Twig when parsing the
introspection XML documents, since the former has not had any
updates / bug fixes since 1999(!), and several people have
reported problems using it on Perl 5.8.x
- Made all Perl scripts / modules / tests use 'strict' and
'warnings' pragmas
- Turn Net::DBus::Error into fully fledged object which services
can sub-class to allow explicit error handling by clients.
- In _dispatch method of Net::DBus::Object ensure that any
instances of Net::DBus::Error thrown by the method call
are explicitly serialized into DBus errors, rather than
a generic 'org.freedesktop.DBus.Failed'.
- Change re-distribution license from GPL, to GPL / Perl Artistic,
matching the terms of Perl itself.
- Add support for registering a callback on Net::DBus::ASyncReply
objects to allow notification of completion for asynchronous
method calls
0.33.2 2006-06-03
- Fixed handling of variants in introspection data
- Added binding for the DBusPendingCall C object
- Added some missing RPM dependancies on XML libs, and on minimum
required dbus version
- Added support for doing asynchronous method calls, and fire-and-
forgot calls for methods whose return status is not desired. Use
the constants in Net::DBus::Annotation module to indicate desired
call mode. Default is to do synchronous blocking calls.
- Added support for the 16-bit integer, signature and object path
data types
- Made introspection of root objects compliant with upsteam spec,
by calling introspect on the root object, "/", rather than a
Perl specific magic object path.
0.33.1 2006-02-03
- Constructor for Net::DBus::Object allows another Net::DBus::Object
to be passed instead of the Net::DBus::Service, to create child
objects specifying only a relative path.
- Updated minimum required DBus version to be 0.33 to gain access
to the unregister_object_path API
- Add a disconnect() method to Net::DBus::Object to make it possible
to unregister object from the bus & thus make it possible to destroy
objects which are no longer required / relevant.
- Unregister all child objects if we are unregistered ourselves
- Fix numerous POD errors identified by Test::Pod and podchecker
- Increase POD documentation to get 100% coverage of all APIs,
verified by Test::Pod::Coverage
0.32.3 2005-12-05
- Introspection data is used only as hint, so if an object
exports many methods, but only provides partial introspection
data, remote calls fallback to regular typing rules
- Re-add dbus_XXX convenience methods to Net::DBus to allow
clients to do explicit type casting. Must be requested at
export time, using 'Net::DBus qw(:typing)'.
- Update all example programs to run against session bus,
since there are no security rules to enable them to work
on system bus.
- Print out warning upon use, if a method, signal, or property
is annotated with the 'org.freedesktop.DBus.Deprecated' flag.
- Do not wait for a method reply if the method is annotated
with the 'org.freedesktop.DBus.Method.NoReply' flag.
- Extend Net::DBus::Exporter to enable methods, signals, and
properties to be annotated.
- Add support for 'org.freedesktop.DBus.Method.NoReply' and
'org.freedesktop.DBus.Deprecated' annotations when exporting
objects
- Add a pure in-memory bus implementation for facilitating
creation of unit tests which would otherwise require making
a connection to a 'live' message bus. Can be accessed via:
Net::DBus->test
- Add an *EXPERIMENTAL* mock object to faciltate creation of
unit tests which need to communicate with other objects on
the bus. See Net::DBus::Test::MockObject for further info.
0.32.2 2005-10-23
- Fix unit tests broken in previous build
- Added patch to avoid leaking memory when throwing dbus
errors from the XS layer
- Added support for org.freedesktop.DBus.Properties
in exported & remote objects.
- Added support for getting the unique name of the client's
connection to the bus
- Added support for getting the unique name of the client
owning a service on the bus
- RemoteService object constructor gains an extra parameter
for the owner of the service at the time it was aquired to
deal with issues where a service is replaced.
- Cache RemoteService objects to avoid creating multiple
instances for the same service name.
- Fix caching of objects by the service to avoid caching
objects cast to a specific interface
- Make add_signal_receiver method on Net::DBus private
- Use introspection data for hinting only, not absolute truth
since Python bindings don't provide complete data.
- Adding correct handling for (de)marshalling variant data
type to fix interaction with python bindings
- Added magic 'caller' and 'serial' data types for requesting
that data about method caller be passed into a method
- Lots more POD documentation
- Added 'lshal.pl' demo script for listing HAL devices
- Made example scripts interoperate correctly with example
scripts from Python & GLib bindings
0.32.1 2005-09-29
- The order of 'service_name' and 'bus' parameter to the
Net::DBus::Service constructor is reversed to match
that of Net::DBus::RemoteService
- The order of 'service' and 'object_path' parameter to the
Net::DBus::Object constructor is reversed to match
that of Net::DBus::RemoteObject
- No longer neccessary to construct an explicit Net::DBus::Service
object - one is constructed & returned by the 'export_service'
method on Net::DBus
- The 'find' method on Net::DBus will search for & attach to
a suitable bus, so no longer neccessary to hard code either
system or session bus
- Introspection data is no longer provided via the
Net::DBus::Object constructor. Consult the manual pages
for Net::DBus::OBject and Net::DBus::Exporter for details
of new approach to defining introspection data.
- The Net::DBus::Introspector class is no longer for public
use.
- The Net::DBus::Dumper class can be used to display a dump
of an object's exported API cf examples/dump-object.pl
- Signal handler callbacks now get the actual signal params
passed in, rather than low level bind info
- The Net::DBus objects are automatically registered with
the default reactor mainloop, unless 'nomainloop => 1'
is passed into constructor
|