Florian Schmaus
ff8d1b8299
travis: Add javadocAll to 'script' gradle targets
...
to ensure that javadocAll works correctly. A nice side-effect, this
also ensures that the package-info.java symbolic links are still
correct and haven't been replaced by some IDE or editor with the
content of the link target.
2019-09-01 23:13:20 +02:00
Florian Schmaus
1a7e2c1510
javadocAll: Set source to sourceCompatibility to work around bug
...
in JDK 11. See https://bugs.openjdk.java.net/browse/JDK-8217177
2019-09-01 23:13:20 +02:00
Florian Schmaus
75625283ef
Make "duplicate" package-info.java files symbolic links
...
This is needed for javadocAll since otherwhise there will be
smack-core/src/main/java/org/jivesoftware/smack/package-info.java:21:
warning: a package-info.java file has already been seen for
package org.jivesoftware.smack
warnings.
2019-09-01 23:13:20 +02:00
Florian Schmaus
ac77c969ac
gradle: Use project(':foo') intead of project(path: ':foo') when possible
2019-09-01 23:13:20 +02:00
Florian Schmaus
5b23b9a6ae
Merge pull request #342 from fenek/fix-http-file-upload-header
...
Remove trailing semicolon in the header used in HttpFileUploadManager
2019-08-30 19:46:15 +02:00
Florian Schmaus
1a3067c89b
Enable werror for javadoc and fix javadoc issues
2019-08-30 12:08:30 +02:00
Florian Schmaus
4249c1a845
Improve PepManager.publish()
...
by using PubSubManager.tryToPublishAndPossibleAutoCreate().
This also swaps the parameters of the method.
Thanks to Guus der Kinderen for suggesting this.
2019-08-28 22:59:30 +02:00
Piotr Nosek
563dad08e8
Remove trailing semicolon in the header used in HttpFileUploadManager
2019-08-28 17:53:04 +02:00
Florian Schmaus
851bd3c5dd
Add IllegalArgumentException to parsing exceptions
...
As it is thrown by many Element constructors.
2019-08-27 09:01:12 +02:00
Florian Schmaus
944dd71976
Merge pull request #341 from vanitasvitae/prekeyid
...
OMEMO: Allow prekey ID 0
2019-08-24 13:12:21 +02:00
a160358d5d
OMEMO: Allow prekey ID 0
2019-08-24 12:22:38 +02:00
Florian Schmaus
8f2eefaeb0
Fix whitespace errors in AbstractXMPPConnection
2019-08-22 15:28:54 +02:00
Florian Schmaus
9f0420be4f
Merge pull request #339 from bjalon/patch-5
...
Update muc.md
2019-08-22 15:16:58 +02:00
Florian Schmaus
afcc0935ef
Merge pull request #336 from bjalon/patch-4
...
Update gettingstarted.md
2019-08-22 15:16:48 +02:00
Florian Schmaus
9dc24c2b11
Merge pull request #335 from bjalon/patch-3
...
Update processing.md
2019-08-22 15:16:37 +02:00
Florian Schmaus
d71ea55edc
Merge pull request #334 from bjalon/patch-2
...
Update providers.md
2019-08-22 15:16:17 +02:00
Florian Schmaus
bf0c69c93e
Merge pull request #333 from adiaholic/docFix
...
DocFix in `NodeInformationProvider`
2019-08-22 15:16:00 +02:00
Florian Schmaus
c6b75d8bcc
Merge pull request #308 from adiaholic/SMACK-718
...
Prevent extremely long reply timeouts from being set.
2019-08-22 14:54:15 +02:00
Florian Schmaus
f863bd222c
Merge branch '4.3'
2019-08-22 11:52:41 +02:00
Florian Schmaus
d40b16b5a7
Fix log message format in Roster: s/{}/{0}/
...
The MessageFormat used by the JUL Logger requires integers between the
curly brackets (unlike SLF4J).
2019-08-22 10:55:33 +02:00
Florian Schmaus
01e0ae230b
Deprecate setHostAddressByNameOrIp() and move logic into setHost()
...
in ConnectionConfiguration.Builder.
2019-08-22 10:55:33 +02:00
Florian Schmaus
9923268391
Remove LOCK in OmemoManager and use Manager instance instead
2019-08-06 12:48:31 +02:00
Florian Schmaus
d7b7abc7eb
Delete XML whitespace before feeding the Base64 decoder
2019-08-06 12:48:31 +02:00
Florian Schmaus
1bc8a22b28
Add StringUtils.deleteXmlWhitespace(String)
2019-08-05 22:20:21 +02:00
Benjamin JALON
1893fa7474
Update muc.md
2019-08-05 12:57:48 +02:00
3a0356488d
Add OmemoClient repl class
2019-08-05 11:11:38 +02:00
e6ac568f32
Change license of smack-repl to GPLv3
2019-08-05 09:33:16 +02:00
Florian Schmaus
1bce378e6d
smack-omemo*: Do not swallow IOException deep within the library
...
Those exception are caused by I/O operations in the OmemoStore, which
is now declaring that it throws those (since it is not uncommon for
I/O operations to cause IOExceptions). After all, this is nicely
demonstrated as this change is caused by switching with this commit to
the Android API 19 compatible methods in FileBasedOmemoStore, which
throw.
The library can not decide what to do in case of those exceptions,
hence it is sensible to expose them to the user.
2019-08-05 09:31:48 +02:00
Florian Schmaus
699905a1de
Use HttpURLConnection.setFixedLengthStreamingMode(long)
...
now that we are on Android 19.
2019-08-04 23:04:00 +02:00
Florian Schmaus
ca7529c192
Use Integer.compare(int, int) now that we are on Android 19
2019-08-04 23:03:42 +02:00
adiaholic
144e99c020
DocFix in NodeInformationProvider
2019-08-04 19:39:55 +05:30
Benjamin JALON
f7a699af8a
Update gettingstarted.md
2019-08-04 14:35:04 +02:00
Florian Schmaus
3e74d11b45
Disable MucMemoryLeakTest
...
Although it it not that unreliable, it causes false negatives once in
a while. This is because the standard Java SE API does not provide a
way to force a *full* garbage collection run, we need to resort to
unreliable hacks to trigger one.
The test itself is still useful to diagnose or refute alleged memory
leaks.
This commit also move the test from JUnit 4 to Junit 5.
2019-08-03 22:25:21 +02:00
Florian Schmaus
efb206f7bd
Use Locale.getDefault() to initialize the language
2019-08-03 22:20:05 +02:00
Georg Lukas
6a0e0f0f67
Implement xml:lang support in ConnectionConfiguration and AbstractXMPPConnection
...
This patch makes it possible to change the stream-level language as part
of the connection configuration, to allow a properly implemented
entities to provide i18n'ed response messages. The Locale type is used
for this configuration, and the effective language string can be
obtained via `ConnectionConfiguration.getXmlLang()`.
This code does not cover XMPPBOSHConnection!
Signed-off-by: Georg Lukas <georg@op-co.de>
2019-08-03 22:19:45 +02:00
Florian Schmaus
12cbeede57
Use Enum.toString() in XmlStringBuilder.element(String, Enum)
...
as toString() is often overriden by Enums to yield the expected XMPP
wire protocol representation.
2019-08-03 22:15:44 +02:00
Benjamin JALON
afa5c0f5ad
Update processing.md
2019-08-03 11:44:46 +02:00
Benjamin JALON
b8cf599691
Update providers.md
2019-08-03 11:42:25 +02:00
Florian Schmaus
eecd5b70d3
Merge branch 'master' of github.com:igniterealtime/Smack
2019-07-30 11:35:45 +02:00
Florian Schmaus
8da954f7a4
OpenPGP: Bump Pgpainless to 0.0.1-alpha7
...
Also unify how new Security Providers are installed.
Thanks to Paul Schaub for helping with this.
2019-07-30 09:37:19 +02:00
Florian Schmaus
96e14471d0
Merge pull request #324 from adiaholic/spellcorrection
...
Correcting mini typing error
2019-07-28 18:11:56 +02:00
Florian Schmaus
d2f9617418
Merge pull request #326 from adiaholic/bugFix
...
Return obtained XmlStringBuilder instead of null
2019-07-28 17:50:09 +02:00
adiaholic
41a3ec05c7
Returning obtained XmlStringBuilder instead of null
2019-07-28 16:36:12 +05:30
Florian Schmaus
b86d088926
Bump BouncyCastle to 1.62
2019-07-27 12:38:24 +02:00
Florian Schmaus
4ca2c7cc69
Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks
2019-07-24 09:18:39 +02:00
Florian Schmaus
2ac452fe1e
travis: Use apt addon to install graphviz
2019-07-22 08:47:37 +02:00
Florian Schmaus
95c73f51b1
Bump Checkstyle to 8.22
2019-07-22 08:40:17 +02:00
Florian Schmaus
9de2b983c8
gradle: Add workaround for gpg signatory not supporting 'required'
2019-07-21 09:16:00 +02:00
Florian Schmaus
4e34f221d8
Smack 4.4.0-alpha3-SNAPSHOT
2019-07-21 08:05:52 +02:00
Florian Schmaus
acefc9d324
Smack 4.4.0-alpha2
2019-07-20 22:34:23 +02:00