Mavenizes the project. Also removes the eclipse project. One who wants to develop otr4j with Eclipse can use the m2e eclipse plugin to import otr4j as a maven project.
Replaces included Bouncy Castle library with Spongy Castle: the stock Bouny Castle library with a couple of small changes to make it work on Android.
Adds README
README update
removes obsolete hgignore
Adds maven publishing repository. Bumps version to 0.10
Adds maven instructions to README
Fixes #6 by devrandom: Whitespace parsing is backwards
This fixes #2 and also resolves #1 by devrandom: When OTR refresh is initiated by remote, we don't go through state=PLAINTEXT, and the current code doesn't execute important steps if the state doesn't change, even when setting state=ENCRYPTED.
This fixes #5: If Alice wishes to communicate to Bob that she would like to use OTR, she sends a message containing the string "?OTR" followed by an indication of what versions of OTR she is willing to use with Bob. Currently, otr4j expects to find the "?OTR" string at the beginning of the message.
Integrated the latest version of bouncycastle.
* BC 1.48 added a check to throw an exception if a non-base64 character is
encountered. An OTR message consists of ?OTR:AbcDefFe. (note the terminating
point). Otr4j doesn't strip this point before passing the content to the
base64 decoder - buuum. This is why .decode(content.substring(0, content.length() - 1).getBytes())) is needed.
Changed some method signatures in OtrEngineHost. Added new method in Session which allows users to check whether SMP negotiation is in progress
Added a comment in otr4j.io.SerializationUtils
Merge pull request #8 from mdzhigarov/otrIntegrationJitsi

- Integrated the latest version of bouncycastle.
- Minor changes to the public API
Changed SMP question's encoding to UTF-8
Merge pull request #10 from mdzhigarov/otrEncoding

Changed SMP question's encoding to UTF-8
Upgrades the OTR protocol version from 2 to 3 with introducing instance tags
Adds a THANKS file.
Adds comments.
Added methods for getting the current outgoing session
Adds support for OTRv3 SMP Authentication