Commit Graph

2336 Commits

Author SHA1 Message Date
Tomaz Muraus
bb7bc33a8a [CB-4495] Modify start-emulator script to exit immediately on a fatal emulator error.
(cherry picked from commit 121b74fa0c)
2013-10-22 15:15:58 -04:00
Andrew Grieve
64c617d8ab Log WebView IOExceptions only when they are not 404s
(cherry picked from commit 5451320350)
2013-10-22 15:15:45 -04:00
Andrew Grieve
bcccb0c620 Fix data URI decoding in CordovaResourceApi
It was not URI-decoding first, and so was broken for non-base64-encoded
URIs.
(cherry picked from commit 4e1aa8aa59)
2013-10-22 15:14:36 -04:00
Benn Mapes
e1de55cc82 [CB-4466] fixed jscript check_reqs to get target from project.properties
(cherry picked from commit 53b8da8198)
2013-10-22 15:14:09 -04:00
Fil Maj
4b501a5b63 [CB-4463] Updated bin/check_reqs to looks for android-18 target.Also fixed an issue in unix version of script that would invoke the android command if an error occurred.
(cherry picked from commit c2c5f71018)
2013-10-22 15:14:03 -04:00
Fil Maj
dc494c85f2 [CB-4198] bin/create script should be better at handling non-word characters in activity name. Patched windows script as well.
(cherry picked from commit b4236b9783)
2013-10-22 15:12:11 -04:00
Fil Maj
624a8d370c [CB-4198] bin/create should handle spaces in activity better. 2013-10-22 15:12:03 -04:00
Andrew Grieve
5814d666ab [CB-3384] Fix thread assertion when plugins remap URIs
(cherry picked from commit b915aafb5b)
2013-10-22 15:11:42 -04:00
Andrew Grieve
53e3a12441 [CB-3384] Use the ExposedJsApi to detect webCore thread instead of IceCreamCordovaWebViewClient.
Also removes a debug log statement.
(cherry picked from commit 6fe18ae0ab)
2013-10-22 15:11:15 -04:00
denis
dd770ef303 Prevent NPE in case webview is lately initialized
(cherry picked from commit a9ebf50b86)
2013-10-22 15:09:51 -04:00
Andrew Grieve
8b3fa5c91e [CB-3384] Reworked UriResolver into CordovaResourceApi.
Changes were made after trying to use the API for Camera, FileTransfer, Media.
The main difference is separating the concept of URI remapping from the read/write helpers.
(cherry picked from commit 77e9092108)
2013-10-22 15:09:15 -04:00
Andrew Grieve
43bf47ea7b [CB-3384] Add a length getter for UriResolver. Change from interface -> abstract class.
Thinking here is that we can maintain compatibility going forward with a
base class as opposed to interface by having new methods on it have
default implementations.
(cherry picked from commit 990d91360d)
2013-10-22 15:05:15 -04:00
denis
4be84fbf12 Let subclasses override focus behavior
Signed-off-by: Joe Bowser <bowserj@apache.org>
(cherry picked from commit 55865a4f1d)
2013-10-22 15:04:52 -04:00
Andrew Grieve
e9b46e5cf6 [CB-3384] Make UriResolver assert that IO is not on the UI nor WebCore threads.
(cherry picked from commit 99341bce29)
2013-10-22 15:04:08 -04:00
Joe Bowser
6a57a3c452 Backporting CB-1605 2013-10-16 12:03:03 -07:00
Joe Bowser
cdb49eaa1f CB-4471: Mitigating Android 4.3 errors where data isn't being passed so NPE doesn't happen 2013-10-16 11:58:07 -07:00
Joe Bowser
cb11486f66 Backporting CB-4521 2013-10-16 11:44:21 -07:00
Joe Bowser
0e9b446a81 Backporting FileUtils fixes to 2.9 2013-10-01 14:45:41 -07:00
Joe Bowser
2cf79a1adb Updating cordova.js to be up-to-date 2013-10-01 14:42:56 -07:00
Joe Bowser
5550ec8f2c CB-4633: Backporting to Android 2.9.x 2013-10-01 14:05:07 -07:00
Joe Bowser
70f3785b47 CB-4498: Updating 2.9.x to minimum supported 2013-08-20 16:38:14 -07:00
Max Woghiren
8c4c22c72a [CB-4013] Added a missing import. 2013-08-08 00:53:01 -04:00
Joe Bowser
cd4a316a91 CB-4465: Supporting 2.9.x for a period of time 2013-07-30 16:20:52 -07:00
Max Woghiren
654d489c01 [CB-4013] Fixed loadUrlTimeoutValue preference. 2013-07-30 12:26:53 -04:00
Ian Clelland
f3acf9002e [CB-4140] Fix version of cordova-android to 2.9.0 2013-07-17 14:20:50 -04:00
macdonst
e03bd0a40d CB-4155: Cordova Android - navigator.app.clearCache(); is called on (prospectively unsupported) WebViewCoreThread 2013-07-11 16:34:16 -04:00
Max Woghiren
1167da2027 [CB-4103] Made config parameters case-insensitive.
For consistency with other platforms (and for readability), UpperCamelCasing is used by default in the code.
2013-07-10 17:32:12 -04:00
Andrew Grieve
7cde444ffe [CB-4038] Move non-deprecated classes from the api package into the main package.
(cherry picked from commit 79829f6209)
2013-06-28 21:54:47 -04:00
Andrew Grieve
67e97a89ce [CB-4048] Merge branch 'master' into 2.9.x 2013-06-28 11:23:58 -04:00
Andrew Grieve
892ffc8ce4 [CB-3384] Rewrite of DataResource into UriResolver + UriResolvers
Includes unit tests woot!

