diff --git a/android/Pubnub-Android-3.5.4.jar b/android/Pubnub-Android-3.5.4.jar index 7a12c436d..3dac4147a 100644 Binary files a/android/Pubnub-Android-3.5.4.jar and b/android/Pubnub-Android-3.5.4.jar differ diff --git a/android/Pubnub-Android-Debug-3.5.4.jar b/android/Pubnub-Android-Debug-3.5.4.jar new file mode 100644 index 000000000..10be50e33 Binary files /dev/null and b/android/Pubnub-Android-Debug-3.5.4.jar differ diff --git a/android/build.xml b/android/build.xml index 3ada937ad..54b09d0b9 100644 --- a/android/build.xml +++ b/android/build.xml @@ -1,8 +1,9 @@ - + + @@ -17,6 +18,7 @@ + @@ -27,7 +29,6 @@ - @@ -39,17 +40,34 @@ - - + + + + + + + + + + + + + + + + + + + - @@ -57,17 +75,17 @@ - + - + - + diff --git a/android/examples/PubnubExample/libs/Pubnub-Android-3.5.4.jar b/android/examples/PubnubExample/libs/Pubnub-Android-3.5.4.jar index 7a12c436d..3dac4147a 100644 Binary files a/android/examples/PubnubExample/libs/Pubnub-Android-3.5.4.jar and b/android/examples/PubnubExample/libs/Pubnub-Android-3.5.4.jar differ diff --git a/android/examples/SubscribeAtBoot/libs/Pubnub-Android-3.5.4.jar b/android/examples/SubscribeAtBoot/libs/Pubnub-Android-3.5.4.jar index 7a12c436d..3dac4147a 100644 Binary files a/android/examples/SubscribeAtBoot/libs/Pubnub-Android-3.5.4.jar and b/android/examples/SubscribeAtBoot/libs/Pubnub-Android-3.5.4.jar differ diff --git a/blackberry/Pubnub-BlackBerry-3.5.4.jar b/blackberry/Pubnub-BlackBerry-3.5.4.jar index 5405b7c8d..8cda5af59 100644 Binary files a/blackberry/Pubnub-BlackBerry-3.5.4.jar and b/blackberry/Pubnub-BlackBerry-3.5.4.jar differ diff --git a/blackberry/Pubnub-BlackBerry-Debug-3.5.4.jar b/blackberry/Pubnub-BlackBerry-Debug-3.5.4.jar new file mode 100644 index 000000000..8abaccdff Binary files /dev/null and b/blackberry/Pubnub-BlackBerry-Debug-3.5.4.jar differ diff --git a/blackberry/build.xml b/blackberry/build.xml index 5d23738a4..571cd4335 100644 --- a/blackberry/build.xml +++ b/blackberry/build.xml @@ -1,8 +1,9 @@ - + + @@ -17,6 +18,7 @@ + @@ -50,35 +52,48 @@ - - + + + + + + + + + + + + + + + - - + - + - + - + - + diff --git a/build.xml b/build.xml index 5cc52bb3c..2f435e105 100644 --- a/build.xml +++ b/build.xml @@ -1,5 +1,10 @@ - + + + + + + diff --git a/codenameone/Pubnub-CodeNameOne-3.5.4.cn1lib b/codenameone/Pubnub-CodeNameOne-3.5.4.cn1lib new file mode 100644 index 000000000..bd61cc78b Binary files /dev/null and b/codenameone/Pubnub-CodeNameOne-3.5.4.cn1lib differ diff --git a/codenameone/Pubnub-CodeNameOne-Debug-3.5.4.cn1lib b/codenameone/Pubnub-CodeNameOne-Debug-3.5.4.cn1lib new file mode 100644 index 000000000..7863a648e Binary files /dev/null and b/codenameone/Pubnub-CodeNameOne-Debug-3.5.4.cn1lib differ diff --git a/codenameone/PubnubClientSDK/build.xml b/codenameone/PubnubClientSDK/build.xml index eb9af50d2..ea58875a3 100644 --- a/codenameone/PubnubClientSDK/build.xml +++ b/codenameone/PubnubClientSDK/build.xml @@ -2,10 +2,12 @@ - + Builds, tests, and runs the project PubnubClientSDK. + + @@ -24,7 +26,7 @@ - + @@ -38,8 +40,19 @@ - - + + + + + + + + + + + + + @@ -105,94 +118,4 @@ - - - - - - - - - - - - - - Zipping rim native code - - - - - - - - - - - - - - - - - Zipping Android native code - - - - - - - - - - - - - - - - - Zipping win native code - - - - - - - - - - - - - - - - - Zipping ios native code - - - - - - - - - - - - - - - - - Zipping me native code - - - diff --git a/codenameone/build.xml b/codenameone/build.xml index 5cc52bb3c..f92a0c234 100644 --- a/codenameone/build.xml +++ b/codenameone/build.xml @@ -1,5 +1,10 @@ - + + + + + + diff --git a/codenameone/pubnub-codenameone-3.5.4.cn1lib b/codenameone/pubnub-codenameone-3.5.4.cn1lib deleted file mode 100644 index 2c5ec08ce..000000000 Binary files a/codenameone/pubnub-codenameone-3.5.4.cn1lib and /dev/null differ diff --git a/j2me/Pubnub-MicroEdition-3.5.4.jar b/j2me/Pubnub-MicroEdition-3.5.4.jar index 1f9657394..2676a3628 100644 Binary files a/j2me/Pubnub-MicroEdition-3.5.4.jar and b/j2me/Pubnub-MicroEdition-3.5.4.jar differ diff --git a/j2me/Pubnub-MicroEdition-Debug-3.5.4.jar b/j2me/Pubnub-MicroEdition-Debug-3.5.4.jar new file mode 100644 index 000000000..9f533ab16 Binary files /dev/null and b/j2me/Pubnub-MicroEdition-Debug-3.5.4.jar differ diff --git a/j2me/build.xml b/j2me/build.xml index 8ddb981f5..a8da65cff 100644 --- a/j2me/build.xml +++ b/j2me/build.xml @@ -1,8 +1,9 @@ - + + @@ -16,6 +17,7 @@ + @@ -49,10 +51,25 @@ - - + + + + + + + + + + + + + + + + + - @@ -60,17 +77,17 @@ - + - + - + diff --git a/java/Pubnub-StandardEdition-3.5.4.jar b/java/Pubnub-StandardEdition-3.5.4.jar index 63b99bf7f..2ad813769 100644 Binary files a/java/Pubnub-StandardEdition-3.5.4.jar and b/java/Pubnub-StandardEdition-3.5.4.jar differ diff --git a/java/Pubnub-StandardEdition-Debug-3.5.4.jar b/java/Pubnub-StandardEdition-Debug-3.5.4.jar new file mode 100644 index 000000000..1ce0b691b Binary files /dev/null and b/java/Pubnub-StandardEdition-Debug-3.5.4.jar differ diff --git a/java/build.xml b/java/build.xml index 56996277e..13cdfb044 100644 --- a/java/build.xml +++ b/java/build.xml @@ -1,8 +1,9 @@ - + + @@ -20,6 +21,7 @@ + @@ -53,7 +55,6 @@ - @@ -63,9 +64,26 @@ - + + + + + + + + + + + + + + + + + + - - + @@ -93,7 +111,7 @@ - + @@ -196,24 +214,21 @@ - - - - - - - - - - - + + + + + + + + + + - - - + + - @@ -270,6 +285,43 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/doc/allclasses-frame.html b/java/doc/allclasses-frame.html index addbca06e..3d887ae93 100644 --- a/java/doc/allclasses-frame.html +++ b/java/doc/allclasses-frame.html @@ -2,7 +2,7 @@ - + All Classes diff --git a/java/doc/allclasses-noframe.html b/java/doc/allclasses-noframe.html index c6842bf11..fc314661d 100644 --- a/java/doc/allclasses-noframe.html +++ b/java/doc/allclasses-noframe.html @@ -2,7 +2,7 @@ - + All Classes diff --git a/java/doc/com/pubnub/api/Callback.html b/java/doc/com/pubnub/api/Callback.html index 0253c7e7e..50affa7f2 100644 --- a/java/doc/com/pubnub/api/Callback.html +++ b/java/doc/com/pubnub/api/Callback.html @@ -2,7 +2,7 @@ - + Callback diff --git a/java/doc/com/pubnub/api/HttpUtil.html b/java/doc/com/pubnub/api/HttpUtil.html index 46307aa4c..3fbc4a1c1 100644 --- a/java/doc/com/pubnub/api/HttpUtil.html +++ b/java/doc/com/pubnub/api/HttpUtil.html @@ -2,7 +2,7 @@ - + HttpUtil diff --git a/java/doc/com/pubnub/api/Pubnub.html b/java/doc/com/pubnub/api/Pubnub.html index 97b0f6d84..af51bd082 100644 --- a/java/doc/com/pubnub/api/Pubnub.html +++ b/java/doc/com/pubnub/api/Pubnub.html @@ -2,7 +2,7 @@ - + Pubnub diff --git a/java/doc/com/pubnub/api/PubnubError.html b/java/doc/com/pubnub/api/PubnubError.html index f5965ef14..9f8af82bb 100644 --- a/java/doc/com/pubnub/api/PubnubError.html +++ b/java/doc/com/pubnub/api/PubnubError.html @@ -2,7 +2,7 @@ - + PubnubError diff --git a/java/doc/com/pubnub/api/PubnubException.html b/java/doc/com/pubnub/api/PubnubException.html index df5a461ad..f37047a1f 100644 --- a/java/doc/com/pubnub/api/PubnubException.html +++ b/java/doc/com/pubnub/api/PubnubException.html @@ -2,7 +2,7 @@ - + PubnubException diff --git a/java/doc/com/pubnub/api/PubnubUtil.html b/java/doc/com/pubnub/api/PubnubUtil.html index d4206af78..3fbd44b16 100644 --- a/java/doc/com/pubnub/api/PubnubUtil.html +++ b/java/doc/com/pubnub/api/PubnubUtil.html @@ -2,7 +2,7 @@ - + PubnubUtil diff --git a/java/doc/com/pubnub/api/package-frame.html b/java/doc/com/pubnub/api/package-frame.html index d678e9398..c09ca73ec 100644 --- a/java/doc/com/pubnub/api/package-frame.html +++ b/java/doc/com/pubnub/api/package-frame.html @@ -2,7 +2,7 @@ - + com.pubnub.api diff --git a/java/doc/com/pubnub/api/package-summary.html b/java/doc/com/pubnub/api/package-summary.html index b839f44cf..73eafc29a 100644 --- a/java/doc/com/pubnub/api/package-summary.html +++ b/java/doc/com/pubnub/api/package-summary.html @@ -2,7 +2,7 @@ - + com.pubnub.api diff --git a/java/doc/com/pubnub/api/package-tree.html b/java/doc/com/pubnub/api/package-tree.html index 5c28e0250..4152a25b4 100644 --- a/java/doc/com/pubnub/api/package-tree.html +++ b/java/doc/com/pubnub/api/package-tree.html @@ -2,7 +2,7 @@ - + com.pubnub.api Class Hierarchy diff --git a/java/doc/constant-values.html b/java/doc/constant-values.html index a73aff8d6..4efc095e2 100644 --- a/java/doc/constant-values.html +++ b/java/doc/constant-values.html @@ -2,7 +2,7 @@ - + Constant Field Values diff --git a/java/doc/deprecated-list.html b/java/doc/deprecated-list.html index 2c8e92d71..b74c028bd 100644 --- a/java/doc/deprecated-list.html +++ b/java/doc/deprecated-list.html @@ -2,7 +2,7 @@ - + Deprecated List diff --git a/java/doc/help-doc.html b/java/doc/help-doc.html index e23f40f07..3d5b86e8f 100644 --- a/java/doc/help-doc.html +++ b/java/doc/help-doc.html @@ -2,7 +2,7 @@ - + API Help diff --git a/java/doc/index-all.html b/java/doc/index-all.html index 48bea0f92..95e8de16d 100644 --- a/java/doc/index-all.html +++ b/java/doc/index-all.html @@ -2,7 +2,7 @@ - + Index diff --git a/java/doc/index.html b/java/doc/index.html index 730531a8b..1f23fda1d 100644 --- a/java/doc/index.html +++ b/java/doc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) diff --git a/java/doc/overview-tree.html b/java/doc/overview-tree.html index 873042cd7..21847a4b0 100644 --- a/java/doc/overview-tree.html +++ b/java/doc/overview-tree.html @@ -2,7 +2,7 @@ - + Class Hierarchy diff --git a/java/doc/serialized-form.html b/java/doc/serialized-form.html index 24e8659c7..8d8195f6a 100644 --- a/java/doc/serialized-form.html +++ b/java/doc/serialized-form.html @@ -2,7 +2,7 @@ - + Serialized Form diff --git a/java/jars/Pubnub-UnitTests-3.5.4.jar b/java/jars/Pubnub-UnitTests-3.5.4.jar index 21524646a..5afa9f6f4 100644 Binary files a/java/jars/Pubnub-UnitTests-3.5.4.jar and b/java/jars/Pubnub-UnitTests-3.5.4.jar differ diff --git a/java/jars/PubnubDemoConsole.jar b/java/jars/PubnubDemoConsole.jar index 3ab18b4b2..b9c27f3ad 100644 Binary files a/java/jars/PubnubDemoConsole.jar and b/java/jars/PubnubDemoConsole.jar differ diff --git a/java/jars/PubnubExample.jar b/java/jars/PubnubExample.jar index 0cf29f7d1..92251d79e 100644 Binary files a/java/jars/PubnubExample.jar and b/java/jars/PubnubExample.jar differ diff --git a/java/src1/com/pubnub/api/HttpClientCore.java b/java/src1/com/pubnub/api/HttpClientCore.java index 91a6badaa..9eb1f678d 100644 --- a/java/src1/com/pubnub/api/HttpClientCore.java +++ b/java/src1/com/pubnub/api/HttpClientCore.java @@ -86,6 +86,7 @@ public HttpResponse fetch(String url) throws PubnubException, SocketTimeoutExcep public synchronized HttpResponse fetch(String url, Hashtable headers) throws PubnubException, SocketTimeoutException { URL urlobj = null; + log.verbose("FETCHING URL : " + url); try { urlobj = new URL(url); } catch (MalformedURLException e3) { @@ -120,20 +121,21 @@ public synchronized HttpResponse fetch(String url, Hashtable headers) connection.setReadTimeout(requestTimeout); connection.setConnectTimeout(connectionTimeout); - + /* try { connection.connect(); } catch (SocketTimeoutException e) { throw e; } catch (IOException e) { - throw new PubnubException(getErrorObject(PNERROBJ_CONNECT_EXCEPTION, url)); + throw new PubnubException(getErrorObject(PNERROBJ_CONNECT_EXCEPTION, url + " : " + e.toString())); } + */ - int rc = HttpURLConnection.HTTP_CLIENT_TIMEOUT; + int rc = HttpURLConnection.HTTP_INTERNAL_ERROR; try { rc = connection.getResponseCode(); } catch (IOException e) { - throw new PubnubException(getErrorObject(PNERROBJ_HTTP_RC_ERROR, url)); + throw new PubnubException(getErrorObject(PNERROBJ_HTTP_RC_ERROR, url + " : " + e.toString())); } @@ -166,6 +168,7 @@ public synchronized HttpResponse fetch(String url, Hashtable headers) throw new PubnubException(getErrorObject(PNERROBJ_READINPUT, url)); } + log.verbose("URL = " + url + " : RESPONSE = " + page); switch (rc) { case HttpURLConnection.HTTP_FORBIDDEN: throw new PubnubException(getErrorObject(PNERROBJ_FORBIDDEN, page)); @@ -192,11 +195,10 @@ public synchronized HttpResponse fetch(String url, Hashtable headers) case HttpURLConnection.HTTP_GATEWAY_TIMEOUT: throw new PubnubException(getErrorObject(PNERROBJ_GATEWAY_TIMEOUT, url)); case HttpURLConnection.HTTP_INTERNAL_ERROR: - throw new PubnubException(getErrorObject(PNERROBJ_INTERNAL_ERROR, url)); + throw new PubnubException(getErrorObject(PNERROBJ_INTERNAL_ERROR, url + " : " + rc)); default: break; } - log.verbose("URL = " + url + " : RESPONSE = " + page); return new HttpResponse(rc, page); }