1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00
No description
Find a file
Florian Schmaus 717090d272 Rework incoming packet listeners and Roster
Differentiate between asynchronous and synchronous ones. Asynchronous
are the ones where the invocation order may not be the same as the order
in which the stanzas arrived.

Since it's no longer guaranteed that when a unit test calls

processPacket(stanza)

the stanza will be completely processed when the call returns, it was
necessary to extend the unit tests (mostly Roster and ChatManager) with
a packet listener that waits for his invocation. Since we now also use
LinkedHashMaps as Map for the packet listeners (SMACK-531, SMACK-424),
adding a packet listeners as last also means that it will be called as
last. We exploit this behavior change now in the unit tests.

Rename 'recvListeners' to 'syncRecvListeners' in AbstractXMPPConnection.

Rename 'rosterInitialized' to 'loaded' in Roster.

Add Roster.isLoaded().

Reset 'loaded' to false in
Roster.setOfflinePresencesAndResetLoaded() (was setOfflinePresences()).

Fixes SMACK-583, SMACK-532, SMACK-424
2015-01-07 14:35:23 +01:00
config Enable more 'checkstyle' checks 2014-08-15 23:17:45 +02:00
documentation Support for XEP-0122: Data Forms Validation. 2014-12-30 02:03:12 +01:00
resources Smack 4.0.6 2014-11-23 20:05:44 +01:00
smack-android Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-android-extensions Don't use synchonrizedMap() for INSTANCES 2014-12-27 20:55:30 +01:00
smack-bosh Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-compression-jzlib Make compressionMethod final in XMPPInputOutputStream 2014-12-19 11:15:01 +01:00
smack-core Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-debug Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-debug-slf4j Use mathematical range syntax for dependencies 2014-12-17 16:23:24 +01:00
smack-experimental Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-extensions Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-java7 Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-jingle-old Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-legacy Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-resolver-dnsjava Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-minidns Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-provided Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-tcp Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
.gitignore Add IntelliJ and Mac OS X files to gitignore 2014-11-01 12:52:19 +01:00
.travis.yml Travis CI: Use Android builder 2014-10-08 16:01:19 +02:00
build.gradle Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
LICENSE Add LICENSE 2014-12-27 13:36:27 +01:00
README.md Fix typos in README.md 2014-10-19 11:51:53 +02:00
settings.gradle Add ServerPingWithAlarmManager to smack-android 2014-09-22 10:13:33 +02:00
version.gradle Change jxmpp version to 0.4.1-alpha2-SNAPSHOT 2014-12-12 11:50:33 +01:00

Smack

Build Status Project Stats Flattr this git repo

About

Smack is an Open Source, cross-platform, easy to use Java XMPP client library.

Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices.

Confused? Have a look at the Overview.

Smack - an Ignite Realtime community project.

Bug Reporting

Only a few users have access for for filling bugs in the tracker. New users should:

  1. Create a forums account (only e-mail is a requirement, you can skip all the other fields).
  2. Login to the forum account
  3. Press New in your toolbar and choose Discussion
  4. Choose the Smack Developers Forum of Smack and add the tag 'bug_report' to your new post

Please search for your issues in the bug tracker before reporting.

Contact

The developers hang around in #smack (freenode, IRC) and open_chat@conference.igniterealtime.org (XMPP MUC room). Remember that it may take some time (~hours) to get a response.

You can also reach us via the Smack Users Forum if you have questions or need support, or the Smack Developers Forum if you want to discuss Smack development.

Resources

Donate

If you find Smack useful and feel like donating, then you can use one of the following systems:

Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based Real Time Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.