1
0

47 Commits

Author SHA256 Message Date
ee45dc9d72 Accepting request 1116766 from home:simotek:branches:devel:languages:ruby:extensions
- Testsuite requires dbus-daemon and dbus-send which are now 
  separate packages

OBS-URL: https://build.opensuse.org/request/show/1116766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=73
2023-10-25 08:44:30 +00:00
f8afccc5a2 - 0.23.1
API:
 * Add DBus::Object.dbus_reader_attr_accessor to declare a common use case
   with a single call (gh#mvidner/ruby-dbus#140).
 * BusConnection#request_name defaults to the simple use case: single owner
   without queuing, failing fast; documented the complex use cases.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=71
2023-10-03 07:53:20 +00:00
6c3e15abc9 - 0.23.0.beta2
License:
 * clarified to be LGPL-2.1-or-later
 API:
 * DBus::Object#object_server replaces @service (which still works) and the short-lived
   @connection
 * ObjectServer#export will raise if the path is already taken by an object
 * ObjectServer#unexport now also accepts an object path
 * Connection#object_server can export objects even without requesting any
   service name (gh#mvidner/ruby-dbus#49, in beta1 already).
 * Add PeerConnection for connections without a bus, useful for PulseAudio.
   Fix listening for signals there (gh#mvidner/ruby-dbus##44).
 * Moved from Connection to BusConnection: #unique_name, #proxy, #service.
   Call send_hello in BusConnection#initialize already.
 Bug fixes:
 * Fixed a refactoring crasher bug in ProxyService#introspect (oops).
 * Fix crash on #unexport of /child_of_root or even /

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=69
2023-06-23 08:09:38 +00:00
c53bd4996d - 0.23.0.beta1
Bug fixes:
  * A service can now have more than one name (gh#mvidner/ruby-dbus#69).
    Connection#request_service is deprecated in favor of Connection#object_server
    and BusConnection#request_name
  API:
   * Remove Service, splitting it into ProxyService and ObjectServer
   * Split off BusConnection from Connection

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=67
2023-06-05 12:20:51 +00:00
4ff9b6d1e9 - 0.22.1
Bug fixes:
 * Fix OBS building by disabling IPv6 tests, gh#mvidner/ruby-dbus#134.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=65
2023-05-17 08:40:40 +00:00
d40682cd5c - 0.22.0
Features:
 * Enable using nokogiri without rexml (by Dominik Andreas Schorpp,
   gh#mvidner/ruby-dbus#132)
 Bug fixes:
 * Respect DBUS_SYSTEM_BUS_ADDRESS environment variable.
 Other:
 * For NameRequestError, mention who is the other owner.
 * Session bus autolaunch still does not work, but: don't try launchd except
   on macOS, and improve the error message.
 * examples/gdbus split off to its own repository

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=64
2023-05-08 19:13:59 +00:00
ade576d35b - 0.21.0
Features:
 * Respect env RUBY_DBUS_ENDIANNESS=B (or =l) for outgoing messages.

 Bug fixes:
 * Reduce socket buffer allocations (gh#mvidner/ruby-dbus#129).
 * Message#marshall speedup: don't marshall the body twice.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=62
2023-04-08 07:44:15 +00:00
4381463d12 - 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
e1b9984149 - 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
ab6824cfbd - 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
8f7f07a728 - 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
5a2cafeab2 - 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
64e9d2cda7 - 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
665f79b340 - 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
b6a4f565d6 - 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
a3a44005bb - 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
950dd81b8c - 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
a59d783ce1 - 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
98cb91e9d9 - 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
Stephan Kulow
c3f7e03532 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=36 2021-01-21 09:11:11 +00:00
dbadcbdb1a 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
392bbb199d 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
a50f9cff76 - 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
d40722bff9 - 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
5c495c87e3 - 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
24f717c5da - 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
4db6c26390 - 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
aa40a68b4d OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=23 2014-10-16 12:58:35 +00:00
Stephan Kulow
1838d5eddc OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=22 2014-10-16 12:58:04 +00:00
Stephan Kulow
6711e69bfb - 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
ac3156a230 - 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
647d5c5722 - 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
24f32e5c45 - 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
787175767a - 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
0dc59d146e - 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
5ee39ffbc4 - 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
aef3c12766 - 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
08ac2a81bf - 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
97b574782d - 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
c78c3ebada - 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
e3ec8d60bb - 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
7a9a8d0f90 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
935bf96fc6 - 0.7.0, a bugfix release
* Added ASystemBus and ASessionBus, non-singletons useful in tests
   and threads.
 * Fixed handling of multibyte strings (Issue#8, by Takayuki YAMAGUCHI).
 * Allow reopening of a dbus_interface declaration (Issue#9, by T. YAMAGUCHI).
 * Fixed ruby-1.9.2 compatibility again (Issue#12).
 * Fixed authentication on BSD (Issue#11, by Jonathan Walker).
 * Fixed exiting a nested event loop for synchronous calls
   (reported by Timo Warns).
 * Fixed introspection calls leaking reply handlers.
 * "rake test" now works, doing what was called "rake env:test"
- updated the spec from a current template to build doc and
  testsuite subpackages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=3
2011-07-26 06:54:13 +00:00
Sascha Peilicke
1a0794cf03 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
Lars Vogdt
2b2a1a25df Autobuild autoformatter for 58251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ruby-dbus?expand=0&rev=2
2011-01-25 09:27:21 +00:00
14fafed7a9 - 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
7e3c693778 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