Build: #194 was successful Changes by Florian Schmaus <flo@geekplace.eu>
Code commits
Smack (4.4)
-
Florian Schmaus <flo@geekplace.eu> d75cd2acb8553f750bf83ff7adf2dde0e1703f4d
[filetransfer] Pre-register 'stream-method' form field
Fixes SMACK-904. -
Florian Schmaus <flo@geekplace.eu> adc159186ca1a2d3f18061e74a6bf791b708e074
[formtypes] Introduce LOOKASIDE_FIELD_REGISTRY
Some field's like stream-method of XEP-0096, which is of type
list-single, need to be pre-registered. -
Florian Schmaus <flo@geekplace.eu> 73941629f37d6f623ff290787954589804f0f989
[sinttest] Call OutgoingFiletransfer.getException() in case of error
-
Florian Schmaus <flo@geekplace.eu> 2779187d8cfee7e79a7157e37682229b92753bc8
[filetransfer] Set the status to error in setException()
FileTransfer would previously not change the status, even though an
exception has been set, leading users to believe that the transfer is
still ongoing, when it is not. -
Florian Schmaus <flo@geekplace.eu> c564c89c40a776d54f8e8252cb15f2cae3d315c3
[extensions] Add OutgoingFileTransfer.setCallback()
Some methods of OutgoingFileTransfer take already the
NegotiationProgress callback as argument, some do not. The API is not
ideal, and adding a setter for the callback at least makes it possible
to always have the callback. -
Florian Schmaus <flo@geekplace.eu> f2b44f65d938a075648bfa038d034f844e61a6d5
[tcp] Add code comment why we need to set "running = false" here
-
Florian Schmaus <flo@geekplace.eu> 14142a0ef20902407d907f427b44e349f9ea3739
[omemo] Introduce OmemoAesCipher as central AES API
OmemoAesCipher is the sole point where OMEMO related AES operations
are performed. This allows OmemoAesCipher to check in a static block
if AES is available. If AES is not available it throws a (hopefully)
helpfull exception message.
Typically AES is not available on Android if no security provider
providing AES, like Bouncy Castle, has been explicitly configured.- smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoRatchet.java (version 14142a0ef20902407d907f427b44e349f9ea3739) (diffs)
- smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/CipherAndAuthTag.java (version 14142a0ef20902407d907f427b44e349f9ea3739) (diffs)
- smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/OmemoAesCipher.java (version 14142a0ef20902407d907f427b44e349f9ea3739) (diffs)
- smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/util/OmemoMessageBuilder.java (version 14142a0ef20902407d907f427b44e349f9ea3739) (diffs)
- smack-omemo/src/test/java/org/jivesoftware/smackx/omemo/WrapperObjectsTest.java (version 14142a0ef20902407d907f427b44e349f9ea3739) (diffs)
-
Florian Schmaus <flo@geekplace.eu> 9d1b88a87726d7f4867a01d643f6fbd4007c7e7b
[muc] Do not filter for presence ID if #stable_id is not announced
On leave(), do not filter for presence ID if the MUC service does not
announce #stable_id.- smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java (version 9d1b88a87726d7f4867a01d643f6fbd4007c7e7b) (diffs)
- smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatConstants.java (version 9d1b88a87726d7f4867a01d643f6fbd4007c7e7b) (diffs)
- smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatManager.java (version 9d1b88a87726d7f4867a01d643f6fbd4007c7e7b) (diffs)
-
Florian Schmaus <flo@geekplace.eu> 61cb73ee3744999fcf7afc3480440bb330d3b9af
[core] Add AndFilter(List<StanzaFilter>) constructor
-
Florian Schmaus <flo@geekplace.eu> b7905d585d0ebaa8d58466019429d7ddc334a43b
[omemo] Use RandomUtil.fillWithSecureRandom() to generate IV
-
Florian Schmaus <flo@geekplace.eu> 17ac41c8cb1b10cff70a33b0d1701817f2aae544
[core] Add RandomUtil.fillWithSecureRandom(byte[])
-
Florian Schmaus <flo@geekplace.eu> 7cf0112487728cf24d93b831c6fa412d2969b6fc
[omemo] Cleanup CryptoFailedException
Remove the unused list of exceptions and add a (String, Exception)
constructor. -
Florian Schmaus <flo@geekplace.eu> f9114f780ddb10ec88d120591b62f2cf967de676
[tcp] Ignore exceptions in reader thread if writer was terminated
If we do not ignore the exception, then users may receive an exception
via connectionClosedOnError() on connection termination. Those
exceptions are typically unwanted if they are caused e.g. because the
server does not send a closing stream tag.
We previously ignored exceptions in this case already, but that
behavior was changed with [1: 57961a8cc1f2]. This commit re-adds the
behavior.
1: 57961a8cc1f2df6ecc1afa8c4f8460794d8d2dce
Remove SynchronizationPoint