Note that this remove CordovaPlugin.shouldInterceptRequest(). Should be
fine since this method was introduced only a couple of releases ago, was
never documented, and afaict was only used by the Chrome Cordova plugins.
2013-06-27 21:55:28 -04:00
Don Coleman
c5e83b1079 [CB-3998] video duration is an int 2013-06-27 17:39:48 -04:00
Joe Bowser
fbf7f1c3f9 Fixes to the update command so it doesn't delete anything other than build artifacts 2013-06-27 12:59:49 -07:00
Andrew Grieve
68bc57ae85 Remove accidentally checked in log statement "running exec normally" 2013-06-26 14:22:41 -04:00
Andrew Grieve
10d31ea0a3 Explicitly print exceptions that occur within ExposedJsApi.
Before they trickled into JNI and the stack traces were lost.
2013-06-26 14:20:45 -04:00
Joe Bowser
df1536ea77 Merge branch '2.9.x' of https://git-wip-us.apache.org/repos/asf/cordova-android into 2.9.x 2013-06-25 14:12:41 -07:00
Joe Bowser
6aff54be76 Incrementing versions and updating code 2013-06-25 14:11:30 -07:00
Don Coleman
e64ebdfaee [CB-3998] video duration is an int 2013-06-25 14:35:23 -04:00
Joe Bowser
7e15ff930d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android 2013-06-24 11:31:47 -07:00
Joe Bowser
b83610a653 CB-3949: Adding code to mitigate broken intents with the application installer 2013-06-24 11:31:32 -07:00
Jeffrey Willms
9cb14838e8 [CB-3927] Fix start-up race condition that could cause exec() responses to be dropped.
Requires a change to the JS as well.
2013-06-21 18:30:50 -04:00
Fil Maj
24a0e8956c Accidentally commented "build" out when running ./run --emulator. Whoops D: 2013-06-21 14:24:07 -07:00
Fil Maj
6fe66ad79c Accidentally commented "build" out when running ./run --emulator. Whoops D: 2013-06-21 14:23:40 -07:00
Andrew Grieve
9946d15f23 Remove PluginManager.exec's return value (unused).
It's not only not used, but when it was used was messing up the
DISABLE_EXEC_CHAINING flag.
2013-06-20 22:20:58 -04:00
Joe Bowser
b032dcca16 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android 2013-06-20 16:33:17 -07:00
Joe Bowser
01d6ae55a4 CB-3854: Added support for wildcard. This probably could be improved, but it does work 2013-06-20 16:33:14 -07:00
Joe Bowser
f1b377bf07 CB-3854: Added support for wildcard. This probably could be improved, but it does work 2013-06-20 16:32:18 -07:00
Andrew Grieve
03c5208d47 Update JS snapshot to version 2.9.0rc1 (via coho) 2013-06-20 15:21:58 -04:00
Joe Bowser
3ace9348f6 Merge branch 'CB-3932' of git://github.com/angelaf/cordova-android 2013-06-19 16:03:18 -07:00
Joe Bowser
e01678da93 Dealing with the retagging of cordova.js 2013-06-19 15:03:11 -07:00
Angela Fowler
3a14017729 CB-3932 Remove baseUrl comment in handleDestroy method made redundant by CB-3766 2013-06-19 15:22:42 +10:00