GithubHelp home page GithubHelp logo

ioootasrl / dbus-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypfvieh/dbus-java

0.0 3.0 0.0 585 KB

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)

License: Other

Java 90.16% Batchfile 0.31% Shell 0.45% Makefile 2.22% TeX 5.22% C 1.63%

dbus-java's Introduction

dbus-java Maven Central

Improved version of Java-DBus library provided by freedesktop.org with compatibility to Java 8.

Please note this version is not compatible with 2.7.x versions as classes have been moved in other packages or were completly removed. Most import issues should be easily fixable by using 'Organize Imports'. Using this version as replacement for 2.7.x however, will not work without changing your code as well.

Changes

Changes in 3.0
  • 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)

Older changes

  • 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)
Changes by others:
  • Thanks to thjomnx for support of PropertiesChanged signal class
  • Thanks to RafalSumislawski for support of org.freedesktop.DBus.ObjectManager
  • Thanks to lbeuster for improvments and Mac support

dbus-java's People

Contributors

hypfvieh avatar lbeuster-cts avatar rafalsumislawski avatar thjomnx avatar

Watchers

James Cloos avatar Roberto avatar Alan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.