Jan Piotrowski [Tue, 16 Apr 2019 17:16:37 +0000 (19:16 +0200)]
deprecation notice
Jesse MacFadyen [Fri, 8 Dec 2017 01:52:32 +0000 (17:52 -0800)]
[CB-12762] point package.json repo items to github instead of apache mirrors site
Shazron Abdullah [Wed, 5 Oct 2016 05:30:41 +0000 (22:30 -0700)]
Add github pull request template
Dmitry Blotsky [Wed, 17 Jun 2015 04:30:59 +0000 (21:30 -0700)]
Adding .ratignore file.
Joe Bowser [Fri, 15 May 2015 18:15:34 +0000 (11:15 -0700)]
Removing Intent funtionality out of 3.6
Steve Gill [Sat, 7 Feb 2015 01:40:48 +0000 (17:40 -0800)]
CB-8417 moved platform specific js into platform
Murat Sutunc [Mon, 29 Dec 2014 19:43:46 +0000 (11:43 -0800)]
CB-8168 Add support for `cordova/run --list` (closes #139)
Jason Chase [Wed, 24 Dec 2014 17:33:31 +0000 (12:33 -0500)]
CB-8210 Use PluginResult instead of sendJavascript() for keyboard events (close #142)
- Initialize a message channel for native -> Javascript in the core App plugin
- Change keyboard detection to send events via plugin message channel, instead
using eval() (i.e. webView.sendJavascript())
Conflicts:
framework/assets/www/cordova.js
framework/src/org/apache/cordova/LinearLayoutSoftKeyboardDetect.java
Andrew Grieve [Wed, 31 Dec 2014 03:57:53 +0000 (22:57 -0500)]
CB-8228 Gradle: Allow plugins to use Maven dependencies
Andrew Grieve [Wed, 31 Dec 2014 03:56:43 +0000 (22:56 -0500)]
CB-8229 Gradle: Add CordovaLib as a dependency to all plugin sub-projects
Andrew Grieve [Tue, 23 Dec 2014 21:26:43 +0000 (16:26 -0500)]
CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
These are also exposed via environment variables: ANDROID_VERSION_CODE, ANDROID_MIN_SDK_VERSION
This also fixes build.gradle modifying the value set by ANDROID_VERSION_CODE when multi-apk is enabled (override should never be modified)
Mark Koudritsky [Thu, 6 Nov 2014 20:38:48 +0000 (15:38 -0500)]
CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
fujunwei [Tue, 23 Dec 2014 01:34:36 +0000 (09:34 +0800)]
Allow plugins to set ext.multiarch to enable multiple APK building
The xwalk webView need build multiple apks by default after install
cordova-crosswalk-engine plugin, we can set ext.multiarch=true to open
the flag in plugin, it don't necessary set system environment BUILD_MULTIPLE_APKS
manually.
This closes #141
Ian Clelland [Mon, 22 Dec 2014 18:24:08 +0000 (13:24 -0500)]
CB-8204: Reinstate link tasks to avoid gradle build failures
Andrew Grieve [Mon, 22 Dec 2014 16:37:06 +0000 (11:37 -0500)]
CB-8143 Use gradle 2.2.1 instead of 1.12 to appease Android Studio 1.0 warning-on-startup
Andrew Grieve [Mon, 22 Dec 2014 16:19:21 +0000 (11:19 -0500)]
CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0
Andrew Grieve [Mon, 22 Dec 2014 15:21:17 +0000 (10:21 -0500)]
CB-8202 Fix gradle build signing when passwords provided interactively
Andrew Grieve [Tue, 16 Dec 2014 19:17:55 +0000 (14:17 -0500)]
CB-8176 Update Android SDK search path for Android Studio 1.0
Daniel Toplak [Wed, 26 Nov 2014 07:31:45 +0000 (08:31 +0100)]
CB-8079 Use activity class package name, but fallback to application
package name when looking for splash screen drawable
Close #136
Andrew Grieve [Thu, 11 Dec 2014 02:16:18 +0000 (21:16 -0500)]
Fix syntax error in
3aca14d53068
Andrew Grieve [Thu, 11 Dec 2014 01:30:59 +0000 (20:30 -0500)]
CB-8147 Have corodva/build warn about unrecognized flags rather than fail
Close #127
Andrew Grieve [Thu, 11 Dec 2014 01:59:51 +0000 (20:59 -0500)]
Close #126 (not-a-problem)
Andrew Grieve [Thu, 11 Dec 2014 01:06:38 +0000 (20:06 -0500)]
Close #137 (already merged).
sgrebnov [Mon, 27 Oct 2014 14:14:35 +0000 (17:14 +0300)]
CB-7881 Android tooling shouldn't lock application directory
Close #130
fujunwei [Mon, 17 Nov 2014 07:52:40 +0000 (15:52 +0800)]
Add a section for plugin extensions
The build.gradle will apply gradle srcipte from plugin extension
When install the plugin with "gradleReference" framework.
The gradle can set ext.multiarch=true to support multiple APKs by
default, so add this section in here.
Andrew Grieve [Tue, 18 Nov 2014 07:46:39 +0000 (23:46 -0800)]
CB-3679 Move splashscreen logic into splashscreen plugin
Tried as hard as possible for this not to be a breaking change (all
symbols were preserved). Planning to remove delegating symbols in 4.0.x
though.
Also for backwards compatability - a copy of the plugin is bundled. It
will likewise be removed in 4.0.x
Ian Clelland [Wed, 10 Dec 2014 15:07:05 +0000 (10:07 -0500)]
CB-8143: Use the correct Android Gradle plugin for the installed Gradle version
Brian Geppert [Tue, 9 Dec 2014 17:57:29 +0000 (11:57 -0600)]
Revert Gradle distributionUrlRegex cleanup.
This reverts commit
75a0a6752a77e2e0f491ae4de7137f5163c7a4bd.
Andrew Grieve [Thu, 4 Dec 2014 14:58:00 +0000 (09:58 -0500)]
CB-8119 Restart adb when we detect it's hung
Andrew Grieve [Wed, 3 Dec 2014 15:04:54 +0000 (10:04 -0500)]
CB-8112 Turn off mediaPlaybackRequiresUserGesture
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
Andrew Grieve [Thu, 27 Nov 2014 15:52:19 +0000 (10:52 -0500)]
CB-6153 Add a preference for controlling hardware button audio stream (DefaultVolumeStream)
This, along with the commit to the audio plugin, makes it so that by
default apps control the ringer volume, but when any audio players are
active, the media volume is controlled.
Andrew Grieve [Wed, 26 Nov 2014 16:44:49 +0000 (11:44 -0500)]
CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
Andrew Grieve [Tue, 18 Nov 2014 06:11:21 +0000 (22:11 -0800)]
CB-8031 Fix race condition that shows as ConcurrentModificationException
Conflicts:
framework/src/org/apache/cordova/PluginManager.java
Andrew Grieve [Thu, 6 Nov 2014 21:23:32 +0000 (16:23 -0500)]
CB-7976 Use webView's context rather than Activity's context for intent receiver
Andrew Grieve [Thu, 6 Nov 2014 20:33:10 +0000 (15:33 -0500)]
CB-7974 Cancel timeout timer if view is destroyed
Andrew Grieve [Tue, 4 Nov 2014 20:57:51 +0000 (15:57 -0500)]
CB-7940 Disable exec bridge if bridgeSecret is wrong
Ian Clelland [Mon, 27 Oct 2014 19:26:38 +0000 (15:26 -0400)]
CB-7758: Allow content-url-hosted pages to access the bridge
This allows e.g. jsHybugger to create pages with access to Cordova APIs.
We restrict access to content provider URLs which are at subdomains of the application itself, ie, begin with "content://com.your.package.id."
Chris Alfano [Mon, 27 Oct 2014 15:51:28 +0000 (11:51 -0400)]
CB-7726 fix typo in gitignore: ant-built -> ant-build
github: close #131
Andrew Grieve [Tue, 21 Oct 2014 16:59:34 +0000 (12:59 -0400)]
gradle: Allow storeType to be set (allows using .p12 files)
Andrew Grieve [Tue, 21 Oct 2014 16:43:30 +0000 (12:43 -0400)]
gradle: Allow absolute paths to keystore files
Archana Naik [Mon, 27 Oct 2014 21:24:03 +0000 (14:24 -0700)]
Updated cordova.js for fireos.
Prabhjot Singh [Mon, 20 Oct 2014 05:19:37 +0000 (10:49 +0530)]
Updated cordova.js in test and framework
Joe Bowser [Fri, 17 Oct 2014 22:30:28 +0000 (15:30 -0700)]
Fixed the SecureRandom so it only returns positive values
Joe Bowser [Fri, 17 Oct 2014 20:52:33 +0000 (13:52 -0700)]
Undoing change to Math.random() for now, this creates a weird bug
Joe Bowser [Tue, 14 Oct 2014 17:11:09 +0000 (10:11 -0700)]
Replacing Math.random() with something a little more random.
Vladimir Kotikov [Tue, 23 Sep 2014 09:21:17 +0000 (13:21 +0400)]
CB-6511 Fixes build for android when app name contains unicode characters.
github: close #124
Rui Zhao [Mon, 6 Oct 2014 16:05:06 +0000 (12:05 -0400)]
CB-7707 Added multipart PluginResult (close #125)
Corresponds to cordova-js commit:
a1f866606b3
Conflicts:
framework/assets/www/cordova.js
Andrew Grieve [Mon, 6 Oct 2014 14:33:31 +0000 (10:33 -0400)]
CB-7714 Teach check_reqs about brew's install location for android SDK
Andrew Grieve [Sat, 4 Oct 2014 19:14:51 +0000 (15:14 -0400)]
Fix --shared flag of create script (broke in recent gradle changes)
Andrew Grieve [Sat, 4 Oct 2014 19:14:45 +0000 (15:14 -0400)]
Update .gitignore to ignore /framework/build and /node_modules
Martin Gonzalez [Fri, 3 Oct 2014 05:47:13 +0000 (00:47 -0500)]
CB-6837 Fix leaked window when hitting back button while alert being rendered
Keep track of the last AlertDialog showed.
The last dialog showed that is rendered while hitting back button it
causes a leaked window.
Instead of perform a full track of all dialogs created, only destroy the
last one showed, this fixes the problem.
close #122
Conflicts:
framework/src/org/apache/cordova/CordovaChromeClient.java
Joe Bowser [Wed, 1 Oct 2014 00:57:42 +0000 (17:57 -0700)]
CB-7674: Added sleep to avoid null error after most recent change to not break API
Marcel Kinard [Tue, 30 Sep 2014 22:37:10 +0000 (18:37 -0400)]
CB-7674 move preference activation back into onCreate()
The preference creation actually needs to be before
super.onCreate(savedInstance) in order to avoid the exception
"requestFeature() must be called before adding content". Also ran into an
issue in the native tests "Whitelist" and "User WebView/Client/Chrome" where
it would throw an exception that the CordovaWebView appView already had
a parent and needed to be removed from that parent before the invocation
to root.addView(appView). So I conditionally remove the wrong parent.
Also made a change to the native tests so the menus test would work.
I also put super.init() back into the template, though invoking it is optional
as loadUrl will call it automatically if needed.
Conflicts:
bin/templates/project/Activity.java
Steven Gill [Tue, 30 Sep 2014 06:49:12 +0000 (23:49 -0700)]
updated .gitignore to include npm-debug.log
Andrew Grieve [Mon, 29 Sep 2014 14:15:37 +0000 (10:15 -0400)]
CB-7634 Detect JAVA_HOME properly on Ubuntu
Marcel Kinard [Thu, 25 Sep 2014 15:25:09 +0000 (11:25 -0400)]
CB-7410 update the docs to match the actual title
Max Woghiren [Mon, 22 Sep 2014 20:04:24 +0000 (16:04 -0400)]
Added gradle distribution URL updating. (commit fix-up)
Andrew Grieve [Wed, 24 Sep 2014 20:07:31 +0000 (16:07 -0400)]
gradle: Build only the active architecture when applicable
Andrew Grieve [Wed, 24 Sep 2014 01:04:04 +0000 (21:04 -0400)]
gradle: Fix warning about dynamic properties being deprecated
Andrew Grieve [Wed, 24 Sep 2014 01:03:17 +0000 (21:03 -0400)]
gradle: Have project's build.gradle look for a build-extras.gradle
Andrew Grieve [Wed, 24 Sep 2014 01:03:00 +0000 (21:03 -0400)]
gradle: Write sub-project list explicitly to make Android Studio happy
Max Woghiren [Mon, 22 Sep 2014 20:04:24 +0000 (16:04 -0400)]
Added gradle distribution URL updating.
Conflicts:
bin/templates/cordova/lib/build.js
framework/build.gradle
Andrew Grieve [Tue, 23 Sep 2014 01:35:39 +0000 (21:35 -0400)]
CB-7512 Use a standard build.gradle for all plugins
Plugins can extend it by providing a "build-extras.gradle"
Andrew Grieve [Tue, 23 Sep 2014 00:54:28 +0000 (20:54 -0400)]
CB-7512 Make gradle build only a single config for sub-libraries (release vs debug)
Andrew Grieve [Thu, 18 Sep 2014 01:27:06 +0000 (21:27 -0400)]
CB-7512 Fix gradle asking for release password when building for debug
Ian Clelland [Wed, 17 Sep 2014 19:54:28 +0000 (15:54 -0400)]
CB-3445: Make minSdkVersion and base versionCode settable through env vars
Andrew Grieve [Wed, 17 Sep 2014 19:29:57 +0000 (15:29 -0400)]
CB-7512 Make key password optional & prompt for it when missing
Andrew Grieve [Mon, 22 Sep 2014 18:23:30 +0000 (14:23 -0400)]
CB-7579 Fix run script's ability to use non-arch-specific APKs
Vladimir Kotikov [Tue, 9 Sep 2014 05:59:34 +0000 (09:59 +0400)]
CB-7493 Adds test-build command to package.json
Andrew Grieve [Tue, 16 Sep 2014 19:14:40 +0000 (15:14 -0400)]
CB-7512 Fix gradle not copying all archs to out/ (broken by prev commit)
Andrew Grieve [Tue, 16 Sep 2014 18:59:43 +0000 (14:59 -0400)]
CB-7512 Use aligned apk rather than unaligned apk when sorting
Andrew Grieve [Tue, 16 Sep 2014 18:13:49 +0000 (14:13 -0400)]
CB-7512 Speed up gradle builds by building debug or release (not both)
Andrew Grieve [Tue, 16 Sep 2014 17:01:25 +0000 (13:01 -0400)]
CB-7512 Add gradle environment vars for signing apks
Andrew Grieve [Tue, 16 Sep 2014 17:00:27 +0000 (13:00 -0400)]
CB-7512 Change gradle android plugins from 0.10 -> 0.12
Andrew Grieve [Tue, 16 Sep 2014 14:28:34 +0000 (10:28 -0400)]
CB-7536 check_reqs: windows tweaks + sdk manager error message
1. Don't escape \s since those are used by windows for directory seperators
2. Don't warn about missing directories on windows when we're just
testing for their existence
3. Don't give command to install sdk from command-line, since they also
require Build-tools and Platform-tools (which are not installed by
default with IDE-less SDK installer).
mbillau [Tue, 9 Sep 2014 13:38:15 +0000 (09:38 -0400)]
Second part of CB-7499, support RTL text direction
Andrew Grieve [Mon, 15 Sep 2014 18:23:26 +0000 (14:23 -0400)]
CB-7554 Use x86 apk when deploying to an intel device / emulator
Ian Clelland [Mon, 15 Sep 2014 16:15:32 +0000 (12:15 -0400)]
CB-7512: Fix logic for detecting SDK directory
Michal Mocny [Fri, 12 Sep 2014 21:00:29 +0000 (17:00 -0400)]
Fix invalid syntax (missing + in multiline string)
Andrew Grieve [Fri, 12 Sep 2014 20:17:42 +0000 (16:17 -0400)]
CB-7536 Tweak Android SDK not installed error message.
We no longer require you to edit your PATH
Andrew Grieve [Fri, 12 Sep 2014 18:19:13 +0000 (14:19 -0400)]
CB-7536 Tweak error messages for missing JDK / SDK / AVDs
Andrew Grieve [Thu, 11 Sep 2014 19:36:35 +0000 (15:36 -0400)]
CB-7511 Auto-detect android sdk when using stand-alone sdk installer
Ian Clelland [Thu, 11 Sep 2014 19:12:07 +0000 (15:12 -0400)]
CB-7512: Copy cordova.gradle file to project root on build
Andrew Grieve [Wed, 10 Sep 2014 16:43:40 +0000 (12:43 -0400)]
Use add --compact flag in check_reqs when listing targets. No functional change.
Andrew Grieve [Wed, 10 Sep 2014 16:42:37 +0000 (12:42 -0400)]
CB-7330 Don't run check_reqs for bin/create.
The create / update script doesn't require any dependencies, so we
shouldn't fail without them.
Ian Clelland [Wed, 10 Sep 2014 15:39:29 +0000 (11:39 -0400)]
CB-7512: Read android target from project.properties if possible
Ian Clelland [Wed, 10 Sep 2014 14:57:43 +0000 (10:57 -0400)]
CB-7512: Determine SDK and build tools version dynamcally at build time
Ian Clelland [Wed, 10 Sep 2014 14:54:21 +0000 (10:54 -0400)]
CB-7463: Adding licence to project template gradle file
Andrew Grieve [Wed, 10 Sep 2014 14:14:38 +0000 (10:14 -0400)]
CB-7511 Auto-detect Android SDK when Android Studio is installed
Joe Bowser [Thu, 4 Sep 2014 17:49:43 +0000 (10:49 -0700)]
CB-7463: Looked at the Apache BigTop git, gradle uses C-style comments
Joe Bowser [Thu, 4 Sep 2014 17:32:29 +0000 (10:32 -0700)]
CB-7463: Adding licences. I don't know what the gradle syntax is for comments, that still needs to be done.
Marcel Kinard [Fri, 29 Aug 2014 22:07:29 +0000 (18:07 -0400)]
CB-7410 fix the menu test
Need to show the title in order for the options menu button to be visible.
Marcel Kinard [Fri, 29 Aug 2014 21:38:03 +0000 (17:38 -0400)]
CB-7410 Fix the errorUrl test
Make the error.html page a well-formed html document, otherwise it
won't display.
Conflicts:
test/assets/www/htmlnotfound/error.html
Marcel Kinard [Fri, 29 Aug 2014 20:38:38 +0000 (16:38 -0400)]
CB-7410 Fix Basic Authentication test
Looks like the Chromium webview does not include the port number on the
hostname during the callback challenge, but the classic webview does
include the port number. Handle both cases here.
Ian Clelland [Fri, 29 Aug 2014 20:00:13 +0000 (16:00 -0400)]
CB-3445: Allow build and run scripts to select APK by architecture
Ian Clelland [Thu, 28 Aug 2014 20:17:54 +0000 (16:17 -0400)]
CB-3445: Add environment variable 'BUILD_MULTIPLE_APKS' for splitting APKs based on architecture
Marcel Kinard [Fri, 12 Sep 2014 20:31:04 +0000 (16:31 -0400)]
Update JS snapshot to version 3.7.0-dev (via coho)
Joe Bowser [Wed, 3 Sep 2014 22:23:41 +0000 (15:23 -0700)]
CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application
Archana Naik [Fri, 29 Aug 2014 17:11:20 +0000 (10:11 -0700)]
Update JS snapshot to version 3.7.0-dev (via coho)
Archana Naik [Fri, 29 Aug 2014 17:11:18 +0000 (10:11 -0700)]
Set VERSION to 3.7.0-dev (via coho)