Andrew Grieve
3bab41f138
Refactor Config into ConfigXmlParser, CordovaPreferences
...
Intention here is to be 100% backwards compatible.
2014-07-04 11:31:32 -04:00
Andrew Grieve
f577af0886
Delete Location-change JS->Native bridge mode
...
It was always disabled, and there's really no reason to keep it around.
2014-07-03 22:18:18 -04:00
Andrew Grieve
aab47bd453
CB-5988 Allow exec() only from file: or start-up URL's domain
...
Uses prompt() to validate the origin of the calling JS.
This change also simplifies the start-up logic by explicitly disabling
the bridge during page transitions and explictly enabling it when the
JS asks for the bridgeSecret.
We now wait to fire onNativeReady in JS until the bridge is initialized.
It is therefore safe to delete the queue-clear/new exec race condition
code that was in PluginManager.
2014-07-03 22:06:09 -04:00
Andrew Grieve
445ddd89fb
CB-6761 Fix native->JS bridge ceasing to fire when page changes and online is set to false and the JS loads quickly
2014-07-03 13:27:30 -04:00
Joe Bowser
6f21a96238
Update the errorurl to no longer use intents
2014-06-24 12:57:46 -07:00
Joe Bowser
c47bcb2f54
This breaks running the JUnit tests, we'll bring it back soon
2014-06-24 12:55:56 -07:00
Joe Bowser
b0b628ffc2
Refactoring the URI handling on Cordova, removing dead code
2014-06-24 12:30:34 -07:00
Andrew Grieve
4b4a2e9f9e
CB-7018 Clean up and deprecation of some button-related functions
2014-06-24 15:08:47 -04:00
Andrew Grieve
58afd0b604
CB-7017 Fix onload=true being set on all subsequent plugins
2014-06-24 14:55:34 -04:00
Ian Clelland
4352456129
CB-5971: Fix package / project validation
2014-06-24 14:05:56 -04:00
Ian Clelland
bb141a70e8
CB-5971: Add unit tests to cordova-android
2014-06-24 14:05:56 -04:00
Ian Clelland
ff260c03ca
CB-5971: Factor out package/project name validation logic
2014-06-24 14:05:56 -04:00
Andrew Grieve
297f862ccc
Delete explicit activity.finish() in back button handling. No change in behaviour.
...
The default handling calls through to Activity.onBackPressed(), which
by default results in activity.finish(), but can be customized by the
app.
2014-06-23 14:18:54 -04:00
Joe Bowser
141bbfb051
CB-5971: This would have been a good first bug, too bad
2014-06-12 17:51:22 -07:00
Joe Bowser
663a919ed1
CB-4404: Changing where android:windowSoftInputMode is in the manifest so it works
2014-06-12 11:47:41 -07:00
Marcel Kinard
483babe3bc
Add documentation referencing other implementation.
2014-06-09 15:50:20 -04:00
Andrew Grieve
b407641049
CB-6851 Deprecate WebView.sendJavascript()
2014-06-08 22:47:41 -04:00
Marcel Kinard
32e07c22d0
CB-6876 Show the correct executable name
2014-06-04 19:23:43 -04:00
Marcel Kinard
d427c52aac
CB-6876 Fix the "print usage"
2014-06-04 19:12:55 -04:00
Joe Bowser
eb623a84d5
Trivial spelling fix in comments when reading CordovaResourceApi
2014-06-04 11:13:37 -07:00
Joe Bowser
07290277ba
CB-6818: I want to remove this code, because Square didn't do their headers properly
2014-06-03 15:22:10 -07:00
Andrew Grieve
743541218f
CB-6860 Add activity_name and launcher_name to AndroidManifest.xml & strings.xml
2014-06-03 16:08:35 -04:00
Andrew Grieve
94de0a7ce2
Add a comment to custom_rules.xml saying why we move AndroidManifest.xml
2014-06-03 15:29:06 -04:00
Andrew Grieve
36e9fb292b
Remove +x from README.md
2014-06-03 15:29:06 -04:00
Marcel Kinard
2661e010d9
CB-6784 Add missing licenses
...
for ./test/assets/www/cordova_plugins.js and ./test/res/xml/config.xml
2014-05-30 15:10:54 -04:00
Marcel Kinard
7687becfee
CB-6784 Add license to CONTRIBUTING.md
2014-05-30 11:45:13 -04:00
Michal Mocny
1641f09dc9
Revert "defaults.xml: Add AndroidLaunchMode preference"
...
This reverts commit 11fc6be328
.
2014-05-29 14:50:01 -04:00
Steven Gill
1505673393
updated RELEASENOTES
2014-05-27 14:12:16 -07:00
Joe Bowser
629e05b7b1
CB-6315: Wrapping this so it runs on the UI thread
2014-05-22 12:00:42 -07:00
Marcel Kinard
e98f6ae570
CB-6723 Update package name for Robotium
2014-05-20 07:09:02 -04:00
Marcel Kinard
0b5bf0c098
CB-6707 Update minSdkVersion to 10 consistently
...
Update minSdkVersion in the AndroidManifest for the cordova.jar and the
test project.
2014-05-20 07:00:21 -04:00
Martin Gonzalez
1deefa48ee
CB-5652 make visible cordova version
...
Log the cordova version using version string from CordovaWebView.java
This closes #101
2014-05-19 11:10:58 -04:00
Steven Gill
50c4aef873
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-08 15:32:28 -07:00
Joe Bowser
cf42d31214
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-06 15:51:17 -07:00
Joe Bowser
00caa1c0a0
Set VERSION to 3.6.0-dev (via coho)
2014-05-06 15:51:14 -07:00
Joe Bowser
93c8ba920a
Added dash to test push
2014-05-06 13:59:13 -07:00
Andrew Grieve
8702c04d39
Revert accidentally removed lines from NOTICE
2014-05-06 15:18:31 -04:00
Steven Gill
c349892c5b
CB-6552: updated author to apache software foundation in pacakge.json
2014-04-30 12:55:28 -07:00
Steven Gill
3d4b8ce99b
CB-6552: updated test field
2014-04-30 11:59:29 -07:00
Steven Gill
64fd87134f
CB-6552: added top level package.json
2014-04-30 10:54:58 -07:00
Marcel Kinard
82bba44538
CB-6491 add CONTRIBUTING.md
2014-04-30 08:44:21 -04:00
Ningxin Hu
e6adbb0e42
CB-6543 Fix cordova/run failure when no custom_rules.xml available
...
Github: Close #99
2014-04-28 22:50:22 -04:00
Fardjad Davari
11fc6be328
defaults.xml: Add AndroidLaunchMode preference
2014-04-25 00:27:33 +04:30
Andrew Grieve
0ec8f5d283
Add JavaDoc for CordovaResourceApi
2014-04-17 15:51:59 -04:00
Ian Clelland
b872df0f31
CB-6388: Handle binary data correctly in LOAD_URL bridge
2014-04-02 13:42:19 -04:00
Ian Clelland
0add4af208
Update JS snapshot to version 3.5.0-dev-81f9a00
2014-04-02 13:42:19 -04:00
Michal Mocny
298cd9e065
Fix CB-6048: Set launchMode=singleTop so tapping app icon does not always restart app
2014-04-01 11:33:40 -04:00
hadeslee
b715d20385
Remove incorrect usage of AlertDialog.Builder.create
...
AlertDialog.Builder.show() will create an AlertDialog before it show. This is the source code snippet:
/**
* Creates a {@link AlertDialog} with the arguments supplied to this builder and
* {@link Dialog#show()}'s the dialog.
*/
public AlertDialog show() {
AlertDialog dialog = create();
dialog.show();
return dialog;
}
github: close #96
2014-03-28 13:40:43 -04:00
Andrew Grieve
9a00ccdacc
Catch uncaught exceptions in from plugins and turn them into error responses.
...
When a plugin throws an unchecked exception, we're not catching it
anywhere and so the error callback is not being called.
This change adds a try/catch to catch such exceptions.
2014-03-06 21:27:44 -05:00
Andrew Grieve
e8d48e1f43
Add NOTICE file
2014-02-27 15:36:30 -05:00