SMACK-425 Introduced smack.parsing.ParsingExceptionCallback, a callback invoked when a exception is thrown while parsing a stanza. Smack is now able to either rethrow the exception ulitmatly causing a disconnect *or* log/ignore the exception and resume parsing after the faulty stanza.

Conflicts:
	source/org/jivesoftware/smack/SmackConfiguration.java

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13685 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-431 Entity Capabilities are now enabled as default for new connections. Added an extensions documentation html page.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13686 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-405 Removed redundant code in XMPPConnection.shutdown()

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13687 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-448 Java7ZlibInputOutputStream: Use correct Deflater compression level

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13693 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-450 Make VCard.doLoad() return if the received packet was not an error and also not an VCard. Avoid calling VCard.load() with 'null' as argument.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13713 b35dd754-fafc-0310-a699-88a17e54d16e
Fix merge errors. Fixes #45
Removed duploicate rosterInitialized=true block in RosterResultListener. This block already exists in RosterPacketListener.
Roster: coding style only
SMACK-425 Few changes based on review http://fisheye.igniterealtime.org/cru/SMACK-4

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13759 b35dd754-fafc-0310-a699-88a17e54d16e

Conflicts:
	source/org/jivesoftware/smack/SmackConfiguration.java
SMACK-455 Fixed improper advance of parser when parsing multiple items in a pubsub message.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13760 b35dd754-fafc-0310-a699-88a17e54d16e
Versioning updates for new release.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13761 b35dd754-fafc-0310-a699-88a17e54d16e

Conflicts:
	build/build.xml
	build/resources/releasedocs/changelog.html
	source/org/jivesoftware/smack/SmackConfiguration.java
SMACK-456 Added the causing exception

XMPPConnection.connectUsingConfiguraiton() does now add the causing
exception to the throwed exception.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13765 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-444 Allow 'null' for options in ServerTrustManager

Allow 'null' for TruststorePath and TruststorePassword in ServerTrustManager

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13766 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-452 Correctly parse stream error packets

Modified PacketParserUtils.parseStreamError() to take into account that
there may be an optional text element and an optional application
specific element.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13767 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-457 Remove unnecessary printStackTrace() in XMPPConnection

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13773 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-411 ServiceDiscoveryManager identities should be non-static and kept in a Set to allow multiple identities as per XEP-0030

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13783 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-458 Managers should be kept on disconnects

Smack's Managers should not remove itself when the connection is closed
or should re-add themselfs if the connection get reconnected.

This should also fix some NPE's.

We are currenlty going with two different designs of Manager: 1. The one
with WeakReferences (SDM, EntityCapsManager) and 2. the one where the
managers remove their listeners on connectionClosed() *and*
connectionClosedOnError(), and later add their listeners on
reconnectionSuccessful().

Conflicts:
	source/org/jivesoftware/smackx/ServiceDiscoveryManager.java
	source/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java
	source/org/jivesoftware/smackx/commands/AdHocCommandManager.java
	source/org/jivesoftware/smackx/ping/PingManager.java
SMACK-458 Made SDM constructor public again but marked deprecated
SMACK-458 whitespace fix
SMACK-443 remove duplicate notifyReconnection()

notifyReconnection() was called in initConnection() and in connect()

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13789 b35dd754-fafc-0310-a699-88a17e54d16e