mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Merge branch '4.0'
Conflicts: build.gradle
This commit is contained in:
commit
50e068b6a7
3 changed files with 20 additions and 3 deletions
|
@ -326,4 +326,4 @@ def getAndroidJavadocOffline() {
|
||||||
def androidHome = new File("$System.env.ANDROID_HOME")
|
def androidHome = new File("$System.env.ANDROID_HOME")
|
||||||
if (!androidHome.isDirectory()) throw new Exception("ANDROID_HOME not found or set")
|
if (!androidHome.isDirectory()) throw new Exception("ANDROID_HOME not found or set")
|
||||||
return "$System.env.ANDROID_HOME" + "/docs/reference"
|
return "$System.env.ANDROID_HOME" + "/docs/reference"
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,6 +141,23 @@ hr {
|
||||||
|
|
||||||
<div id="pageBody">
|
<div id="pageBody">
|
||||||
|
|
||||||
|
<h2>4.0.4 -- <span style="font-weight: normal;">2014-09-05</span></h2>
|
||||||
|
|
||||||
|
<h2> Bug
|
||||||
|
</h2>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href='https://igniterealtime.org/issues/browse/SMACK-596'>SMACK-596</a>] - Smack should load roster before sending the initial presence
|
||||||
|
</li>
|
||||||
|
<li>[<a href='https://igniterealtime.org/issues/browse/SMACK-598'>SMACK-598</a>] - Smack should allow the empty string as content of message body element
|
||||||
|
</li>
|
||||||
|
<li>[<a href='https://igniterealtime.org/issues/browse/SMACK-601'>SMACK-601</a>] - PubSub ItemProvider does only process the outermost namespace definition when creating PayloadItems
|
||||||
|
</li>
|
||||||
|
<li>[<a href='https://igniterealtime.org/issues/browse/SMACK-602'>SMACK-602</a>] - PacketCollector must handle InterruptException
|
||||||
|
</li>
|
||||||
|
<li>[<a href='https://igniterealtime.org/issues/browse/SMACK-603'>SMACK-603</a>] - XMPPError.Condition.equals() should be null-safe
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h2>4.0.3 -- <span style="font-weight: normal;">2014-08-16</span></h2>
|
<h2>4.0.3 -- <span style="font-weight: normal;">2014-08-16</span></h2>
|
||||||
|
|
||||||
<h2> Bug
|
<h2> Bug
|
||||||
|
|
|
@ -171,7 +171,7 @@ public class PingManager extends Manager {
|
||||||
* by the entity.
|
* by the entity.
|
||||||
*
|
*
|
||||||
* @param jid The id of the entity the ping is being sent to
|
* @param jid The id of the entity the ping is being sent to
|
||||||
* @param pingTimeout The time to wait for a reply
|
* @param pingTimeout The time to wait for a reply in milliseconds
|
||||||
* @return true if a reply was received from the entity, false otherwise.
|
* @return true if a reply was received from the entity, false otherwise.
|
||||||
* @throws NoResponseException if there was no response from the jid.
|
* @throws NoResponseException if there was no response from the jid.
|
||||||
* @throws NotConnectedException
|
* @throws NotConnectedException
|
||||||
|
@ -179,7 +179,7 @@ public class PingManager extends Manager {
|
||||||
public boolean ping(String jid, long pingTimeout) throws NotConnectedException, NoResponseException {
|
public boolean ping(String jid, long pingTimeout) throws NotConnectedException, NoResponseException {
|
||||||
Ping ping = new Ping(jid);
|
Ping ping = new Ping(jid);
|
||||||
try {
|
try {
|
||||||
connection().createPacketCollectorAndSend(ping).nextResultOrThrow();
|
connection().createPacketCollectorAndSend(ping).nextResultOrThrow(pingTimeout);
|
||||||
}
|
}
|
||||||
catch (XMPPException exc) {
|
catch (XMPPException exc) {
|
||||||
return jid.equals(connection().getServiceName());
|
return jid.equals(connection().getServiceName());
|
||||||
|
|
Loading…
Reference in a new issue