[jira] [Commented] (CB-4077) CLI / Plugman can't remove dependency-only plugins
[ https://issues.apache.org/jira/browse/CB-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703795#comment-13703795 ] Filip Maj commented on CB-4077: --- I've pushed a CB-4077 branch to the apache plugman git repo to track progress related to this. I've added a few commits on top of yours. Overall it seems good, I was just dealing with a few edge cases. I will take a look at the CLI next. In the mean time, [~iclelland] can you take a look and run through your workflow with the apache CB-4077 branch of plugman and make sure it works out for you? CLI / Plugman can't remove dependency-only plugins -- Key: CB-4077 URL: https://issues.apache.org/jira/browse/CB-4077 Project: Apache Cordova Issue Type: Bug Components: CLI, Plugman Affects Versions: 3.0.0 Reporter: Ian Clelland Assignee: Filip Maj {{cordova plugin remove}} cannot delete dependency-only plugins, which do not have any platforms defined in their {{plugin.xml}} file. {{plugman.uninstall()}} is only called for platforms, not for the plugin itself. I propose fixing this by separating the tasks of * removing a plugin from a particular platform, and * removing a plugin from the cordova project Dependency-only projects need the second step to occur, but not the first. Other plugins will have the first step run once per platform, and then the second step run once. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4140) cli reads version incorrectly from cordova-js
Filip Maj created CB-4140: - Summary: cli reads version incorrectly from cordova-js Key: CB-4140 URL: https://issues.apache.org/jira/browse/CB-4140 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Filip Maj Fix For: 3.0.0 Following the steps for [Working With Cordova in 3.0|http://wiki.apache.org/cordova/WorkingWithThree], you'll get an issue with android where it thinks cordova-android is running 2.7.0rc1 (and throws a semver issue). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4141) Remove writing out cordova_plugins.json from plugman
Filip Maj created CB-4141: - Summary: Remove writing out cordova_plugins.json from plugman Key: CB-4141 URL: https://issues.apache.org/jira/browse/CB-4141 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 2.9.0, 3.0.0 Reporter: Filip Maj Assignee: Filip Maj Fix For: 3.1.0 Support a small deprecation window by maintaining both methods -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4016) Consolidate plugin loading to one method only (cordova_plugins.js)
[ https://issues.apache.org/jira/browse/CB-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4016. --- Resolution: Fixed Removed plugman component from this issue and created CB-4141 to track removal of .json file writing in plugman. This issue is now resolved. Consolidate plugin loading to one method only (cordova_plugins.js) -- Key: CB-4016 URL: https://issues.apache.org/jira/browse/CB-4016 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: Master Reporter: Shazron Abdullah Assignee: Filip Maj Fix For: 3.0.0 See ML discussion: http://markmail.org/thread/lujkv5jbwy4oenus Proposed to use the second method which is: b) Load cordova_plugins.js via script injection -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4041) Using package and name on osx doesn't work
[ https://issues.apache.org/jira/browse/CB-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704193#comment-13704193 ] Filip Maj commented on CB-4041: --- Hmm now I can no longer reproduce, and I used the exact values you used. [~christian.grobmeier], two questions: 1. What version of {{cordova}} are you running? You can check with {{cordova -v}}. 2. Can you re-run the same commands above but with a {{-d}} flag after cordova, i.e. {{cordova -d platform add ios}}, {{cordova -d emulate ios}}, etc.? Using package and name on osx doesn't work -- Key: CB-4041 URL: https://issues.apache.org/jira/browse/CB-4041 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Christian Grobmeier Assignee: Filip Maj $ cordova create tab-iphone-2.2 de.grobmeier.tab.mobile.iphone iphone $ cd tab-iphone-2.2/ $ ls merges platforms plugins www $ cordova platforms add ios $ cordova build $ cordova emulate ios The command returns quickly and the simulator window black. Doing the same just with: $ cordova create tab-iphone-2.2 works. But using a packagename and application name doesn't work. Removing the application name doesn't help either. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-4041) Using package and name on osx doesn't work
[ https://issues.apache.org/jira/browse/CB-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704193#comment-13704193 ] Filip Maj edited comment on CB-4041 at 7/10/13 4:26 AM: Hmm now I can no longer reproduce, and I used the exact values you used. [~cgrobmeier], two questions: 1. What version of {{cordova}} are you running? You can check with {{cordova -v}}. 2. Can you re-run the same commands above but with a {{-d}} flag after cordova, i.e. {{cordova -d platform add ios}}, {{cordova -d emulate ios}}, etc.? was (Author: filmaj): Hmm now I can no longer reproduce, and I used the exact values you used. [~christian.grobmeier], two questions: 1. What version of {{cordova}} are you running? You can check with {{cordova -v}}. 2. Can you re-run the same commands above but with a {{-d}} flag after cordova, i.e. {{cordova -d platform add ios}}, {{cordova -d emulate ios}}, etc.? Using package and name on osx doesn't work -- Key: CB-4041 URL: https://issues.apache.org/jira/browse/CB-4041 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Christian Grobmeier Assignee: Filip Maj $ cordova create tab-iphone-2.2 de.grobmeier.tab.mobile.iphone iphone $ cd tab-iphone-2.2/ $ ls merges platforms plugins www $ cordova platforms add ios $ cordova build $ cordova emulate ios The command returns quickly and the simulator window black. Doing the same just with: $ cordova create tab-iphone-2.2 works. But using a packagename and application name doesn't work. Removing the application name doesn't help either. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4074) Error when adding android platform on Windows 7
[ https://issues.apache.org/jira/browse/CB-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704886#comment-13704886 ] Filip Maj commented on CB-4074: --- Yes, let's keep going down the rabbit hole :) Do you have the cordova-cli code cloned locally? If so, can you {{cd}} into the cli directory and run the following commands, and post the output back here? {noformat} $ cd cordova-cli $ npm install $ node s=require('shelljs') s.exec('android list target', {silent:true, async:true}, function(code, output) { console.dir(arguments); }) {noformat} After a second or two you should see an output that looks like {noformat} { '0': 0, '1': 'Available Android targets... lots more output } {noformat} That's the output I'm interested in. Error when adding android platform on Windows 7 --- Key: CB-4074 URL: https://issues.apache.org/jira/browse/CB-4074 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 Reporter: Lisa Seacat DeLuca Assignee: Benn Mapes I got past the issue where I wasn't able to install cordova on my windows 7 machine. I create a new project just fine but when I tried to add android as a platform I see the following error: C:\workspaces\cordovacli\helloworldcordova platform add android shell.js: internal error Error: EPERM, operation not permitted 'C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test' at Object.fs.renameSync (fs.js:543:18) at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:487:8 at Array.forEach (native) at Object._mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:463:11) at Object.mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1471:23) at Extract.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.js:115:43) at Extract.EventEmitter.emit (events.js:117:20) at DirWriter.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\lib\extract.js:66:8) at DirWriter.EventEmitter.emit (events.js:117:20) at end (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\node_modules\fstream\lib\writer.js:323:12) -- note: I can use eclipse and create an android project with no problem and test on devices and emulators. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3499) Plugman uninstall not removing javascript + cordova_plugins.json reference
[ https://issues.apache.org/jira/browse/CB-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704916#comment-13704916 ] Filip Maj commented on CB-3499: --- The references in the .json/.js are removed properly with the latest stuff, but the {{www/plugins}} directories still exist and have the removed-plugins content in there. Plugman uninstall not removing javascript + cordova_plugins.json reference -- Key: CB-3499 URL: https://issues.apache.org/jira/browse/CB-3499 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 2.8.0 Reporter: Steve Gill Assignee: Filip Maj Fix For: 3.0.0 As the title states. Plugman uninstall doesn't remove the plugin javascript files and it doesn't remove the plugin reference from cordova_plugins.json. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3499) Plugman uninstall not removing javascript + cordova_plugins.json reference
[ https://issues.apache.org/jira/browse/CB-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704936#comment-13704936 ] Filip Maj commented on CB-3499: --- Looks like the final issue here is that {{js-module}} elements are not uninstalled properly during prepare. I am looking to add tests + patch this behaviour. Plugman uninstall not removing javascript + cordova_plugins.json reference -- Key: CB-3499 URL: https://issues.apache.org/jira/browse/CB-3499 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 2.8.0 Reporter: Steve Gill Assignee: Filip Maj Fix For: 3.0.0 As the title states. Plugman uninstall doesn't remove the plugin javascript files and it doesn't remove the plugin reference from cordova_plugins.json. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3499) Plugman uninstall not removing javascript + cordova_plugins.json reference
[ https://issues.apache.org/jira/browse/CB-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3499. --- Resolution: Fixed Fixed and deployed as 0.9.1 to npm. Plugman uninstall not removing javascript + cordova_plugins.json reference -- Key: CB-3499 URL: https://issues.apache.org/jira/browse/CB-3499 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 2.8.0 Reporter: Steve Gill Assignee: Filip Maj Fix For: 3.0.0 As the title states. Plugman uninstall doesn't remove the plugin javascript files and it doesn't remove the plugin reference from cordova_plugins.json. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4077) CLI / Plugman can't remove dependency-only plugins
[ https://issues.apache.org/jira/browse/CB-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-4077: -- Component/s: (was: Plugman) Affects Version/s: (was: 3.0.0) 2.9.0 Fix Version/s: 3.0.0 Assignee: Ian Clelland (was: Filip Maj) Removed Plugman component as it is resolved on plugman side. Assigning to [~iclelland]. Just waiting on feedback re: the CB-4077 branch of cli before we can merge back into master and publish to NPM. CLI / Plugman can't remove dependency-only plugins -- Key: CB-4077 URL: https://issues.apache.org/jira/browse/CB-4077 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Ian Clelland Assignee: Ian Clelland Fix For: 3.0.0 {{cordova plugin remove}} cannot delete dependency-only plugins, which do not have any platforms defined in their {{plugin.xml}} file. {{plugman.uninstall()}} is only called for platforms, not for the plugin itself. I propose fixing this by separating the tasks of * removing a plugin from a particular platform, and * removing a plugin from the cordova project Dependency-only projects need the second step to occur, but not the first. Other plugins will have the first step run once per platform, and then the second step run once. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4040) ios project not refreshed in simulator
[ https://issues.apache.org/jira/browse/CB-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4040. --- Resolution: Cannot Reproduce Resolved as cannot reproduce after a week of inactivity. [~cgrobmeier] if you can provide more details for reproducing feel free to reopen the issue. ios project not refreshed in simulator -- Key: CB-4040 URL: https://issues.apache.org/jira/browse/CB-4040 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Christian Grobmeier Assignee: Filip Maj I created a default project and viewed it in the simulator. Then I copied some other sources to the project folder and did: $ cordova build $ cordova emulate ios but the default app was viewable (the one delivered with cordova). I tried: $ cordova prepare $ cordova compile $ cordova emulate ios no success. Then: $ platforms/ios/cordova/clean $ cordova build $ cordova emulate no success. I verified in the folder platforms were the update files. I also deleted the default app from the simulator. But it was reinstalled every time i started the emulator. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4039) Remove / Add platform fails
[ https://issues.apache.org/jira/browse/CB-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4039. --- Resolution: Cannot Reproduce Resolved as cannot reproduce. [~cgrobmeier] if you can provide more details feel free to re-open the issue. Remove / Add platform fails --- Key: CB-4039 URL: https://issues.apache.org/jira/browse/CB-4039 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Christian Grobmeier Assignee: Filip Maj Because of another issue, I tried to remove a platform and then added it again: [project was viewable in the simualator] $ cordova platform remove ios $ cordova platform add ios node.js:810 var cwd = process.cwd(); ^ Error: ENOENT, no such file or directory at Function.startup.resolveArgv0 (node.js:810:23) at startup (node.js:58:13) at node.js:901:3 (running on Mac OSX 10.8, latest xcode) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4148) Name element in www/config.xml can't have any spaces in it
[ https://issues.apache.org/jira/browse/CB-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705054#comment-13705054 ] Filip Maj commented on CB-4148: --- Are you sure you are running cordova 2.9.3? That hasn't been release yet... Name element in www/config.xml can't have any spaces in it -- Key: CB-4148 URL: https://issues.apache.org/jira/browse/CB-4148 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Environment: cordova 2.9.3, macos 10.7.5 Reporter: Dan Moore Assignee: Filip Maj Priority: Minor If you have a name element with spaces in it, you can build, but you can't emulate in ios. With this config.xml: {noformat} nameApp Name With Spaces/name ... {noformat} This is the error message displayed: /path/to/app/platforms/ios/build/App_Name_With_Spaces.app not found to emulate. Note that this doesn't cause any issues with Android, and that running xcodebuild clean doesn't resolve this issue. The only workaround I could find was to re-checkout my application, and change the www/config.xml name element to have no spaces, and re-add the ios platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4088) `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior
[ https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705127#comment-13705127 ] Filip Maj commented on CB-4088: --- I've linked CB-4148 to this issue as well, as the {{emulate}} command has a related but different issue (it replaces the app name's spaces with underscores when it tries to launch the app). `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior - Key: CB-4088 URL: https://issues.apache.org/jira/browse/CB-4088 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: Master, 2.9.0 Environment: OSX 10.8.3 Reporter: Niggler Assignee: Shazron Abdullah Fix For: 3.0.0 The Cordova CLI demo on the phonegap page starts with a Hello World project: $ cordova create HelloWorld com.example.hello Hello World This project name clearly has spaces. `cordova build ios` builds `./platforms/ios/build/Hello World.app` (exactly what you expect) `cordova emulate ios`, however, looks for `./platforms/ios/build/Hello_World.app` (note the underscore instead of a space) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4148) Name element in www/config.xml can't have any spaces in it
[ https://issues.apache.org/jira/browse/CB-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705258#comment-13705258 ] Filip Maj commented on CB-4148: --- With CB-4088 resolves, this particular symptom doesn't happen anymore but this particular scenario is still failing. I am looking into patching this behaviour so that for the 3.0 RC release coming next week we should have it ready. Name element in www/config.xml can't have any spaces in it -- Key: CB-4148 URL: https://issues.apache.org/jira/browse/CB-4148 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Environment: cordova 2.9.2 macos 10.7.5 Reporter: Dan Moore Assignee: Filip Maj Priority: Minor If you have a name element with spaces in it, you can build, but you can't emulate in ios. With this config.xml: {noformat} nameApp Name With Spaces/name ... {noformat} This is the error message displayed: /path/to/app/platforms/ios/build/App_Name_With_Spaces.app not found to emulate. Note that this doesn't cause any issues with Android, and that running xcodebuild clean doesn't resolve this issue. The only workaround I could find was to re-checkout my application, and change the www/config.xml name element to have no spaces, and re-add the ios platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4149) Grunt cordovajs task cannot find the path specified
[ https://issues.apache.org/jira/browse/CB-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705982#comment-13705982 ] Filip Maj commented on CB-4149: --- I'm confused, you've submitted an npm debug log which implies you are having issues with either the cordova cli or plugman, but you are describing issues with cordova-js. Which is it? Grunt cordovajs task cannot find the path specified --- Key: CB-4149 URL: https://issues.apache.org/jira/browse/CB-4149 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: Master, 2.9.0 Environment: Windows 7 Enterprise Reporter: Angela Fowler Assignee: Filip Maj Attachments: npm-debug.log 1. Trying to run the default tasks causes an error : c:\development\cordova-2.9.0\cordova-jsgrunt Running cordovajs:android (cordovajs) task Fatal error: Error: Command failed: The system cannot find the path specified. 2. The README file refers to the old Jake tasks e.g. build Then from the repository root run: grunt This will run the `build`, `hint` and `test` tasks by default. According to grunt --help Available tasks cordovajs Packages cordova.js * test Runs test in node btest Runs tests in the browser complainwhitespace Complain about what fixwhitespace would fix fixwhitespace Converts tabs to four spaces, eliminates trailing white space, converts newlines to proper form - enforcing style guide ftw! clean Clean files and folders. * jshint Validate files with JSHint. * default Alias for cordovajs, complainwhitespace, test tasks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4184) Adding plugin with remote dependencies to a cli project with multiple platforms yields warnings
Filip Maj created CB-4184: - Summary: Adding plugin with remote dependencies to a cli project with multiple platforms yields warnings Key: CB-4184 URL: https://issues.apache.org/jira/browse/CB-4184 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Filip Maj Priority: Minor Set up: {noformat} $ cordova create tmp $ cd tmp $ cordova platform add ios android {noformat} Then go to add a plugin with a remote dependency. What will happen is, in parallel, cordova-cli will invoke {{plugin.install}}, which in turn will invoke {{plugman.fetch}}, but it does so for each platform. So in parallel, plugman is attempting to fetch the same plugin twice and fetch it into the cli-generated project's plugins directory. This does not cause errors but there are a bunch of warning messages about files already existing. Perhaps we can make the cli aware of what's happening in this case and manually call {{fetch}} first, and only once, before invoking install for each platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4186) cordova-cli should support lazy-loading libraries from protocols other than https
Filip Maj created CB-4186: - Summary: cordova-cli should support lazy-loading libraries from protocols other than https Key: CB-4186 URL: https://issues.apache.org/jira/browse/CB-4186 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Filip Maj Currently only https is supported. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4182) Long delays when lazy-loading some libraries
[ https://issues.apache.org/jira/browse/CB-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706574#comment-13706574 ] Filip Maj commented on CB-4182: --- Fixed and published as 2.9.3 on npm. Long delays when lazy-loading some libraries - Key: CB-4182 URL: https://issues.apache.org/jira/browse/CB-4182 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Michael Brooks Assignee: Filip Maj *Problem:* When lazy-loading certain libraries, the node process can hang after the completion callback is fired. This delay can take up to a few minutes, but is usually ~30 seconds. *tar.gz Files:* Apache {{tar.gz}} files do not experience long delays. GitHub {{tar.gz}} files do experience long delays. You can reproduce this issue by using the [github.com/apache/cordova-app-hello-world/achive/2.9.0.tar.gzip|https://github.com/apache/cordova-app-hello-world/archive/2.9.0.tar.gz] file instead of the default served by Apache GitWeb. *Hosting:* The web host does not affect this issue. I have hosted the Apache file and the GitHub file on my own web server (S3) and experienced the same results. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4188) Should be better at parsing command-line flags
Filip Maj created CB-4188: - Summary: Should be better at parsing command-line flags Key: CB-4188 URL: https://issues.apache.org/jira/browse/CB-4188 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Michael Brooks Priority: Minor Currently, the {{-d}} debug flag can only be set in front of any commands. Should enhance the binary script to do better arg parsing. [~mwbrooks] wanna do a refactor of the shim script into a CLI object? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4128) Change blackberry Platform Name to blackberry10
[ https://issues.apache.org/jira/browse/CB-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-4128: -- Affects Version/s: 2.9.0 Fix Version/s: 3.0.0 I'm going to get this in for the 3.0 RC release of the cli, but will leave it out of 2.9.x. Change blackberry Platform Name to blackberry10 --- Key: CB-4128 URL: https://issues.apache.org/jira/browse/CB-4128 Project: Apache Cordova Issue Type: Improvement Components: CLI Affects Versions: 2.9.0 Reporter: Michael Brooks Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 *TLDR:* Alias the BlackBerry keyword {{blackberry}} as {{blackberry10}}. At Apache Cordova 3.0, we can drop the {{blackberry}} keyword. *Current Problem:* Currently, the {{cordova-cli}} supports the BlackBerry 10 platform with the keyword {{blackberry}}. A potential problem may exist if add support for an older or future BlackBerry version. For example, BlackBerry 7 or BlackBerry 11 (does not exist). *Proposed Solution:* Windows Phone has a similar situation. In {{cordova-cli}}, we have solved this by using the version number: {{wp7}} or {{wp8}}. I'd like see the same happen for BlackBerry, where we use: {{blackberry10}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3938) Issues creating BlackBerry project
[ https://issues.apache.org/jira/browse/CB-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706583#comment-13706583 ] Filip Maj commented on CB-3938: --- [~jwargo] can you try upgrading cordova-cli to the latest 2.9.x version and deleting your ~/.cordova folder? Issues creating BlackBerry project -- Key: CB-3938 URL: https://issues.apache.org/jira/browse/CB-3938 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: OS x 10.8.4. Cordova CLI 2.8.22 Reporter: John M. Wargo Assignee: Filip Maj Installed the latest version of CLI and no longer see the warning to chown the cordova install folder. Don't know if that's still a requirement (would be nice to know as I've already included those instructions in the book. when I try to create a BlackBerry project, I get the following error: jmw-mini:test jwargo$ cordova platform add blackberry [Error: An error occured during creation of blackberry sub-project. npm ERR! Error: EACCES, open '/Users/jwargo/.npm/d240d84e-localize-0-4-2.lock' npm ERR! { [Error: EACCES, open '/Users/jwargo/.npm/d240d84e-localize-0-4-2.lock'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/Users/jwargo/.npm/d240d84e-localize-0-4-2.lock' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Darwin 12.4.0 npm ERR! command node /usr/local/bin/npm install npm ERR! cwd /Users/jwargo/.cordova/lib/blackberry/cordova/2.8.0 npm ERR! node -v v0.10.9 npm ERR! npm -v 1.2.24 npm ERR! path /Users/jwargo/.npm/d240d84e-localize-0-4-2.lock npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, open '/Users/jwargo/.npm/d240d84e-localize-0-4-2.lock' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/jwargo/.cordova/lib/blackberry/cordova/2.8.0/npm-debug.log npm ERR! not ok code 0 module.js:340 throw err; ^ Error: Cannot find module 'wrench' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.anonymous (/Users/jwargo/.cordova/lib/blackberry/cordova/2.8.0/bin/create.js:30:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) ] jmw-mini:test jwargo$ Which makes me think I'm having access problems among other things. Here's the complete terminal text from the installation: jmw-mini:test jwargo$ sudo npm install -g cordova dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: npm http GET https://registry.npmjs.org/cordova npm http 200 https://registry.npmjs.org/cordova npm http GET https://registry.npmjs.org/cordova/-/cordova-2.8.22.tgz npm http 200 https://registry.npmjs.org/cordova/-/cordova-2.8.22.tgz npm http GET https://registry.npmjs.org/plugman/0.7.13 npm http GET https://registry.npmjs.org/elementtree/0.1.3 npm http GET https://registry.npmjs.org/xcode/0.5.1 npm http GET https://registry.npmjs.org/plist npm http GET https://registry.npmjs.org/ncallbacks/1.0.0 npm http GET https://registry.npmjs.org/follow-redirects npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/shelljs/0.1.2 npm http GET https://registry.npmjs.org/ripple-emulator npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/semver/1.1.0 npm http GET https://registry.npmjs.org/open/0.0.3 npm http GET https://registry.npmjs.org/prompt/0.2.7 npm http 200 https://registry.npmjs.org/plugman/0.7.13 npm http 200 https://registry.npmjs.org/elementtree/0.1.3 npm http GET https://registry.npmjs.org/plugman/-/plugman-0.7.13.tgz npm http 200 https://registry.npmjs.org/ncallbacks/1.0.0 npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz npm http GET https://registry.npmjs.org/ncallbacks/-/ncallbacks-1.0.0.tgz npm http 200 https://registry.npmjs.org/xcode/0.5.1 npm http GET https://registry.npmjs.org/xcode/-/xcode-0.5.1.tgz npm http 200 https://registry.npmjs.org/plist npm http 200 https://registry.npmjs.org/follow-redirects npm http 200 https://registry.npmjs.org/colors npm http 200 https://registry.npmjs.org/shelljs/0.1.2 npm http 200 https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/shelljs/-/shelljs-0.1.2.tgz npm http 200
[jira] [Resolved] (CB-4182) Long delays when lazy-loading some libraries
[ https://issues.apache.org/jira/browse/CB-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4182. --- Resolution: Fixed Fix Version/s: 3.0.0 Long delays when lazy-loading some libraries - Key: CB-4182 URL: https://issues.apache.org/jira/browse/CB-4182 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Michael Brooks Assignee: Filip Maj Fix For: 3.0.0 *Problem:* When lazy-loading certain libraries, the node process can hang after the completion callback is fired. This delay can take up to a few minutes, but is usually ~30 seconds. *tar.gz Files:* Apache {{tar.gz}} files do not experience long delays. GitHub {{tar.gz}} files do experience long delays. You can reproduce this issue by using the [github.com/apache/cordova-app-hello-world/achive/2.9.0.tar.gzip|https://github.com/apache/cordova-app-hello-world/archive/2.9.0.tar.gz] file instead of the default served by Apache GitWeb. *Hosting:* The web host does not affect this issue. I have hosted the Apache file and the GitHub file on my own web server (S3) and experienced the same results. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4186) cordova-cli should support lazy-loading libraries from protocols other than https
[ https://issues.apache.org/jira/browse/CB-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4186. --- Resolution: Fixed Fix Version/s: 3.0.0 With CB-4182 resolved, this is also now handled gracefully. cordova-cli should support lazy-loading libraries from protocols other than https - Key: CB-4186 URL: https://issues.apache.org/jira/browse/CB-4186 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Filip Maj Fix For: 3.0.0 Currently only https is supported. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3958) (BlackBerry) Cordova js could not work on remote page while local page is OK
[ https://issues.apache.org/jira/browse/CB-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-3958: -- Fix Version/s: (was: 2.5.0) (was: 2.4.0) Which BlackBerry environment does this affect? Playbook, BB10, or 7, etc? (BlackBerry) Cordova js could not work on remote page while local page is OK - Key: CB-3958 URL: https://issues.apache.org/jira/browse/CB-3958 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 2.4.0, 2.5.0 Environment: BlackBerry Reporter: Selwyn Shen Assignee: Lorin Beer Priority: Minor Original Estimate: 168h Remaining Estimate: 168h This issues is almost the same as issue CB-3029. I only tested 2.4.0 and 2.5.0, both could not work on remote page. Ensure that: 1. The cordova js on remote server is right as BlackBerry version. The version of jar and js also are same. 2. In Config.xml, access to all URIs was configured. 3. Local page works well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3577) Issue on extending cordovaPlugin on execute() method: cordova v 2.7
[ https://issues.apache.org/jira/browse/CB-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3577. --- Resolution: Won't Fix Fix Version/s: (was: 2.6.0) Assignee: (was: Steve Gill) This looks to be a problem upgrading a third-party plugin between 2.6 and 2.7. Closing. Issue on extending cordovaPlugin on execute() method: cordova v 2.7 --- Key: CB-3577 URL: https://issues.apache.org/jira/browse/CB-3577 Project: Apache Cordova Issue Type: Bug Components: Plugin Contacts Affects Versions: 2.7.0 Environment: Android Reporter: saurabh Trivedi Labels: test Original Estimate: 1h Remaining Estimate: 1h Hi i have downloaded contact_view plugin from github phonegap but on java file there is error on execute method for call back and not getting super class context using this key word , this plugin working well for v2.6 and below so now what the changes requires for use this plugin on cordova v2.7 my plugin code is below so pls request to elaborate the changes where needed.i know there is change in execute method and now its return type is boolean but what would be after this , how would we get call back and context ? how to get rid of this issue in v2.7 cordova. public class ContactView extends CordovaPlugin { private static final int PICK_CONTACT = 1; private String callback; @Override public PluginResult execute(String action, JSONArray args, String callbackId) { startContactActivity(); PluginResult mPlugin = new PluginResult(PluginResult.Status.NO_RESULT); mPlugin.setKeepCallback(true); this.callback = callbackId; return mPlugin; } public void startContactActivity() { Intent intent = new Intent(Intent.ACTION_PICK); intent.setType(ContactsContract.Contacts.CONTENT_TYPE); this.ctx.startActivityForResult((Plugin) this, intent, PICK_CONTACT); } @Override public void onActivityResult(int reqCode, int resultCode, Intent data) { String name = null; String number = null; String email = null; switch (reqCode) { case (PICK_CONTACT): if (resultCode == Activity.RESULT_OK) { Uri contactData = data.getData(); Cursor c = this.ctx.managedQuery(contactData, null, null, null, null); if (c.moveToFirst()) { String ContactID = c.getString(c .getColumnIndex(ContactsContract.Contacts._ID)); String hasPhone = c.getString(c.getColumnIndex(ContactsContract.Contacts.HAS_PHONE_NUMBER)); if (Integer.parseInt(hasPhone) == 1) { Cursor phoneCursor = this.ctx.managedQuery( ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, ContactsContract.CommonDataKinds.Phone.CONTACT_ID + =' + ContactID + ', null, null); while (phoneCursor.moveToNext()) { number = phoneCursor .getString(phoneCursor .getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER)); } } // get email address Cursor emailCur = this.ctx.managedQuery( ContactsContract.CommonDataKinds.Email.CONTENT_URI, null, ContactsContract.CommonDataKinds.Email.CONTACT_ID + =' + ContactID + ', null,null); while (emailCur.moveToNext()) { // This would allow you get
[jira] [Updated] (CB-4055) error html remote template loading WP8
[ https://issues.apache.org/jira/browse/CB-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-4055: -- Fix Version/s: (was: 2.8.0) Removing fix-version. error html remote template loading WP8 -- Key: CB-4055 URL: https://issues.apache.org/jira/browse/CB-4055 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 2.8.0 Environment: Windows 8 Reporter: El farouk mokrani Assignee: Jesse MacFadyen Labels: backbonejs, javascript, requirejs Hello Everyone,I've been trying to develop an app in cordova 2.8 in Windows phone 8. Everything works fine in iOS and Android, but I'm getting a really strange error message. ERROR: failed to InvokeMethodNamed :: readResourceAsText on Object :: File CommandString : DebugConsole/log/DebugConsole1223202439/Error in error callback: File1223202438 = Error: js/../templates/home/home.html HTTP status: 404 Log:[Error in error callback: File1223202438 = Error: js\/..\/templates\/home\/home.html HTTP status: 404,DebugConsole1223202439] The thread 0xea8 has exited with code 259 (0x103). so i'm used BackboneJs + Jquerymob + require and textjs plugin the problem is found at int start = int.Parse(optStrings[2]); in file plugin of phonegap File.cs and the content of pathToResource =js/../templates/home/home.html loading template that's why I think that this is the problem. Do you guys know anything about it? i'm sorry for my english thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4088) `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior
[ https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-4088: -- Attachment: Screen Shot 2013-07-11 at 8.12.07 PM.png Screenshot added. `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior - Key: CB-4088 URL: https://issues.apache.org/jira/browse/CB-4088 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: Master, 2.9.0 Environment: OSX 10.8.3 Reporter: Niggler Assignee: Shazron Abdullah Fix For: 3.0.0 Attachments: Screen Shot 2013-07-11 at 8.12.07 PM.png The Cordova CLI demo on the phonegap page starts with a Hello World project: {{$ cordova create HelloWorld com.example.hello Hello World}} This project name clearly has spaces. {{cordova build ios}} builds {{./platforms/ios/build/Hello World.app}} (exactly what you expect) {{cordova emulate ios}}, however, looks for {{./platforms/ios/build/Hello_World.app}} (note the underscore instead of a space) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4088) `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior
[ https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706608#comment-13706608 ] Filip Maj commented on CB-4088: --- Hey [~shazron], with the latest master (@[commit 7dcdf69|https://github.com/apache/cordova-ios/commit/7dcdf69fb26596c0c16b5c83695c9bb4c6bb5d72]), everything works when I create a regular project with no spaces in the name a la: {noformat} $ ./bin/create ../tmpios io.cordova.hellocordova HelloCordova $ open ../tmpios/HelloCordova.xcodeproj {noformat} (and then proceed to deploy to my device) However, doing the same with: {noformat} $ ./bin/create ../tmpios io.cordova.hellocordova Hello Cordova $ open ../tmpios/Hello\ Cordova.xcodeproj {noformat} I get a Could not change executable permissions on the application in XCode 4.6.3 when attempting to deploy to my iPhone. Should this be re-opened? I will attach a screenshot shortly. `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior - Key: CB-4088 URL: https://issues.apache.org/jira/browse/CB-4088 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: Master, 2.9.0 Environment: OSX 10.8.3 Reporter: Niggler Assignee: Shazron Abdullah Fix For: 3.0.0 Attachments: Screen Shot 2013-07-11 at 8.12.07 PM.png The Cordova CLI demo on the phonegap page starts with a Hello World project: {{$ cordova create HelloWorld com.example.hello Hello World}} This project name clearly has spaces. {{cordova build ios}} builds {{./platforms/ios/build/Hello World.app}} (exactly what you expect) {{cordova emulate ios}}, however, looks for {{./platforms/ios/build/Hello_World.app}} (note the underscore instead of a space) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4189) Plugman uninstallPlugin plugin repo removal should work bottom-up: dependency leaves first, moving up the dependency chain
Filip Maj created CB-4189: - Summary: Plugman uninstallPlugin plugin repo removal should work bottom-up: dependency leaves first, moving up the dependency chain Key: CB-4189 URL: https://issues.apache.org/jira/browse/CB-4189 Project: Apache Cordova Issue Type: Improvement Components: Plugman Affects Versions: 2.9.0, 3.0.0 Reporter: Filip Maj Assignee: Filip Maj Priority: Minor Currently, the plugin-repo-removal code (encapsulated as the {{uninstallPlugin}} method) blindly removes dependent plugins recursively. It should probably do this in a smarter fashion, similarly to how the {{uninstallPlatform}} method checks for any other dependents before proceeding with recursive uninstalls. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4077) CLI / Plugman can't remove dependency-only plugins
[ https://issues.apache.org/jira/browse/CB-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4077. --- Resolution: Fixed Assignee: Filip Maj (was: Ian Clelland) Fixed and pushed to npm as 2.9.4. CLI / Plugman can't remove dependency-only plugins -- Key: CB-4077 URL: https://issues.apache.org/jira/browse/CB-4077 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Ian Clelland Assignee: Filip Maj Fix For: 3.0.0 {{cordova plugin remove}} cannot delete dependency-only plugins, which do not have any platforms defined in their {{plugin.xml}} file. {{plugman.uninstall()}} is only called for platforms, not for the plugin itself. I propose fixing this by separating the tasks of * removing a plugin from a particular platform, and * removing a plugin from the cordova project Dependency-only projects need the second step to occur, but not the first. Other plugins will have the first step run once per platform, and then the second step run once. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-4088) `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior
[ https://issues.apache.org/jira/browse/CB-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4088. --- Resolution: Fixed The fix happened in the underlying cordova-ios library. It won't show up in cordova-cli until cordova-cli hits 3.0.0-rc1, which should happen Monday. If you can't wait until then, you can verify by using a custom library location specified in your config.json. For example: {noformat} $ git clone https://git-wip-us.apache.org/repos/asf/cordova-ios.git $ cordova create tmp io.cordova.hellocordova Hello Cordova $ vim tmp/.cordova/config.json # edit it so it looks like: { id:something, name:somethingelse, lib:{ ios:{ id:cordova-dev, version:master, uri:/path/to/cloned/cordova-ios } } } $ cd tmp $ cordova -d platform add ios # should use custom location of ios now {noformat} `cordova emulate ios` replaces spaces in project name with underscores, conflicting with `cordova build ios` behavior - Key: CB-4088 URL: https://issues.apache.org/jira/browse/CB-4088 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: Master, 2.9.0 Environment: OSX 10.8.3 Reporter: Niggler Assignee: Shazron Abdullah Fix For: 3.0.0 Attachments: Screen Shot 2013-07-11 at 8.12.07 PM.png The Cordova CLI demo on the phonegap page starts with a Hello World project: {{$ cordova create HelloWorld com.example.hello Hello World}} This project name clearly has spaces. {{cordova build ios}} builds {{./platforms/ios/build/Hello World.app}} (exactly what you expect) {{cordova emulate ios}}, however, looks for {{./platforms/ios/build/Hello_World.app}} (note the underscore instead of a space) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4188) Should be better at parsing command-line flags
[ https://issues.apache.org/jira/browse/CB-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706659#comment-13706659 ] Filip Maj commented on CB-4188: --- Yep that's an option. The shim script ({{./bin/cordova}}) isn't too long but it's not super intuitive (esp. the multi-token commands {{platform}} and {{plugin}}), perhaps there is an opportunity for a more elegant implementation. Should be better at parsing command-line flags -- Key: CB-4188 URL: https://issues.apache.org/jira/browse/CB-4188 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Michael Brooks Priority: Minor Currently, the {{-d}} debug flag can only be set in front of any commands. Should enhance the binary script to do better arg parsing. [~mwbrooks] wanna do a refactor of the shim script into a CLI object? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3459) plugman should handle configuration automatically
[ https://issues.apache.org/jira/browse/CB-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3459. --- Resolution: Won't Fix I tend to agree with Braden on this one, so I am closing as Won't Fix. If further discussion is warranted, do it on the list. plugman should handle configuration automatically - Key: CB-3459 URL: https://issues.apache.org/jira/browse/CB-3459 Project: Apache Cordova Issue Type: Bug Components: Plugman Affects Versions: 2.7.0 Reporter: Anis Kadri Assignee: Filip Maj Fix For: 3.0.0 plugman should know how to handle configuration automatically no matter what cordova version a project uses. {code:xml} config-file name=config.xml plugin name=Plugin value=Plugin / /config-file {code} OR {code:xml} config-file name=config.xml feature name=MyPlugin param name=Plugin value=Plugin / /feature /config-file {code} OR {code:xml} plugins-plist key=com.phonegap.plugins.myplugin string=MyPlugin / {code} OR better yet Have the latest plugin.xml spec support old Cordova versions (plist, new/old xml). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2737) WP8: Camera.getPicture(); aspect ratio resize patch
[ https://issues.apache.org/jira/browse/CB-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2737: -- Summary: WP8: Camera.getPicture(); aspect ratio resize patch (was: Camera.getPicture(); aspect ratio resize. Camera.cs) WP8: Camera.getPicture(); aspect ratio resize patch --- Key: CB-2737 URL: https://issues.apache.org/jira/browse/CB-2737 Project: Apache Cordova Issue Type: Improvement Components: Plugin Camera, WP8 Affects Versions: 2.5.0 Environment: Windows8. Camera.cs Reporter: Dimitri Adamou Assignee: Steve Gill Hey there, noticed windows8 phone proj. was missing aspect ratio resize so added it in (Essentially copied iOS code) --- {code:title=Camera.cs|borderStyle=solid} private struct ResizeDimension { public int width; public int height; } private ResizeDimension ResizeAspectRatio(int oWidth, int oHeight, int tWidth, int tHeight) { ResizeDimension tgt; float widthFactor = (float)tWidth / (float)oWidth; float heightFactor = (float)tHeight / (float)oHeight; float scaleFactor; if (widthFactor heightFactor) scaleFactor = heightFactor; else scaleFactor = widthFactor; tgt.width = (int)Math.Min((float)oWidth * scaleFactor, tWidth); tgt.height= (int)Math.Min((float)oHeight * scaleFactor, tHeight); return tgt; } {code} --- and works via ResizeDimension rd = ResizeAspectRatio(image.PixelWidth, image.PixelHeight, cameraOptions.TargetWidth, cameraOptions.TargetHeight); image.SaveJpeg(stream, rd.width, rd.height, 0, cameraOptions.Quality); Cheers, Dim -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2737) Camera.getPicture(); aspect ratio resize. Camera.cs
[ https://issues.apache.org/jira/browse/CB-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2737: -- Component/s: (was: CordovaJS) WP8 Plugin Camera Assignee: Steve Gill (was: Filip Maj) Sorry about the long delay in not responding. The components were set incorrectly so it took a while. [~dimitri.adamou] have you signed an ICLA? Camera.getPicture(); aspect ratio resize. Camera.cs --- Key: CB-2737 URL: https://issues.apache.org/jira/browse/CB-2737 Project: Apache Cordova Issue Type: Improvement Components: Plugin Camera, WP8 Affects Versions: 2.5.0 Environment: Windows8. Camera.cs Reporter: Dimitri Adamou Assignee: Steve Gill Hey there, noticed windows8 phone proj. was missing aspect ratio resize so added it in (Essentially copied iOS code) --- {code:title=Camera.cs|borderStyle=solid} private struct ResizeDimension { public int width; public int height; } private ResizeDimension ResizeAspectRatio(int oWidth, int oHeight, int tWidth, int tHeight) { ResizeDimension tgt; float widthFactor = (float)tWidth / (float)oWidth; float heightFactor = (float)tHeight / (float)oHeight; float scaleFactor; if (widthFactor heightFactor) scaleFactor = heightFactor; else scaleFactor = widthFactor; tgt.width = (int)Math.Min((float)oWidth * scaleFactor, tWidth); tgt.height= (int)Math.Min((float)oHeight * scaleFactor, tHeight); return tgt; } {code} --- and works via ResizeDimension rd = ResizeAspectRatio(image.PixelWidth, image.PixelHeight, cameraOptions.TargetWidth, cameraOptions.TargetHeight); image.SaveJpeg(stream, rd.width, rd.height, 0, cameraOptions.Quality); Cheers, Dim -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3755) CLI not updating platform config files with app version from config.xml
[ https://issues.apache.org/jira/browse/CB-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3755. --- Resolution: Fixed Fix Version/s: 2.9.0 This was fixed in 2.9. CLI not updating platform config files with app version from config.xml --- Key: CB-3755 URL: https://issues.apache.org/jira/browse/CB-3755 Project: Apache Cordova Issue Type: Bug Affects Versions: 2.8.0 Reporter: Tommy-Carlos Williams Assignee: Filip Maj Fix For: 2.9.0 As an example, when creating a new app, the www/config.xml file has the following entry: {{widget id=io.cordova.hellocordova version=2.0.0 ...}} But after {{cordova prepare android}} (as an example) the platforms/android/AndroidManifest.xml has: {{manifest ... android:versionCode=1 android:versionName=1.0}} It *does* update AndroidManifest.xml with the package from the config.xml, but not the version information. Even if android:versionName was updated using version from config.xml, there would still need to be some provision for android:versionCode All of this is also needed for iOS (in AppName-Info.plist) and I would imagine the other platforms as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3432) Cordova-js doesn't build with node v10
[ https://issues.apache.org/jira/browse/CB-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3432. --- Resolution: Not A Problem Not applicable anymore with grunt workflow. Cordova-js doesn't build with node v10 -- Key: CB-3432 URL: https://issues.apache.org/jira/browse/CB-3432 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Environment: Mountain Lion Reporter: Steve Gill Assignee: Filip Maj I upgraded to node v10 and when I run jake, I error out. Works fine if I switch back to node v8 error eval()ing /Users/stevengill/Documents/repo/cordova/cordova-js/pkg/cordova.test.js: TypeError: Property 'setTimeout' of object object is not a function TypeError: Property 'setTimeout' of object object is not a function at eval (eval at anonymous (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), anonymous:17746:12) at eval (eval at anonymous (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), anonymous:17804:2) at eval (eval at anonymous (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), anonymous:17820:3) at module.exports.node [as action] (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:13) at TaskBase.run (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:219:21) at TaskBase.handlePrereqComplete (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:204:12) at TaskBase.nextPrereq (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:170:14) at TaskBase.runPrereqs (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:115:12) at TaskBase.invoke (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:98:10) at TaskBase.nextPrereq (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:175:23) jake aborted. TypeError: Property 'setTimeout' of object object is not a function at eval (eval at anonymous (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), anonymous:17746:12) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-566) Add manual tests for all Capture APIs and reorganize audio tests
[ https://issues.apache.org/jira/browse/CB-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707051#comment-13707051 ] Filip Maj commented on CB-566: -- By all means, if someone wants to tackle this issue, go for it! Add manual tests for all Capture APIs and reorganize audio tests Key: CB-566 URL: https://issues.apache.org/jira/browse/CB-566 Project: Apache Cordova Issue Type: Test Components: mobile-spec Affects Versions: 1.6.1 Reporter: Filip Maj Assignee: Filip Maj Currently we do not have manual tests for using the capture API to capture an image, audio and video. Also, we should reorganize the audio manual tests. These should be renamed to media. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-4149) Grunt cordovajs task cannot find the path specified
[ https://issues.apache.org/jira/browse/CB-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj reassigned CB-4149: - Assignee: Andrew Grieve (was: Filip Maj) Assigning to you, Andrew :) Grunt cordovajs task cannot find the path specified --- Key: CB-4149 URL: https://issues.apache.org/jira/browse/CB-4149 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: Master, 2.9.0 Environment: Windows 7 Enterprise Reporter: Angela Fowler Assignee: Andrew Grieve Attachments: npm-debug.log 1. Trying to run the default tasks causes an error : c:\development\cordova-2.9.0\cordova-jsgrunt Running cordovajs:android (cordovajs) task Fatal error: Error: Command failed: The system cannot find the path specified. 2. The README file refers to the old Jake tasks e.g. build Then from the repository root run: grunt This will run the `build`, `hint` and `test` tasks by default. According to grunt --help Available tasks cordovajs Packages cordova.js * test Runs test in node btest Runs tests in the browser complainwhitespace Complain about what fixwhitespace would fix fixwhitespace Converts tabs to four spaces, eliminates trailing white space, converts newlines to proper form - enforcing style guide ftw! clean Clean files and folders. * jshint Validate files with JSHint. * default Alias for cordovajs, complainwhitespace, test tasks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2103) FileTransferError should return response body
[ https://issues.apache.org/jira/browse/CB-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2103: -- Affects Version/s: 3.0.0 2.7.0 2.8.0 2.9.0 Labels: audit (was: ) Tagged w/ audit label for future reinvestigation. FileTransferError should return response body - Key: CB-2103 URL: https://issues.apache.org/jira/browse/CB-2103 Project: Apache Cordova Issue Type: Improvement Components: CordovaJS Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 3.0.0 Reporter: Ben Judson Assignee: Filip Maj Labels: audit FileTransferError does not currently have a response body property, which is necessary for debugging in some cases, e.g. uploading files to Amazon S3. Would be useful in addition to {{http_status}} and {{code}} to have a body property available for inspection. As it is, I have to try to replicate the POST request with another framework to access this crucial data. Suggesting to use {{body}} as a property on the FileTransferError object. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1840) Deprecate sync usage of Device API call before deviceready can be fired, add async
[ https://issues.apache.org/jira/browse/CB-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-1840. --- Resolution: Fixed I believe this is now done with the plugin breakout. Deprecate sync usage of Device API call before deviceready can be fired, add async -- Key: CB-1840 URL: https://issues.apache.org/jira/browse/CB-1840 Project: Apache Cordova Issue Type: Task Components: CordovaJS Reporter: Shazron Abdullah Assignee: Filip Maj Fix For: 3.0.0 Device API call: 1. drop in deprecation notice for sync usage and add to deprec page 2. add async equiv and get it out of startup path See ML thread: http://markmail.org/thread/ja7kixjlu6gei7kb -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2588) 'jake test' fails if git does not create symbolic links
[ https://issues.apache.org/jira/browse/CB-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj reassigned CB-2588: - Assignee: Benn Mapes (was: Filip Maj) Hey [~bennmapes] can you take a look? 'jake test' fails if git does not create symbolic links --- Key: CB-2588 URL: https://issues.apache.org/jira/browse/CB-2588 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.4.0 Environment: Windows Reporter: Xavier Vergés Assignee: Benn Mapes Priority: Minor Discussed initially in http://markmail.org/message/bcyb4c6w2ruwya64 This happens on Windows versions that do not support symbolic links or when git is not instructed to create symbolic links with its {{core.symlinks}} configuration value set to true. # Clone the repository # {{npm install}} # {{jake test}} This results in bq. {{SyntaxError: Unexpected token . SyntaxError: Unexpected token . at module.exports.node [as action]}} because some files in {{lib/test/}} are broken symlinks -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2590) 'jake btest' doesn't run any spec on Windows
[ https://issues.apache.org/jira/browse/CB-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj reassigned CB-2590: - Assignee: Benn Mapes (was: Filip Maj) Hey [~bennmapes] can you take a look? 'jake btest' doesn't run any spec on Windows Key: CB-2590 URL: https://issues.apache.org/jira/browse/CB-2590 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.4.0 Environment: Windows Reporter: Xavier Vergés Assignee: Benn Mapes Priority: Minor In Windows, the {{suite.html}} file generated by {{runner.js}} when executing {{jake btest}} contains local file names that the browser won't load due to security restrictions. {{runner.js}} converts from local file names to server file names using a regular expression that fails due to the windows path separator. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2636) Accelerator Plugin to include full data available from accelerometer sensor.
[ https://issues.apache.org/jira/browse/CB-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2636. --- Resolution: Won't Fix The cordova plugins follow W3C standards for these types of APIs (at least we try to), so if it is not provisioned by the standard then we will most likely not implement it. Closing as won't fix. Accelerator Plugin to include full data available from accelerometer sensor. Key: CB-2636 URL: https://issues.apache.org/jira/browse/CB-2636 Project: Apache Cordova Issue Type: Improvement Components: CordovaJS Environment: Any Reporter: Jordan Haddow Assignee: Filip Maj Priority: Minor Labels: Acceleromter,, plugin, The Accelerometer plugin doesn't currently return all values available on most devices from the Accelerometer. There are usually two to three values returned form the sensor. These are the actual values, the values corrected for gravity, and the values for gravity. Currently I believe the plugin only gives either the actual values or the value corrected for gravity. It's true that one could build a plugin to do this, but the values are (most likely) returned by the same source that the Accelerometer plugin is getting its current values. It would just be a matter of getting it to get the additional values and return them all. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2845) CompassError, PositionError constants not attached to prototype as specified in W3C document
[ https://issues.apache.org/jira/browse/CB-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2845: -- Component/s: (was: CordovaJS) Plugin Geolocation Plugin Device Orientation Fix Version/s: (was: 3.0.0) Assignee: Steve Gill (was: Filip Maj) Labels: audit (was: ) Tagging relevant plugins and added audit label. Should revisit this issue once we do API audit after 3.0. CompassError, PositionError constants not attached to prototype as specified in W3C document Key: CB-2845 URL: https://issues.apache.org/jira/browse/CB-2845 Project: Apache Cordova Issue Type: Bug Components: Plugin Device Orientation, Plugin Geolocation Affects Versions: 2.5.0, 2.6.0 Environment: Any Reporter: Thomas K. Assignee: Steve Gill Priority: Minor Labels: audit CompassError.js PositionError.js do not define the error constants on the prototype of the object. Hence the constants are not passed into the error function as specified in the W3C document http://dev.w3.org/geo/api/spec-source.html#position_error_interface (see: interface PositionError { const unsigned short PERMISSION_DENIED = 1; ...) Fix: define in the library PositionError.js and Compass.js constants additionally like this: PositionError.prototype.PERMISSION_DENIED = 1; https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/PositionError.js#L34 https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/CompassError.js#L31 W3C compatible code is: positionError = function(gpsError) { switch(gpsError.code) { case gpsError.PERMISSION_DENIED: errorMessage = Access to GPS denied!; break; ... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2728) Add Version numbers to platform specific js for sanity check
[ https://issues.apache.org/jira/browse/CB-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-2728. --- Resolution: Implemented I *think* this is currently implemented, if not I've linked to CB-3754 which should be tracking this issue currently. Add Version numbers to platform specific js for sanity check Key: CB-2728 URL: https://issues.apache.org/jira/browse/CB-2728 Project: Apache Cordova Issue Type: Improvement Components: CordovaJS Affects Versions: 2.5.0 Reporter: Benn Mapes Assignee: Filip Maj Priority: Minor Add version numbers to each platform-specific js for a sanity check. As Agrieve mentioned in https://github.com/apache/cordova-js/pull/12, it would be nice to identify dev builds somehow as well, e.g. you don't want to include version: 2.5.0 if it's not actually a tagged version. It would be better to call it 2.5.0dev or something to that effect. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3285) instanceof checks in File API functions
[ https://issues.apache.org/jira/browse/CB-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-3285: -- Component/s: (was: CordovaJS) Plugin File Assignee: Steve Gill (was: Filip Maj) Assigned to File Plugin instanceof checks in File API functions --- Key: CB-3285 URL: https://issues.apache.org/jira/browse/CB-3285 Project: Apache Cordova Issue Type: Improvement Components: Plugin File Affects Versions: Master Reporter: Shazron Abdullah Assignee: Steve Gill Priority: Minor See: CB-3221 Wondering if an instanceof File check would have prevented this in readAsText, and the other functions as well. A user might have passed in a FileEntry instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3605) package.json bin scripts
[ https://issues.apache.org/jira/browse/CB-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3605. --- Resolution: Fixed Fix Version/s: 3.0.0 Removed it, unused now. package.json bin scripts - Key: CB-3605 URL: https://issues.apache.org/jira/browse/CB-3605 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Windows Reporter: Angela Fowler Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 The Cordova Android Developer Tools section talks about installing the dependencies however the package.json does not contain any dependencies. It contains a bin which maps command names to local file names. bin: { create: ./create, bench: ./bench, autotest: ./autotest, BOOM: ./BOOM, test: ./test } 1. The only command in the bin directory is create (and also update which is not in package.json bin). The autotest and test exist in the cordova-cli project but only for ios. I could not find bench or BOOM. 2. The create script is a bash script. There is also a create.js and create.bat for Windows which does not appear to require npm. Is there any use for npm on Windows in cordova-android? 3. Is this how npm looks when correctly installed for cordova-android? Could it have failed somehow because the repository is pointing to incubator? c:\development\cordova-2.7.0\cordova-android\binnpm list npm WARN package.json cordova-android-cli@0.0.1 No README.md file found! cordova-android-cli@0.0.1 c:\development\cordova-2.7.0\cordova-android\bin └── (empty) Note : npm runs successfully in cordova-js which has several dependencies installed and listed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3606) gv-requires.js generates incorrect module dependencies
[ https://issues.apache.org/jira/browse/CB-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3606. --- Resolution: Not A Problem Don't think this is applicable anymore gv-requires.js generates incorrect module dependencies -- Key: CB-3606 URL: https://issues.apache.org/jira/browse/CB-3606 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.7.0 Reporter: Peter Assignee: Filip Maj Priority: Minor The regular expression logic for node detection in the GraphViz module dependency generation tool (CB-340) is as follows: * It splits the JavaScript into modules based on define * It then looks for require within those split fragments to determine dependencies of that module. The problem is there are some files which make up the cordova.android.js which do not have this assumed define (eg bootstrap*.js) format. The effect is any requires in such files will be wrongly attributed to the last module which did have a define. For example, the requires of bootstrap*.js are wrongly attributed as dependencies of the prior define(cordova/utils... The resulting graph which shows some dependencies which do not actually exist (eg cordova/utils - 'cordova/channel') https://www.dropbox.com/s/96i48zhujabed6m/cordova-js-orig.svg -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3575) Cyclic module dependencies within cordova.android.js
[ https://issues.apache.org/jira/browse/CB-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3575. --- Resolution: Not A Problem Well, the js works with Android, so, don't think this is an issue. Cyclic module dependencies within cordova.android.js Key: CB-3575 URL: https://issues.apache.org/jira/browse/CB-3575 Project: Apache Cordova Issue Type: Improvement Components: CordovaJS Affects Versions: 2.7.0 Reporter: Peter Assignee: Filip Maj Priority: Minor Labels: newbie Using a tool not dissimilar to the GraphViz script of CB-340 I have generated a graph for the define/require dependencies within the cordova.android.js file. Result is here: https://www.dropbox.com/s/5smd3pp55a7i0va/cordova-js-20130604.svg Notice there are a number of *circular dependencies* (look for arrows going upwards). Don't these cycles represent some kind of problem? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3411) Implement InAppPurchase
[ https://issues.apache.org/jira/browse/CB-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3411. --- Resolution: Won't Fix This is not a W3C standard so no solution will be forthcoming from the Cordova team. I'm sure there are third party plugins out there to support the different application store inapp purchase models. Implement InAppPurchase --- Key: CB-3411 URL: https://issues.apache.org/jira/browse/CB-3411 Project: Apache Cordova Issue Type: Wish Components: CordovaJS Reporter: Flavio Spezi Assignee: Filip Maj Priority: Minor Labels: features I wish a unified solution to improve InApp Purchase for any OS, like InAppBrowser. I think that today is many important to offer this solution to customers. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3995) PG will not open external links in web browser on desktop during testing
[ https://issues.apache.org/jira/browse/CB-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3995. --- Resolution: Not A Problem Attempting to run cordova.js in a browser is pointless. cordova.js _needs_ to run in a cordova-compliant shell such as cordova-android, cordova-ios, etc. PG will not open external links in web browser on desktop during testing Key: CB-3995 URL: https://issues.apache.org/jira/browse/CB-3995 Project: Apache Cordova Issue Type: Bug Components: Android, CordovaJS Affects Versions: 2.7.0 Environment: Windows XP with Firefox and Google Chrome. Reporter: Steve Husting Assignee: Filip Maj Priority: Minor Labels: inappbrowser, test If I open my PG 2.7.0 (Android) HTML page in FF or Google, and click on a link formatted like this: a href=# onclick=window.open('http://www.teamassociated.com/cars_and_trucks/RC10B4.2/RSRTR/manuals_setups/', '_blank'); I get a 2-line dialog like this, with the second line in a form field: [http://www.teamassociated.com/cars_and_trucks/RC10B4.2/RSRTR/manuals_setups/,_blank,null] gap:[InAppBrowser,open,InAppBrowser550906394] OK button, Cancel button Clicking on either button stops the action and the link is not followed through. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1371) Allow video file to be saved to iPhone Camera Roll after recording
[ https://issues.apache.org/jira/browse/CB-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707158#comment-13707158 ] Filip Maj commented on CB-1371: --- Which API is this for, btw? navigator.camera? navigator.capture? Allow video file to be saved to iPhone Camera Roll after recording -- Key: CB-1371 URL: https://issues.apache.org/jira/browse/CB-1371 Project: Apache Cordova Issue Type: Wish Components: CordovaJS Reporter: Nick Gottlieb Assignee: Filip Maj Priority: Minor Labels: audit It would be nice if we could take the video file after recording and upload to our server as well as save it to the device (so that if the upload is interrupted we can retain the video file). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1215) Select multiple photos from photo album using camera.getPicture()
[ https://issues.apache.org/jira/browse/CB-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-1215: -- Component/s: (was: CordovaJS) Plugin Camera Assignee: Steve Gill (was: Filip Maj) Set to camera plugin Select multiple photos from photo album using camera.getPicture() - Key: CB-1215 URL: https://issues.apache.org/jira/browse/CB-1215 Project: Apache Cordova Issue Type: New Feature Components: Plugin Camera Reporter: Zack Boman Assignee: Steve Gill Priority: Minor Labels: api-addition, audit, camera, getPicture, multiple I've been using camera.getPicture() to select a photo from the user's phone gallery and it works great when all I want is to select one photo. But several of my users have requested the ability to select multiple photos in a single selection. I've seen other apps show a photo picker that allows the user to select multiple photos by clicking on them and then it adds a check mark next to each one and selects all of the photos that the user checked. As far as I can tell, this functionality doesn't currently exist but Simon MacDonald told me to submit an enhancement ticket because the functionality is possible but just hasn't been implemented. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1143) Indicate through the ContactError code if remove() failed because the contact is nonexistent / has already been deleted
[ https://issues.apache.org/jira/browse/CB-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-1143: -- Component/s: (was: CordovaJS) Plugin Contacts Assignee: Steve Gill (was: Filip Maj) Assigned to plugin contacnts. Indicate through the ContactError code if remove() failed because the contact is nonexistent / has already been deleted --- Key: CB-1143 URL: https://issues.apache.org/jira/browse/CB-1143 Project: Apache Cordova Issue Type: New Feature Components: Plugin Contacts Affects Versions: 2.0.0 Reporter: Daniel Trebbien Assignee: Steve Gill Priority: Minor Labels: audit, contacts At least with the iOS implementation, if a contact has already been deleted, calling Contact.remove() on it results in an error as expected; however, the error code is 0 (UNKNOWN_ERROR), which gives the app no clue as to what happened. It would be nice if the error code could indicate that removal failed because the contact has already been deleted. Suggested fix: Add an error code, NONEXISTENT, that would be used to indicate that the device has no contact with the supplied ID. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2103) FileTransferError should return response body
[ https://issues.apache.org/jira/browse/CB-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2103: -- Component/s: (was: CordovaJS) Plugin File Transfer Moved from cordova-js to plugin-file-transfer. FileTransferError should return response body - Key: CB-2103 URL: https://issues.apache.org/jira/browse/CB-2103 Project: Apache Cordova Issue Type: Improvement Components: Plugin File Transfer Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 3.0.0 Reporter: Ben Judson Assignee: Filip Maj Labels: audit FileTransferError does not currently have a response body property, which is necessary for debugging in some cases, e.g. uploading files to Amazon S3. Would be useful in addition to {{http_status}} and {{code}} to have a body property available for inspection. As it is, I have to try to replicate the POST request with another framework to access this crucial data. Suggesting to use {{body}} as a property on the FileTransferError object. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-837) CaptureCB - mediaFile.fullPath does not resolve to file
[ https://issues.apache.org/jira/browse/CB-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-837: - Component/s: (was: CordovaJS) Plugin Media Assigned to plugin media. CaptureCB - mediaFile.fullPath does not resolve to file --- Key: CB-837 URL: https://issues.apache.org/jira/browse/CB-837 Project: Apache Cordova Issue Type: Bug Components: Plugin Media Affects Versions: 1.7.0 Environment: Tested on iOS Reporter: Dimitri Adamou Assignee: Filip Maj Priority: Minor Labels: audit Hey there, Simply put here is an example navigator.device.capture.captureAudio(successCB, error, {limit: 1}); function successCB(mediaFile) { window.resolveLocalFileSystemURI(mediaFile[0].fullPath, gotFileEntry, fsFail); } function fsFail(error) { alert('we failed with code ' + error.code); //5 } The issue is mediaFile[0].fullPath lacks file://localhost being prepended. Is this intentional? Simple work around is just to add it in using var path = mediaFile[0].fullPath if(path.indexOf(file://localhost) == -1) path = file://localhost + path; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-144) Provide wrappers to delete specific contact field
[ https://issues.apache.org/jira/browse/CB-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-144: - Component/s: (was: CordovaJS) Plugin Contacts Assignee: Steve Gill (was: Filip Maj) Moved from cordovajs to contacts. Provide wrappers to delete specific contact field -- Key: CB-144 URL: https://issues.apache.org/jira/browse/CB-144 Project: Apache Cordova Issue Type: New Feature Components: Plugin Contacts Reporter: Olivier Louvignes Assignee: Steve Gill Priority: Minor Labels: audit, contacts Would be great to provide clean generic methods to remove a contact specific field. Something like contact.removeField(type, id); would be very useful. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-385) Implement checking of platform + version in cordova-js to values returned in native device information
[ https://issues.apache.org/jira/browse/CB-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-385. -- Resolution: Won't Fix Probably will not fix / implement this. Implement checking of platform + version in cordova-js to values returned in native device information -- Key: CB-385 URL: https://issues.apache.org/jira/browse/CB-385 Project: Apache Cordova Issue Type: New Feature Components: CordovaJS Affects Versions: 1.5.0, 1.6.0, 1.6.1, 1.7.0 Reporter: Filip Maj Assignee: Filip Maj Priority: Minor There still exists a lot of confusion regarding utilizing the wrong .js file for a given platform. Many people still think that the cordova.js file can be reused across platforms. We should implement a check in cordova-js, comparing with some tokens that get replaced in the JS at build-time, that verify the version and platform that the .js file is built for matches what the native framework returns. IF it doesn't we can alert the user of the issue and hopefully avoid a lot of headache for users who are unaware. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4058) Unable to install CLI on Windows 7
[ https://issues.apache.org/jira/browse/CB-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707178#comment-13707178 ] Filip Maj commented on CB-4058: --- Cordova does not follow semver so, that is an incorrect assumption. Sorry for the trouble but had to do that to allow the tools to work on windows. 'twas for the greater good. I will look into reintegrating ripple and see if it works now. Unable to install CLI on Windows 7 -- Key: CB-4058 URL: https://issues.apache.org/jira/browse/CB-4058 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 npm v1.2.32 Reporter: Lisa Seacat DeLuca Assignee: Filip Maj Fix For: 3.0.0 I see the following output when I run npm install -g cordova 2 other users also see the same problem, described here: https://github.com/isaacs/npm/issues/3610#issuecomment-20206596 - output - C:\workspaces\cordovaclinpm install -g cordova npm http GET https://registry.npmjs.org/cordova npm http 304 https://registry.npmjs.org/cordova npm http GET https://registry.npmjs.org/ncallbacks/1.0.0 npm http GET https://registry.npmjs.org/xcode/0.5.1 npm http GET https://registry.npmjs.org/open/0.0.3 npm http GET https://registry.npmjs.org/follow-redirects npm http GET https://registry.npmjs.org/prompt/0.2.7 npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/plugman/0.7.14 npm http GET https://registry.npmjs.org/shelljs/0.1.2 npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/semver/1.1.0 npm http GET https://registry.npmjs.org/plist npm http GET https://registry.npmjs.org/ripple-emulator npm http GET https://registry.npmjs.org/elementtree/0.1.3 npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/xcode/0.5.1 npm http 304 https://registry.npmjs.org/ncallbacks/1.0.0 npm http 304 https://registry.npmjs.org/plugman/0.7.14 npm http 304 https://registry.npmjs.org/tar npm http 304 https://registry.npmjs.org/prompt/0.2.7 npm http 304 https://registry.npmjs.org/open/0.0.3 npm http 304 https://registry.npmjs.org/follow-redirects npm http 304 https://registry.npmjs.org/shelljs/0.1.2 npm http 200 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/semver/1.1.0 npm http 304 https://registry.npmjs.org/plist npm http 304 https://registry.npmjs.org/ripple-emulator npm http 304 https://registry.npmjs.org/elementtree/0.1.3 npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/glob npm http 200 https://registry.npmjs.org/request npm WARN engine ncallbacks@1.0.0: wanted: {node:~0.6.7} (current: {node:v0.10.12,npm:1.2.32}) npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/revalidator npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/read npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/cookie-signature/0.0.1 npm http GET https://registry.npmjs.org/methods/0.0.1 npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/fstream npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1 npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/fresh/0.1.0 npm http GET https://registry.npmjs.org/range-parser/0.0.4 npm http GET https://registry.npmjs.org/cookie/0.0.5 npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/connect/2.7.2 npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/send/0.1.0 npm http 304 https://registry.npmjs.org/revalidator npm http 304 https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/winston npm http 304 https://registry.npmjs.org/read npm http 304 https://registry.npmjs.org/cookie-signature/0.0.1 npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/methods/0.0.1 npm http 304 https://registry.npmjs.org/inherits npm http 304
[jira] [Commented] (CB-4058) Unable to install CLI on Windows 7
[ https://issues.apache.org/jira/browse/CB-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707200#comment-13707200 ] Filip Maj commented on CB-4058: --- grunt is distributed on npm but it does not follow semver. In fact, npm itself does not follow semver as defined on semver.org (it follows a slight deviation). It is a pipe-dream at this point, although I agree that it would be a beneficial thing if everyone followed it. The issue is that cordova operates on (mobile) SDKs which we treat as running targets. They change at a whim, and thus, we must too. If Cordova were to follow semver, we would be releasing major revisions every other month (which, btw, I'm fine with, but the cordova dev community is a large group and it is not purely up to me). This issue has been discussed ad nauseum on the mailing list, but feel free to bring it back up if you'd like to chime in (or better yet maybe do a search on apache.markmail.org to find the old thread and resurrect it). Unable to install CLI on Windows 7 -- Key: CB-4058 URL: https://issues.apache.org/jira/browse/CB-4058 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 npm v1.2.32 Reporter: Lisa Seacat DeLuca Assignee: Filip Maj Fix For: 3.0.0 I see the following output when I run npm install -g cordova 2 other users also see the same problem, described here: https://github.com/isaacs/npm/issues/3610#issuecomment-20206596 - output - C:\workspaces\cordovaclinpm install -g cordova npm http GET https://registry.npmjs.org/cordova npm http 304 https://registry.npmjs.org/cordova npm http GET https://registry.npmjs.org/ncallbacks/1.0.0 npm http GET https://registry.npmjs.org/xcode/0.5.1 npm http GET https://registry.npmjs.org/open/0.0.3 npm http GET https://registry.npmjs.org/follow-redirects npm http GET https://registry.npmjs.org/prompt/0.2.7 npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/plugman/0.7.14 npm http GET https://registry.npmjs.org/shelljs/0.1.2 npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/semver/1.1.0 npm http GET https://registry.npmjs.org/plist npm http GET https://registry.npmjs.org/ripple-emulator npm http GET https://registry.npmjs.org/elementtree/0.1.3 npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/xcode/0.5.1 npm http 304 https://registry.npmjs.org/ncallbacks/1.0.0 npm http 304 https://registry.npmjs.org/plugman/0.7.14 npm http 304 https://registry.npmjs.org/tar npm http 304 https://registry.npmjs.org/prompt/0.2.7 npm http 304 https://registry.npmjs.org/open/0.0.3 npm http 304 https://registry.npmjs.org/follow-redirects npm http 304 https://registry.npmjs.org/shelljs/0.1.2 npm http 200 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/semver/1.1.0 npm http 304 https://registry.npmjs.org/plist npm http 304 https://registry.npmjs.org/ripple-emulator npm http 304 https://registry.npmjs.org/elementtree/0.1.3 npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/glob npm http 200 https://registry.npmjs.org/request npm WARN engine ncallbacks@1.0.0: wanted: {node:~0.6.7} (current: {node:v0.10.12,npm:1.2.32}) npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/revalidator npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/read npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/cookie-signature/0.0.1 npm http GET https://registry.npmjs.org/methods/0.0.1 npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/fstream npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1 npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/fresh/0.1.0 npm http GET https://registry.npmjs.org/range-parser/0.0.4 npm http GET https://registry.npmjs.org/cookie/0.0.5 npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/connect/2.7.2 npm http 304 https://registry.npmjs.org/inherits npm
[jira] [Commented] (CB-4191) `cordova serve` not reflecting changes to files; unusable for development
[ https://issues.apache.org/jira/browse/CB-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707236#comment-13707236 ] Filip Maj commented on CB-4191: --- It looks like [~brentlintner] fixed the windows 7 ripple issue (thanks dude!) I will re-enable Ripple and push 2.9.5 shortly. `cordova serve` not reflecting changes to files; unusable for development - Key: CB-4191 URL: https://issues.apache.org/jira/browse/CB-4191 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Sam Breed Assignee: Filip Maj I ran into this after upgrading from 2.7 to 2.9, but the change appears to be introduced in 2.8. `cordova serve` isn't reflecting changes in the files that it's serving, which makes it useless as a development server. Here's a screenshot of the behavior: !http://cl.ly/image/3p182c0Z451l/i|width=600! I brought this up in IRC when I first encountered it and was told that `cordova serve` was on its way to being deprecated in 3.0, and I should use `cordova ripple` instead. Turns out that ripple was **removed** to address [CB-4058] (and in a minor version release!) leaving cordova with no server that you can run without having to restart it every. time. you. change. a. file. It looks like the underlying issue in CB-4058 has been addressed upstream in ripple, so hopefully it can be put back in and released quickly. BUT the caching issue with serve still exists and is preventing me from upgrading. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4058) Unable to install CLI on Windows 7
[ https://issues.apache.org/jira/browse/CB-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707242#comment-13707242 ] Filip Maj commented on CB-4058: --- FYI Ripple 0.9.18 fixed the issue with windows 7 support, so Ripple has been re-added to cordova-cli 2.9.5. Pushed to npm. Unable to install CLI on Windows 7 -- Key: CB-4058 URL: https://issues.apache.org/jira/browse/CB-4058 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 npm v1.2.32 Reporter: Lisa Seacat DeLuca Assignee: Filip Maj Fix For: 3.0.0 I see the following output when I run npm install -g cordova 2 other users also see the same problem, described here: https://github.com/isaacs/npm/issues/3610#issuecomment-20206596 - output - C:\workspaces\cordovaclinpm install -g cordova npm http GET https://registry.npmjs.org/cordova npm http 304 https://registry.npmjs.org/cordova npm http GET https://registry.npmjs.org/ncallbacks/1.0.0 npm http GET https://registry.npmjs.org/xcode/0.5.1 npm http GET https://registry.npmjs.org/open/0.0.3 npm http GET https://registry.npmjs.org/follow-redirects npm http GET https://registry.npmjs.org/prompt/0.2.7 npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/plugman/0.7.14 npm http GET https://registry.npmjs.org/shelljs/0.1.2 npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/semver/1.1.0 npm http GET https://registry.npmjs.org/plist npm http GET https://registry.npmjs.org/ripple-emulator npm http GET https://registry.npmjs.org/elementtree/0.1.3 npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/xcode/0.5.1 npm http 304 https://registry.npmjs.org/ncallbacks/1.0.0 npm http 304 https://registry.npmjs.org/plugman/0.7.14 npm http 304 https://registry.npmjs.org/tar npm http 304 https://registry.npmjs.org/prompt/0.2.7 npm http 304 https://registry.npmjs.org/open/0.0.3 npm http 304 https://registry.npmjs.org/follow-redirects npm http 304 https://registry.npmjs.org/shelljs/0.1.2 npm http 200 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/semver/1.1.0 npm http 304 https://registry.npmjs.org/plist npm http 304 https://registry.npmjs.org/ripple-emulator npm http 304 https://registry.npmjs.org/elementtree/0.1.3 npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/glob npm http 200 https://registry.npmjs.org/request npm WARN engine ncallbacks@1.0.0: wanted: {node:~0.6.7} (current: {node:v0.10.12,npm:1.2.32}) npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/revalidator npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/read npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/cookie-signature/0.0.1 npm http GET https://registry.npmjs.org/methods/0.0.1 npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/sax/0.3.5 npm http GET https://registry.npmjs.org/fstream npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1 npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/fresh/0.1.0 npm http GET https://registry.npmjs.org/range-parser/0.0.4 npm http GET https://registry.npmjs.org/cookie/0.0.5 npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/connect/2.7.2 npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/send/0.1.0 npm http 304 https://registry.npmjs.org/revalidator npm http 304 https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/winston npm http 304 https://registry.npmjs.org/read npm http 304 https://registry.npmjs.org/cookie-signature/0.0.1 npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/methods/0.0.1 npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/fstream npm WARN package.json methods@0.0.1 No repository field. npm WARN package.json methods@0.0.1 No
[jira] [Resolved] (CB-4191) `cordova serve` not reflecting changes to files; unusable for development
[ https://issues.apache.org/jira/browse/CB-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-4191. --- Resolution: Fixed Fix Version/s: 3.0.0 Ripple re-added in 2.9.5 and pushed to npm. It uses a newer version of ripple which has no issues on windows 7. `cordova serve` not reflecting changes to files; unusable for development - Key: CB-4191 URL: https://issues.apache.org/jira/browse/CB-4191 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Sam Breed Assignee: Filip Maj Fix For: 3.0.0 I ran into this after upgrading from 2.7 to 2.9, but the change appears to be introduced in 2.8. `cordova serve` isn't reflecting changes in the files that it's serving, which makes it useless as a development server. Here's a screenshot of the behavior: !http://cl.ly/image/3p182c0Z451l/i|width=600! I brought this up in IRC when I first encountered it and was told that `cordova serve` was on its way to being deprecated in 3.0, and I should use `cordova ripple` instead. Turns out that ripple was **removed** to address [CB-4058] (and in a minor version release!) leaving cordova with no server that you can run without having to restart it every. time. you. change. a. file. It looks like the underlying issue in CB-4058 has been addressed upstream in ripple, so hopefully it can be put back in and released quickly. BUT the caching issue with serve still exists and is preventing me from upgrading. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3786) Event's 'target' and 'currentTarget' are null for monkeypatched events
[ https://issues.apache.org/jira/browse/CB-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707258#comment-13707258 ] Filip Maj commented on CB-3786: --- What would be the purpose of the target(s) in cordova-specific events? Is there a {{target}} that would make sense for these events (which inculde more than just backbutton, all of the ones listed here: http://cordova.apache.org/docs/en/2.9.0/cordova_events_events.md.html#Events) Event's 'target' and 'currentTarget' are null for monkeypatched events -- Key: CB-3786 URL: https://issues.apache.org/jira/browse/CB-3786 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.8.0 Environment: All platforms Reporter: Nikolai Kotchetkov Assignee: Filip Maj Labels: javascript When subscribing to special Cordova events like 'backbutton', 'target' and 'currentTarget' properties of fired event objects are null. {code:javascript} document.addEventListener(backbutton, function(e){ console.log(BACK: + e.type + event on + e.currentTarget + ( + e.target + )); }); {code} produces result: {noformat} 06-13 12:35:22.841: I/Web Console(14539): BACK: backbutton event on null(null) at file:///android_asset/www/index.html:71 {noformat} I guess it's not a major problem for everyone but my own library depends on currentTarget property and it may pop somwhere else. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3387) deviceready doesn't fire in Chrome Ripple
[ https://issues.apache.org/jira/browse/CB-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3387. --- Resolution: Fixed Fix Version/s: 3.0.0 With the latest master versions of cordova-js for the various repos, deviceready does fire for me. Must have been fixed recently. deviceready doesn't fire in Chrome Ripple - Key: CB-3387 URL: https://issues.apache.org/jira/browse/CB-3387 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.7.0 Environment: Ripple for Chrome Reporter: Andy Van De Walle Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 Applications with cordova 2.7 don't seem to work in Ripple (android is just fine). Following error message shows up: Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js:37 GET http://localhost/workspace/Scan2Order/assets/www/config.xml 404 (Not Found) ripple.js:50 cordova :: Initialization Finished (Make it so.) ripple.js:37 GET http://localhost/workspace/Scan2Order/assets/www/cordova_plugins.json 404 (Not Found) ripple.js:50 Uncaught SyntaxError: Unexpected token cordova.js:6816 deviceready has not fired after 5 seconds. cordova.js:6672 Channel not fired: onPluginsReady cordova.js:6665 Channel not fired: onCordovaReady cordova.js:6665 Channel not fired: onCordovaConnectionReady cordova.js:6665 deviceready has not fired after 5 seconds. cordova.js:6672 Channel not fired: onPluginsReady cordova.js:6665 Channel not fired: onCordovaReady cordova.js:6665 Channel not fired: onCordovaConnectionReady cordova.js:6665 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3572) info tag use outside of a platform tag
[ https://issues.apache.org/jira/browse/CB-3572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3572. --- Resolution: Fixed Fix Version/s: 3.0.0 Fixed and published as plugman@0.9.5 on npm. info tag use outside of a platform tag -- Key: CB-3572 URL: https://issues.apache.org/jira/browse/CB-3572 Project: Apache Cordova Issue Type: Improvement Components: Plugman Affects Versions: Master Reporter: Shazron Abdullah Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 Right now the info tag only works as a child of a platform tag. Sometimes it would be useful to print out info that is common for all platforms. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3182) variable substitution in info tag
[ https://issues.apache.org/jira/browse/CB-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3182. --- Resolution: Fixed Fix Version/s: 3.0.0 Assignee: Filip Maj (was: Anis Kadri) Fixed and pushed as plugman@0.9.6 to npm variable substitution in info tag --- Key: CB-3182 URL: https://issues.apache.org/jira/browse/CB-3182 Project: Apache Cordova Issue Type: Improvement Components: Plugman Affects Versions: Master Reporter: Shazron Abdullah Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 For example, in the FacebookConnect plugin: https://github.com/phonegap/phonegap-facebook-plugin/blob/plugman-FB-SDK-3.2.1/plugin.xml#L220-L240 ... we can't install the -Info.plist xml yet: https://github.com/phonegap/phonegap-facebook-plugin/blob/plugman-FB-SDK-3.2.1/plugin.xml#L66-L83 So we have to inform the users to manually install through the lt;infogt; tag. It would be great if users can just copy and paste from the log. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3786) Event's 'target' and 'currentTarget' are null for monkeypatched events
[ https://issues.apache.org/jira/browse/CB-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707307#comment-13707307 ] Filip Maj commented on CB-3786: --- I've posted this topic on the dev list and so far there is support to add compatibility. It makes sense to me, if we're hijacking the standard global for DOM events ({{addEventListener}}) then we should do what we can to maintain compatibility. Event's 'target' and 'currentTarget' are null for monkeypatched events -- Key: CB-3786 URL: https://issues.apache.org/jira/browse/CB-3786 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.8.0 Environment: All platforms Reporter: Nikolai Kotchetkov Assignee: Filip Maj Priority: Minor Labels: javascript When subscribing to special Cordova events like 'backbutton', 'target' and 'currentTarget' properties of fired event objects are null. {code:javascript} document.addEventListener(backbutton, function(e){ console.log(BACK: + e.type + event on + e.currentTarget + ( + e.target + )); }); {code} produces result: {noformat} 06-13 12:35:22.841: I/Web Console(14539): BACK: backbutton event on null(null) at file:///android_asset/www/index.html:71 {noformat} I guess it's not a major problem for everyone but my own library depends on currentTarget property and it may pop somwhere else. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4074) Error when adding android platform on Windows 7
[ https://issues.apache.org/jira/browse/CB-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707488#comment-13707488 ] Filip Maj commented on CB-4074: --- What if you run {{which android}} in that function instead of {{android list target}} Error when adding android platform on Windows 7 --- Key: CB-4074 URL: https://issues.apache.org/jira/browse/CB-4074 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 Reporter: Lisa Seacat DeLuca Assignee: Filip Maj I got past the issue where I wasn't able to install cordova on my windows 7 machine. I create a new project just fine but when I tried to add android as a platform I see the following error: C:\workspaces\cordovacli\helloworldcordova platform add android shell.js: internal error Error: EPERM, operation not permitted 'C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test' at Object.fs.renameSync (fs.js:543:18) at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:487:8 at Array.forEach (native) at Object._mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:463:11) at Object.mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1471:23) at Extract.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.js:115:43) at Extract.EventEmitter.emit (events.js:117:20) at DirWriter.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\lib\extract.js:66:8) at DirWriter.EventEmitter.emit (events.js:117:20) at end (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\node_modules\fstream\lib\writer.js:323:12) -- note: I can use eclipse and create an android project with no problem and test on devices and emulators. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-2737) WP8: Camera.getPicture(); aspect ratio resize patch
[ https://issues.apache.org/jira/browse/CB-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708767#comment-13708767 ] Filip Maj commented on CB-2737: --- Hey [~dimitri.adamou], you can get the ICLA here: http://www.apache.org/licenses/icla.txt Just follow the instructions in the txt file. Once we have received it we can accept your patch. Thank you! WP8: Camera.getPicture(); aspect ratio resize patch --- Key: CB-2737 URL: https://issues.apache.org/jira/browse/CB-2737 Project: Apache Cordova Issue Type: Improvement Components: Plugin Camera, WP8 Affects Versions: 2.5.0 Environment: Windows8. Camera.cs Reporter: Dimitri Adamou Assignee: Steve Gill Hey there, noticed windows8 phone proj. was missing aspect ratio resize so added it in (Essentially copied iOS code) --- {code:title=Camera.cs|borderStyle=solid} private struct ResizeDimension { public int width; public int height; } private ResizeDimension ResizeAspectRatio(int oWidth, int oHeight, int tWidth, int tHeight) { ResizeDimension tgt; float widthFactor = (float)tWidth / (float)oWidth; float heightFactor = (float)tHeight / (float)oHeight; float scaleFactor; if (widthFactor heightFactor) scaleFactor = heightFactor; else scaleFactor = widthFactor; tgt.width = (int)Math.Min((float)oWidth * scaleFactor, tWidth); tgt.height= (int)Math.Min((float)oHeight * scaleFactor, tHeight); return tgt; } {code} --- and works via ResizeDimension rd = ResizeAspectRatio(image.PixelWidth, image.PixelHeight, cameraOptions.TargetWidth, cameraOptions.TargetHeight); image.SaveJpeg(stream, rd.width, rd.height, 0, cameraOptions.Quality); Cheers, Dim -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3605) package.json bin scripts
[ https://issues.apache.org/jira/browse/CB-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3605. --- Resolution: Fixed Updated the README. package.json bin scripts - Key: CB-3605 URL: https://issues.apache.org/jira/browse/CB-3605 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Windows Reporter: Angela Fowler Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 The Cordova Android Developer Tools section talks about installing the dependencies however the package.json does not contain any dependencies. It contains a bin which maps command names to local file names. bin: { create: ./create, bench: ./bench, autotest: ./autotest, BOOM: ./BOOM, test: ./test } 1. The only command in the bin directory is create (and also update which is not in package.json bin). The autotest and test exist in the cordova-cli project but only for ios. I could not find bench or BOOM. 2. The create script is a bash script. There is also a create.js and create.bat for Windows which does not appear to require npm. Is there any use for npm on Windows in cordova-android? 3. Is this how npm looks when correctly installed for cordova-android? Could it have failed somehow because the repository is pointing to incubator? c:\development\cordova-2.7.0\cordova-android\binnpm list npm WARN package.json cordova-android-cli@0.0.1 No README.md file found! cordova-android-cli@0.0.1 c:\development\cordova-2.7.0\cordova-android\bin └── (empty) Note : npm runs successfully in cordova-js which has several dependencies installed and listed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3606) gv-requires.js generates incorrect module dependencies
[ https://issues.apache.org/jira/browse/CB-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708790#comment-13708790 ] Filip Maj commented on CB-3606: --- Fair enough. Feel free to submit a patch if you have a proposed fix. gv-requires.js generates incorrect module dependencies -- Key: CB-3606 URL: https://issues.apache.org/jira/browse/CB-3606 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: 2.7.0 Reporter: Peter Assignee: Filip Maj Priority: Minor The regular expression logic for node detection in the GraphViz module dependency generation tool (CB-340) is as follows: * It splits the JavaScript into modules based on define * It then looks for require within those split fragments to determine dependencies of that module. The problem is there are some files which make up the cordova.android.js which do not have this assumed define (eg bootstrap*.js) format. The effect is any requires in such files will be wrongly attributed to the last module which did have a define. For example, the requires of bootstrap*.js are wrongly attributed as dependencies of the prior define(cordova/utils... The resulting graph which shows some dependencies which do not actually exist (eg cordova/utils - 'cordova/channel') https://www.dropbox.com/s/96i48zhujabed6m/cordova-js-orig.svg -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4212) CLONE - Tag iOS
Filip Maj created CB-4212: - Summary: CLONE - Tag iOS Key: CB-4212 URL: https://issues.apache.org/jira/browse/CB-4212 Project: Apache Cordova Issue Type: Sub-task Components: iOS Reporter: Filip Maj Assignee: Shazron Abdullah Steps: 1. Update cordova.js snapshot to newly tagged version 2. Add a new version macro to CDVAvailability.h (do this on master cherry-pick). 3. Update snapshot of cordova-app-hello-world within create template (if it has changed since previous release) 4. Run Apache RAT 5. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 6. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test) 7. Tag (via coho) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4217) CLONE - Tag OSX
Filip Maj created CB-4217: - Summary: CLONE - Tag OSX Key: CB-4217 URL: https://issues.apache.org/jira/browse/CB-4217 Project: Apache Cordova Issue Type: Sub-task Components: OSX Reporter: Filip Maj Assignee: Shazron Abdullah Steps: 1. Update cordova.js snapshot to newly tagged version 2. Update snapshot of cordova-app-hello-world within create template (if it has changed since previous release) 3. Run Apache RAT (via coho) 4. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 5. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test) 6. Tag (via coho) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4216) CLONE - Tag BlackBerry
Filip Maj created CB-4216: - Summary: CLONE - Tag BlackBerry Key: CB-4216 URL: https://issues.apache.org/jira/browse/CB-4216 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry Reporter: Filip Maj Assignee: Lorin Beer Steps: 1. Update cordova.js snapshot to newly tagged version 2. Update snapshot of cordova-app-hello-world within create template (if it has changed since previous release) 3. Run Apache RAT (via coho) 4. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 5. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test) 6. Tag (coho) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4224) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Windows Phone 7/8
Filip Maj created CB-4224: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Windows Phone 7/8 Key: CB-4224 URL: https://issues.apache.org/jira/browse/CB-4224 Project: Apache Cordova Issue Type: Sub-task Components: Docs, WP7, WP8 Reporter: Filip Maj Assignee: Michael Brooks -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4227) CLONE - Upload and Announce Release Candidate
Filip Maj created CB-4227: - Summary: CLONE - Upload and Announce Release Candidate Key: CB-4227 URL: https://issues.apache.org/jira/browse/CB-4227 Project: Apache Cordova Issue Type: Sub-task Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, Docs, iOS, OSX, Windows 8, WP7, WP8 Reporter: Filip Maj Assignee: Steve Gill Steps: 1. Create the .zip of the release candidate 2. Upload it to apache servers 3. Upload new docs snapshot (see [Release wiki|https://wiki.apache.org/cordova/CuttingReleases]) 4. Update cordova.apache.org website with new release info (see [Release wiki|https://wiki.apache.org/cordova/CuttingReleases]) 5. Wait 24 hours 6. Announce its availability to the mailing-list blog about it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4208) Release Cordova 3.0.0rc1
Filip Maj created CB-4208: - Summary: Release Cordova 3.0.0rc1 Key: CB-4208 URL: https://issues.apache.org/jira/browse/CB-4208 Project: Apache Cordova Issue Type: Task Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, Docs, iOS, OSX, Windows 8, WP7, WP8 Reporter: Filip Maj Assignee: Steve Gill Parent bug for the 2.8.0rc1 Cordova Release. Workflow here: http://wiki.apache.org/cordova/CuttingReleases -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4210) CLONE - Tag cordova-js and cordova-app-hello-world
Filip Maj created CB-4210: - Summary: CLONE - Tag cordova-js and cordova-app-hello-world Key: CB-4210 URL: https://issues.apache.org/jira/browse/CB-4210 Project: Apache Cordova Issue Type: Sub-task Components: App Hello World, CordovaJS Reporter: Filip Maj Assignee: Andrew Grieve Steps: 1. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 2. Run jake tests 3. Tag push -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4218) CLONE - Tag Mobile-Spec
Filip Maj created CB-4218: - Summary: CLONE - Tag Mobile-Spec Key: CB-4218 URL: https://issues.apache.org/jira/browse/CB-4218 Project: Apache Cordova Issue Type: Sub-task Components: mobile-spec Reporter: Filip Maj Assignee: Lorin Beer This should wait until all platforms are tagged. Steps: 1. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 2. Tag -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4208) Release Cordova 3.0.0rc1
[ https://issues.apache.org/jira/browse/CB-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-4208: -- Description: Parent bug for the 3.0.0rc1 Cordova Release. Workflow here: http://wiki.apache.org/cordova/CuttingReleases was: Parent bug for the 2.8.0rc1 Cordova Release. Workflow here: http://wiki.apache.org/cordova/CuttingReleases Release Cordova 3.0.0rc1 Key: CB-4208 URL: https://issues.apache.org/jira/browse/CB-4208 Project: Apache Cordova Issue Type: Task Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, Docs, iOS, OSX, Windows 8, WP7, WP8 Reporter: Filip Maj Assignee: Steve Gill Parent bug for the 3.0.0rc1 Cordova Release. Workflow here: http://wiki.apache.org/cordova/CuttingReleases -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4209) CLONE - Create Release Branches
Filip Maj created CB-4209: - Summary: CLONE - Create Release Branches Key: CB-4209 URL: https://issues.apache.org/jira/browse/CB-4209 Project: Apache Cordova Issue Type: Sub-task Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8 Reporter: Filip Maj Assignee: Andrew Grieve Steps: 1. Create remote branches 2. Update all VERSION files -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4211) CLONE - Tag Android
Filip Maj created CB-4211: - Summary: CLONE - Tag Android Key: CB-4211 URL: https://issues.apache.org/jira/browse/CB-4211 Project: Apache Cordova Issue Type: Sub-task Components: Android Reporter: Filip Maj Assignee: Joe Bowser Steps: 1. Update cordova.js snapshot to newly tagged version 2. Update snapshot of cordova-app-hello-world within create template (if its changed since previous release) 3. Run Apache RAT 4. Look through all open JIRA bugs targeted at the current version and either fix or postpone them. 5. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test) 6. Tag (via coho) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4222) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for iOS
Filip Maj created CB-4222: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for iOS Key: CB-4222 URL: https://issues.apache.org/jira/browse/CB-4222 Project: Apache Cordova Issue Type: Sub-task Components: Docs, iOS Reporter: Filip Maj Assignee: Shazron Abdullah Fix For: 2.8.0 - config.xml change (plugin to feature tags) - cordova-X.X.X.js renamed to cordova.js (version inside file, in the header) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4226) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for OSX
Filip Maj created CB-4226: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for OSX Key: CB-4226 URL: https://issues.apache.org/jira/browse/CB-4226 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, OSX Reporter: Filip Maj Assignee: Tim Kim -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4223) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Window 8
Filip Maj created CB-4223: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Window 8 Key: CB-4223 URL: https://issues.apache.org/jira/browse/CB-4223 Project: Apache Cordova Issue Type: Sub-task Components: Docs, Windows 8 Reporter: Filip Maj Assignee: Joe Bowser -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4225) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for BlackBerry
Filip Maj created CB-4225: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for BlackBerry Key: CB-4225 URL: https://issues.apache.org/jira/browse/CB-4225 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, Docs Reporter: Filip Maj Assignee: Lorin Beer Fix For: 2.8.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4221) CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Android
Filip Maj created CB-4221: - Summary: CLONE - Update Upgrading Guide for 2.7.0 - 2.8.0 for Android Key: CB-4221 URL: https://issues.apache.org/jira/browse/CB-4221 Project: Apache Cordova Issue Type: Sub-task Components: Android, Docs Reporter: Filip Maj Assignee: Andrew Grieve -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4140) cli reads version incorrectly from cordova-js
[ https://issues.apache.org/jira/browse/CB-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13709207#comment-13709207 ] Filip Maj commented on CB-4140: --- I thought this happened based on our release branches / changin contents of VERSION file? cli reads version incorrectly from cordova-js - Key: CB-4140 URL: https://issues.apache.org/jira/browse/CB-4140 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Ian Clelland Fix For: 3.0.0 Following the steps for [Working With Cordova in 3.0|http://wiki.apache.org/cordova/WorkingWithThree], you'll get an issue with android where it thinks cordova-android is running 2.7.0rc1 (and throws a semver issue). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4273) Pass additional arguments down to platform level scripts
[ https://issues.apache.org/jira/browse/CB-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13709985#comment-13709985 ] Filip Maj commented on CB-4273: --- yeh sure that sounds reasonable Pass additional arguments down to platform level scripts Key: CB-4273 URL: https://issues.apache.org/jira/browse/CB-4273 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.1.0 Not a blocker for 3.0, but this would make life easier for BB devs using CLI. Some users prefer to pass in signing key as an argument rather than storing in config. There are also flags for passing in non-standard build options. As a bonus, we'd get cordova build blackberry --help CC [~filmaj] [~lorin.beer] [~jeffheifetz] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3383) Add .cordovaignore support
[ https://issues.apache.org/jira/browse/CB-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-3383: -- Affects Version/s: 3.0.0 Fix Version/s: (was: 3.0.0) 3.1.0 Add .cordovaignore support -- Key: CB-3383 URL: https://issues.apache.org/jira/browse/CB-3383 Project: Apache Cordova Issue Type: New Feature Components: CLI Affects Versions: 2.7.0, 2.8.0, 2.9.0, 3.0.0 Reporter: Michael Brooks Assignee: Filip Maj Fix For: 3.1.0 Reported by [~andi1984] on the mailing list. The follow error is thrown when building a project under SVN version control: {code} Error: ENOENT, no such file or directory 'plugins/.svn/plugin.xml' {code} With .cordovaignore, we can treat it like a .gitignore and {{glob}} for all files inside .cordovaignore and prevent them from being used in any filesystem-related activities within cordova cli. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4140) cli reads version incorrectly from cordova-js
[ https://issues.apache.org/jira/browse/CB-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710053#comment-13710053 ] Filip Maj commented on CB-4140: --- Bump [~iclelland], any update on this? Will this make it into 3.0 or should we move it to 3.1? cli reads version incorrectly from cordova-js - Key: CB-4140 URL: https://issues.apache.org/jira/browse/CB-4140 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 2.9.0 Reporter: Filip Maj Assignee: Ian Clelland Fix For: 3.0.0 Following the steps for [Working With Cordova in 3.0|http://wiki.apache.org/cordova/WorkingWithThree], you'll get an issue with android where it thinks cordova-android is running 2.7.0rc1 (and throws a semver issue). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4196) BlackBerry requirements check fails in CLI on Platform Add
[ https://issues.apache.org/jira/browse/CB-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710058#comment-13710058 ] Filip Maj commented on CB-4196: --- Which version of the CLI is this? What is the output of {{cordova -v}} ? BlackBerry requirements check fails in CLI on Platform Add -- Key: CB-4196 URL: https://issues.apache.org/jira/browse/CB-4196 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI Affects Versions: 2.9.0 Environment: Windows 7. Reporter: John M. Wargo Assignee: Filip Maj Priority: Trivial trying to create a new BlackBerry project and forgot to execute the BBNDK environment setup first. Looking at the error that's generated, shouldn't the CLI be checking for BlackBerry requirements before downloading the BlackBerry project files via lazy load? cordova -d platform add blackberry Requesting https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=snapshot;h=2.9.0;sf=tgz... Download complete. Extracting... Checking if platform blackberry passes minimum requirements... undefined The process fails because my environment isn't setup correctly, but doesn't tell me why. With -d enabled, it doesn't report the results of the failure to the console. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4268) [BlackBerry10] Run logic needs update now that config is stored globally
[ https://issues.apache.org/jira/browse/CB-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710086#comment-13710086 ] Filip Maj commented on CB-4268: --- Since this commit went into master it has broken blackberry support. I can no longer do {{cordova run}} without issues: {noformat} fil-MacBookAir:tmp fil$ cordova -d run cordova library for blackberry already exists. No need to download. Continuing. Wrote out BlackBerry application name to HelloCordova Wrote out BlackBerry package name to io.cordova.hellocordova Wrote out BlackBerry version to 0.0.1 Calling plugman.prepare for platform blackberry Preparing blackberry10 project... Processing configuration changes for plugins. Iterating over installed plugins: [] Writing out cordova_plugins.json... Writing out cordova_plugins.js... Running app on platform blackberry with command /Users/fil/src/tmp/platforms/blackberry/cordova/run --device (output to follow)... error: unknown option `--device' Error: An error occurred while running the blackberry project. error: unknown option `--device' at /Users/fil/src/cordova-cli/src/run.js:49:23 at /Users/fil/src/cordova-cli/node_modules/shelljs/shell.js:1707:7 at ChildProcess.exithandler (child_process.js:641:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Socket.anonymous (child_process.js:948:11) at Socket.EventEmitter.emit (events.js:95:17) at Pipe.close (net.js:466:12) {noformat} [BlackBerry10] Run logic needs update now that config is stored globally Key: CB-4268 URL: https://issues.apache.org/jira/browse/CB-4268 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI Affects Versions: 3.0.0 Reporter: Bryan Higgins Assignee: Bryan Higgins Priority: Blocker Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4268) [BlackBerry10] Run logic needs update now that config is stored globally
[ https://issues.apache.org/jira/browse/CB-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710093#comment-13710093 ] Filip Maj commented on CB-4268: --- This works if you point the library to the latest master but fails with 2.9. [~bhigg...@blackberry.com] these commits should have gone into a branch until the library support was bumped to 3.0... [BlackBerry10] Run logic needs update now that config is stored globally Key: CB-4268 URL: https://issues.apache.org/jira/browse/CB-4268 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI Affects Versions: 3.0.0 Reporter: Bryan Higgins Assignee: Bryan Higgins Priority: Blocker Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4270) [BlackBerry10] emulate update needed for global config
[ https://issues.apache.org/jira/browse/CB-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710105#comment-13710105 ] Filip Maj commented on CB-4270: --- I've reverted the related commit in this issue from cordova-cli. Until the libraries are bumped from 2.9 to 3.0 inside cordova-cli, this commit breaks cordova-cli. The commit should be re-introduced after libraries are bumped to 3.0. [BlackBerry10] emulate update needed for global config -- Key: CB-4270 URL: https://issues.apache.org/jira/browse/CB-4270 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI Affects Versions: 3.0.0 Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4074) Error when adding android platform on Windows 7
[ https://issues.apache.org/jira/browse/CB-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710114#comment-13710114 ] Filip Maj commented on CB-4074: --- [~ldeluca] I've pushed up cordova-cli 2.9.7 to npm. CAn you upgrade and try going through your motions? At least now the error messages SHOULD be better. In the mean time I am trying to reproduce your issue on this brand new windows 7 machine Ive got my hands on. Error when adding android platform on Windows 7 --- Key: CB-4074 URL: https://issues.apache.org/jira/browse/CB-4074 Project: Apache Cordova Issue Type: Bug Components: CLI Environment: Windows 7 Reporter: Lisa Seacat DeLuca Assignee: Filip Maj I got past the issue where I wasn't able to install cordova on my windows 7 machine. I create a new project just fine but when I tried to add android as a platform I see the following error: C:\workspaces\cordovacli\helloworldcordova platform add android shell.js: internal error Error: EPERM, operation not permitted 'C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test' at Object.fs.renameSync (fs.js:543:18) at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:487:8 at Array.forEach (native) at Object._mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:463:11) at Object.mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1471:23) at Extract.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.js:115:43) at Extract.EventEmitter.emit (events.js:117:20) at DirWriter.anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\lib\extract.js:66:8) at DirWriter.EventEmitter.emit (events.js:117:20) at end (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\node_modules\fstream\lib\writer.js:323:12) -- note: I can use eclipse and create an android project with no problem and test on devices and emulators. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira