Main Page DBusSharp

From NDesk

(Difference between revisions)
Jump to: navigation, search
Revision as of 06:44, 19 August 2006 (edit)
Alp (Talk | contribs)

← Previous diff
Current revision (18:12, 10 February 2009) (edit) (undo)
Alp (Talk | contribs)
(Add note on bug tracker)
 
(158 intermediate revisions not shown.)
Line 1: Line 1:
-= D-Bus Sharp: Lightweight IPC for .NET =+[http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-0.6.0.tar.gz http://www.ndesk.org/images/step1.png] [http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-glib-0.4.1.tar.gz http://www.ndesk.org/images/step2.png]
-dbus-sharp is a C# implementation of [http://www.freedesktop.org/wiki/Software/dbus D-Bus], the small message bus with a big+ndesk-dbus is a C# implementation of [http://www.freedesktop.org/wiki/Software/dbus D-Bus]. It's often referred to as dbus-sharp, or "managed D-Bus" to avoid confusion with existing bindings (which wrap libdbus).
-appetite.+
D-Bus is an inter-process communication framework that lets applications D-Bus is an inter-process communication framework that lets applications
Line 12: Line 11:
[[Image:ManagedDBus.png|thumbnail]] [[Image:ManagedDBus.png|thumbnail]]
-This is currently at an early stage of development and ''is not expected to work yet''.+This software is under development but is already used by a wide range of applications for tasks as simple as maintaining a single instance of the GUI to whole instant messaging frameworks and hardware detection APIs.
-However it is hoped that it will soon provide a tested, high-performance+It provides a tested, high-performance
bridge to and from all systems that are exposed via D-Bus, regardless of bridge to and from all systems that are exposed via D-Bus, regardless of
-programming language, UI toolkit or license.+programming language, UI toolkit or license. The source code is MIT X11 licensed (Free Software/Open Source), allowing integration into other projects with very few restrictions.
-The code was written and is maintained by Alp Toker <alp@atoker.com>+The code is a clean-room implementation based on the [http://dbus.freedesktop.org/doc/dbus-specification.html D-Bus Specification]
- +
-It is a clean-room implementation based on the [http://dbus.freedesktop.org/doc/dbus-specification.html D-Bus Specification]+
Version 0.11 and study of the wire protocol of existing tools. Version 0.11 and study of the wire protocol of existing tools.
-It aims for compatibility with Mono and Microsoft .NET frameworks+It aims for compatibility with [http://www.mono-project.com/ Mono] and Microsoft .NET frameworks
supporting the 2.0 profile. Backward compatibility with 1.0 will not be supporting the 2.0 profile. Backward compatibility with 1.0 will not be
-a consideration.+a consideration. Ongoing work to ensure CLS compliance means that managed D-Bus can be used by any language that can target the CLR.
 +<!--
 + 
 +Note that the UNIX transport requires changes made to the runtime and class libraries that are only available in Mono svn as of August 21 '06. See [http://bugzilla.ximian.com/show_bug.cgi?id=79084 Mono bug #79084] and svn revisions r63823 and r63824. These modifications add support for the UNIX domain socket abstract namespace. [http://www.go-mono.com/archive/1.1.17 Mono 1.1.17] is the first release to include the required fixes.
 +-->
 + 
 +=== Cross platform support ===
 + 
 +==== Supported platforms ====
 + 
 +A standard build of managed D-Bus will work across a wide range of platforms:
 + 
 +* x86
 +* 64-bit (eg. AMD64)
 +* Big endian (eg. PPC)
 +* ARM (eg. Nokia 770)
 +* Mono 1.1.13 or newer
 +* GNU/Linux
 +* FreeBSD
 +* Mac OS X
 +* Microsoft Windows / .NET runtime (in the 0.5 development branch)
 + 
 +==== Soon to be supported ====
 + 
 +<!--
 +* Solaris (in progress: http://bugzilla.gnome.org/show_bug.cgi?id=370081 -- external patch available to make it work in the meantime)
 +-->
 +* MIPS (untested) (eg. wifi routers) -- pending JIT fix
 + 
 +=== Users ===
 + 
 +This is a list of applications known to make use of managed D-Bus:
 + 
 +* [http://www.ndesk.org/ NDesk] component object model (NParts etc.)
 +* [http://telepathy.freedesktop.org/wiki/TelepathySharp telepathy-sharp]
 +* [http://tapioca-voip.sourceforge.net/ Tapioca] VoIP and IM application development framework ([http://telepathy.freedesktop.org/wiki/TapiocaSharp tapioca-sharp])
 +* [http://tapioca-voip.sourceforge.net/wiki/index.php/Landell Landell] VoIP and IM client using [http://gtk-sharp.sourceforge.net/ Gtk#]
 +* [http://www.gnome.org/projects/NetworkManager/ Gnome NetworkManager] binding
 +* [http://www.gnome.org/projects/gnome-power-manager/ Gnome Power Manager] binding
 +* [http://www.banshee-project.org/ Banshee] provides and uses a media player API, and uses [http://www.gnome.org/projects/gnome-power-manager/ Gnome Power Manager], [http://www.gnome.org/projects/NetworkManager/ Gnome NetworkManager], Helix, notify-sharp, org.gnome.SettingsDaemon
 +* [http://svn.banshee-project.org/helix-dbus-server/ Helix D-Bus] for remote control of the media stream
 +* hal-sharp is provides access to [http://www.freedesktop.org/wiki/Software/hal HAL], the Hardware Abstraction Layer
 +* [[NotifySharp]] provides a client implementation for [http://trac.galago-project.org/wiki/DesktopNotifications Desktop Notifications] and works as a libnotify client replacement
 +* [http://www.f-spot.org/ F-Spot] personal photo management application, for single-instance detection [http://bugzilla.gnome.org/show_bug.cgi?id=361091]
 +* [http://www.beatniksoftware.com/tomboy/ Tomboy] simple note taking application, for remote control and single-instance detection
 +* [http://mono.dcsharp.com/ dcsharp] file sharing client using the Direct Connect protocol, for notifications, single instance and remote control
 +* [http://dev.mmgsecurity.com/projects/lat/ LAT] LDAP Administration Tool
 +* [http://www.snorp.net/log/2006/12/08/im-in-ur-virtual-machines-managing-them/ VMX Manager], Virtual Machine Manager, GNOME SVN(?)
 +* [http://capuchin.k-d-w.org/ Capuchin] (formerly NewStuffManager), a plugin update/download service
 +* [http://folks.o-hand.com/iain/last-exit/ last-exit], a music player for Last.fm
 +* [http://muine-player.org/ Muine], a music player for GNOME
 +* [http://www.chrishowie.com/2007/01/10/the-fuzz/ The Fuzz], process security manager with GUI
 +* [http://yimports.com/~cpinto/projects/gnome/gshare/ GShare], file sharing utility
 +* [http://telepathy.freedesktop.org/wiki/GnomeUI Chatter (Telepathy GnomeUI)] VoIP and IM client using [http://gtk-sharp.sourceforge.net/ Gtk#]
 +* [https://forgesvn1.novell.com/viewsvn/babuines/trunk/Babuine-FoundationComponents/TimeTracker/ Babuine TimeTracker]
 +* [http://svn.myrealbox.com/viewcvs/trunk/gnome-keyring-sharp gnome-keyring-sharp] [http://en.wikipedia.org/wiki/GNOME_Keyring GNOME Keyring] implementation, to get the keyring socket address
 +* [http://developer.novell.com/wiki/index.php/EID-belgium eIDconfig-belgium] configuration toolkit for the Belgian eID middleware
 +* [http://svn.gnome.org/viewcvs/podsleuth PodSleuth] iPod model information discovery/export tool, using hal-sharp
 +* [http://live.gnome.org/Banter Banter] collaboration client (Telepathy)
 +* [http://netherilshade.free.fr/circ/ circ] IRC client
 +* [http://svn.gnome.org/viewvc/beagle/trunk/beagle-xesam/ Beagle xesam-adapter] desktop search API
 +* [[DBusExplorer|D-Bus Explorer]]
 +* [https://edge.launchpad.net/gc GNOME Do]
 +* [http://www.iola.dk/nemo/ Nemo] file manager, for [http://www.gnome.org/projects/tracker/ Tracker]
 +* [http://www.cmartin.tk/blam.html Blam] RSS aggregator
 +* [http://monotorrent.com/ MonoTorrent / Monsoon] BitTorrent client
 + 
 +=== Documentation ===
 + 
 +See the [[DBus_Documentation|NDesk.DBus documentation]] for a brief developers guide.
 + 
 +=== Contact ===
 + 
 +Support can be found on the #managed-dbus IRC channel on irc.gnome.org
 + 
 +=== Reporting bugs ===
 + 
 +Bugs are now tracked on the [https://bugs.launchpad.net/ndesk-dbus NDesk D-Bus Launchpad bug tracker].
 + 
 +If you have sent bug reports or feature requests directly to the authors in the past, please create a new entry in the tracker to ensure the issues are dealt with.
=== Download === === Download ===
-This software has not yet been released.+See the [http://www.ndesk.org/archive/ndesk-dbus/ managed D-Bus release archive].
 + 
 +==== Development ====
 + 
 +See the [[DBusSharp/Roadmap|development roadmap]] for a detailed list of remaining tasks.
 + 
 +git-clone [http://gitweb.ndesk.org/?p=dbus-sharp git://git.ndesk.org/pub/scm/dbus-sharp]
 + 
 +The dbus-sharp API is now fairly stable stable. It's best to install a released version and depend on it from your application rather than bundling the sources directly as has been done in the past.
 + 
 +There is also a module which provides GLib integration as an optional extra:
 + 
 +git-clone [http://gitweb.ndesk.org/?p=dbus-sharp-glib git://git.ndesk.org/pub/scm/dbus-sharp-glib]
 + 
 +=== Exposition ===
 + 
 +* [http://live.gnome.org/Boston2006 GNOME Boston Summit 2006], MIT Media Lab, Aaron Bockover
 +* [http://www.guadec.org/node/555 GUADEC 2007] Birmingham, UCE Conservatoire, Alp Toker ([http://www.atoker.com/dbus/managed-dbus-guadec07.pdf view slides])

Current revision

step1.png step2.png

ndesk-dbus is a C# implementation of D-Bus. It's often referred to as dbus-sharp, or "managed D-Bus" to avoid confusion with existing bindings (which wrap libdbus).

D-Bus is an inter-process communication framework that lets applications interface with the system event bus as well as allowing them to talk to one another in a peer-to-peer configuration.

Contents

[edit] Status

This software is under development but is already used by a wide range of applications for tasks as simple as maintaining a single instance of the GUI to whole instant messaging frameworks and hardware detection APIs.

It provides a tested, high-performance bridge to and from all systems that are exposed via D-Bus, regardless of programming language, UI toolkit or license. The source code is MIT X11 licensed (Free Software/Open Source), allowing integration into other projects with very few restrictions.

The code is a clean-room implementation based on the D-Bus Specification Version 0.11 and study of the wire protocol of existing tools.

It aims for compatibility with Mono and Microsoft .NET frameworks supporting the 2.0 profile. Backward compatibility with 1.0 will not be a consideration. Ongoing work to ensure CLS compliance means that managed D-Bus can be used by any language that can target the CLR.

[edit] Cross platform support

[edit] Supported platforms

A standard build of managed D-Bus will work across a wide range of platforms:

  • x86
  • 64-bit (eg. AMD64)
  • Big endian (eg. PPC)
  • ARM (eg. Nokia 770)
  • Mono 1.1.13 or newer
  • GNU/Linux
  • FreeBSD
  • Mac OS X
  • Microsoft Windows / .NET runtime (in the 0.5 development branch)

[edit] Soon to be supported

  • MIPS (untested) (eg. wifi routers) -- pending JIT fix

[edit] Users

This is a list of applications known to make use of managed D-Bus:

[edit] Documentation

See the NDesk.DBus documentation for a brief developers guide.

[edit] Contact

Support can be found on the #managed-dbus IRC channel on irc.gnome.org

[edit] Reporting bugs

Bugs are now tracked on the NDesk D-Bus Launchpad bug tracker.

If you have sent bug reports or feature requests directly to the authors in the past, please create a new entry in the tracker to ensure the issues are dealt with.

[edit] Download

See the managed D-Bus release archive.

[edit] Development

See the development roadmap for a detailed list of remaining tasks.

git-clone git://git.ndesk.org/pub/scm/dbus-sharp

The dbus-sharp API is now fairly stable stable. It's best to install a released version and depend on it from your application rather than bundling the sources directly as has been done in the past.

There is also a module which provides GLib integration as an optional extra:

git-clone git://git.ndesk.org/pub/scm/dbus-sharp-glib

[edit] Exposition

Retrieved from "http://ndesk.org/DBusSharp"