[INTERNAL] do not hard code configurations into the code base

The version compatibility chart for the Version Manager is
now loaded from a property file.

Change-Id: I8a91cc37a4d6221654121be05faf31245b661db9
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/538
Tested-by: Jenkins CI
Reviewed-by: Franz Zieris <zieris@inf.fu-berlin.de>
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] send wrong presence type on subscription cancellation

Presence type unsubscribe was send instead of unsubscribed.

Also removed the information dialog if someone cancelled a
subscription. It is now displayed in the roster if no
subscription is present.
 

Change-Id: I05498a063e3146959a328b2b00d3deb4bc062e12
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/552
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] added new preference value

Added a new favorite color ID field to the preference constants.

The new field is needed for the Saros session color management rework.

Removed the multiple account support from the original version
as this may not be recognized by the end users. 

Change-Id: Ie2784ed15293e0a8fde9b9cfbf9810b730e4ac32
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/553
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[GUI] added wizard, preference page and widgets for the new color
management feature

Added several classes that enables the user to change
the current color ID during the session as well as to
preselect a favorite color (ID).

Change-Id: I546ec8f11a281e142bea70e8e987404dcf9f8b2f
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/555
Reviewed-by: Arsenij Solovjev <xeper000@gmail.com>
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] exchange user colors with color IDs

Instead of sending RGB values we now send color IDs.

This patch ensures that the session users can only choose
colors from a preselected set.

This patch is a pre-patch. It contains some unwanted
hacks and only uses a poor input dialog to change the
current session color.

Change-Id: I93dda383851c74400630b540e14766c138108175
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/556
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[GUI] use the ColorChooser Wizard to change colors

Replaced the prototype dialog that was introduced
with commit 7d24a2d25f5a766423124a6a8926393816d1d659

Change-Id: I98c919ffc2c7508bf0ef6b4c14cbec7bb8c1d914
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/557
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[API] changed ISarosSession interface

Added and extended the color methods of the interface to
support more flexibility.

Change-Id: I0770fb66d4ac04ebcd850834eebc9de743e82ff4
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/559
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] allow the user once again to change its color

Commit 138ac7a88f8bdcc56afc36eec9eb176d1effb8ac
added methods that was not available when commit
782cd853819b9637a439241d4d49ee3b14ee7a0d was applied
and so the user could not change its colors because
all colors were in "use".


Change-Id: Idf234488b737a496237d1c4c9c02adc4534f5422
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/560
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] maximum available color IDs for a session was wrong initialized

We support 5 different color IDs and not 4 !

Change-Id: I4f814c56ae63c42db66a642a7e77990cdfa42221
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/561
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] available color ID set was not properly updated on client side

The client side color ID set was never updated.

Also removed the SarosSession casts.

Change-Id: Ide42576cdf29799f3e4200152c68b4b36159a3be
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/562
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] allow the host to start a session with its preferred color ID

Change-Id: Ie8d6d5ce7726a409f1744fffb84fb97e00269565
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/563
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] refactored SarosUI usage

The SarosUI component was injected into the network layer
and then passed as argument to the upper layers.

The reason for this behavior was that this component
is needed by the SarosSessionManager but the SarosUI
also need the SarosSessionManager and so the PICO
Container could not resolve the dependencies.

Removed all needed components from the SarosUI
as they can be retrieved in the wizards with the SarosPluginContext
method.

Change-Id: Icc433e25bdc3abe395aac30aa11393078466d5e9
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/564
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] inviters color ID was not removed from the pool

The color ID of the inviter was not removed on the 
invitees side.

Also disabled non host inviting code.

Change-Id: I6abd3d26310a79446007f9ed921fd81555b0dcce
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/565
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] Restore corrupted (changed) colors in the PreferenceStore

In old versions it was possible to change colors in the preference
store. In new versions only preset colors are allowed. This patch
overwrites the changed colors every time on plugin startup.

Change-Id: Ib8401e5149ccd1f76601b92a6122b2b2b358da5d
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/558
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] changed session negotiation process

Changed the session negotiation process so it will now
send a minimum of data that is needed to start a negotiation.

The remaining data is now exchanged during the negotiation.

Also added a 3-way handshake to prevent joining a dead session
on the invitees side.

Change-Id: I574888963316f45902f4f01e563b17fdfeb3dac1
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/566
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[GUI] inform the user that its selected color is already taken

It is possible that another user had already chosen the same
color when the user finished the wizard for changing its color.

Give it at least a try to inform the user that this color
is no longer available (it is still possible that a color 
change will not be recognized as the host
does not inform us if the color is already in use).

Change-Id: I84908a152a1343dc7d83318914d3f096f997619c
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/567
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[STF] extended STF API

It is now possible to synchronize on the activity queue of a remote
participant. Introduced as a feature request by Holger
Freyther. 

Change-Id: I82d7b2fb6bda487fe5a195630fabd6f8e99a2536
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/437
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[STF] synchronizeOnActivityQueue now synchronize on SWT EDT first

Play it safe, make sure that all GUI stuff is in the activity
queue before we are adding our NOP activity.

Change-Id: Iab0ae99928555259a2b565f04201d07c5c6253b8
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/568
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[STF] replaced and removed several sleep statements

Change-Id: I3447b60d0df4bb0d8937d832ea6df5ae76102a8c
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/569
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] roster entry displayed wrong presence mode

Instead of displaying the mode ("away", "dnd", "xa") it displayed
the type which is always "available" for those modes.

Change-Id: I61151f9aa07c8cd810db33a6b4ed1daffe4d45f6
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/570
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>