-
-
Notifications
You must be signed in to change notification settings - Fork 74
Changelog 3.x
David M edited this page Jan 11, 2023
·
1 revision
- Fixed some issues in InterfaceCodeGenerator related to signal constructors, thanks to poeschel (PR#146)
- Fixed some issues in InterfaceCodeGenerator related to usage of Tuples, thanks to poeschel (PR#147)
- Improved SASL authentication with domain sockets on OS X, thanks to brett-smith (PR#148)
- Fixed some issues related to marshalling/unmarshalling of Tuples, thanks to poeschel (PR#149)
- Fixed various issues in Introspection generation introduced with PR#143 and in marshalling caused by PR#149
- Fixed issue with interupted status of thread got lost after a synchronous method call was interrupted #150
CAUTION - This version may contain breaking changes!!
- Removed usage of java-utils
- Moved Hexdump class from org.freedesktop to org.freedesktop.dbus.utils
- Moved DBus interface from org.freedesktop to org.freedesktop.dbus.interfaces
- Modulize dbus-java (PR#125, thanks to brett-smith)
- DBusConnection.getConnection(DBusBusType _bustype) will no longer throw RuntimeException but DBusConnectionException if something went wrong establishing DBus connection #128
- Support annotation to specify properties provided by an exported object (DBusProperty annotation) (PR#131/#130), thanks to mk868
- Added support for the new DBusProperty annotations in InterfaceCodeGenerator Util (PR#132), thanks to mk868
- License changed from LGPLv2 to MIT
- Improved logging usage of Arrays.deepToString(Object[]), so this message will not be called in log statements if the loglevel is not enabled
- Improved usage of regex and length checks #119 & PR#120 (thanks to OlegAndreych)
- Improvements in InterfaceCodeGenerator Util regarding creation of Struct classes (#121)
- Fixed possible race-conditions/dead-locks when disconnecting from DBus (#123)
- Fixed issue with introspection caused by changes in #80 (#103), thanks to AsamK
- Added support for FreeBSD, (#105) thanks to grembo
- Fixed SASL authentication may get stuck when using TCP (#106) thanks to brett-smith
- Fixed issues when dealing with multiple signals of the same name but different signatures (#110)
- Dependency updates
- Fixed leaking signal handlers when using addSigHandler/removeSigHandler a lot (#76)
- Fixed unexported objects shown in introspection output (#80)
- Added support for providing alternative implementations of IMessageReader/IMessageWriter (#81)
- Removed support for file descriptor passing, as it is not working with jnr-unixsocket (#81)
- Fixed issue dealing with handled signals (#97)
- Fixes issue with InterfaceCodeGenerator util (#95)
- Fixes issue with InterfaceCodeGenerator util using incorrect type (#83)
- Replaced libmatthew with jnr-unixsocket
- Removed all native library files and sources
- Added new transport system to use jnr-unixsocket (replaces old Transport class)
- Added support for empty collections/arrays (thanks to chris-melman)
- Added support of DBUS_MACHINE_ID_LOCATION environment property to allow usage of dbus-java on Windows (thanks to chris-melman)
- Allow change of the default socket timeout (thanks to chris-melman)
- Detect system endianness for DBus message instead of using BIG endian all the time (#54)
- Allow changing the default endianness (DBusConnection.setEndianness())
- Providing OSGi ready artifact (#33) (thanks to stack-head)
- Added support for handling various DBus signals without the need to create a specific interface class (thanks to rm5248)
- Fixed issue with List containing another List (thanks to rm5248)
- Changed project to multi-module. All tools (except DBusDaemon/DBusEmbeddedDaemon) are now part of the sub-module dbus-java-utils. The dbus-java-utils sub-module is not required for dbus-java to work, it only contains standalone helper classes (like DBus interface class creation tool)
- Logback dependency for dbus-java is now test, so exclusions for logback are no longer required when using a different logger implementation
- Logback dependency for dbus-java-utils is runtime, as most of the helper classes need logging to show progress or issues. If you don't want to use logback when using dbus-java-utils, please specify an exclusion rule and add another slf4j logger in your pom
- Added support sending/receiving FileDescriptor (UNIX_FD, DBus type 'h') (see #42)
- New tool (org.freedesktop.dbus.utils.generator.InterfaceCodeGenerator) to create apropriate java classes/interfaces from introspection XML (beta, will replace org.freedesktop.dbus.bin.CreateInterface)
- Some smaller fixes for old interface creation tool (org.freedesktop.dbus.bin.CreateInterface) (see #34,#35,#36, thanks to sshort)
- Added support for reading dbus machine-id from /etc (thanks to michivi)
- Fixed some issues with different Locale settings (thanks to littlefreaky)
- Fixed marshalling issue (#21/#26, (thanks to littlefreaky))
- Requires Java 8
- Refactored AbstractConnection and all classes depending on it
- Use ThreadPoolExecutor instead of HashMap of Threads
- Use ConcurrentHashMap and friends where possible
- Removed lots of synchronized blocks (when not required)
- Better encapsulation in AbstractConnection
- Use BlockingQueue instead of home grown solution
- Removed EfficientMap and EfficientList, as they are not really efficient or better than the JDK provided Maps/Lists
- Merged UnixSocket stuff of libmatthew to this library, native library libunix-java.so is still compatible with older libmatthew; Main reason is, that the unix socket library of libmatthew is very DBUS specific (like providing special features for SASL/DBUS_COOKIE_SHA)
- Fixed lots of Java warnings (Generics, unclosed resources)
- Removed broken 'Gettext' feature used for exception messages, english exception messages should be good enough
- Renamed some classes/methods/variables to comply with Java naming scheme
- Removed proprietary logger and replaced it with slf4j
- Renamed/refactored some parts to be more 'Java' like (e.g. naming, shadowing)
- Fixed problems with DbusConnection.getConnection(SESSION) when using display export (e.g. SSH X11 forward)
- Thanks to thjomnx for support of PropertiesChanged signal class
- Thanks to RafalSumislawski for support of org.freedesktop.DBus.ObjectManager
- Thanks to lbeuster for improvements and Mac support
- Thanks to littlefreaky for various bug fixes and charset issue fixes
- Thanks to michivi for adding support of dbus-machine-id file on different locations
- Thanks to sshort for fixing some issues in old CreateInterface tool
- Thanks to rm5248 for fixing issues with Lists containing Lists and adding support of handling various signals on DBus