[jira] [Commented] (CB-5519) Should we add "DEBUG=1" to "Preprocessor Macros"->"Debug" ?
[ https://issues.apache.org/jira/browse/CB-5519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267306#comment-14267306 ] Ryan Williams commented on CB-5519: --- The following 3 line sed command will inject the DEBUG=1 preprocessor macro into your xcode project file. I recommend executing it immediately after "cordova platform add ios". (Substitute MyProject for your projects name) {noformat} sed -i '' '/^[[:space:]]*GCC_OPTIMIZATION_LEVEL[[:space:]]*=[[:space:]]*0;/ a\ GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";\ ' platforms/ios/MyProject.xcodeproj/project.pbxproj {noformat} > Should we add "DEBUG=1" to "Preprocessor Macros"->"Debug" ? > --- > > Key: CB-5519 > URL: https://issues.apache.org/jira/browse/CB-5519 > Project: Apache Cordova > Issue Type: Wish > Components: iOS >Affects Versions: 3.2.0 >Reporter: glmnbeyond >Priority: Minor > > I created a helloCordova project via Cordova CLI, and added some debug info > to native code: > DLog('This is a debug info'); > But the debug info is never outputted.If I use ALog, the info can be > outputted, so I think it probably has something to do with the "DEBUG" macro. > After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova > target, DLog can be outputted. > So here is my question: > Should we add "DEBUG=1" to iOS template project->"Build > Settings"->"Preprocessor Macros"->"Debug" ? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-5520) Use .xcconfig file for adding/tweaking settings in the default template
[ https://issues.apache.org/jira/browse/CB-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267304#comment-14267304 ] Ryan Williams commented on CB-5520: --- The following 3 line sed command will inject the DEBUG=1 preprocessor macro into your xcode project file. I recommend executing it immediately after "cordova platform add ios". (Substitute MyProject for your projects name) {noformat} sed -i '' '/^[[:space:]]*GCC_OPTIMIZATION_LEVEL[[:space:]]*=[[:space:]]*0;/ a\ GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";\ ' platforms/ios/MyProject.xcodeproj/project.pbxproj {noformat} > Use .xcconfig file for adding/tweaking settings in the default template > --- > > Key: CB-5520 > URL: https://issues.apache.org/jira/browse/CB-5520 > Project: Apache Cordova > Issue Type: New Feature > Components: iOS >Affects Versions: 3.2.0 >Reporter: glmnbeyond >Priority: Minor > Labels: core > Fix For: 4.0.0 > > Attachments: Screen Shot 2014-03-29 at 9.57.58 AM.png > > > I created a helloCordova project via Cordova CLI, and added some debug info > to native code: > DLog('This is a debug info'); > But the debug info is never outputted.If I use ALog, the info can be > outputted, so I think it probably has something to do with the "DEBUG" macro. > After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova > target, DLog can be outputted. > So here is my question: > Should we add "DEBUG=1" to iOS template project->"Build Settings"-> > "Preprocessor Macros" ->"Debug" ? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267144#comment-14267144 ] ASF subversion and git services commented on CB-8256: - Commit 35165421f0456bb2831e64e43567e7ac3076ef81 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=3516542 ] CB-8256 Incremented package version to -dev > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267146#comment-14267146 ] ASF subversion and git services commented on CB-8256: - Commit c5dd256a28e69aedb3ed745e8899567d005c6068 in cordova-plugman's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=c5dd256 ] CB-8256 Incremented package version to -dev > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267149#comment-14267149 ] ASF subversion and git services commented on CB-8256: - Commit 8d6b736a36644e9ce72670f57ff40464b3fbb0d3 in cordova-js's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=8d6b736 ] CB-8256 Updated version and RELEASENOTES.md for release 3.7.3 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267145#comment-14267145 ] ASF subversion and git services commented on CB-8256: - Commit 016ef62e7e6c72a9ab29e6635fae12daed793c29 in cordova-plugman's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=016ef62 ] CB-8256 Updated version and RELEASENOTES.md for release 0.22.17 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267148#comment-14267148 ] ASF subversion and git services commented on CB-8256: - Commit 418ef53e568e1c02356703fc76935cf669743e4e in cordova-cli's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=418ef53 ] CB-8256 Incremented package version to -dev > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267150#comment-14267150 ] ASF subversion and git services commented on CB-8256: - Commit 29aa7b23943163be0d035f9e2628e8e9112afea1 in cordova-js's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=29aa7b2 ] CB-8256 Incremented package version to -dev > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8158) Browserify: Keep a symbol List of requires so runtime require still works
[ https://issues.apache.org/jira/browse/CB-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267142#comment-14267142 ] ASF subversion and git services commented on CB-8158: - Commit a9d169ea8fa03999a9fe13abe44e01febc7c9d03 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=a9d169e ] CB-8158 changed double quotes to single for JSHINT > Browserify: Keep a symbol List of requires so runtime require still works > - > > Key: CB-8158 > URL: https://issues.apache.org/jira/browse/CB-8158 > Project: Apache Cordova > Issue Type: Bug >Reporter: Steve Gill >Assignee: Steve Gill > > Right now, a couple of plugins + wp8 and android pass chunks of javascript > from native. > some of the calls from native use require. No way for us to intercept this > and browserify it during build time. So we need to attach a symbol map to > cordova.js that is generated and allow runtime require. > Hopefully in the long term, we can change the native side to not have to rely > on passing around requires. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267143#comment-14267143 ] ASF subversion and git services commented on CB-8256: - Commit 52f7db9dfcebf5b9a1e5923399ae84cca3e79db9 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=52f7db9 ] CB-8256 Updated version and RELEASENOTES.md for release 4.2.0 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8158) Browserify: Keep a symbol List of requires so runtime require still works
[ https://issues.apache.org/jira/browse/CB-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267141#comment-14267141 ] ASF subversion and git services commented on CB-8158: - Commit e37004c9c7523005e98abd07abf83ecfb2bd2a3e in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=e37004c ] Revert "Revert "CB-8158 adding symbolList to cordova.js" due to failing tests" This reverts commit 4b6c14f1ebbe68a485071808b65943ee0555ec2d. > Browserify: Keep a symbol List of requires so runtime require still works > - > > Key: CB-8158 > URL: https://issues.apache.org/jira/browse/CB-8158 > Project: Apache Cordova > Issue Type: Bug >Reporter: Steve Gill >Assignee: Steve Gill > > Right now, a couple of plugins + wp8 and android pass chunks of javascript > from native. > some of the calls from native use require. No way for us to intercept this > and browserify it during build time. So we need to attach a symbol map to > cordova.js that is generated and allow runtime require. > Hopefully in the long term, we can change the native side to not have to rely > on passing around requires. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267147#comment-14267147 ] ASF subversion and git services commented on CB-8256: - Commit afa801623079ce1715ee81ecf64f9271b9e3d691 in cordova-cli's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=afa8016 ] CB-8256 Updated version and RELEASENOTES.md for release 4.2.0 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7988) Tools Release, Nov 7, 2014
[ https://issues.apache.org/jira/browse/CB-7988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267138#comment-14267138 ] ASF subversion and git services commented on CB-7988: - Commit 3f5d8cde16c5a014ff4ca26c4c360bbe742db1c4 in cordova-plugman's branch refs/heads/0.22.x from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=3f5d8cd ] CB-7988 Incremented package version to -dev > Tools Release, Nov 7, 2014 > -- > > Key: CB-7988 > URL: https://issues.apache.org/jira/browse/CB-7988 > Project: Apache Cordova > Issue Type: Task >Reporter: Mark Koudritsky >Assignee: Mark Koudritsky > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267139#comment-14267139 ] ASF subversion and git services commented on CB-8256: - Commit 016ef62e7e6c72a9ab29e6635fae12daed793c29 in cordova-plugman's branch refs/heads/0.22.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=016ef62 ] CB-8256 Updated version and RELEASENOTES.md for release 0.22.17 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8210) Prep cordova-android for CSP by removing eval()s
[ https://issues.apache.org/jira/browse/CB-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267134#comment-14267134 ] ASF subversion and git services commented on CB-8210: - Commit 3b066a6856fd4d01806a332f2ab57eb7d340fe35 in cordova-js's branch refs/heads/3.7.x from [~chasej] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=3b066a6 ] CB-8210 android: Fire events from native via message channel (close #97) - Events implemented via message channel: various buttons, pause/resume > Prep cordova-android for CSP by removing eval()s > > > Key: CB-8210 > URL: https://issues.apache.org/jira/browse/CB-8210 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Affects Versions: Master >Reporter: Jason Chase >Assignee: Andrew Grieve > > In preparation for CSP, remove any native code in cordova-android is that > using inline javascript/eval()s. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267136#comment-14267136 ] ASF subversion and git services commented on CB-8256: - Commit 8d6b736a36644e9ce72670f57ff40464b3fbb0d3 in cordova-js's branch refs/heads/3.7.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=8d6b736 ] CB-8256 Updated version and RELEASENOTES.md for release 3.7.3 > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8158) Browserify: Keep a symbol List of requires so runtime require still works
[ https://issues.apache.org/jira/browse/CB-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267133#comment-14267133 ] ASF subversion and git services commented on CB-8158: - Commit 07125ef9d481fab81c2c29eafec253846f05a8ca in cordova-js's branch refs/heads/3.7.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=07125ef ] CB-8158 updated browserify dependency > Browserify: Keep a symbol List of requires so runtime require still works > - > > Key: CB-8158 > URL: https://issues.apache.org/jira/browse/CB-8158 > Project: Apache Cordova > Issue Type: Bug >Reporter: Steve Gill >Assignee: Steve Gill > > Right now, a couple of plugins + wp8 and android pass chunks of javascript > from native. > some of the calls from native use require. No way for us to intercept this > and browserify it during build time. So we need to attach a symbol map to > cordova.js that is generated and allow runtime require. > Hopefully in the long term, we can change the native side to not have to rely > on passing around requires. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8210) Prep cordova-android for CSP by removing eval()s
[ https://issues.apache.org/jira/browse/CB-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267135#comment-14267135 ] ASF subversion and git services commented on CB-8210: - Commit 76f8a5c0bfbb8effd2b90b17d735f87ed363bd7b in cordova-js's branch refs/heads/3.7.x from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=76f8a5c ] CB-8210 Use the correct plugin for App/CoreAndroid plugin based on platformVersion > Prep cordova-android for CSP by removing eval()s > > > Key: CB-8210 > URL: https://issues.apache.org/jira/browse/CB-8210 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Affects Versions: Master >Reporter: Jason Chase >Assignee: Andrew Grieve > > In preparation for CSP, remove any native code in cordova-android is that > using inline javascript/eval()s. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8210) Prep cordova-android for CSP by removing eval()s
[ https://issues.apache.org/jira/browse/CB-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267132#comment-14267132 ] ASF subversion and git services commented on CB-8210: - Commit 36bb1f19619ff2bf1fe9eea474583cd53900b6f2 in cordova-js's branch refs/heads/3.7.x from [~chasej] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=36bb1f1 ] CB-8210 android: Add message channel for events (closes #96) - Initialize a message channel for native -> Javascript via the core App plugin - Use channel to receive events from native to be fired in Javascript - Keyboard detection events implemented via this new channel > Prep cordova-android for CSP by removing eval()s > > > Key: CB-8210 > URL: https://issues.apache.org/jira/browse/CB-8210 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Affects Versions: Master >Reporter: Jason Chase >Assignee: Andrew Grieve > > In preparation for CSP, remove any native code in cordova-android is that > using inline javascript/eval()s. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8256) Tools Release Jan 6, 2015
[ https://issues.apache.org/jira/browse/CB-8256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267114#comment-14267114 ] Steve Gill commented on CB-8256: Ran mobile spec on ios + android. Ran unit tests for all tools > Tools Release Jan 6, 2015 > - > > Key: CB-8256 > URL: https://issues.apache.org/jira/browse/CB-8256 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8044) --no-build flag not working.
[ https://issues.apache.org/jira/browse/CB-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267080#comment-14267080 ] ASF subversion and git services commented on CB-8044: - Commit b53b305d88ce3b9cf74232c083d962e5b6d778da in cordova-ios's branch refs/heads/wkwebview from [~lorin.beer] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=b53b305 ] [CB-8044] updated run script to properly handle --nobuild flag in all cases > --no-build flag not working. > > > Key: CB-8044 > URL: https://issues.apache.org/jira/browse/CB-8044 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Reporter: Rémi Couturier >Assignee: Lorin Beer > > cordova-cli: 4.1.2 > cordova-android: 3.6.4 > mac: osx yosemite > When running {{cordova run android -- --no-build}} I'm getting the following > error: {{ERROR : Run option '--no-build' not recognized.}} The script stop. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7872) [XCode][6.1] XCode 6.1's xcrun PackageApplication fails at packaging / resigning Cordova applications
[ https://issues.apache.org/jira/browse/CB-7872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267082#comment-14267082 ] ASF subversion and git services commented on CB-7872: - Commit 0a2eac7c112d0dab054fb8288354c9332c27b6c0 in cordova-ios's branch refs/heads/wkwebview from Josef Schweiger [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=0a2eac7 ] CB-7872 Fix CODE_SIGN_RESOURCE_RULES_PATH being set wrong in xcconfig (closes #120) > [XCode][6.1] XCode 6.1's xcrun PackageApplication fails at packaging / > resigning Cordova applications > - > > Key: CB-7872 > URL: https://issues.apache.org/jira/browse/CB-7872 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.5.0 > Environment: OSX 10.10, XCode 6.1 >Reporter: SidneyS >Assignee: Shazron Abdullah > Fix For: 3.7.0 > > > Pull request: https://github.com/apache/cordova-ios/pull/115 > XCode 6.1's "xcrun" PackageApplication fails at packaging and codesigning as > the only deprecated ResourceRules.plist path is missing from build target > configuration, which represents a bug in XCode 6.1. > This means that any automated command-line builds via cordova build ios > --device will fail if CODE_SIGN_RESOURCE_RULES_PATH has not been set. > Consult this StackOverflow thread for details: > http://stackoverflow.com/questions/26516442/how-do-we-manually-fix-resourcerules-plist-cannot-read-resources-error-after/26563642#26563642 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8044) --no-build flag not working.
[ https://issues.apache.org/jira/browse/CB-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267079#comment-14267079 ] ASF subversion and git services commented on CB-8044: - Commit 19e9545411bb055ddd12fb3754b08cfad564401d in cordova-ios's branch refs/heads/wkwebview from [~lorin.beer] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=19e9545 ] [CB-8044] support for --nobuild flag in run script > --no-build flag not working. > > > Key: CB-8044 > URL: https://issues.apache.org/jira/browse/CB-8044 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Reporter: Rémi Couturier >Assignee: Lorin Beer > > cordova-cli: 4.1.2 > cordova-android: 3.6.4 > mac: osx yosemite > When running {{cordova run android -- --no-build}} I'm getting the following > error: {{ERROR : Run option '--no-build' not recognized.}} The script stop. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8168) Listing available devices through the CLI
[ https://issues.apache.org/jira/browse/CB-8168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267081#comment-14267081 ] ASF subversion and git services commented on CB-8168: - Commit 54420692ac2d4725e757b93a1771a33d56a4d87d in cordova-ios's branch refs/heads/wkwebview from muratsu [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=5442069 ] CB-8168 `cordova/run --list` support for iOS (closes #122) > Listing available devices through the CLI > - > > Key: CB-8168 > URL: https://issues.apache.org/jira/browse/CB-8168 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, CLI, iOS, Windows, Windows 8 >Reporter: Murat Sutunc >Assignee: Jesse MacFadyen > > I was looking at the Cordova Tooling Wiki at > (https://wiki.apache.org/cordova/CommandLineToolingDesign) and thought it > would be interesting to make some additions to the list-devices feature. > Currently we have list-devices and list-emulator-images scripts for a lot of > different platforms. However these scripts are not easily accessible from the > Cordova CLI. By introducing an additional argument to the run or emulate > command, we could show a list of available emulators or connected devices. (I > would like to deemphasize the fact that the command is called --list). After > invoking the command, a user can decide which target to use and run the app > on the desired target by using cordova run –device devicename -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8256) Tools Release Jan 6, 2015
Steve Gill created CB-8256: -- Summary: Tools Release Jan 6, 2015 Key: CB-8256 URL: https://issues.apache.org/jira/browse/CB-8256 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8244) android: Make plugin add --link create symlinks for source-file, lib-file, etc
[ https://issues.apache.org/jira/browse/CB-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266913#comment-14266913 ] ASF subversion and git services commented on CB-8244: - Commit 16755c7dac6f6ae5dfc85317e7c6f65f3488e9f5 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=16755c7 ] Revert "CB-8244 android: Have `plugin add --link` create symlinks for ``, ``, etc" This reverts commit 197c49a1727fab676543595867aa3557966f7d12. > android: Make plugin add --link create symlinks for source-file, lib-file, etc > -- > > Key: CB-8244 > URL: https://issues.apache.org/jira/browse/CB-8244 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Reporter: Andrew Grieve >Assignee: Andrew Grieve >Priority: Minor > > Both Android Studio and Gradle play nicely with symlinks. By symlinking the > actual files, you can edit .java files in the IDE and not need to copy them > back to the plugin source location! > Adding this feature just to Android right now, as that's all I'm testing with. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-8191) WP8 app fails build when dash is present in app id
[ https://issues.apache.org/jira/browse/CB-8191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-8191. - Resolution: Duplicate > WP8 app fails build when dash is present in app id > -- > > Key: CB-8191 > URL: https://issues.apache.org/jira/browse/CB-8191 > Project: Apache Cordova > Issue Type: Improvement > Components: Windows, WP8 >Affects Versions: 3.6.3 > Environment: Windows Server 2012R2, Cordova 4.0.0 >Reporter: Marius Politze >Assignee: Jesse MacFadyen >Priority: Minor > Labels: build > > When a dash ("-") is present in the application id the build fails on wp8 and > windows plaform because the class name generated contains the dash. > Build fails with error: > Severity Description Project FileLine > Error x:Class="com.example.my-app.App" is not valid. 'com.example.my-app.App' > is not a valid fully qualified class name. ... > In Android platform the dash is replaced with underscore ("_"). To me it > would be desired if WP8 and Windows would follow this behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8198) Unified console output logic for core platforms
[ https://issues.apache.org/jira/browse/CB-8198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-8198: Assignee: Vladimir Kotikov (was: Jesse MacFadyen) > Unified console output logic for core platforms > --- > > Key: CB-8198 > URL: https://issues.apache.org/jira/browse/CB-8198 > Project: Apache Cordova > Issue Type: New Feature > Components: Android, iOS, Windows, WP8 >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > > Currently all major platform scripts doesn't recognize trace levels and > always logging all their output to console. > This could be unuseful, especially when a huge output from build tools is put > to console (ant build/xcodebuild output is really huge and in most cases is > unnecessary) > I propose to unify the way we write messages to console output: > 1. Pass verbosity arguments (-d, --debug ) downstream to platform scripts. > 2. Introduce special Log class which is shared across platform scripts > * automatically detects trace level according to command line arguments; > * support of output redirection (file, other) in the future? > 3. Add support for the following verbosity levels: Error, Normal, Debug > * by default: Error and Normal messages are traced > * -silent: only Error messages are traced > * -verbose: everything is traced -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8199) Add support for verbosity levels for platform scripts
[ https://issues.apache.org/jira/browse/CB-8199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-8199: Assignee: Vladimir Kotikov (was: Jesse MacFadyen) > Add support for verbosity levels for platform scripts > -- > > Key: CB-8199 > URL: https://issues.apache.org/jira/browse/CB-8199 > Project: Apache Cordova > Issue Type: Sub-task > Components: Android, iOS, Windows, WP8 >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8095) upload method on windows doesn't support progress events correctly
[ https://issues.apache.org/jira/browse/CB-8095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266863#comment-14266863 ] ASF GitHub Bot commented on CB-8095: Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/53#issuecomment-68943489 @vladimir-kotikov This looks good. Can you rebase for me and I'll test some more? > upload method on windows doesn't support progress events correctly > -- > > Key: CB-8095 > URL: https://issues.apache.org/jira/browse/CB-8095 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Reporter: Vladimir Kotikov > Labels: file-transfer, windows > > On windows FileTrasfer doesn't support {{progress}} events for upload > operation properly since internal implementation uses XHR which doesn't > provide all information, necessary to fire correct progress events. > Possible solution here is to replace XHR with {{BackgroundUploader}} class > which itself supports progress notification in more convenient way and can > provide all necessary data for progress events for FileTransfer. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8226) 'cordova platform add' should look into config.xml for correct engine element when no version is provided
[ https://issues.apache.org/jira/browse/CB-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266859#comment-14266859 ] ASF GitHub Bot commented on CB-8226: Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/140#issuecomment-68942932 Working on it ... > 'cordova platform add' should look into config.xml for correct engine element > when no version is provided > - > > Key: CB-8226 > URL: https://issues.apache.org/jira/browse/CB-8226 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: Master >Reporter: Omar Mefire > Original Estimate: 48h > Remaining Estimate: 48h > > When the 'cordova platform add' command is executed with no version specified > (e.g: user runs ‘cordova platform add android’ instead of ‘cordova platform > add android@3.6.4’), cordova-lib should look at the config.xml file for the > correct element and use its version. It should default to using the > pinned version if there is no corresponding element in the > config.xml file. > For example, if the user enters : 'cordova platform add android' and the > config.xml file contains this entry: version="file://C:/folder/to/android/platform" />, We should use the > specified folder's bin/create scripts to add the android platform, not the > default version. > The engine element in config.xml could be one of the following form : > 1- > 2- -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Reopened] (CB-8244) android: Make plugin add --link create symlinks for source-file, lib-file, etc
[ https://issues.apache.org/jira/browse/CB-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen reopened CB-8244: - Current implementation is being reverted from master, and followup work should be done in a branch. This should at least be smoke tested in Android Studio for Windows before it is merged. Note also that both Travis + Appveyor integrations will tell you if there are issues with the branch long before merging. > android: Make plugin add --link create symlinks for source-file, lib-file, etc > -- > > Key: CB-8244 > URL: https://issues.apache.org/jira/browse/CB-8244 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Reporter: Andrew Grieve >Assignee: Andrew Grieve >Priority: Minor > > Both Android Studio and Gradle play nicely with symlinks. By symlinking the > actual files, you can edit .java files in the IDE and not need to copy them > back to the plugin source location! > Adding this feature just to Android right now, as that's all I'm testing with. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8226) 'cordova platform add' should look into config.xml for correct engine element when no version is provided
[ https://issues.apache.org/jira/browse/CB-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266798#comment-14266798 ] ASF GitHub Bot commented on CB-8226: Github user agrieve commented on the pull request: https://github.com/apache/cordova-lib/pull/140#issuecomment-68936506 Looks good I think. Just tried to pull it in and there are many merge conflicts unfortunately. Would you be able to rebase? > 'cordova platform add' should look into config.xml for correct engine element > when no version is provided > - > > Key: CB-8226 > URL: https://issues.apache.org/jira/browse/CB-8226 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: Master >Reporter: Omar Mefire > Original Estimate: 48h > Remaining Estimate: 48h > > When the 'cordova platform add' command is executed with no version specified > (e.g: user runs ‘cordova platform add android’ instead of ‘cordova platform > add android@3.6.4’), cordova-lib should look at the config.xml file for the > correct element and use its version. It should default to using the > pinned version if there is no corresponding element in the > config.xml file. > For example, if the user enters : 'cordova platform add android' and the > config.xml file contains this entry: version="file://C:/folder/to/android/platform" />, We should use the > specified folder's bin/create scripts to add the android platform, not the > default version. > The engine element in config.xml could be one of the following form : > 1- > 2- -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-2332) Document new "body" property on FileTransferError
[ https://issues.apache.org/jira/browse/CB-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266795#comment-14266795 ] ASF GitHub Bot commented on CB-2332: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/56 > Document new "body" property on FileTransferError > - > > Key: CB-2332 > URL: https://issues.apache.org/jira/browse/CB-2332 > Project: Apache Cordova > Issue Type: Sub-task > Components: Docs, Plugin File Transfer >Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0 >Reporter: Filip Maj >Assignee: Andrey Kurdyumov > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-2332) Document new "body" property on FileTransferError
[ https://issues.apache.org/jira/browse/CB-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-2332. - Resolution: Fixed > Document new "body" property on FileTransferError > - > > Key: CB-2332 > URL: https://issues.apache.org/jira/browse/CB-2332 > Project: Apache Cordova > Issue Type: Sub-task > Components: Docs, Plugin File Transfer >Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0 >Reporter: Filip Maj >Assignee: Andrey Kurdyumov > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8255) Android gradle builds should be configurable via gradle properties instead of custom environment variables
[ https://issues.apache.org/jira/browse/CB-8255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266756#comment-14266756 ] ASF GitHub Bot commented on CB-8255: GitHub user agrieve opened a pull request: https://github.com/apache/cordova-android/pull/145 CB-8255 Use properties rather than environment variables for gradle settings For review. I'll merge in if it's good to go! You can merge this pull request into a Git repository by running: $ git pull https://github.com/agrieve/cordova-android gradle-props Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-android/pull/145.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #145 commit 2ddebd36dd866eb3e3e298a03cc943d7f334a5c4 Author: Andrew Grieve Date: 2015-01-06T20:56:09Z CB-8255 Use properties rather than environment variables for gradle settings > Android gradle builds should be configurable via gradle properties instead of > custom environment variables > -- > > Key: CB-8255 > URL: https://issues.apache.org/jira/browse/CB-8255 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Andrew Grieve >Assignee: Andrew Grieve >Priority: Minor > > Gradle has excellent support for build properties, as explained here: > http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html > Our use of environment variables isn't great, mostly because in Java, > environment variables are immutable, and so can't be changed via > build-extras.gradle. There needs to be a way to make IDE builds use the same > settings as command-line builds, and switching to use gradle properties is a > good step towards this (which can be set via environment variables anyways!) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8255) Android gradle builds should be configurable via gradle properties instead of custom environment variables
[ https://issues.apache.org/jira/browse/CB-8255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266747#comment-14266747 ] ASF subversion and git services commented on CB-8255: - Commit 2ddebd36dd866eb3e3e298a03cc943d7f334a5c4 in cordova-android's branch refs/heads/gradle-props from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=2ddebd3 ] CB-8255 Use properties rather than environment variables for gradle settings > Android gradle builds should be configurable via gradle properties instead of > custom environment variables > -- > > Key: CB-8255 > URL: https://issues.apache.org/jira/browse/CB-8255 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Andrew Grieve >Assignee: Andrew Grieve >Priority: Minor > > Gradle has excellent support for build properties, as explained here: > http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html > Our use of environment variables isn't great, mostly because in Java, > environment variables are immutable, and so can't be changed via > build-extras.gradle. There needs to be a way to make IDE builds use the same > settings as command-line builds, and switching to use gradle properties is a > good step towards this (which can be set via environment variables anyways!) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-1130) Plugin Guide - Overview of Plugins
[ https://issues.apache.org/jira/browse/CB-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266695#comment-14266695 ] Mike Sierra commented on CB-1130: - Sorry, I didn't realize I still had JIRAs assigned to me here. https://issues.apache.org/jira/browse/CB-6085?jql=assignee%20in%20(sierra) Had to stop working on Cordova, so not sure the state of each of them. > Plugin Guide - Overview of Plugins > -- > > Key: CB-1130 > URL: https://issues.apache.org/jira/browse/CB-1130 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs >Affects Versions: 2.1.0 >Reporter: Don Coleman >Priority: Minor > > We're looking into fleshing out the Plugin Developer documentation. > At the moment, the table of contents looks like: > {noformat} > Overview of Plugins > Plugin Spec > JavaScript > - Lifecycle > - API Reference > Native > - Lifecycle > - API reference > Echo plugin example and narrative > Best practices > - Using require('...'); > - Writing Tests > - Tagging to align with Cordova release > - Naming Scheme > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7428) Enable Swift development of Plugins
[ https://issues.apache.org/jira/browse/CB-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266640#comment-14266640 ] Arne Sikström commented on CB-7428: --- Any updates on this? I am planning on writing my next plugin in Swift but I want it to work without the need for any extra Xcode actions. > Enable Swift development of Plugins > --- > > Key: CB-7428 > URL: https://issues.apache.org/jira/browse/CB-7428 > Project: Apache Cordova > Issue Type: New Feature > Components: iOS >Affects Versions: 3.5.0 >Reporter: Erik Jan de Wit > > For developing plugins it would be nice to be able to use the Swift language. > Right now this already works, but one needs to set some Xcode settings by > hand: > * Deployment target needs to be 7.0 > * Add the bridging header file to the 'Swift Compiler - Code Generation' > options > * Add the Swift runtime to the search path (will probably not be needed for > iOS8) > see example plugin https://github.com/edewit/cordova-plugin-hello/tree/swift -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-1130) Plugin Guide - Overview of Plugins
[ https://issues.apache.org/jira/browse/CB-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-1130: Assignee: (was: Mike Sierra) > Plugin Guide - Overview of Plugins > -- > > Key: CB-1130 > URL: https://issues.apache.org/jira/browse/CB-1130 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs >Affects Versions: 2.1.0 >Reporter: Don Coleman >Priority: Minor > > We're looking into fleshing out the Plugin Developer documentation. > At the moment, the table of contents looks like: > {noformat} > Overview of Plugins > Plugin Spec > JavaScript > - Lifecycle > - API Reference > Native > - Lifecycle > - API reference > Echo plugin example and narrative > Best practices > - Using require('...'); > - Writing Tests > - Tagging to align with Cordova release > - Naming Scheme > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-3963) Remove "Command-Line Usage" section; move content to within "Platform Guides"
[ https://issues.apache.org/jira/browse/CB-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-3963. - Resolution: Not a Problem > Remove "Command-Line Usage" section; move content to within "Platform Guides" > - > > Key: CB-3963 > URL: https://issues.apache.org/jira/browse/CB-3963 > Project: Apache Cordova > Issue Type: Task > Components: Docs >Reporter: Mike Sierra >Assignee: Mike Sierra > > Since developers can rely on CLI, downplay platform-specific CL utilities. > Move summaries from "Command-line Usage" section as appropriate to various > Platform Guides. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-6085) Note Windows 8.1 apps not backward-compatible to 8.0
[ https://issues.apache.org/jira/browse/CB-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-6085. - Resolution: Fixed > Note Windows 8.1 apps not backward-compatible to 8.0 > > > Key: CB-6085 > URL: https://issues.apache.org/jira/browse/CB-6085 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs >Reporter: Mike Sierra >Assignee: Mike Sierra >Priority: Minor > > Windows 8.1 apps don't run on Windows 8.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-7275) Add ConsoleReporter to test framework so it can be automated via the cli
[ https://issues.apache.org/jira/browse/CB-7275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-7275. - Resolution: Invalid medic reporter also outputs results to console.log > Add ConsoleReporter to test framework so it can be automated via the cli > > > Key: CB-7275 > URL: https://issues.apache.org/jira/browse/CB-7275 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin TestFramework >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen > > It would be useful to detect if errors have occurred from the command line, > so that we can automate testing from scripts, and not only report directly to > medic. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-4612) ContactName is not supported on Android 4.X?
[ https://issues.apache.org/jira/browse/CB-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-4612. - Resolution: Fixed > ContactName is not supported on Android 4.X? > > > Key: CB-4612 > URL: https://issues.apache.org/jira/browse/CB-4612 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Docs, Plugin Contacts >Affects Versions: 2.9.0 > Environment: Android 4.X >Reporter: Shingo Toda >Assignee: Andrey Kurdyumov >Priority: Minor > Labels: documentation > > Document says ContactName is supported on Android 2.X (see > [http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactName]). > But mobile-spec tests regarding to this property are passed on Android 4.2.2 > emulator. What is not supported on this object? Or is this just a wrong > documentation? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-4612) ContactName is not supported on Android 4.X?
[ https://issues.apache.org/jira/browse/CB-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266600#comment-14266600 ] ASF subversion and git services commented on CB-4612: - Commit d8eb15ac374a647a2b78ee8ee7f04dcd325995f6 in cordova-plugin-contacts's branch refs/heads/master from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=d8eb15a ] Merge branch 'CB-4612' of https://github.com/kant2002/cordova-plugin-contacts > ContactName is not supported on Android 4.X? > > > Key: CB-4612 > URL: https://issues.apache.org/jira/browse/CB-4612 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Docs, Plugin Contacts >Affects Versions: 2.9.0 > Environment: Android 4.X >Reporter: Shingo Toda >Assignee: Andrey Kurdyumov >Priority: Minor > Labels: documentation > > Document says ContactName is supported on Android 2.X (see > [http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactName]). > But mobile-spec tests regarding to this property are passed on Android 4.2.2 > emulator. What is not supported on this object? Or is this just a wrong > documentation? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-4612) ContactName is not supported on Android 4.X?
[ https://issues.apache.org/jira/browse/CB-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266601#comment-14266601 ] ASF GitHub Bot commented on CB-4612: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-contacts/pull/52 > ContactName is not supported on Android 4.X? > > > Key: CB-4612 > URL: https://issues.apache.org/jira/browse/CB-4612 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Docs, Plugin Contacts >Affects Versions: 2.9.0 > Environment: Android 4.X >Reporter: Shingo Toda >Assignee: Andrey Kurdyumov >Priority: Minor > Labels: documentation > > Document says ContactName is supported on Android 2.X (see > [http://cordova.apache.org/docs/en/2.9.0/cordova_contacts_contacts.md.html#ContactName]). > But mobile-spec tests regarding to this property are passed on Android 4.2.2 > emulator. What is not supported on this object? Or is this just a wrong > documentation? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8226) 'cordova platform add' should look into config.xml for correct engine element when no version is provided
[ https://issues.apache.org/jira/browse/CB-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266591#comment-14266591 ] ASF GitHub Bot commented on CB-8226: Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/140#issuecomment-68916510 Done! 'file://' prefix support dropped. :) > 'cordova platform add' should look into config.xml for correct engine element > when no version is provided > - > > Key: CB-8226 > URL: https://issues.apache.org/jira/browse/CB-8226 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: Master >Reporter: Omar Mefire > Original Estimate: 48h > Remaining Estimate: 48h > > When the 'cordova platform add' command is executed with no version specified > (e.g: user runs ‘cordova platform add android’ instead of ‘cordova platform > add android@3.6.4’), cordova-lib should look at the config.xml file for the > correct element and use its version. It should default to using the > pinned version if there is no corresponding element in the > config.xml file. > For example, if the user enters : 'cordova platform add android' and the > config.xml file contains this entry: version="file://C:/folder/to/android/platform" />, We should use the > specified folder's bin/create scripts to add the android platform, not the > default version. > The engine element in config.xml could be one of the following form : > 1- > 2- -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8248) Translation contains unnecessary files
[ https://issues.apache.org/jira/browse/CB-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266561#comment-14266561 ] ASF GitHub Bot commented on CB-8248: Github user asfgit closed the pull request at: https://github.com/apache/cordova-docs/pull/254 > Translation contains unnecessary files > -- > > Key: CB-8248 > URL: https://issues.apache.org/jira/browse/CB-8248 > Project: Apache Cordova > Issue Type: Bug > Components: Docs, Translation >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > As of Cordova 3.4 plugin docs was moved to the separate plugin locations. > As of > [docs/en/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/en/3.4.0/cordova] > folder contains only 3 sub-folders: > - events > - plugins > - storage > File > [docs/en/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/en/3.4.0/config.json] > was also stripped and contains only merge entries for events folder. > But in the translation files this change was not introduced. > See > [docs/ru/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/ru/3.4.0/cordova] > and > [docs/ru/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/ru/3.4.0/config.json] > Because of that we have additional content which is not linked from anywhere > and just take space. > Propose align translation with English docs > - remove not used files. > - Adjust config.json -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-8248) Translation contains unnecessary files
[ https://issues.apache.org/jira/browse/CB-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-8248. --- Resolution: Fixed > Translation contains unnecessary files > -- > > Key: CB-8248 > URL: https://issues.apache.org/jira/browse/CB-8248 > Project: Apache Cordova > Issue Type: Bug > Components: Docs, Translation >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > As of Cordova 3.4 plugin docs was moved to the separate plugin locations. > As of > [docs/en/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/en/3.4.0/cordova] > folder contains only 3 sub-folders: > - events > - plugins > - storage > File > [docs/en/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/en/3.4.0/config.json] > was also stripped and contains only merge entries for events folder. > But in the translation files this change was not introduced. > See > [docs/ru/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/ru/3.4.0/cordova] > and > [docs/ru/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/ru/3.4.0/config.json] > Because of that we have additional content which is not linked from anywhere > and just take space. > Propose align translation with English docs > - remove not used files. > - Adjust config.json -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8248) Translation contains unnecessary files
[ https://issues.apache.org/jira/browse/CB-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266559#comment-14266559 ] ASF subversion and git services commented on CB-8248: - Commit b837c23c5c339f91b527d3ebb1d99d67d29eba1c in cordova-docs's branch refs/heads/master from [~akurdyumov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=b837c23 ] CB-8248 Remove unused files in translations (closes #254) addresses: German, French, Italian, Spanish, Japanese, Korean, Chinese, Russian > Translation contains unnecessary files > -- > > Key: CB-8248 > URL: https://issues.apache.org/jira/browse/CB-8248 > Project: Apache Cordova > Issue Type: Bug > Components: Docs, Translation >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > As of Cordova 3.4 plugin docs was moved to the separate plugin locations. > As of > [docs/en/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/en/3.4.0/cordova] > folder contains only 3 sub-folders: > - events > - plugins > - storage > File > [docs/en/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/en/3.4.0/config.json] > was also stripped and contains only merge entries for events folder. > But in the translation files this change was not introduced. > See > [docs/ru/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/ru/3.4.0/cordova] > and > [docs/ru/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/ru/3.4.0/config.json] > Because of that we have additional content which is not linked from anywhere > and just take space. > Propose align translation with English docs > - remove not used files. > - Adjust config.json -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8246) Improve docs generation time
[ https://issues.apache.org/jira/browse/CB-8246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266553#comment-14266553 ] ASF GitHub Bot commented on CB-8246: Github user asfgit closed the pull request at: https://github.com/apache/cordova-docs/pull/253 > Improve docs generation time > > > Key: CB-8246 > URL: https://issues.apache.org/jira/browse/CB-8246 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > Current docs generation time could be improved if don't process images as > HTML files. > In AddTitle and TableOfContent steps processed all files, not only HTML files. > By removing check, generation process could be speed up by ~30%. On my PC > full generation time went down from 1584 sec to sec. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8246) Improve docs generation time
[ https://issues.apache.org/jira/browse/CB-8246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266552#comment-14266552 ] ASF subversion and git services commented on CB-8246: - Commit f804b924929dd1b885f72f86081be5b87eaa3191 in cordova-docs's branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=f804b92 ] CB-8246 Improve generation speed (closes #253) Don't process non-HTML files in the AddTitle and TableOfContent steps > Improve docs generation time > > > Key: CB-8246 > URL: https://issues.apache.org/jira/browse/CB-8246 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > Current docs generation time could be improved if don't process images as > HTML files. > In AddTitle and TableOfContent steps processed all files, not only HTML files. > By removing check, generation process could be speed up by ~30%. On my PC > full generation time went down from 1584 sec to sec. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8226) 'cordova platform add' should look into config.xml for correct engine element when no version is provided
[ https://issues.apache.org/jira/browse/CB-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266535#comment-14266535 ] ASF GitHub Bot commented on CB-8226: Github user agrieve commented on the pull request: https://github.com/apache/cordova-lib/pull/140#issuecomment-68910601 I agree that's some unnecessary complexity. Let's just drop supporting of file: prefix. > 'cordova platform add' should look into config.xml for correct engine element > when no version is provided > - > > Key: CB-8226 > URL: https://issues.apache.org/jira/browse/CB-8226 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: Master >Reporter: Omar Mefire > Original Estimate: 48h > Remaining Estimate: 48h > > When the 'cordova platform add' command is executed with no version specified > (e.g: user runs ‘cordova platform add android’ instead of ‘cordova platform > add android@3.6.4’), cordova-lib should look at the config.xml file for the > correct element and use its version. It should default to using the > pinned version if there is no corresponding element in the > config.xml file. > For example, if the user enters : 'cordova platform add android' and the > config.xml file contains this entry: version="file://C:/folder/to/android/platform" />, We should use the > specified folder's bin/create scripts to add the android platform, not the > default version. > The engine element in config.xml could be one of the following form : > 1- > 2- -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8183) Browserify generates bad cordova.js with multi-platform build
[ https://issues.apache.org/jira/browse/CB-8183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266532#comment-14266532 ] Darryl Pogue commented on CB-8183: -- I just tested this a bit more. It seems to work properly unless you add platforms with the --usegit flag. My exact steps: {code} cordova create browserifytest cd ./browserifytest cordova platform add android@4.0.x ios --usegit cordova build --browserify open ./platforms/ios/HelloCordova.xcodeproj {code} Build the Xcode Project and run in the simulator and I see prompts. > Browserify generates bad cordova.js with multi-platform build > - > > Key: CB-8183 > URL: https://issues.apache.org/jira/browse/CB-8183 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaJS, CordovaLib >Reporter: Darryl Pogue >Assignee: Steve Gill > > I was trying out the browserify flag today, and overall I love the idea. I > found one issue when building for multiple platforms: > {code} > cordova platform add ios android > cordova build --browserify > {code} > The Android build was fine, but the iOS build was throwing up prompt boxes. > My guess is that browserify generated a cordova.js for Android and then used > the same file for iOS, so the Android bridge/exec code was getting run on iOS > and failing. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8255) Android gradle builds should be configurable via gradle properties instead of custom environment variables
Andrew Grieve created CB-8255: - Summary: Android gradle builds should be configurable via gradle properties instead of custom environment variables Key: CB-8255 URL: https://issues.apache.org/jira/browse/CB-8255 Project: Apache Cordova Issue Type: Bug Components: Android Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor Gradle has excellent support for build properties, as explained here: http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html Our use of environment variables isn't great, mostly because in Java, environment variables are immutable, and so can't be changed via build-extras.gradle. There needs to be a way to make IDE builds use the same settings as command-line builds, and switching to use gradle properties is a good step towards this (which can be set via environment variables anyways!) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8226) 'cordova platform add' should look into config.xml for correct engine element when no version is provided
[ https://issues.apache.org/jira/browse/CB-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266525#comment-14266525 ] ASF GitHub Bot commented on CB-8226: Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/140#issuecomment-68909782 Using url.parse introduces additional complexity. Especially, Windows paths are not going to be handled properly: the drive letter gets omitted after parsing. This leads to more confusion for the user. Linux/Unix absolute paths would be handled appropriately, but Windows's wouldn't. I suggest we remove the file:// prefix and not make config.xml contain urls for folder paths. Take the following examples: 1- url.parse('file://D:/Cordova/cordova-lib') => { protocol: 'file:', slashes: true, auth: null, host: 'd', port: null, hostname: 'd', hash: null, search: null, query: null, pathname: '/Cordova/cordova-lib', path: '/Cordova/cordova-lib', href: 'file://d/Cordova/cordova-lib' } 2- url.parse('file://D:\Cordova\cordova-lib') => { protocol: 'file:', slashes: true, auth: null, host: 'd', port: null, hostname: 'd', hash: null, search: null, query: null, pathname: '/:Cordovacordova-lib', path: '/:Cordovacordova-lib', href: 'file://d/:Cordovacordova-lib' } 3- url.parse('file:///Cordova/cordova-lib') => { protocol: 'file:', slashes: true, auth: null, host: '', port: null, hostname: '', hash: null, search: null, query: null, pathname: '/Cordova/cordova-lib', path: '/Cordova/cordova-lib', href: 'file:///Cordova/cordova-lib' } So, my suggestion is to only support plain filesystem paths for folders in config.xml. What do you think ? > 'cordova platform add' should look into config.xml for correct engine element > when no version is provided > - > > Key: CB-8226 > URL: https://issues.apache.org/jira/browse/CB-8226 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Affects Versions: Master >Reporter: Omar Mefire > Original Estimate: 48h > Remaining Estimate: 48h > > When the 'cordova platform add' command is executed with no version specified > (e.g: user runs ‘cordova platform add android’ instead of ‘cordova platform > add android@3.6.4’), cordova-lib should look at the config.xml file for the > correct element and use its version. It should default to using the > pinned version if there is no corresponding element in the > config.xml file. > For example, if the user enters : 'cordova platform add android' and the > config.xml file contains this entry: version="file://C:/folder/to/android/platform" />, We should use the > specified folder's bin/create scripts to add the android platform, not the > default version. > The engine element in config.xml could be one of the following form : > 1- > 2- -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-8183) Browserify generates bad cordova.js with multi-platform build
[ https://issues.apache.org/jira/browse/CB-8183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-8183. Resolution: Cannot Reproduce > Browserify generates bad cordova.js with multi-platform build > - > > Key: CB-8183 > URL: https://issues.apache.org/jira/browse/CB-8183 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaJS, CordovaLib >Reporter: Darryl Pogue >Assignee: Steve Gill > > I was trying out the browserify flag today, and overall I love the idea. I > found one issue when building for multiple platforms: > {code} > cordova platform add ios android > cordova build --browserify > {code} > The Android build was fine, but the iOS build was throwing up prompt boxes. > My guess is that browserify generated a cordova.js for Android and then used > the same file for iOS, so the Android bridge/exec code was getting run on iOS > and failing. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-8240) mensage
[ https://issues.apache.org/jira/browse/CB-8240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Kinard resolved CB-8240. --- Resolution: Invalid There is no description and no metadata here, so I assume this issue was created on accident or by a robot. Please add description and reopen if I assumed wrong. > mensage > --- > > Key: CB-8240 > URL: https://issues.apache.org/jira/browse/CB-8240 > Project: Apache Cordova > Issue Type: Test >Reporter: Alessandro Coelho > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8244) android: Make plugin add --link create symlinks for source-file, lib-file, etc
[ https://issues.apache.org/jira/browse/CB-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266452#comment-14266452 ] Marcel Kinard commented on CB-8244: --- Add to cordova-cli/doc/plugin.txt and cordova-plugman/doc/help.txt and cordova-docs/docs/en/edge/guide/hybrid/plugins/index.md when this feature is added to more platforms? > android: Make plugin add --link create symlinks for source-file, lib-file, etc > -- > > Key: CB-8244 > URL: https://issues.apache.org/jira/browse/CB-8244 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib >Reporter: Andrew Grieve >Assignee: Andrew Grieve >Priority: Minor > > Both Android Studio and Gradle play nicely with symlinks. By symlinking the > actual files, you can edit .java files in the IDE and not need to copy them > back to the plugin source location! > Adding this feature just to Android right now, as that's all I'm testing with. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8254) Cordova build only uses xcconfig with --device flag (please also enable without)
[ https://issues.apache.org/jira/browse/CB-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geordie Jay updated CB-8254: Description: I have written a plugin in Swift that won't build with a deployment target < iOS 7.0. This breaks "cordova build ios": Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '6.0'). (** BUILD FAILED **) I know I can `cordova prepare ios` and manually add the changes to my xcode project, but as a plugin author this manual approach is unsatisfactory. Instead, I have added a hook to my plugin that adds the required options to build.xcconfig: "IPHONEOS_DEPLOYMENT_TARGET = 7.0" "SWIFT_OBJC_BRIDGING_HEADER = $SRCDIR/Bridging-Header.h" This allows the code to build with `cordova build ios --device` The problem is that `cordova build ios` alone doesn't pay any attention to the any of the three build.xcconfig files, because there is no -xcconfig option present for EMULATOR mode in the build script (see $PROJECT/platforms/ios/cordova/build). --- The solution: The ideal solution would be the option to provide custom build options to `cordova prepare ios` that get directly integrated into the Xcode project. But I gather Apple doesn't provide us the option to edit Xcode projects outside of Xcode (and 3rd party solutions are far from reliable). Which appears to leave us with two reasonable options: (1) Provide another Xcode project for Swift plugins. Back maybe this isn't so reasonable after all: it's inconsistent, has the issue of setting a Bridging Header without knowing where it is in advance. What happens when we add a swift plugin to an existing project. Does the existing Xcode project get deleted? (2) Add the same -xcconfig param to the EMULATOR section at the bottom of the `ios/cordova/build` file. This has the drawback of potentially confusing people when they open the Xcode project, but I think this is favourable to having the project not build at all from the command line. Is there any reason that (2) couldn't be implemented effectively immediately? was: I have written a plugin in Swift that won't build with a deployment target < iOS 7.0. This breaks "cordova build ios": Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '6.0'). ** BUILD FAILED ** I know I can `cordova prepare ios` and manually add the changes to my xcode project, but as a plugin author this manual approach is unsatisfactory. Instead, I have added a hook to my plugin that adds the required options to build.xcconfig: "IPHONEOS_DEPLOYMENT_TARGET = 7.0" "SWIFT_OBJC_BRIDGING_HEADER = $SRCDIR/Bridging-Header.h" This allows the code to build with `cordova build ios --device` The problem is that `cordova build ios` alone doesn't pay any attention to the any of the three build.xcconfig files, because there is no -xcconfig option present for EMULATOR mode in the build script (see $PROJECT/platforms/ios/cordova/build). --- The solution: The ideal solution would be the option to provide custom build options to `cordova prepare ios` that get directly integrated into the Xcode project. But I gather Apple doesn't provide us the option to edit Xcode projects outside of Xcode (and 3rd party solutions are far from reliable). Which appears to leave us with two reasonable options: (1) Provide another Xcode project for Swift plugins. Back maybe this isn't so reasonable after all: it's inconsistent, has the issue of setting a Bridging Header without knowing where it is in advance. What happens when we add a swift plugin to an existing project. Does the existing Xcode project get deleted? (2) Add the same -xcconfig param to the EMULATOR section at the bottom of the `ios/cordova/build` file. This has the drawback of potentially confusing people when they open the Xcode project, but I think this is favourable to having the project not build at all from the command line. Is there any reason that (2) couldn't be implemented effectively immediately? Summary: Cordova build only uses xcconfig with --device flag (please also enable without) (was: Cordova build only uses xcconfig when building for release) > Cordova build only uses xcconfig with --device flag (please also enable > without) > > > Key: CB-8254 > URL: https://issues.apache.org/jira/browse/CB-8254 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS >Affects Versions: 3.5.0, 4.1.3 > Environment: All (iOS) >Reporter: Geordie Jay > Labels: easyfix > Original Estimate: 2h > Remaining Estimate: 2h > > I have written a plugin in Swift that won't build with a deployment target < > iOS 7.0. This breaks "cordova b
[jira] [Created] (CB-8254) Cordova build only uses xcconfig when building for release
Geordie Jay created CB-8254: --- Summary: Cordova build only uses xcconfig when building for release Key: CB-8254 URL: https://issues.apache.org/jira/browse/CB-8254 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: 3.5.0, 4.1.3 Environment: All (iOS) Reporter: Geordie Jay I have written a plugin in Swift that won't build with a deployment target < iOS 7.0. This breaks "cordova build ios": Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '6.0'). ** BUILD FAILED ** I know I can `cordova prepare ios` and manually add the changes to my xcode project, but as a plugin author this manual approach is unsatisfactory. Instead, I have added a hook to my plugin that adds the required options to build.xcconfig: "IPHONEOS_DEPLOYMENT_TARGET = 7.0" "SWIFT_OBJC_BRIDGING_HEADER = $SRCDIR/Bridging-Header.h" This allows the code to build with `cordova build ios --device` The problem is that `cordova build ios` alone doesn't pay any attention to the any of the three build.xcconfig files, because there is no -xcconfig option present for EMULATOR mode in the build script (see $PROJECT/platforms/ios/cordova/build). --- The solution: The ideal solution would be the option to provide custom build options to `cordova prepare ios` that get directly integrated into the Xcode project. But I gather Apple doesn't provide us the option to edit Xcode projects outside of Xcode (and 3rd party solutions are far from reliable). Which appears to leave us with two reasonable options: (1) Provide another Xcode project for Swift plugins. Back maybe this isn't so reasonable after all: it's inconsistent, has the issue of setting a Bridging Header without knowing where it is in advance. What happens when we add a swift plugin to an existing project. Does the existing Xcode project get deleted? (2) Add the same -xcconfig param to the EMULATOR section at the bottom of the `ios/cordova/build` file. This has the drawback of potentially confusing people when they open the Xcode project, but I think this is favourable to having the project not build at all from the command line. Is there any reason that (2) couldn't be implemented effectively immediately? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8253) Fix potential unreleased resources
[ https://issues.apache.org/jira/browse/CB-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266341#comment-14266341 ] Alan Kinzie commented on CB-8253: - I am intending to work on this issue, but I guess someone else needs to assign it to me. > Fix potential unreleased resources > -- > > Key: CB-8253 > URL: https://issues.apache.org/jira/browse/CB-8253 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Camera >Reporter: Alan Kinzie > > There are several places in the Camera plugin where streams are not closed in > a finally block allowing for the possibility they will never be closed if an > exception occurs at the wrong place. > Although this doesn't affect functionality as far as I can tell (if enough > resources streams are not closed properly maybe it could affect performance), > it does show up as an issue in static code analysis tools (such as Fortify). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8253) Fix potential unreleased resources
Alan Kinzie created CB-8253: --- Summary: Fix potential unreleased resources Key: CB-8253 URL: https://issues.apache.org/jira/browse/CB-8253 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin Camera Reporter: Alan Kinzie There are several places in the Camera plugin where streams are not closed in a finally block allowing for the possibility they will never be closed if an exception occurs at the wrong place. Although this doesn't affect functionality as far as I can tell (if enough resources streams are not closed properly maybe it could affect performance), it does show up as an issue in static code analysis tools (such as Fortify). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8252) Prep core plugins for CSP by removing eval()s
Jason Chase created CB-8252: --- Summary: Prep core plugins for CSP by removing eval()s Key: CB-8252 URL: https://issues.apache.org/jira/browse/CB-8252 Project: Apache Cordova Issue Type: Improvement Components: Plugins Affects Versions: Master Reporter: Jason Chase Assignee: Jason Chase In preparation for CSP, remove any native code in the core plugins that is using inline javascript/eval()s. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eser Esen resolved CB-8148. --- Resolution: Fixed Solved! Problem was, my script tags had parameters like ?v=1.2.3, to assure its not caching this file. Removing parameters from script tag solved my problem > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266076#comment-14266076 ] Eser Esen edited comment on CB-8148 at 1/6/15 1:19 PM: --- i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } was (Author: eesen): i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266076#comment-14266076 ] Eser Esen edited comment on CB-8148 at 1/6/15 1:18 PM: --- i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){ cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception /*ex*/) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } was (Author: eesen): i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){ cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception /*ex*/) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266076#comment-14266076 ] Eser Esen edited comment on CB-8148 at 1/6/15 1:19 PM: --- i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } was (Author: eesen): i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){ cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception /*ex*/) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266076#comment-14266076 ] Eser Esen commented on CB-8148: --- i guess this isolated exception happens only on emulators, but im not sure. im getting SystemException as follows: A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll Additional information: An unknown error has occurred. Error: 80020101 I get no deviceReady event because of this. When i break on this exception, it highlights the following code from CordovaView.xaml.cs: string nativeReady = "(function(){ cordova.require('cordova/channel').onNativeReady.fire()})();"; try { CordovaBrowser.InvokeScript("eval", new string[] { nativeReady }); } catch (Exception /*ex*/) { Debug.WriteLine("Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?"); } > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8148) No deviceReady on WP8 in Emulator because of SystemException
[ https://issues.apache.org/jira/browse/CB-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eser Esen updated CB-8148: -- Summary: No deviceReady on WP8 in Emulator because of SystemException (was: No deviceReady on WP8 in Emulator because of IsolatedStorageException) > No deviceReady on WP8 in Emulator because of SystemException > > > Key: CB-8148 > URL: https://issues.apache.org/jira/browse/CB-8148 > Project: Apache Cordova > Issue Type: Bug > Components: WP8 >Affects Versions: 4.0.0 > Environment: VisualStudioExpress2013, Windows 8.1 Enterprise >Reporter: Eser Esen >Assignee: Jesse MacFadyen >Priority: Critical > Labels: wp8 > > I successfully created and added wp8 project using cordova CLI. > Running the app also works, it shows the HTML from my index.html file but > then ends up with following below in console. > On my index.html im trying to setup filesystem opening the > cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens > only within deviceReady function, which is never called, because i put a > console.log there and i dont see any of my logs in the output window in > Visual Studio Express 2013. Whats wrong here? > --- > Adding feature.value=Device > Adding feature.value=DebugConsole > Adding feature.value=File > Adding feature.value=FileTransfer > Adding feature.value=Globalization > Adding feature.value=InAppBrowser > 'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded > 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built > without symbols. > A first chance exception of type > 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in > mscorlib.ni.dll > Updating IsolatedStorage for APP:DeviceID :: > 6eb37ee1-d188-40ff-afb0-78504f5158b4 > CordovaBrowser_LoadCompleted > Apache Cordova native platform version 3.7.0 is starting > A first chance exception of type 'System.SystemException' occurred in > Microsoft.Phone.Interop.ni.dll > Error calling js to fire nativeReady event. Did you include cordova.js in > your html script tag? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-7946) Resume event not fired after redirecting back from Phone app
[ https://issues.apache.org/jira/browse/CB-7946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Bell closed CB-7946. Resolution: Not a Problem > Resume event not fired after redirecting back from Phone app > > > Key: CB-7946 > URL: https://issues.apache.org/jira/browse/CB-7946 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.6.3 > Environment: iPhone 5S iOS 8 >Reporter: Tom Bell > > We used to get the "Resume" event firing after redirecting back from the > phone app using `telprompt:` scheme. > The event is no longer firing when redirecting back now. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8248) Translation contains unnecessary files
[ https://issues.apache.org/jira/browse/CB-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266037#comment-14266037 ] ASF GitHub Bot commented on CB-8248: GitHub user kant2002 opened a pull request: https://github.com/apache/cordova-docs/pull/254 CB-8248 Translation contains unnecessary files Remove translation files which was left when moving plugin documentation to plugin repos You can merge this pull request into a Git repository by running: $ git pull https://github.com/kant2002/cordova-docs CB-8248 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-docs/pull/254.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #254 commit cca78ce48009c87fa9bc836b0630f9282fefac3e Author: Andrey Kurdyumov Date: 2015-01-05T22:13:06Z Merge pull request #1 from apache/master Merge with upstream commit 0d8a50448032b6ddf90697117e61ff104c4709ed Author: Andrey Kurdyumov Date: 2015-01-06T12:21:07Z Remove not used files in German translation commit e12ae4a7001d57f550e6277f7a0aaac8cbb60067 Author: Andrey Kurdyumov Date: 2015-01-06T12:21:55Z Remove not used files in French translation commit 5a84e292f1214e3da249d39e68dda8e713767426 Author: Andrey Kurdyumov Date: 2015-01-06T12:22:16Z Remove not used files in Italian translation commit eb6a75b866a5569af7d8c7a97f76145ad2c09315 Author: Andrey Kurdyumov Date: 2015-01-06T12:22:50Z Remove not used files in Spanish translation commit 567d963e624a0947f24b361bb00fdcfdf1a50ddb Author: Andrey Kurdyumov Date: 2015-01-06T12:23:18Z Remove not used files in Japanese translation commit 7221bb60a1050b8f1cba0df4c2b3aa0ad8743c48 Author: Andrey Kurdyumov Date: 2015-01-06T12:24:13Z Remove not used files in Korean translation commit 604a4cc2dde9b7bec54755c05a821a14bb3dd407 Author: Andrey Kurdyumov Date: 2015-01-06T12:24:29Z Remove not used files in Chinese translation commit 991566d93ceb29287e8874f2912ba8da97e4e488 Author: Andrey Kurdyumov Date: 2015-01-06T12:24:43Z Remove not used files in Russian translation > Translation contains unnecessary files > -- > > Key: CB-8248 > URL: https://issues.apache.org/jira/browse/CB-8248 > Project: Apache Cordova > Issue Type: Bug > Components: Docs, Translation >Reporter: Andrey Kurdyumov >Assignee: Andrey Kurdyumov > > As of Cordova 3.4 plugin docs was moved to the separate plugin locations. > As of > [docs/en/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/en/3.4.0/cordova] > folder contains only 3 sub-folders: > - events > - plugins > - storage > File > [docs/en/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/en/3.4.0/config.json] > was also stripped and contains only merge entries for events folder. > But in the translation files this change was not introduced. > See > [docs/ru/3.4.0/cordova|https://github.com/apache/cordova-docs/tree/master/docs/ru/3.4.0/cordova] > and > [docs/ru/3.4.0/config.json|https://github.com/apache/cordova-docs/blob/master/docs/ru/3.4.0/config.json] > Because of that we have additional content which is not linked from anywhere > and just take space. > Propose align translation with English docs > - remove not used files. > - Adjust config.json -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8251) InAppBrowser open/close popup window
Lars Carlsson created CB-8251: - Summary: InAppBrowser open/close popup window Key: CB-8251 URL: https://issues.apache.org/jira/browse/CB-8251 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.5.0 Environment: Android Reporter: Lars Carlsson I can't get the Dropbox chooser to work with Cordova on android i get "unable to close window" i don't know if its window.open or window.close that aren't working correctly. if you run this code you would get https://www.dropbox.com/s/l6m7ve3e68428mt/Screenshot_2015-01-04-09-37-28.png?dl=0 onDeviceReady: function() { app.receivedEvent('deviceready'); var ref = window.open("https://www.dropbox.com/developers/dropins/chooser/js";, '_blank', 'location=yes'); The webview have settings.setJavaScriptCanOpenWindowsAutomatically(true); there is a setting called setSupportMultipleWindows that is not enabled in the code don't know if that could help Are there any good worke around for this really need the dropbox chooser in the app. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8250) special characters in config.xml
[ https://issues.apache.org/jira/browse/CB-8250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Durens updated CB-8250: -- Description: In the config.xml, when you have an app name containing a special character (in my case a single quote, or an apostropher) it has to be escaped to work on android, but it shouldn't on iOS. So I had to change the name of the app according to the platform I was trying to build: My app isn\'t that bad on android and My app isn't that bad on ios this kind of job shoud be done by the cordova platform add command was: In the config.xml, when you have an app name containing a special character (in my case a single quote, or an apostropher) it has to be escape to work on android, but it shouldn't on iOS. So I had to change the name of the app according to the platform I was trying to build: My app isn\'t that bad on android and My app isn't that bad on ios this kind of job shoud be done by the cordova platform add command > special characters in config.xml > > > Key: CB-8250 > URL: https://issues.apache.org/jira/browse/CB-8250 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 3.5.0 > Environment: Mac OSX Android iOS >Reporter: Julien Durens > > In the config.xml, when you have an app name containing a special character > (in my case a single quote, or an apostropher) it has to be escaped to work > on android, but it shouldn't on iOS. So I had to change the name of the app > according to the platform I was trying to build: > My app isn\'t that bad on android > and > My app isn't that bad on ios > this kind of job shoud be done by the cordova platform add command -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-8250) special characters in config.xml
Julien Durens created CB-8250: - Summary: special characters in config.xml Key: CB-8250 URL: https://issues.apache.org/jira/browse/CB-8250 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.5.0 Environment: Mac OSX Android iOS Reporter: Julien Durens In the config.xml, when you have an app name containing a special character (in my case a single quote, or an apostropher) it has to be escape to work on android, but it shouldn't on iOS. So I had to change the name of the app according to the platform I was trying to build: My app isn\'t that bad on android and My app isn't that bad on ios this kind of job shoud be done by the cordova platform add command -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-4946) Function comments of ContactOrganization in ContactOrganization.js are out of date.
[ https://issues.apache.org/jira/browse/CB-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265862#comment-14265862 ] ASF GitHub Bot commented on CB-4946: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-contacts/pull/53 > Function comments of ContactOrganization in ContactOrganization.js are out of > date. > --- > > Key: CB-4946 > URL: https://issues.apache.org/jira/browse/CB-4946 > Project: Apache Cordova > Issue Type: Task > Components: Plugin Contacts >Affects Versions: 3.0.0 > Environment: Android, Windows 7 >Reporter: Venkata Kiran >Priority: Trivial > > The function comments of ContactOrganization in ContactOrganization.js shows > the following acceptable parameters. > * @param {DOMString} id unique identifier, should only be set by native code > // NOTE: not a W3C standard > * @param name > * @param dept > * @param title > * @param startDate > * @param endDate > * @param location > * @param desc > But startDate, endDate and location are not any longer passed into this > function. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org