diff --git a/android/Pubnub-Android-3.5.4.jar b/android/Pubnub-Android-3.5.4.jar index 618b56d4c..dc3451798 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..bea044062 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..d85db51e0 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 618b56d4c..dc3451798 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 618b56d4c..dc3451798 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 ea24b61a9..af3f78235 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..3a214b609 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..613b295e3 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..8ad225c33 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..762975477 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..41ce2be21 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 1993c0299..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 5f536ed59..082efd360 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..fee8f80d3 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..92fec3687 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 df40bf54d..74679c122 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..0ef521d40 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..362172006 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 daa6e8b5a..04aad4f56 100644 --- a/java/doc/allclasses-frame.html +++ b/java/doc/allclasses-frame.html @@ -2,12 +2,12 @@ - + All Classes - + diff --git a/java/doc/allclasses-noframe.html b/java/doc/allclasses-noframe.html index 79523198d..30b2448c5 100644 --- a/java/doc/allclasses-noframe.html +++ b/java/doc/allclasses-noframe.html @@ -2,12 +2,12 @@ - + All Classes - + diff --git a/java/doc/com/pubnub/api/Callback.html b/java/doc/com/pubnub/api/Callback.html index ac46328dd..08dd241bc 100644 --- a/java/doc/com/pubnub/api/Callback.html +++ b/java/doc/com/pubnub/api/Callback.html @@ -2,12 +2,12 @@ - + Callback - + diff --git a/java/doc/com/pubnub/api/HttpUtil.html b/java/doc/com/pubnub/api/HttpUtil.html index 837269349..c3e8c9058 100644 --- a/java/doc/com/pubnub/api/HttpUtil.html +++ b/java/doc/com/pubnub/api/HttpUtil.html @@ -2,12 +2,12 @@ - + HttpUtil - + diff --git a/java/doc/com/pubnub/api/Pubnub.html b/java/doc/com/pubnub/api/Pubnub.html index fa4e13d52..d11ced251 100644 --- a/java/doc/com/pubnub/api/Pubnub.html +++ b/java/doc/com/pubnub/api/Pubnub.html @@ -2,12 +2,12 @@ - + Pubnub - + diff --git a/java/doc/com/pubnub/api/PubnubError.html b/java/doc/com/pubnub/api/PubnubError.html index 8da71035a..4a93839fd 100644 --- a/java/doc/com/pubnub/api/PubnubError.html +++ b/java/doc/com/pubnub/api/PubnubError.html @@ -2,12 +2,12 @@ - + PubnubError - + diff --git a/java/doc/com/pubnub/api/PubnubException.html b/java/doc/com/pubnub/api/PubnubException.html index dd9e79f1d..6827e6240 100644 --- a/java/doc/com/pubnub/api/PubnubException.html +++ b/java/doc/com/pubnub/api/PubnubException.html @@ -2,12 +2,12 @@ - + PubnubException - + diff --git a/java/doc/com/pubnub/api/PubnubUtil.html b/java/doc/com/pubnub/api/PubnubUtil.html index ca0fea9da..b4c9dc4cc 100644 --- a/java/doc/com/pubnub/api/PubnubUtil.html +++ b/java/doc/com/pubnub/api/PubnubUtil.html @@ -2,12 +2,12 @@ - + PubnubUtil - + diff --git a/java/doc/com/pubnub/api/package-frame.html b/java/doc/com/pubnub/api/package-frame.html index eb254c399..a09c998c5 100644 --- a/java/doc/com/pubnub/api/package-frame.html +++ b/java/doc/com/pubnub/api/package-frame.html @@ -2,12 +2,12 @@ - + com.pubnub.api - + diff --git a/java/doc/com/pubnub/api/package-summary.html b/java/doc/com/pubnub/api/package-summary.html index c80d3855f..40eb51fb7 100644 --- a/java/doc/com/pubnub/api/package-summary.html +++ b/java/doc/com/pubnub/api/package-summary.html @@ -2,12 +2,12 @@ - + com.pubnub.api - + diff --git a/java/doc/com/pubnub/api/package-tree.html b/java/doc/com/pubnub/api/package-tree.html index 3fdf78495..7dc64e735 100644 --- a/java/doc/com/pubnub/api/package-tree.html +++ b/java/doc/com/pubnub/api/package-tree.html @@ -2,12 +2,12 @@ - + com.pubnub.api Class Hierarchy - + diff --git a/java/doc/constant-values.html b/java/doc/constant-values.html index 6ef12179f..de61af2e3 100644 --- a/java/doc/constant-values.html +++ b/java/doc/constant-values.html @@ -2,12 +2,12 @@ - + Constant Field Values - + diff --git a/java/doc/deprecated-list.html b/java/doc/deprecated-list.html index f06bb5d83..fed78e849 100644 --- a/java/doc/deprecated-list.html +++ b/java/doc/deprecated-list.html @@ -2,12 +2,12 @@ - + Deprecated List - + diff --git a/java/doc/help-doc.html b/java/doc/help-doc.html index edee9f024..9dc26ff42 100644 --- a/java/doc/help-doc.html +++ b/java/doc/help-doc.html @@ -2,12 +2,12 @@ - + API Help - + diff --git a/java/doc/index-all.html b/java/doc/index-all.html index 92475133c..09b79f36a 100644 --- a/java/doc/index-all.html +++ b/java/doc/index-all.html @@ -2,12 +2,12 @@ - + Index - + diff --git a/java/doc/index.html b/java/doc/index.html index a7db3f219..e7d4e2781 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 55d4edd5d..cbc9774e9 100644 --- a/java/doc/overview-tree.html +++ b/java/doc/overview-tree.html @@ -2,12 +2,12 @@ - + Class Hierarchy - + diff --git a/java/doc/serialized-form.html b/java/doc/serialized-form.html index 2e616b2b5..d3f298270 100644 --- a/java/doc/serialized-form.html +++ b/java/doc/serialized-form.html @@ -2,12 +2,12 @@ - + Serialized Form - + diff --git a/java/jars/Pubnub-UnitTests-3.5.4.jar b/java/jars/Pubnub-UnitTests-3.5.4.jar index bf8af3fa9..a4a8169e5 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 fe61e6fee..a147bc234 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 4fbc677b3..4e0230d3b 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); }