RE: ArrayBuffers in WP8 Plugins
Another two examples examples: https://github.com/sgrebnov/BluetoothSerial/blob/master/src/wp/Bluetooth.cs#L549 Listbyte data = JsonHelper.DeserializeListbyte(args[0]); .. dataWriter.WriteBytes(data.ToArray()) https://github.com/apache/cordova-plugin-file/blob/master/src/wp/File.cs#L884 byte[] dataToWrite = isBinary ? JSON.JsonHelper.Deserializebyte[](data) : System.Text.Encoding.UTF8.GetBytes(data); Thx! Sergey -Original Message- From: iclell...@google.com [mailto:iclell...@google.com] On Behalf Of Ian Clelland Sent: Wednesday, February 11, 2015 6:37 PM To: dev@cordova.apache.org Subject: Re: ArrayBuffers in WP8 Plugins The File plugin should have that -- spec test 104 tests calling FileWriter.write() with an ArrayBuffer as an argument. The write() method in File.cs looks like it uses JSON.JsonHelper.Deserialize to deserialize it, though -- you might have to dig into the bridge to see exactly how and where it gets encoded in the first place. On Tue, Feb 10, 2015 at 8:28 PM, Don Coleman don.cole...@gmail.com wrote: Are there any examples of deserializing arraybuffers in WP8 plugins? I'm looking for the WP8 equivalent of Android's byte[] data = args. getArrayBuffer(3);
Schedule for npm transition
Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: ArrayBuffers in WP8 Plugins
The File plugin should have that -- spec test 104 tests calling FileWriter.write() with an ArrayBuffer as an argument. The write() method in File.cs looks like it uses JSON.JsonHelper.Deserialize to deserialize it, though -- you might have to dig into the bridge to see exactly how and where it gets encoded in the first place. On Tue, Feb 10, 2015 at 8:28 PM, Don Coleman don.cole...@gmail.com wrote: Are there any examples of deserializing arraybuffers in WP8 plugins? I'm looking for the WP8 equivalent of Android's byte[] data = args. getArrayBuffer(3);
[GitHub] cordova-lib pull request: CB-8420 'cordova plugin add' should retr...
Github user agrieve commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/162#discussion_r24500705 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -114,6 +116,22 @@ module.exports = function plugin(command, targets, opts) { target = target.substring(0, target.length - 1); } +var parts = target.split('@'); +var id = parts[0]; +var version = parts[1]; + +// If no version is specified, retrieve the version from config.xml +if(!version !cordova_util.isUrl(id) !cordova_util.isDirectory(id)){ +events.emit('verbose', 'no version specified, retrieving version from config.xml'); +var ver = getVersionFromConfigFile(id, cfg); + +if( cordova_util.isUrl(ver) || cordova_util.isDirectory(ver) ){ --- End diff -- isDirectory don't check for null/undefined. Should either add that to isDirectory, or add check here. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-lib pull request: CB-8420 'cordova plugin add' should retr...
Github user agrieve commented on the pull request: https://github.com/apache/cordova-lib/pull/162#issuecomment-73895354 lgtm save one nit. I think this behaviour is fine. Normal case will be to use add --save anyways. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: [VOTE] Plugins Release
Just checked - link is working again. Please cast some votes :) On Mon, Feb 9, 2015 at 1:55 PM, Andrew Grieve agri...@chromium.org wrote: I can't even svn up on it right now. Think it's just having an outage. On Mon, Feb 9, 2015 at 11:19 AM, Alexander Sorokin (Akvelon) v-als...@microsoft.com wrote: Hi guys, It looks like there is something wrong with access rules or something. I cannot access https://dist.apache.org/repos/dist/dev/cordova/CB-8429/ It says: 403 Forbidden Can someone open access to it? Thanks, Alexander Sorokin -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Monday, February 9, 2015 18:05 To: dev Subject: [VOTE] Plugins Release Please review and vote on the release of this plugins release. Release issue: https://issues.apache.org/jira/browse/CB-8429 (contains release notes for all plugins) The plugins have been published to dist/dev: https://dist.apache.org/repos/dist/dev/cordova/CB-8429/ They are the same as last week except for file-transfer. The packages were published from their corresponding git tags: cordova-plugin-battery-status: 0.2.12 (ec59ef11a5) cordova-plugin-camera: 0.3.5 (799ed580d3) cordova-plugin-console: 0.2.13 (7507b29527) cordova-plugin-contacts: 0.2.16 (95d4d176f3) cordova-plugin-device-motion: 0.2.11 (110b27671f) cordova-plugin-device-orientation: 0.3.11 (d8fd79b2ae) cordova-plugin-device: 0.3.0 (4330db87b9) cordova-plugin-dialogs: 0.3.0 (d12008f9cd) cordova-plugin-file-transfer: 0.5.0 (1882bfbd2d) cordova-plugin-file: 1.3.3 (b05bcff378) cordova-plugin-geolocation: 0.3.12 (ccab812a49) cordova-plugin-globalization: 0.3.4 (6b1e88d534) cordova-plugin-inappbrowser: 0.6.0 (90d41e87ce) cordova-plugin-media: 0.2.16 (10df21dea8) cordova-plugin-media-capture: 0.3.6 (cc779375e3) cordova-plugin-network-information: 0.2.15 (81037e29cf) cordova-plugin-splashscreen: 1.0.0 (a9f0faa499) cordova-plugin-vibration: 0.3.13 (25217db403) cordova-plugin-statusbar: 0.1.10 (5feffc9314) cordova-plugins: file-system-roots-0.1.0 (be0a4c6cfb) cordova-plugin-test-framework: 0.0.1 (6aad294699) Upon a successful vote I will upload the archives to dist/, upload them to the Plugins Registry, and post the corresponding blog post. Voting guidelines: https://github.com/apache/cordova-coho/blob/master/docs/release-voting.md Voting will go on for a minimum of 24 hours. I vote +1: * Ran coho audit-license-headers over the relevant repos * Ran coho check-license to ensure all dependencies and subdependencies have Apache-compatible licenses * Ran mobile-spec on android, and made sure it compiled for iOS. There were only 2 failures in media, and I verified that the same 2 errors happen with the previous plugin version
Re: Schedule for npm transition
Going to try and summarize my concerns with the proposal here: On Wed, Feb 11, 2015 at 2:39 PM, Steven Gill stevengil...@gmail.com wrote: Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. CPR doesn't allow non-reverse dns names. There'd be no reason to check it unless the name had at least 2 periods in it. If we're not using package names to detect which registry to use, I don't actually see any benefit in changing names. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. While this works fine for our modules, I don't think it'll work well for others'. Three use-cases for them: 1. dependency within plugin.xml. 2. plugin within config.xml (for cordova plugin restore). 3. cordova plugin add FOO All three would be solved if we enforce that packageName == pluginId. I think we should either: - publish under npm under our existing IDs or: - publish under npm under cordova-plugin-FOO, and change plugin IDs to be cordova-plugin-FOO After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
RE: Schedule for npm transition
The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-lib pull request: CB-8420 'cordova plugin add' should retr...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/162 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: [GitHub] cordova-lib pull request: CB-8420 'cordova plugin add' should retr...
ah, I missed that lstatSync throws an exception for non-string args. I suppose that's fine. Will merge! On Wed, Feb 11, 2015 at 2:54 PM, omefire g...@git.apache.org wrote: Github user omefire commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/162#discussion_r24527527 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -114,6 +116,22 @@ module.exports = function plugin(command, targets, opts) { target = target.substring(0, target.length - 1); } +var parts = target.split('@'); +var id = parts[0]; +var version = parts[1]; + +// If no version is specified, retrieve the version from config.xml +if(!version !cordova_util.isUrl(id) !cordova_util.isDirectory(id)){ +events.emit('verbose', 'no version specified, retrieving version from config.xml'); +var ver = getVersionFromConfigFile(id, cfg); + +if( cordova_util.isUrl(ver) || cordova_util.isDirectory(ver) ){ --- End diff -- @agrieve, isDirectory does handle the null/undefined cases. I just tested it. Am I missing something ? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
Leo, restore will still work. The only information stored in the saves list is a set of plugin ids (and versions?). Restoring will go through the steps Steve outlines above, and either download from CPR or be mapped automatically to the npm equivalent. After the deprecation cutoff, plugins that aren't in the mapper may fail to restore -- so we could improve the rollout plan by starting to warn users adding plugins that still fetch from CPR. -Michal On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo leo.treggi...@intel.com wrote: The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
Leo, the rename isn't required, as a third party author you can publish your plugin using the plugin id to npm, and no mapping is required. But for cordova core plugins, we think the plugin id is a bad choice for package name for aesthetic reasons, and the fixed name mapping solution provides us with compatability. I think its a good forward looking choice. -Michal On Wed, Feb 11, 2015 at 3:50 PM, Michal Mocny mmo...@chromium.org wrote: Leo, restore will still work. The only information stored in the saves list is a set of plugin ids (and versions?). Restoring will go through the steps Steve outlines above, and either download from CPR or be mapped automatically to the npm equivalent. After the deprecation cutoff, plugins that aren't in the mapper may fail to restore -- so we could improve the rollout plan by starting to warn users adding plugins that still fetch from CPR. -Michal On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo leo.treggi...@intel.com wrote: The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
RE: Android JUnit Tests Now Pass
This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. (https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Closing jira items
Hey everyone, Can someone give me access to close the following jiras? https://issues.apache.org/jira/browse/CB-8412 https://issues.apache.org/jira/browse/CB-8410 https://issues.apache.org/jira/browse/CB-8400 https://issues.apache.org/jira/browse/CB-8168 Thanks, Murat
Android - Merging unplug-whitelist branch
I've been keeping the whitelist breakout on a branch for some time now, but since this is something that we want to get into Cordova 4.0.0, it will have to be merged in soon. I've rebased it against master as of this afternoon, and pushed it into a branch - unplug-whitelist-4.0.0 -- It passes all of my tests, but please, if you're involved in the 4.0.x branch, try it out and let me know if it breaks things. I'll merge this in the next little while if I hear only silent approval ;) This should work with the org.apache.cordova.legacy-whitelist to provide functionality identical to previous versions of Cordova.
Re: Android JUnit Tests Now Pass
I think we should revert this refactor. With the new refactored tests, they may pass but we lost a lot of the useful tests that we once had and these new tests have no value. I don't know why you took it upon yourself to throw away all the JUnit tests that didn't pass, but that misses the point. I would have rather had the old tests expanded upon instead of just deleted on your personal whim. I honestly don't know what to say, I know that we have a terrible working relationship at best, but this actually is making the project worse intentionally for unknown reasons. In fact, I would almost say that this is purely a malicious change driven by ego, since I can't see a technical reason for any of it. On Wed Feb 11 2015 at 1:36:19 PM Joe Bowser bows...@gmail.com wrote: I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
+1 Revert And please let's stop deleting what other people wrote just because we don't recognize it. These things should require discussion. @purplecabbage risingj.com On Wed, Feb 11, 2015 at 1:53 PM, Joe Bowser bows...@gmail.com wrote: I think we should revert this refactor. With the new refactored tests, they may pass but we lost a lot of the useful tests that we once had and these new tests have no value. I don't know why you took it upon yourself to throw away all the JUnit tests that didn't pass, but that misses the point. I would have rather had the old tests expanded upon instead of just deleted on your personal whim. I honestly don't know what to say, I know that we have a terrible working relationship at best, but this actually is making the project worse intentionally for unknown reasons. In fact, I would almost say that this is purely a malicious change driven by ego, since I can't see a technical reason for any of it. On Wed Feb 11 2015 at 1:36:19 PM Joe Bowser bows...@gmail.com wrote: I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-media pull request: iOS play audio in background
Github user Rickgbw commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/12#issuecomment-73974616 It's a very old issue. But, if is needed, I can sign... Any thoughts on this, @shazron ? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
I'm reverting this now, 37 tests with 4 failures is much better than roughy 20 tests with 0 failures. (I didn't run the refactored tests, since there's no point if critical tests are missing). On Wed Feb 11 2015 at 2:01:51 PM Jesse purplecabb...@gmail.com wrote: +1 Revert And please let's stop deleting what other people wrote just because we don't recognize it. These things should require discussion. @purplecabbage risingj.com On Wed, Feb 11, 2015 at 1:53 PM, Joe Bowser bows...@gmail.com wrote: I think we should revert this refactor. With the new refactored tests, they may pass but we lost a lot of the useful tests that we once had and these new tests have no value. I don't know why you took it upon yourself to throw away all the JUnit tests that didn't pass, but that misses the point. I would have rather had the old tests expanded upon instead of just deleted on your personal whim. I honestly don't know what to say, I know that we have a terrible working relationship at best, but this actually is making the project worse intentionally for unknown reasons. In fact, I would almost say that this is purely a malicious change driven by ego, since I can't see a technical reason for any of it. On Wed Feb 11 2015 at 1:36:19 PM Joe Bowser bows...@gmail.com wrote: I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: [iOS] Intent to delete AppDelegate remote and local notification code in 4.0
+1 The email currently says “If your app does not use the Apple Push Notification service, no action is required”, but it probably freaks new users out. Also, it might become a “thing” in the future. -- tommy-carlos williams On 12 February 2015 at 10:10:59, Shazron (shaz...@gmail.com) wrote: See: https://github.com/apache/cordova-ios/blob/338ee71f966ab7fdc1ccde02e5086febbc82b70c/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m#L110-L135 I'd rather do this in 3.8.0, but we would break things for users, so in 4.0 it goes. Related issue: https://issues.apache.org/jira/browse/CB-8084 -- causes Apple to issue a warning (which could be a blocker in the future) when you submit an app, if you don't have the correct entitlements. Users wanting this functionality will install a plugin, that will do method swizzling to provide this functionality. It's an easy plugin to do, which will go in the cordova-plugins repo. - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[DISCUSS] Cordova-Windows@3.7.2 release
Hi, It has been a while since we did a Windows release. I specifically wanted to start a discuss thread to release Windows due to the following issue that had been fixed, but looks like was never released out. The bug (https://issues.apache.org/jira/browse/CB-7985) is about not being able to build Windows on Visual Studio 14 CTP tools. This fix (https://github.com/apache/cordova-windows/commit/84c9547ab58bb256a3054f29612daec3d41196bc) is pretty simple. With more people now starting to have VS 2014, I think we should make this release. Are there any other parts that should go in this release?
Re: Schedule for npm transition
I would agree that we should change plugin ID as well as package name, but I don't think that affects the results. All 3 of those use cases you mentioned I think are addressed equivalently. Whether the plugin is added as a dependency, with save/restore, or explicitly from the command line, cordova-lib would first check if there is a mapping from old ID - new package name, or use what's given verbatim. So the only concern is with third party plugin authors who chose to rename plugins, and already have dependants, and don't register a mapping with us. I believe the only real question is: do we prefer a minimally easier transition by leaving all names as they are, or do we prefer to have package names on npm that don't look out of place. I think any argument that there is a technical preference for one way over the other hasn't really held up (but now would be a great time to mention if that isn't true). (Note: choosing leaving names as they are still only guarantees core plugins do this, 3rd party authors may not re-publish at all, or rename however they want) -Michal On Wed, Feb 11, 2015 at 4:07 PM, Andrew Grieve agri...@chromium.org wrote: Going to try and summarize my concerns with the proposal here: On Wed, Feb 11, 2015 at 2:39 PM, Steven Gill stevengil...@gmail.com wrote: Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. CPR doesn't allow non-reverse dns names. There'd be no reason to check it unless the name had at least 2 periods in it. If we're not using package names to detect which registry to use, I don't actually see any benefit in changing names. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. While this works fine for our modules, I don't think it'll work well for others'. Three use-cases for them: 1. dependency within plugin.xml. 2. plugin within config.xml (for cordova plugin restore). 3. cordova plugin add FOO All three would be solved if we enforce that packageName == pluginId. I think we should either: - publish under npm under our existing IDs or: - publish under npm under cordova-plugin-FOO, and change plugin IDs to be cordova-plugin-FOO After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
On 11 Feb 2015, at 13:09, Steven Gill wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th I was hoping for a longer read-only period, 6 months would be grand. Unfortunately getting users to switch versions takes time. Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
Mapper: https://github.com/stevengill/cordova-registry-mapper Mapper would be a dependency of cordova-lib. We would use it during cordova plugin add/rm to map old id's to new name. We can look at extending CPR readonly phase but I fear we may have to deal with migrating it to a different provider if want to extend its life. I am not looking forward to dealing with that. In terms of package-name/package-id, we have been discussing it for weeks. I am not a fan of the flip flopping on this issue and it is seriously holding up us moving forward with this. Michal did a great job explaining how the mapper could be integrated to handle the workflows. On Wed, Feb 11, 2015 at 3:20 PM, Gorkem Ercan gorkem.er...@gmail.com wrote: On 11 Feb 2015, at 15:50, Michal Mocny wrote: Leo, restore will still work. The only information stored in the saves list is a set of plugin ids (and versions?). Restoring will go through the steps Steve outlines above, and either download from CPR or be mapped automatically to the npm equivalent. After the deprecation cutoff, plugins that aren't in the mapper may fail to restore -- so we could improve the Any ideas what that mapper will look like? part of CLI, online service? rollout plan by starting to warn users adding plugins that still fetch from CPR. -Michal On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo leo.treggi...@intel.com wrote: The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3 OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3 OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Closing jira items
Done, and done'r @purplecabbage risingj.com On Wed, Feb 11, 2015 at 12:13 PM, Murat Sutunc mura...@microsoft.com wrote: Hey everyone, Can someone give me access to close the following jiras? https://issues.apache.org/jira/browse/CB-8412 https://issues.apache.org/jira/browse/CB-8410 https://issues.apache.org/jira/browse/CB-8400 https://issues.apache.org/jira/browse/CB-8168 Thanks, Murat
[iOS] Intent to delete AppDelegate remote and local notification code in 4.0
See: https://github.com/apache/cordova-ios/blob/338ee71f966ab7fdc1ccde02e5086febbc82b70c/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m#L110-L135 I'd rather do this in 3.8.0, but we would break things for users, so in 4.0 it goes. Related issue: https://issues.apache.org/jira/browse/CB-8084 -- causes Apple to issue a warning (which could be a blocker in the future) when you submit an app, if you don't have the correct entitlements. Users wanting this functionality will install a plugin, that will do method swizzling to provide this functionality. It's an easy plugin to do, which will go in the cordova-plugins repo. - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
On 11 Feb 2015, at 15:50, Michal Mocny wrote: Leo, restore will still work. The only information stored in the saves list is a set of plugin ids (and versions?). Restoring will go through the steps Steve outlines above, and either download from CPR or be mapped automatically to the npm equivalent. After the deprecation cutoff, plugins that aren't in the mapper may fail to restore -- so we could improve the Any ideas what that mapper will look like? part of CLI, online service? rollout plan by starting to warn users adding plugins that still fetch from CPR. -Michal On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo leo.treggi...@intel.com wrote: The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Schedule for npm transition
I agree with Steve to move forward with this. The package name rationale was already discussed during the hangout, and we all agreed. On Wed, Feb 11, 2015 at 3:43 PM, Steven Gill stevengil...@gmail.com wrote: Mapper: https://github.com/stevengill/cordova-registry-mapper Mapper would be a dependency of cordova-lib. We would use it during cordova plugin add/rm to map old id's to new name. We can look at extending CPR readonly phase but I fear we may have to deal with migrating it to a different provider if want to extend its life. I am not looking forward to dealing with that. In terms of package-name/package-id, we have been discussing it for weeks. I am not a fan of the flip flopping on this issue and it is seriously holding up us moving forward with this. Michal did a great job explaining how the mapper could be integrated to handle the workflows. On Wed, Feb 11, 2015 at 3:20 PM, Gorkem Ercan gorkem.er...@gmail.com wrote: On 11 Feb 2015, at 15:50, Michal Mocny wrote: Leo, restore will still work. The only information stored in the saves list is a set of plugin ids (and versions?). Restoring will go through the steps Steve outlines above, and either download from CPR or be mapped automatically to the npm equivalent. After the deprecation cutoff, plugins that aren't in the mapper may fail to restore -- so we could improve the Any ideas what that mapper will look like? part of CLI, online service? rollout plan by starting to warn users adding plugins that still fetch from CPR. -Michal On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo leo.treggi...@intel.com wrote: The proposal contains suggestions, alternatives and comments. https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3 OXmP-9DpYkcmfs/edit?usp=sharing When will there be a final version that is the official plan? One other question: Soon we will have optional 'save' of plugin metadata in config.xml. When CPR is turned off, there will be saved metadata which is no longer valid - i.e. a restore will fail. This is because the 'name' used to fetch a plugin (cordova-plugin-device) as well as the location will change. Is there anything that can be done to mitigate that? Is the name change really necessary - why can't we stick with the current names? Thanks, Leo -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Wednesday, February 11, 2015 11:40 AM To: dev@cordova.apache.org Subject: Re: Schedule for npm transition Correct! For the first 3 months, all requests will hit CPR first, if CPR fails, we will try to fetch from npm. If users run cordova plugin add cordova-plugin-device, it would hit CPR, fail, go to npm, succeed. If we use the mapper module, cordova plugin add org.apache.cordova.device would be converted to cordova-plugin-device, hit CPR, fail, go to npm, succeed. After 3 months, cordova plugin add cordova-plugin-device would hit npm first and succeed. We want to use these 3 months to get our developers to update their tools and use the new names for plugins to install. On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny mmo...@chromium.org wrote: Steve, npm fetch default only affects plugins that use same name in both places, right? If we create cordova-plugin-device today, and tell users to start using cordova plugin add cordova-plugin-device, then we will get much user feedback on npm fetching far before May 18th, right? On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill stevengil...@gmail.com wrote: We don't have one yet but we should pick dates soon. How about: CPR Switch to read only: Monday, May 18th NPM fetch becomes default: Monday, May 18th CPR offline: Monday, August 17th Based on the following proposal: https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3 OXmP-9DpYkcmfs/edit?usp=sharing - Need to start educating plugin developers to publish to npm as well as CPR for next three months. (blog post) - Need to educate users to install plugins via new names (if package-name is different than id). Our core plugins are being renamed from org.apache.cordova.device to cordova-plugin-device - Inform devs who are working with registry directly to pull plugins from npm instead of CPR. After 3 months, CPR plugins will start to become out of date compared to npm versions. Our next plugins release (after the one currently ongoing) will be published to npm as well as cpr. On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan gorkem.er...@gmail.com wrote: Is there a determined calendar for the npm move of the plugins? I think the scheduling of the transition is crucial for those who are using the plugin registry directly. -- Gorkem - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-lib pull request: CB-8457: Ignore version specifier when r...
GitHub user cjpearson opened a pull request: https://github.com/apache/cordova-lib/pull/165 CB-8457: Ignore version specifier when running hooks Trims the version specifier when running hooks. This allows platform add hooks to run when a version specific platform add command is used. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cjpearson/cordova-lib master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/165.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #165 commit 35f831604b9b2254fe8f1eac59e92eef9fdeef35 Author: Connor Pearson cjp...@gmail.com Date: 2015-02-12T00:50:32Z CB-8457: Ignore version specifier when running hooks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
Sorry for the scare. Maybe I wasn't clear, but I did not delete any failing tests. I *fixed* the failing tests by having them wait on mutexes instead of using Thread.sleep(). What I *did* delete: - Duplicate tests - Massive amounts of copy paste (refactor from having one activity per-test, to having all tests share an activity and passing the URL to load via the Intent) - Tests that had no assertions Examples of deletes: LifecycleTest: - https://github.com/apache/cordova-android/commit/4358a0473094963b83335c683b43d7094aca6c44#diff-7753f0a08baabc682815c620354bb33c - It has no assertions (nothing was being tested) PluginManagerTest: - https://github.com/apache/cordova-android/commit/4358a0473094963b83335c683b43d7094aca6c44#diff-5fa78a4d2b5c99cd3d1b923edfd07ad6 - It has only one test, and it's commented out. CordovaTest: - https://github.com/apache/cordova-android/commit/4358a0473094963b83335c683b43d7094aca6c44#diff-0b78d46f0e845439f01d054238a17afb - has only commented out tests GapClientTest: - https://github.com/apache/cordova-android/commit/4358a0473094963b83335c683b43d7094aca6c44#diff-d71ae4e49caa340447954c24f9670eba - Asserts the classnames of things. This is already covered by other tests FixWebView: - https://github.com/apache/cordova-android/commit/4358a0473094963b83335c683b43d7094aca6c44#diff-66f4f1b9fd4ceab56d347e88d574518b - Unused class IntentUriOverrideTest - This one shouldn't have been deleted. Got me here! It's easy to put back though (has only one assertion) I spent all of this time because *I agree* there is a lot of value in tests. I spent a lot of time to ensure that test app still runs in stand-alone mode, and that no real test was lost in this change. Please take some time to look at this before attacking it. I put a great deal of care into it. I'll wait before reverting the revert, but I don't see where the anger is coming from. Didn't we just recently discuss the desire to clean up the tests? On Wed, Feb 11, 2015 at 5:28 PM, Joe Bowser bows...@gmail.com wrote: I'm reverting this now, 37 tests with 4 failures is much better than roughy 20 tests with 0 failures. (I didn't run the refactored tests, since there's no point if critical tests are missing). On Wed Feb 11 2015 at 2:01:51 PM Jesse purplecabb...@gmail.com wrote: +1 Revert And please let's stop deleting what other people wrote just because we don't recognize it. These things should require discussion. @purplecabbage risingj.com On Wed, Feb 11, 2015 at 1:53 PM, Joe Bowser bows...@gmail.com wrote: I think we should revert this refactor. With the new refactored tests, they may pass but we lost a lot of the useful tests that we once had and these new tests have no value. I don't know why you took it upon yourself to throw away all the JUnit tests that didn't pass, but that misses the point. I would have rather had the old tests expanded upon instead of just deleted on your personal whim. I honestly don't know what to say, I know that we have a terrible working relationship at best, but this actually is making the project worse intentionally for unknown reasons. In fact, I would almost say that this is purely a malicious change driven by ego, since I can't see a technical reason for any of it. On Wed Feb 11 2015 at 1:36:19 PM Joe Bowser bows...@gmail.com wrote: I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :)
Re: Android JUnit Refactor Deletes Test for CVE
Ah, just saw this after responding to the other thread. It was an accident. On Wed, Feb 11, 2015 at 4:48 PM, Joe Bowser bows...@gmail.com wrote: Responding via private list because this is about a security issue. Andrew, your refactor deleted a very important JUnit test, the SabotagedActivity test is very important for a past CVE where intents could be randomly sent to Cordova and executed remotely. I want to know why this code was deleted, and what will be done to reproduce this test case. I think that you deleting this use case opens us up to serious regressions that could put us at risk, and I would like your justification for that. Joe
[GitHub] cordova-lib pull request: CB-8123 Plugin references can target spe...
Github user TimBarham commented on the pull request: https://github.com/apache/cordova-lib/pull/164#issuecomment-73999167 Thanks Jesse! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-file-transfer pull request: File upload
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/59#issuecomment-74001582 Are you doing anything other than adding a bunch of trace/debug log entries? This pull request will not be merged. Please close. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-file-transfer pull request: android: Fix error repo...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/61 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-windows pull request: CB-8400 enable jshint for windows pl...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-windows/pull/57 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android JUnit Tests Now Pass
On Wed, Feb 11, 2015 at 5:00 PM, Jesse purplecabb...@gmail.com wrote: +1 Revert And please let's stop deleting what other people wrote just because we don't recognize it. These things should require discussion. Bit of a jump to conclusions, don't you think? What makes you think I don't recognize the code I changed? @purplecabbage risingj.com On Wed, Feb 11, 2015 at 1:53 PM, Joe Bowser bows...@gmail.com wrote: I think we should revert this refactor. With the new refactored tests, they may pass but we lost a lot of the useful tests that we once had and these new tests have no value. I don't know why you took it upon yourself to throw away all the JUnit tests that didn't pass, but that misses the point. I would have rather had the old tests expanded upon instead of just deleted on your personal whim. I honestly don't know what to say, I know that we have a terrible working relationship at best, but this actually is making the project worse intentionally for unknown reasons. In fact, I would almost say that this is purely a malicious change driven by ego, since I can't see a technical reason for any of it. On Wed Feb 11 2015 at 1:36:19 PM Joe Bowser bows...@gmail.com wrote: I think there's a lot of value in the Unit Tests, having wrote the majority of them initially. If I wasn't dealing with everyone in my house getting sick, I'd check to make sure these tests were still testing what I intended them to test, since we have a habit of losing the intent behind the test every time we do a refactor. Of course, if we're going to throw away the embedded WebView case, then maybe there's not value after all. On Wed Feb 11 2015 at 1:12:29 PM Andrew Grieve agri...@chromium.org wrote: Does travis provide Android emulators? I'd guess it'd be too slow to put on Travis. And honestly, there's still not a lot of value in the unit tests atm. On Wed, Feb 11, 2015 at 3:12 PM, Murat Sutunc mura...@microsoft.com wrote: This is great news! I've finally got the android travis enabled too. We have jshint and jasmine test coverage on every commit now. ( https://travis-ci.org/apache/cordova-android/builds/50295748) Now that we're passing all junit tests, I think the next step for us should be to integrate junit tests with travis. What do you think? -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 7:14 PM To: dev Subject: Android JUnit Tests Now Pass Spent some time cleaning up the tests. Certainly they could be made even better made to test more things, but at least they pass now :) Much of the change was deleting copy paste, and deleting commented out tests: 53 files changed, 941 insertions(+), 2610 deletions(-) - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: [iOS] Intent to delete AppDelegate remote and local notification code in 4.0
Great idea, let's do that. On Wednesday, February 11, 2015, Andrew Grieve agri...@chromium.org wrote: Sounds good. Since we're making a 4.0 change here anyways, might be a good idea to empty out that template file and instead have it extend a base class from CordovaLib (this is what Android does). Main reason is that the file will be updated when swapping in new versions of CordovaLib. On Wed, Feb 11, 2015 at 6:56 PM, tommy-carlos williams to...@devgeeks.org javascript:; wrote: +1 The email currently says “If your app does not use the Apple Push Notification service, no action is required”, but it probably freaks new users out. Also, it might become a “thing” in the future. -- tommy-carlos williams On 12 February 2015 at 10:10:59, Shazron (shaz...@gmail.com javascript:;) wrote: See: https://github.com/apache/cordova-ios/blob/338ee71f966ab7fdc1ccde02e5086febbc82b70c/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m#L110-L135 I'd rather do this in 3.8.0, but we would break things for users, so in 4.0 it goes. Related issue: https://issues.apache.org/jira/browse/CB-8084 -- causes Apple to issue a warning (which could be a blocker in the future) when you submit an app, if you don't have the correct entitlements. Users wanting this functionality will install a plugin, that will do method swizzling to provide this functionality. It's an easy plugin to do, which will go in the cordova-plugins repo. - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org javascript:; For additional commands, e-mail: dev-h...@cordova.apache.org javascript:;
[GitHub] cordova-lib pull request: CB-8123 Plugin references can target spe...
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-lib/pull/164#issuecomment-73998473 Thanks Tim! This is now merged, the mirror is just slow to update. This should close in a few minutes. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: [iOS] Intent to delete AppDelegate remote and local notification code in 4.0
Sounds good. Since we're making a 4.0 change here anyways, might be a good idea to empty out that template file and instead have it extend a base class from CordovaLib (this is what Android does). Main reason is that the file will be updated when swapping in new versions of CordovaLib. On Wed, Feb 11, 2015 at 6:56 PM, tommy-carlos williams to...@devgeeks.org wrote: +1 The email currently says “If your app does not use the Apple Push Notification service, no action is required”, but it probably freaks new users out. Also, it might become a “thing” in the future. -- tommy-carlos williams On 12 February 2015 at 10:10:59, Shazron (shaz...@gmail.com) wrote: See: https://github.com/apache/cordova-ios/blob/338ee71f966ab7fdc1ccde02e5086febbc82b70c/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m#L110-L135 I'd rather do this in 3.8.0, but we would break things for users, so in 4.0 it goes. Related issue: https://issues.apache.org/jira/browse/CB-8084 -- causes Apple to issue a warning (which could be a blocker in the future) when you submit an app, if you don't have the correct entitlements. Users wanting this functionality will install a plugin, that will do method swizzling to provide this functionality. It's an easy plugin to do, which will go in the cordova-plugins repo. - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: Android - Merging unplug-whitelist branch
Not specifically, yet -- I have done manual testing on it so far, and was going to work with Andrew to put proper unit tests in before we cut 4.0.0. On Wed, Feb 11, 2015 at 4:39 PM, Joe Bowser bows...@gmail.com wrote: Are their JUnit tests to test the new unplugged whitelist? On Wed Feb 11 2015 at 1:29:51 PM Ian Clelland iclell...@chromium.org wrote: I've been keeping the whitelist breakout on a branch for some time now, but since this is something that we want to get into Cordova 4.0.0, it will have to be merged in soon. I've rebased it against master as of this afternoon, and pushed it into a branch - unplug-whitelist-4.0.0 -- It passes all of my tests, but please, if you're involved in the 4.0.x branch, try it out and let me know if it breaks things. I'll merge this in the next little while if I hear only silent approval ;) This should work with the org.apache.cordova.legacy-whitelist to provide functionality identical to previous versions of Cordova.
[GitHub] cordova-plugin-file-transfer pull request: File upload
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/59 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-file-transfer pull request: CB-7957 Adds support fo...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/62 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-file-transfer pull request: wp8 cleanUrl needs rela...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/26 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-medic pull request: [INFRA-8588] Medic stability improveme...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-medic/pull/29 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-splashscreen pull request: CB-8397 Add support for ...
Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-plugin-splashscreen/pull/35#issuecomment-73857850 Tested, LGTM :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-lib pull request: CB-8123 Plugin references can target spe...
Github user sgrebnov commented on the pull request: https://github.com/apache/cordova-lib/pull/164#issuecomment-73859774 Reviewed and tested, LGTM :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-splashscreen pull request: CB-8397 Add support for ...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-splashscreen/pull/35 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-media pull request: CB-8426 Add Windows platform se...
Github user sgrebnov closed the pull request at: https://github.com/apache/cordova-plugin-media/pull/42 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-contacts pull request: CB-8395 marked unsupported t...
Github user sgrebnov commented on the pull request: https://github.com/apache/cordova-plugin-contacts/pull/55#issuecomment-73867207 LGTM :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-contacts pull request: CB-8395 marked unsupported t...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-contacts/pull/55 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-globalization pull request: CB-8394 - included wind...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-globalization/pull/35 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-media pull request: iOS play audio in background
Github user stefanoortisi commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/12#issuecomment-73879343 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
[GitHub] cordova-plugin-network-information pull request: CB-8185 Use `navi...
GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-plugin-network-information/pull/25 CB-8185 Use `navigator.onLine` as connection information source on browser platform This is fix for [CB-8185](https://issues.apache.org/jira/browse/CB-8185) This also adds support for `online`/`offline` events for browser. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-network-information CB-8185 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-network-information/pull/25.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #25 commit 42fbe8aa9fab76dea7b1b0b837574806871a5660 Author: Vladimir Kotikov v-vlk...@microsoft.com Date: 2015-02-04T14:09:06Z CB-8185 Use `navigator.onLine` as connection information source on browser platform * add support for `online`/`offline` events for browser --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org