1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-21 13:52:06 +01:00
No description
Find a file
Florian Schmaus 3d4e7938a7 Make ExtensionElement marker interface wrt. QNAME field
ExtensionElement is now a marker interface that requires all
implementation non-abstract classes to carry a static final QNAME
field (of type QName). This is verified by a new unit test.

Also FullyQualifiedElement is renamed to simply XmlElement. XmlElement
is used over ExtensionElement when implementing classes do not
statically know the qualified name of the XML elements they
represent. In general, XmlElement should be used sparingly, and every
XML element should be modeled by its own Java class (implementing
ExtensionElement).
2021-04-18 21:07:19 +02:00
.github [gitlab-ci] Also check with Java 15 2021-02-15 13:12:24 +01:00
config [checkstyle] Bump to 8.27 2020-05-23 23:36:58 +02:00
documentation [doc] Fix extensions/index.md table 2021-03-10 10:24:39 +01:00
resources Merge branch '4.4' 2021-03-25 19:28:58 +01:00
smack-android [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-android-extensions [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-bosh [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-core Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-debug [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-debug-slf4j [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-experimental Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-extensions Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-im Merge branch '4.4' 2021-04-18 17:25:14 +02:00
smack-integration-test Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-java8 [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-java8-full Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-jingle-old [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-legacy Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-omemo Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-omemo-signal [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-omemo-signal-integration-test [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-openpgp Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-repl [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-resolver-dnsjava [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-resolver-javax [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-resolver-minidns [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-resolver-minidns-dox [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-sasl-javax [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-sasl-provided [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-streammanagement Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
smack-tcp [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-websocket [websocket] Fix getStreamFromOpenElement() 2021-04-01 17:43:07 +02:00
smack-websocket-java11 Add smack-websocket-java11 2021-02-14 20:34:40 +01:00
smack-websocket-okhttp Add smack-websocket-java11 2021-02-14 20:34:40 +01:00
smack-xmlparser [smack-xmlparser] Allow override of used XmlPullParserFactory 2021-03-03 22:25:32 +01:00
smack-xmlparser-stax [gradle] Do not use deprecated 'compile' directive 2021-04-14 20:30:51 +02:00
smack-xmlparser-xpp3 Introduce test fixtures 2020-04-11 22:05:36 +02:00
.gitignore Add local.properties to gitignore 2019-06-30 16:00:31 +02:00
.mailmap Add .mailmap 2020-11-05 12:52:17 +01:00
build.gradle Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
LICENSE Add Appendix to LICENSE 2017-04-24 15:12:27 +02:00
NOTICE Add NOTICE file 2020-11-05 12:54:54 +01:00
README.md [README] Update README.md 2021-04-15 10:20:24 +02:00
repl Bump Ammonite REPL to 1.3.2 2018-10-27 15:41:17 +02:00
settings.gradle Add smack-websocket-java11 2021-02-14 20:34:40 +01:00
version Smack 4.4.2-SNAPSHOT 2021-03-03 13:38:25 +01:00

Smack

Build Status Coverage Status Project Stats Link to XMPP chat smack@conference.igniterealtime.org

About

Smack is an open-source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android.

Being a pure Java library, it can be embedded into your applications to create anything from a full XMPP instant messaging client to simple XMPP integrations such as sending notification messages and presence-enabling devices. Smack and XMPP allow you to easily exchange data in various ways e.g., fire-and-forget, publish-subscribe, between human and non-human endpoints (M2M, IoT, …).

More information is provided by the Overview.

Getting started

Start with having a look at the Documentation and the Javadoc.

Instructions on how to use Smack in your Java or Android project are provided in the Smack Readme and Upgrade Guide.

License

Most of Smack is governed by the Apache License 2.0 (SPDX License Identifier: Apache 2.0). This license requires that the contents of a NOTICE text file are shown "…within a display generated by the Derivative Works, if and wherever such third-party notices normally appear.".

Smack comes which such a NOTICE file. Moreover, since smack-core is licensed under the Apache License 2.0, the conditions apply to every project using Smack. The content of Smack's NOTICE file can conveniently be retrieved using Smack.getNoticeStream().

Some subprojects of Smack are governed by other licenses. Please refer to the individual subprojects.

Professional Services

Smack is a collaborative effort of many people. Some are paid, e.g., by their employer or a third party, for their contributions. But many contribute in their spare time for free. While we try to provide the best possible XMPP library for Android and Java SE-compatible execution environments by following state-of-the-art software engineering practices, the API may not always perfectly fit your requirements. Hence welcome contributions and encourage discussion about how Smack can be further improved. We also provide paid services ranging from XMPP/Smack related consulting to designing and developing features to accommodate your needs. Please contact Florian Schmaus for further information.

Bug Reporting

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

  1. Read "How to ask for help or report an issue"
  2. Create a discourse account (you can also sign up with your Google account).
  3. Login to the forum account
  4. Press "New Topic" in your toolbar and choose the 'Smack Support' sub-category.

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

Donate

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

  • Donate via Bitcoin: 1LiU78z3498wu3jwRPKbvovKAHjTcpVbuK

Contact

The developers hang around in smack@conference.igniterealtime.org. You may use this link to join the room via inverse.chat. Remember that it may take some time (~hours) to get a response.

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

Contributing

If you want to start developing for Smack and eventually contribute code back, then please have a look at the Guidelines for Smack Developers and Contributors. The guidelines also contain development quickstart instructions.

Resources

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 RealTime 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.

Smack - an Ignite Realtime community project.