17
0
Commit Graph

35 Commits

Author SHA256 Message Date
c35a3e5c19 - 0.20.0
Features:
 * For EXTERNAL authentication, try also without the user id, to work with
   containers (gh#mvidner/ruby-dbus#126).
 * Thread safety, as long as the non-main threads only send signals.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=60
2023-03-21 15:52:15 +00:00
a69d2ae68d - 0.19.0
API:
 * Added a ObjectManager mix-in to implement the service-side
   ObjectManager interface.

 Bug fixes:
 * dbus_attr_accessor and friends validate the signature
 * (gh#mvidner/ruby-dbus#120).
 * Declare the Introspectable interface in exported
 * objects (gh#mvidner/ruby-dbus#99).
 * Do reply with an error when calling a nonexisting object
   with an existing path prefix (gh#mvidner/ruby-dbus#121).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=58
2023-01-18 13:35:36 +00:00
6523850587 - 0.18.1
Most important change since 0.17.0:
 * Introduced DBus::Data classes, use them in Properties.Get,
   Properties.GetAll to return correct types as declared
   (gh#mvidner/ruby-dbus#97).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=56
2022-07-13 06:20:48 +00:00
3cf0b2c17e - 0.18.0.beta8
Bug fixes:
 * Introduced Object#dbus_properties_changed to send correctly typed property
   values (gh#mvidner/ruby-dbus#115). Avoid calling PropertiesChanged directly
   as it will guess the types.
 * Fix Object.dbus_reader to work with attr_accessor and automatically produce
   dbus_properties_changed for properties that are read-write at
   implementation side and read-only at D-Bus side (gh#mvidner/ruby-dbus#96)
 API:
 * Service side `emits_changed_signal` to control emission of
   PropertiesChanged: can be assigned within `dbus_interface` or as an option
   when declaring properties (gh#mvidner/ruby-dbus#117).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=54
2022-06-21 10:05:46 +00:00
0d91a645bf - 0.18.0.beta7
API:
 * DBus.variant(type, value) is deprecated in favor of
   Data::Variant.new(value, member_type:)

 Bug fixes:
 * Client-side properties: When calling Properties.Set in
   ProxyObjectInterface#[]=, use the correct type (gh#mvidner/ruby-dbus#108).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=52
2022-05-29 08:49:53 +00:00
ca0cbdde98 - 0.18.0.beta6
API:
 * Data::Base#value returns plain Ruby types;
   Data::Container#exact_value contains Data::Base (gh#mvidner/ruby-dbus#114).
 * Data::Base#initialize and .from_typed allow plain or exact values, validate
   argument types.
 * Implement #== (converting) and #eql? (strict) for Data::Base and DBus::Type.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=50
2022-05-25 13:30:21 +00:00
88fc84c1a6 - 0.18.0.beta5
API
 * DBus::Type instances are frozen.
 * Data::Container classes (Array, Struct, DictEntry, but not Variant)
   constructors (#initialize, .from_items, .from_typed) changed to have
   a *type* argument instead of *member_type* or *member_types*.
 * Added type factories
   * Type::Array[type]
   * Type::Hash[key_type, value_type]
   * Type::Struct[type1, type2...]

 Bug fixes:
 * Properties containing Variants would return them doubly wrapped
   (gh#mvidner/ruby-dbus#111).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=48
2022-04-27 08:49:45 +00:00
96df8440f6 - 0.18.0.beta4
Bug fixes:
 * Service-side properties: Fix Properties.Get, Properties.GetAll
   for properties that contain arrays, on other than outermost
   level (gh#mvidner/ruby-dbus#109).
 * Sending variants: fixed make_variant to correctly guess the
   signature for UInt64 and number-keyed hashes/dictionaries.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=46
2022-04-21 11:45:41 +00:00
ef9c48f88c - 0.18.0.beta3
Bug fixes:
 * Service-side properties: Fix Properties.Get, Properties.GetAll
   for Array, Dict, and Variant types (gh#mvidner/ruby-dbus#105).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=44
2022-04-10 17:58:40 +00:00
83c22b2dba - 0.18.0.beta2
API:
 * Renamed the DBus::Type::Type class to DBus::Type
   (which was previously a module).
 * Introduced DBus::Data classes, use them in Properties.Get,
   Properties.GetAll to return correct types as declared (still
   gh#mvidner/ruby-dbus#97).

 Bug fixes:
 * Signature validation: Ensure DBus.type produces a valid Type
 * Detect more malformed messages: non-NUL padding bytes, variants with
   multiple or no value.
 * Added thorough tests (spec/data/marshall.yaml) to detect nearly all
   invalid data at unmarshalling time.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=42
2022-04-04 10:09:53 +00:00
0942f4e2cf - 0.18.0.beta1
API:
 * D-Bus structs have been passed as Ruby arrays. Now these arrays
   are frozen.
 * Ruby structs can be used as D-Bus structs.
 Bug fixes:
 * Returning the value for o.fd.DBus.Properties.Get, use the
   specific property signature, not the generic Variant
   (gh#mvidner/ruby-dbus#97).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=39
2022-02-24 10:28:34 +00:00
bc948f6cee - 0.17.0
API:
 * Export properties with `dbus_attr_accessor`, `dbus_reader` etc.
   (gh#mvidner/ruby-dbus#86).
 Bug fixes:
 * Depend on rexml which is separate since Ruby 3.0
   (gh#mvidner/ruby-dbus#87, by Toshiaki Asai).
   Nokogiri is faster but bigger so it remains optional.
 * Fix connection in case ~/.dbus-keyrings has multiple cookies, showing
   as "Oops: undefined method `zero?' for nil:NilClass".
 * Add the missing name to the root introspection node.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=38
2022-02-11 19:19:39 +00:00
7a88edaa3c Tue Oct 15 19:08:27 UTC 2019 - Martin Vidner <mvidner@suse.com>
- 0.16.0
 API:
 * An invalid service name or an invalid object path will raise
   instead of being sent to the bus. The bus would then drop the
   connection, producing EOFError here (gh#mvidner/ruby-dbus#80).

- 0.15.0
 API:
 * Accessing an unknown interface will raise instead of
   returning nil (gh#mvidner/ruby-dbus#74).
 Bug fixes:
 * Fixed a conflict with activesupport 5.2 (gh#mvidner/ruby-dbus#71)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=35
2019-10-15 19:58:28 +00:00
Stephan Kulow
f4f39eb8de Accepting request 602598 from home:factory-auto:branches:devel:languages:ruby:extensions
update

OBS-URL: https://build.opensuse.org/request/show/602598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=33
2018-05-01 22:40:08 +00:00
07d302e293 - 0.14.1
Bug fixes:
 * Allow registering signal handlers while a signal is being handled
   (gh#mvidner/ruby-dbus#70, Jan Biniok).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=32
2018-01-05 15:07:48 +00:00
0484313ee5 - 0.14.0
Bug fixes:
 * Sending 16-bit signed integers ("n") did not work at all
   (gh#mvidner/ruby-dbus#68).

 Requirements:
 * Stopped supporting ruby 2.0.0, because of Nokogiri.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=30
2017-10-13 12:52:14 +00:00
086447553b - 0.13.0
Bug fixes:
 * It is no longer required to explicitly call ProxyObject#introspect,
   it will be done automatically once (gh#mvidner/ruby-dbus#28).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=29
2016-09-21 21:06:47 +00:00
9bcdf147fa - 0.12.0
API:
 * Added proxy objects whose methods return single values instead of arrays
   (use Service#[] instead of Service#object; Issue#30).

 Requirements:
 * Require ruby 2.0.0, stopped supporting 1.9.3.

- 0.11.2:
 Bug fixes:
 * Fixed reading a quoted session bus address, as written by dbus-1.10.10
   (Yasuhiro Asaka)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=27
2016-09-12 20:01:05 +00:00
ea7f0bfa00 - 0.11.1
Bug fixes:
 * Fix default path finding on FreeBSD (Greg)
 * Service#unexport fixed to really return the unexported object

 Requirements:
 * made tests compatible with RSpec 3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=25
2016-05-12 19:54:51 +00:00
Stephan Kulow
82ca999a28 - adapt to new rubygem packaging
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=19
2014-10-16 08:39:01 +00:00
ccd01b0d05 - 0.11.0
API:
 * Connection: split off MessageQueue, marked other methods as private.

 Requirements:
 * converted tests to RSpec, rather mechanically for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=18
2014-02-17 22:12:58 +00:00
fd12f97439 - 0.10.0
Bug fixes:
 * fixed "Interfaces added with singleton_class.instance_eval aren't
   exported" (Issue#22, by miaoufkirsh)

 Requirements:
 * Require ruby 1.9.3, stopped supporting 1.8.7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=16
2014-01-10 10:34:24 +00:00
c15617c179 - 0.9.3
Bug fixes:
 * re-added COPYING, NEWS, README.md to the gem (Issue#47,
   by Cédric Boutillier)

 Packaging:
 * use packaging_rake_tasks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=13
2014-01-02 17:10:41 +00:00
292f46e576 - 0.9.2
Features:
 * Ruby strings can be passed where byte arrays ("ay") are expected 
   (Issue#40, by Jesper B. Rosenkilde)
 Bug fixes:
 * Fixed accessing ModemManager properties (Issue#41, reported
   by Ernest Bursa). MM introspection produces two elements
   for a single interface; merge them.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=12
2013-05-08 15:57:30 +00:00
250228f515 - fixed build: unspecify port and address family
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=11
2013-04-29 21:39:26 +00:00
743f04e501 - 0.9.1
Bug fixes:
 * Prefer /etc/machine-id to /var/lib/dbus/machine-id
   when DBUS_SESSION_BUS_ADDRESS is unset (Issue#39, by WU Jun).
- BTW netcfg did not help. Using 127.0.0.1 in upstream now.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=10
2013-04-23 15:38:28 +00:00
cb653576d4 - BuildRequire netcfg to fix tests failing with
'Failed to lookup host/port: "localhost:0"'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=9
2013-04-16 19:46:53 +00:00
662e2d1cb8 - 0.9.0
Features:
 * When calling methods, the interface can be left unspecified if unambiguous
  (Damiano Stoffie)
 * YARD documentation, Reference.md
 Bug fixes:
 * Introspection attribute "direction" can be omitted
   as allowed by the specification (Noah Meyerhans).
 * ProxyObjectInterface#on_signal no longer needs the "bus" parameter
   (Issue#31, by Damiano Stoffie)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=8
2012-11-06 22:00:13 +00:00
9edd680b51 - 0.8.0
Features:
 * Add Anonymous authentication (Issue#27, by Walter Brebels).
 * Use Nokogiri for XML parsing when available (Issue#24, by Geoff Youngs).
 Bug fixes:
 * Use SCM_CREDS authentication only on FreeBSD, not on OpenBSD (Issue#21,
   reported by Adde Nilsson).
 * Recognize signature "h" (UNIX_FD) used eg. by Upstart (Issue#23,
   by Bernd Ahlers).
 * Find the session bus also via launchd, on OS X (Issue#20, reported
   by Paul Sturgess).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=7
2012-09-20 20:20:25 +00:00
918b0eade6 - 0.7.2, a bugfix release
* Fixed "undefined local variable or method `continue'" in
   DBus::Main#run when a service becomes idle (by Ravil Bayramgalin)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=6
2012-04-05 13:05:30 +00:00
9f3cc07011 - 0.7.1, a bugfix release
* Fixed calling asynchronous methods on the default interface (Issue#13,
   by Eugene Korbut). 
 * Fixed Main#quit to really quit the loop (by Josef Reidinger)
 * Unbundled files from Active Support (by Bohuslav Kabrda)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=5
2012-04-04 09:12:14 +00:00
119c445ed1 Accepting request 104523 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard

OBS-URL: https://build.opensuse.org/request/show/104523
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=4
2012-02-13 13:53:11 +00:00
Sascha Peilicke
a73f78a8f2 Accepting request 77033 from devel:languages:ruby:extensions
Copy from devel:languages:ruby:extensions/rubygem-ruby-dbus based on submit request 77033 from user babelworx

OBS-URL: https://build.opensuse.org/request/show/77033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ruby-dbus?expand=0&rev=4
2011-08-04 12:50:15 +00:00
0101268f00 - 0.6.0
* Clients can access properties conveniently (Ticket#28).
 * Service won't crash whan handling an unknown method or interface (Ticket#31).
 * Don't send an invalid error name when it originates from a NameError.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=2
2010-12-10 22:39:44 +00:00
Klaus Kämpf
74249c57dd Accepting request 52680 from home:mvidner
reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/52680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=1
2010-11-10 12:31:12 +00:00