[jira] [Commented] (CB-6527) backbutton issues with winphone

2014-05-01 Thread Colin Bau (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986524#comment-13986524
 ] 

Colin Bau commented on CB-6527:
---

well~
unclear ? or ?
give me a favor,Jesse ?

 backbutton issues with winphone
 -

 Key: CB-6527
 URL: https://issues.apache.org/jira/browse/CB-6527
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.3.0, 3.4.0
 Environment: PGB 3.3 or 3.4
 WP8
Reporter: Colin Bau
Assignee: Jesse MacFadyen
   Original Estimate: 12h
  Remaining Estimate: 12h

 hi~
 I really found a backbutton issues with winphone
 the original post and detail Explanation is all under here
 https://github.com/phonegap/build/issues/294
 document.addEventListener(backbutton, onBackKeyDown, false); 
 function onBackKeyDown() { alert('ok'); } 
 so,any help~?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6528) navigator.notification.alert seem have a many words issue

2014-05-01 Thread Colin Bau (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986525#comment-13986525
 ] 

Colin Bau commented on CB-6528:
---

well~
unclear ? or ?
give me a favor,Jesse ?

 navigator.notification.alert seem have a many words issue
 -

 Key: CB-6528
 URL: https://issues.apache.org/jira/browse/CB-6528
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.3.0, 3.4.0
 Environment: PGB 3.3 or 3.4
 WP8
Reporter: Colin Bau
Assignee: Jesse MacFadyen
   Original Estimate: 12h
  Remaining Estimate: 12h

 when I use navigator.notification.alert or navigator.notification.confirm 
 with many words and Beyond the screen height
 navigator.notification.alert(many words..., null, 'title', 'ok');
 navigator.notification.confirm(many words..., null, 'title', 'ok,cancel');
 it can Slide up and down with Android and iOS
 but Winphone can't (maybe Windows phone 8 system have no this feature by 
 Originally ? or other reason ?) 
 http://www.littlebau.com/win/alert.png 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-677) Docs/Getting Started Guides

2014-05-01 Thread Mike Billau (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986549#comment-13986549
 ] 

Mike Billau commented on CB-677:


Ray has started working on this here: 
https://docs.google.com/document/d/1uJ5qXqQxK2oh1eZPgMdYuhK2rQTB7QMHXUHbkcomWgk/edit#

Looking awesome so far, thanks Ray!

 Docs/Getting Started Guides
 ---

 Key: CB-677
 URL: https://issues.apache.org/jira/browse/CB-677
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Affects Versions: Master
Reporter: Andrew Trice
Assignee: Michael Brooks
Priority: Minor
 Fix For: Master


 I have gotten a lot of feedback from Adobe customers and developers at 
 conferences on this... In general, the getting started guides are great at 
 getting people's environments configured, but many end up wondering what do 
 I do next.  It would be great to have docs/guidance on next steps, 
 including strategies to make your apps feel more like apps and less like 
 the web, performance optimizations, and possibly case studies on how 
 showcase apps were created.  This JIRA issue is intended for tracking 
 purposes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6583) Cannot create directory with space in it on iOS

2014-05-01 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-6583:
-

 Summary: Cannot create directory with space in it on iOS
 Key: CB-6583
 URL: https://issues.apache.org/jira/browse/CB-6583
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor


Fix forthcoming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6583) Cannot create directory with space in it on iOS

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986610#comment-13986610
 ] 

ASF subversion and git services commented on CB-6583:
-

Commit c351554a8c6c02189e2ae35d422fa756d1b281f4 in cordova-mobile-spec's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=c351554 ]

CB-6583 Add file tests that have spaces in paths


 Cannot create directory with space in it on iOS
 ---

 Key: CB-6583
 URL: https://issues.apache.org/jira/browse/CB-6583
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Fix forthcoming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6583) Cannot create directory with space in it on iOS

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986608#comment-13986608
 ] 

ASF subversion and git services commented on CB-6583:
-

Commit 6de11c05c50fd36710b6468639f63dd739576576 in cordova-plugin-file's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=6de11c0 ]

CB-6583 ios: Fix failing to create entry when space in parent path


 Cannot create directory with space in it on iOS
 ---

 Key: CB-6583
 URL: https://issues.apache.org/jira/browse/CB-6583
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Fix forthcoming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6583) Cannot create directory with space in it on iOS

2014-05-01 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-6583.
---

Resolution: Fixed

Fixed in 1.1.1-dev

 Cannot create directory with space in it on iOS
 ---

 Key: CB-6583
 URL: https://issues.apache.org/jira/browse/CB-6583
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Fix forthcoming.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

--
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
--
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 --
 Following page has elements which should be locked and existing translation 
 should be removed: 
 https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
 --
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project, Deploy to Emulator)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

--
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
--
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 -
 Following page has elements which should be locked and existing translation 
 should be removed: 
 https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
 -
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project, Deploy to Emulator)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6584) Support Disabling the Shake to Undo iOS feature as a config.xml value.

2014-05-01 Thread Brian Ritter (JIRA)
Brian Ritter created CB-6584:


 Summary: Support Disabling the Shake to Undo iOS feature as a 
config.xml value.
 Key: CB-6584
 URL: https://issues.apache.org/jira/browse/CB-6584
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS
 Environment: iOS
Reporter: Brian Ritter


There should be a way to disable Shake to Undo on iOS.

Currently you can disable it but you need to edit the MainViewController.m 
file.  The fix is actually really easy. One line of code to insert.  Here's teh 
fix:

http://stackoverflow.com/questions/3811554/how-to-disable-shake-to-undo-in-iphone-application-written-with-phonegap

I think this could become a configuration value and simply default it to NO.  I 
think the majority of apps don't want this functionality.  You don't see this 
is most native apps.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
https://crowdin.net/translate/cordova/35/en-ru (Create app)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 -
 Following page has elements which should be locked and existing translation 
 should be removed: 
 https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/35/en-ru (Create app)
 -
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project, Deploy to Emulator)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6481) adds plugin level hooks support

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986705#comment-13986705
 ] 

ASF GitHub Bot commented on CB-6481:


Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-plugman/pull/74#discussion_r12193116
  
--- Diff: src/util/hooks.js ---
@@ -0,0 +1,124 @@
+/*
+ * Copyright (c) Microsoft Open Technologies, Inc.  
--- End diff --

Don't think it should say this.


 adds plugin level hooks support
 ---

 Key: CB-6481
 URL: https://issues.apache.org/jira/browse/CB-6481
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI, Plugman
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 As per Proposal: hooks support for plugins dev mail thread discussion
 Hi, I have an idea how we can add more flexibility to plugin developers.
 Note, right now we have Application Developers – someone who use Cordova for 
 developing applications and Plugin Developers – someone who creates plugins 
 so that Application Developers can use them. For Application Developers we 
 expose  hooks so that they can customize their build/package/etc process. I 
 want us to provide similar sort of flexibility to Plugin Developers so that 
 they can go beyond of source/, framework/  tags and get mechanism to add 
 custom installation,  build logic required by a plugin. Example usage will 
 include: downloading/compiling additional binaries, marking source file to be 
 copied to output dir, changing target build platform,  etc. At present time 
 the steps described could be only achieved by hooks manually added by 
 Application Developer, but the right way is to allow Plugin Developer to 
 expose this as part of plugin definition.
 Example configuration could look like
 ```
 script type=postinstall src=scripts/postinstall.js /
 script type=preinstall src=scripts/preinstall.js /
 script type=install src=scripts/install.js /
 ```
 beforeinstall/preinstall – run before plugin is installed
 install/postinstall/afterinstall – run after plugin is installed
 uninstall – run after plugin is uninstalled



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6481) adds plugin level hooks support

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986707#comment-13986707
 ] 

ASF GitHub Bot commented on CB-6481:


Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-plugman/pull/74#discussion_r12193146
  
--- Diff: src/util/hooks.js ---
@@ -0,0 +1,124 @@
+/*
+ * Copyright (c) Microsoft Open Technologies, Inc.  
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+var path = require('path'),
+fs   = require('fs'),
+child_process = require('child_process'),
+Q = require('q'),
+events = require('../events'),
+os = require('os'),
+isWindows = (os.platform().substr(0,3) === 'win');
+
+/**
+ * Implements functionality to run plugin level hooks. 
+ * Hooks are defined in plugin config file as script elements.
+ */
+module.exports = {
+/**
+ * Fires specific plugin hook: 'preinstall', 'afterinstall', 
'uninstall', etc.
+ * Async. Returns promise.
+ */
+fire : function(type, plugin_id, pluginElement, platform, project_dir, 
plugin_dir) {
+// args check
+if (!type) {
+throw Error('hook type is not specified');
+}
+
+events.emit('debug', 'Executing ' + type + '  hook for ' + 
plugin_id + ' on ' + platform + '.');
+
+var scriptTypes = getScriptTypesForHook(type);
+if (scriptTypes == null) {
+throw Error('unknown plugin hook type: ' + type + '' );
+}
+
+var scriptFilesToRun = getScriptFiles(pluginElement, scriptTypes, 
platform);
+context = {
--- End diff --

Missing var. This is the main reason I think using commas  multi-line 
var statements is a bad idea.


 adds plugin level hooks support
 ---

 Key: CB-6481
 URL: https://issues.apache.org/jira/browse/CB-6481
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI, Plugman
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 As per Proposal: hooks support for plugins dev mail thread discussion
 Hi, I have an idea how we can add more flexibility to plugin developers.
 Note, right now we have Application Developers – someone who use Cordova for 
 developing applications and Plugin Developers – someone who creates plugins 
 so that Application Developers can use them. For Application Developers we 
 expose  hooks so that they can customize their build/package/etc process. I 
 want us to provide similar sort of flexibility to Plugin Developers so that 
 they can go beyond of source/, framework/  tags and get mechanism to add 
 custom installation,  build logic required by a plugin. Example usage will 
 include: downloading/compiling additional binaries, marking source file to be 
 copied to output dir, changing target build platform,  etc. At present time 
 the steps described could be only achieved by hooks manually added by 
 Application Developer, but the right way is to allow Plugin Developer to 
 expose this as part of plugin definition.
 Example configuration could look like
 ```
 script type=postinstall src=scripts/postinstall.js /
 script type=preinstall src=scripts/preinstall.js /
 script type=install src=scripts/install.js /
 ```
 beforeinstall/preinstall – run before plugin is installed
 install/postinstall/afterinstall – run after plugin is installed
 uninstall – run after plugin is uninstalled



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6481) adds plugin level hooks support

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986708#comment-13986708
 ] 

ASF GitHub Bot commented on CB-6481:


Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-plugman/pull/74#discussion_r12193181
  
--- Diff: src/util/hooks.js ---
@@ -0,0 +1,124 @@
+/*
+ * Copyright (c) Microsoft Open Technologies, Inc.  
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+var path = require('path'),
+fs   = require('fs'),
+child_process = require('child_process'),
+Q = require('q'),
+events = require('../events'),
+os = require('os'),
+isWindows = (os.platform().substr(0,3) === 'win');
+
+/**
+ * Implements functionality to run plugin level hooks. 
+ * Hooks are defined in plugin config file as script elements.
+ */
+module.exports = {
+/**
+ * Fires specific plugin hook: 'preinstall', 'afterinstall', 
'uninstall', etc.
+ * Async. Returns promise.
+ */
+fire : function(type, plugin_id, pluginElement, platform, project_dir, 
plugin_dir) {
+// args check
+if (!type) {
+throw Error('hook type is not specified');
+}
+
+events.emit('debug', 'Executing ' + type + '  hook for ' + 
plugin_id + ' on ' + platform + '.');
+
+var scriptTypes = getScriptTypesForHook(type);
+if (scriptTypes == null) {
+throw Error('unknown plugin hook type: ' + type + '' );
+}
+
+var scriptFilesToRun = getScriptFiles(pluginElement, scriptTypes, 
platform);
+context = {
+platform: platform,
+projectDir: project_dir,
+pluginDir: plugin_dir,
+cmdLine: process.argv.join(' '),
+pluginId: plugin_id
+};
+
+return runScripts(scriptFilesToRun, context);
+}
+};
+
+/**
+ * Returns all script types represented corresponding hook event.
+ * Allows to use multiple script types for the same hook event (usage 
simplicity),
+ * For example: 
+ * script type='install' .. / or script type='postinstall' .. / could 
be used 
+ * to define 'afterinstall' hook.
+ */
+function getScriptTypesForHook(hookType) {
+var knownTypes = {
+beforeinstall: ['beforeinstall', 'preinstall'],
+afterinstall: ['install', 'afterinstall', 'postinstall'],
+uninstall: ['uninstall']
+}
+
+ return knownTypes[hookType.toLowerCase()];
+}
+
+/**
+ * Gets all scripts from the plugin xml with the specified types.
+ */
+function getScriptFiles(pluginElement, scriptTypes, platform) {
+var scriptFiles= [],
+scriptElements =  pluginElement.findall('./script').concat(
+pluginElement.findall('./platform[@name=' + platform + 
']/script'));
+
+var pendingScripts = [];
+
+scriptElements.forEach(function(script){
+if (script.attrib.type  
scriptTypes.indexOf(script.attrib.type.toLowerCase())  -1  
script.attrib.src) {
+scriptFiles.push(script.attrib.src);
+}
+});
+return scriptFiles;
+}
+
+/**
+ * Async runs the script files.
+ */
+function runScripts(scripts, context) {
+var pendingScripts = [];
+
+scripts.forEach(function(script){
+pendingScripts.push(runScriptFile(script, context));
--- End diff --

This runs all scripts at the same time. Probably want to run them serially.


 adds plugin level hooks support
 ---

 Key: CB-6481
 URL: https://issues.apache.org/jira/browse/CB-6481
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI, Plugman
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 As per Proposal: hooks support for plugins dev mail thread discussion
 Hi, I have an idea how we can add more flexibility to plugin developers.
 Note, right now we have Application Developers – 

[jira] [Commented] (CB-6481) adds plugin level hooks support

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986710#comment-13986710
 ] 

ASF GitHub Bot commented on CB-6481:


Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-plugman/pull/74#discussion_r12193231
  
--- Diff: src/util/hooks.js ---
@@ -0,0 +1,124 @@
+/*
+ * Copyright (c) Microsoft Open Technologies, Inc.  
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+var path = require('path'),
+fs   = require('fs'),
+child_process = require('child_process'),
+Q = require('q'),
+events = require('../events'),
+os = require('os'),
+isWindows = (os.platform().substr(0,3) === 'win');
+
+/**
+ * Implements functionality to run plugin level hooks. 
+ * Hooks are defined in plugin config file as script elements.
+ */
+module.exports = {
+/**
+ * Fires specific plugin hook: 'preinstall', 'afterinstall', 
'uninstall', etc.
+ * Async. Returns promise.
+ */
+fire : function(type, plugin_id, pluginElement, platform, project_dir, 
plugin_dir) {
+// args check
+if (!type) {
+throw Error('hook type is not specified');
+}
+
+events.emit('debug', 'Executing ' + type + '  hook for ' + 
plugin_id + ' on ' + platform + '.');
+
+var scriptTypes = getScriptTypesForHook(type);
+if (scriptTypes == null) {
+throw Error('unknown plugin hook type: ' + type + '' );
+}
+
+var scriptFilesToRun = getScriptFiles(pluginElement, scriptTypes, 
platform);
+context = {
+platform: platform,
+projectDir: project_dir,
+pluginDir: plugin_dir,
+cmdLine: process.argv.join(' '),
+pluginId: plugin_id
+};
+
+return runScripts(scriptFilesToRun, context);
+}
+};
+
+/**
+ * Returns all script types represented corresponding hook event.
+ * Allows to use multiple script types for the same hook event (usage 
simplicity),
+ * For example: 
+ * script type='install' .. / or script type='postinstall' .. / could 
be used 
+ * to define 'afterinstall' hook.
+ */
+function getScriptTypesForHook(hookType) {
+var knownTypes = {
+beforeinstall: ['beforeinstall', 'preinstall'],
+afterinstall: ['install', 'afterinstall', 'postinstall'],
+uninstall: ['uninstall']
+}
+
+ return knownTypes[hookType.toLowerCase()];
+}
+
+/**
+ * Gets all scripts from the plugin xml with the specified types.
+ */
+function getScriptFiles(pluginElement, scriptTypes, platform) {
+var scriptFiles= [],
+scriptElements =  pluginElement.findall('./script').concat(
+pluginElement.findall('./platform[@name=' + platform + 
']/script'));
+
+var pendingScripts = [];
+
+scriptElements.forEach(function(script){
+if (script.attrib.type  
scriptTypes.indexOf(script.attrib.type.toLowerCase())  -1  
script.attrib.src) {
+scriptFiles.push(script.attrib.src);
+}
+});
+return scriptFiles;
+}
+
+/**
+ * Async runs the script files.
+ */
+function runScripts(scripts, context) {
+var pendingScripts = [];
+
+scripts.forEach(function(script){
+pendingScripts.push(runScriptFile(script, context));
+});
+
+return Q.all(pendingScripts);
+};
+
+/**
+ * Async runs single script file.
+ */
+function runScriptFile(scriptPath, context) {
+
+scriptPath = path.join(context.pluginDir, scriptPath);
+
+if(!fs.existsSync(scriptPath)) {
+events.emit('warn', Script file does't exist and will be skipped: 
 + scriptPath);
+return Q();
+}
+var scriptFn = require(scriptPath);
+
+// if hook is async it can return promise instance and we will handle 
it
+return Q(new scriptFn(context));
--- End diff --

why new it?


 

[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
https://crowdin.net/translate/cordova/35/en-ru (Create app)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)
https://crowdin.net/translate/cordova/3839/en-ru (Update to 3.2.0 from 3.1.0)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
https://crowdin.net/translate/cordova/35/en-ru (Create app)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 -
 Following page has elements which should be locked and existing translation 
 should be removed: 
 https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/35/en-ru (Create app)
 -
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project, Deploy to Emulator)
 https://crowdin.net/translate/cordova/3839/en-ru (Update to 3.2.0 from 3.1.0)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6464) [Russian] Elements which should not be translated are translated and locked

2014-05-01 Thread Andrey Kurdyumov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kurdyumov updated CB-6464:
-

Description: 
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
https://crowdin.net/translate/cordova/35/en-ru (Create app)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)
https://crowdin.net/translate/cordova/3839/en-ru (Apache License header, Update 
to 3.2.0 from 3.1.0)

  was:
Elements which should not be translated are locked now, but their translation 
is incorrect.

Here the pages where I discover following issue:
https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
https://crowdin.net/translate/cordova/122/en-ru (Resume header)
https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, example 
of adding tools to PATH)
https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)

-
Following page has elements which should be locked and existing translation 
should be removed: 
https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
https://crowdin.net/translate/cordova/35/en-ru (Create app)
-
Following page has elements which should be locked: 
https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
SDK, Create a Project, Deploy to Emulator)
https://crowdin.net/translate/cordova/3839/en-ru (Update to 3.2.0 from 3.1.0)


 [Russian] Elements which should not be translated are translated and locked
 ---

 Key: CB-6464
 URL: https://issues.apache.org/jira/browse/CB-6464
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Andrey Kurdyumov

 Elements which should not be translated are locked now, but their translation 
 is incorrect.
 Here the pages where I discover following issue:
 https://crowdin.net/translate/cordova/117/en-ru (under Event Types section)
 https://crowdin.net/translate/cordova/122/en-ru (Resume header)
 https://crowdin.net/translate/cordova/28/en-ru (Path to Android SDK)
 https://crowdin.net/translate/cordova/3689/en-ru (Android SDK section, 
 example of adding tools to PATH)
 https://crowdin.net/translate/cordova/23/en-ru (Plugin Class Mappings section)
 https://crowdin.net/translate/cordova/3837/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/3838/en-ru (Apache License header)
 -
 Following page has elements which should be locked and existing translation 
 should be removed: 
 https://crowdin.net/translate/cordova/3687/en-ru (Apache License header)
 https://crowdin.net/translate/cordova/35/en-ru (Create app)
 -
 Following page has elements which should be locked: 
 https://crowdin.net/translate/cordova/36/en-ru (Install the BlackBerry Native 
 SDK, Create a Project, Deploy to Emulator)
 https://crowdin.net/translate/cordova/3839/en-ru (Apache License header, 
 Update to 3.2.0 from 3.1.0)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5416) Need to auto generate manifest.webapp with appropriate plugin permissions

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986813#comment-13986813
 ] 

ASF GitHub Bot commented on CB-5416:


Github user rodms10 commented on the pull request:

https://github.com/apache/cordova-cli/pull/168#issuecomment-41935687
  
Merged, commits b4febd7c102fcfcb30774d894bab824de9e0bfd3  
b454946c26454e74b047d5352c2d490ae3232d54 and 
5835a02e877b0b78a30fd0edc989c4b7d93afdd5.


 Need to auto generate manifest.webapp with appropriate plugin permissions
 -

 Key: CB-5416
 URL: https://issues.apache.org/jira/browse/CB-5416
 Project: Apache Cordova
  Issue Type: Task
  Components: CLI, FirefoxOS
Affects Versions: 3.2.0
Reporter: Herm Wong
Assignee: Herm Wong

 When FxOS apps are built, the CLI needs to determine which plugins are used 
 and also generate the correct permissions in the manifest.webapp file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5416) Need to auto generate manifest.webapp with appropriate plugin permissions

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986814#comment-13986814
 ] 

ASF GitHub Bot commented on CB-5416:


Github user rodms10 closed the pull request at:

https://github.com/apache/cordova-cli/pull/168


 Need to auto generate manifest.webapp with appropriate plugin permissions
 -

 Key: CB-5416
 URL: https://issues.apache.org/jira/browse/CB-5416
 Project: Apache Cordova
  Issue Type: Task
  Components: CLI, FirefoxOS
Affects Versions: 3.2.0
Reporter: Herm Wong
Assignee: Herm Wong

 When FxOS apps are built, the CLI needs to determine which plugins are used 
 and also generate the correct permissions in the manifest.webapp file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6578) Fix CordovaLibTests not building

2014-05-01 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-6578.
--

Resolution: Fixed

 Fix CordovaLibTests not building
 

 Key: CB-6578
 URL: https://issues.apache.org/jira/browse/CB-6578
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
 Fix For: 3.5.0


 The project currently does not build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5589) NATIVE_URI returns null on iOS 7

2014-05-01 Thread Jeff Sawatzky (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986939#comment-13986939
 ] 

Jeff Sawatzky commented on CB-5589:
---

The reason for this is that the plugin does the following:

{code}
if (cameraPicker.returnType == DestinationTypeNativeUri) {
NSString* nativeUri = [(NSURL*)[info 
objectForKey:UIImagePickerControllerReferenceURL] absoluteString];
result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK 
messageAsString:nativeUri];
}
{code}

However, when capturing an image, the UIImagePickerController doesn't return a 
url, and instead returns an UIImage.

 NATIVE_URI returns null on iOS 7
 

 Key: CB-5589
 URL: https://issues.apache.org/jira/browse/CB-5589
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Camera
Affects Versions: 3.1.0
 Environment: iPhone 5 running iOS 7.0.4.
Reporter: John M. Wargo

 Using Camera.DestinationType.NATIVE_URI on iOS returns null. 
 Also, not sure if this is important, but on Android, it returns the same URI 
 you get with Camera.DestinationType.FILE_URI. 
 Here's my code:
 function takePhoto() {   
 var cameraOptions = {
   destinationType : Camera.DestinationType.NATIVE_URI,
   sourceType : Camera.PictureSourceType.CAMERA
 }
 navigator.camera.getPicture(cameraSuccess, cameraError, 
 cameraOptions);
   }
  
   function cameraSuccess(res) {
 console.log(Result:  + res);
   }
   function cameraError(errObj) {
 console.error(JSON.stringify(errObj));
 navigator.notification.alert(JSON.stringify(errObj), null, Camera 
 Error, Continue);
   }



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6585) Install should produce an error if the plugin does not support the platform

2014-05-01 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-6585:
---

 Summary: Install should produce an error if the plugin does not 
support the platform
 Key: CB-6585
 URL: https://issues.apache.org/jira/browse/CB-6585
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Jesse MacFadyen


Adding a plugin that is not supported does not produce an error message.
How do we tell what platforms are supported from plugin.xml? In the case of a 
JS only plugin there is nothing in plugin.xml that could tell us?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-5611) battery-status

2014-05-01 Thread Rodrigo Silveira (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rodrigo Silveira reassigned CB-5611:


Assignee: Rodrigo Silveira

 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6519) Recursive directory creation fails when spaces in directory names

2014-05-01 Thread David Hogg (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987029#comment-13987029
 ] 

David Hogg commented on CB-6519:


I'm assuming this fix is related (or possibly fixes):

https://issues.apache.org/jira/browse/CB-6583

 Recursive directory creation fails when spaces in directory names
 -

 Key: CB-6519
 URL: https://issues.apache.org/jira/browse/CB-6519
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin File
Affects Versions: 3.4.0
 Environment: iOS (have not tested on other platforms)
Reporter: David Hogg
Priority: Minor

 Previous to the File Plugin release (Feb 2014), it was possible to 
 recursively create directories by calliing dirEntry.getDirectory using the 
 dirEntry returned from the getDirectory call. 
 Since the Feb release (including the latest File Plugin (v 1.1.0) this will 
 fail if directory names  have spaces in the name (but only if recursive. Eg. 
 Can create 'Some Directory' fine in root, but not 'Some Directory/Another 
 Directory').
 Problem can be reproduced by using the filer.js library  
 [https://github.com/ebidel/filer.js] and calling mkdir.  Here is another 
 library [https://github.com/torrmal/cordova-simplefilemanagement] that does 
 not suffer from this problem as it always returns to the root dirEntry during 
 folder creation.
 As an aside, it would be awesome to have a more convenient file system API in 
 cordova that directly offers support for recursive folders, particularly 
 since it looks like the html5 file system API itself 
 ([http://www.w3.org/TR/file-system-api/],[http://www.html5rocks.com/en/tutorials/file/filesystem])
  appears to be dead or dying?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5611) battery-status

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987043#comment-13987043
 ] 

ASF GitHub Bot commented on CB-5611:


GitHub user rodms10 opened a pull request:

https://github.com/apache/cordova-plugin-battery-status/pull/11

CB-5611 firefoxos: battery-status plugin

Initial implementation.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mozilla-cordova/cordova-plugin-battery-status 
initial

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-battery-status/pull/11.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 #11


commit 7d9f58d195709d6220c7ac1358a3b45848f95a31
Author: Richard Sentino rich...@mingdinative.com
Date:   2014-02-28T12:13:55Z

CB-5611 firefoxos: battery-status plugin

commit 7222959f2741cc54401c84c4506413001684e799
Author: Rodrigo Silveira rodri...@outlook.com
Date:   2014-05-01T21:52:38Z

Updated documentation. Added support for mozBattery.




 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5611) battery-status

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987073#comment-13987073
 ] 

ASF GitHub Bot commented on CB-5611:


Github user rixrix commented on the pull request:


https://github.com/apache/cordova-plugin-battery-status/pull/11#issuecomment-41963665
  
@rodms10 thanks for looking into this PR, it hasn't been modified since the 
last activity but I will do a re-test and see if it still work, so, it might be 
a good chance to have a second eye. thanks


 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5611) battery-status

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987091#comment-13987091
 ] 

ASF GitHub Bot commented on CB-5611:


Github user rodms10 commented on the pull request:


https://github.com/apache/cordova-plugin-battery-status/pull/11#issuecomment-41964304
  
Awesome, thanks @rixrix! I did some testing before creating this Pull 
Request, but some extra eyes are always welcome. Thanks for the original code! 


 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5416) Need to auto generate manifest.webapp with appropriate plugin permissions

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987097#comment-13987097
 ] 

ASF GitHub Bot commented on CB-5416:


GitHub user rodms10 opened a pull request:

https://github.com/apache/cordova-plugin-contacts/pull/29

Auto-managing permissions

With [CB-5416](https://github.com/apache/cordova-cli/pull/168) merged, we 
can have plugins automatically set the permissions in the manifest.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mozilla-cordova/cordova-plugin-contacts 
auto-permission

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-contacts/pull/29.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 #29


commit 7334e066f1c68ab08263e845d47cc37d9699a710
Author: Rodrigo Silveira rodri...@outlook.com
Date:   2014-04-22T18:25:31Z

CB-5416 - Adding support for auto-managing permissions




 Need to auto generate manifest.webapp with appropriate plugin permissions
 -

 Key: CB-5416
 URL: https://issues.apache.org/jira/browse/CB-5416
 Project: Apache Cordova
  Issue Type: Task
  Components: CLI, FirefoxOS
Affects Versions: 3.2.0
Reporter: Herm Wong
Assignee: Herm Wong

 When FxOS apps are built, the CLI needs to determine which plugins are used 
 and also generate the correct permissions in the manifest.webapp file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6587) [Release + 3.5.0] Branch Test Tag RC1 for: cordova-js, cordova-mobile-spec and cordova-app-hello-world

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6587:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for: 
cordova-js, cordova-mobile-spec and cordova-app-hello-world
 Key: CB-6587
 URL: https://issues.apache.org/jira/browse/CB-6587
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec, CordovaJS, App Hello World
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6586) [Release + 3.5.0] Parent Issue

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6586:
--

 Summary: [Release + 3.5.0] Parent Issue
 Key: CB-6586
 URL: https://issues.apache.org/jira/browse/CB-6586
 Project: Apache Cordova
  Issue Type: Task
  Components: Windows 8, Ubuntu, mobile-spec, CLI, CordovaJS, Amazon 
FireOS, WP8, Android, App Hello World, FirefoxOS, BlackBerry, Docs, iOS
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Parent bug for the 3.5.0 Cordova Release.

Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Release Master: ?

Component Leads: Refer to assignee of Test  Tag sub-tasks.




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6589) [Release + 3.5.0] Branch Test Tag RC1 for iOS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6589:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for iOS
 Key: CB-6589
 URL: https://issues.apache.org/jira/browse/CB-6589
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6588) [Release + 3.5.0] Branch Test Tag RC1 for Android

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6588:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Android
 Key: CB-6588
 URL: https://issues.apache.org/jira/browse/CB-6588
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6590) [Release + 3.5.0] Branch Test Tag RC1 for BlackBerry

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6590:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for BlackBerry
 Key: CB-6590
 URL: https://issues.apache.org/jira/browse/CB-6590
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6595) [Release + 3.5.0] Branch Test Tag RC1 for Amazon Fire OS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6595:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Amazon Fire 
OS
 Key: CB-6595
 URL: https://issues.apache.org/jira/browse/CB-6595
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Amazon FireOS
Reporter: Steve Gill
Assignee: Archana Naik
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6605) [Release + 3.5.0] Test Tag 3.5.0 for Ubuntu

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6605:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Ubuntu
 Key: CB-6605
 URL: https://issues.apache.org/jira/browse/CB-6605
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Ubuntu
Reporter: Steve Gill
Assignee: Maxim Ermilov
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6606) [Release + 3.5.0] Test Tag 3.5.0 for Amazon Fire OS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6606:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Amazon Fire OS
 Key: CB-6606
 URL: https://issues.apache.org/jira/browse/CB-6606
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Amazon FireOS
Reporter: Steve Gill
Assignee: Archana Naik
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6601) [Release + 3.5.0] Test Tag 3.5.0 for BlackBerry

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6601:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for BlackBerry
 Key: CB-6601
 URL: https://issues.apache.org/jira/browse/CB-6601
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6596) [Release + 3.5.0] Branch Tag RC1 of cordova-cli

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6596:
--

 Summary: [Release + 3.5.0] Branch  Tag RC1 of cordova-cli
 Key: CB-6596
 URL: https://issues.apache.org/jira/browse/CB-6596
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6593) [Release + 3.5.0] Branch Test Tag RC1 for Firefox OS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6593:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Firefox OS
 Key: CB-6593
 URL: https://issues.apache.org/jira/browse/CB-6593
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6609) [Release + 3.5.0] Upload signed release .zip to Apache Dist

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6609:
--

 Summary: [Release + 3.5.0] Upload signed release .zip to Apache 
Dist
 Key: CB-6609
 URL: https://issues.apache.org/jira/browse/CB-6609
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6610) [Release + 3.5.0] Change default docs to new version

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6610:
--

 Summary: [Release + 3.5.0] Change default docs to new version
 Key: CB-6610
 URL: https://issues.apache.org/jira/browse/CB-6610
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6592) [Release + 3.5.0] Branch Test Tag RC1 for Windows Phone 7 8

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6592:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Windows 
Phone 7  8
 Key: CB-6592
 URL: https://issues.apache.org/jira/browse/CB-6592
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6598) [Release + 3.5.0] Create blog post for RC1 Announce

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6598:
--

 Summary: [Release + 3.5.0] Create blog post for RC1  Announce
 Key: CB-6598
 URL: https://issues.apache.org/jira/browse/CB-6598
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6591) [Release + 3.5.0] Branch Test Tag RC1 for Windows

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6591:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Windows
 Key: CB-6591
 URL: https://issues.apache.org/jira/browse/CB-6591
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6611) [Release + 3.5.0] Announce Release

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6611:
--

 Summary: [Release + 3.5.0] Announce Release
 Key: CB-6611
 URL: https://issues.apache.org/jira/browse/CB-6611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8, Ubuntu, mobile-spec, CLI, CordovaJS, Amazon 
FireOS, WP8, Android, App Hello World, FirefoxOS, BlackBerry, Docs, iOS
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6594) [Release + 3.5.0] Branch Test Tag RC1 for Ubuntu

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6594:
--

 Summary: [Release + 3.5.0] Branch  Test  Tag RC1 for Ubuntu
 Key: CB-6594
 URL: https://issues.apache.org/jira/browse/CB-6594
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Ubuntu
Reporter: Steve Gill
Assignee: Maxim Ermilov
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6597) [Release + 3.5.0] Upload docs without switching default

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6597:
--

 Summary: [Release + 3.5.0] Upload docs without switching default
 Key: CB-6597
 URL: https://issues.apache.org/jira/browse/CB-6597
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6608) [Release + 3.5.0] Create blog post for final release get reviewed

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6608:
--

 Summary: [Release + 3.5.0] Create blog post for final release  
get reviewed
 Key: CB-6608
 URL: https://issues.apache.org/jira/browse/CB-6608
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6600) [Release + 3.5.0] Test Tag 3.5.0 for iOS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6600:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for iOS
 Key: CB-6600
 URL: https://issues.apache.org/jira/browse/CB-6600
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6599) [Release + 3.5.0] Test Tag 3.5.0 for Android

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6599:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Android
 Key: CB-6599
 URL: https://issues.apache.org/jira/browse/CB-6599
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6604) [Release + 3.5.0] Test Tag 3.5.0 for Firefox OS

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6604:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Firefox OS
 Key: CB-6604
 URL: https://issues.apache.org/jira/browse/CB-6604
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6602) [Release + 3.5.0] Test Tag 3.5.0 for Windows

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6602:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Windows
 Key: CB-6602
 URL: https://issues.apache.org/jira/browse/CB-6602
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6603) [Release + 3.5.0] Test Tag 3.5.0 for Windows Phone 7 8

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6603:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 for Windows Phone 7  8
 Key: CB-6603
 URL: https://issues.apache.org/jira/browse/CB-6603
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Steve Gill
Assignee: Jesse MacFadyen
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6607) [Release + 3.5.0] Test Tag 3.5.0 of cordova-cli

2014-05-01 Thread Steve Gill (JIRA)
Steve Gill created CB-6607:
--

 Summary: [Release + 3.5.0] Test  Tag 3.5.0 of cordova-cli
 Key: CB-6607
 URL: https://issues.apache.org/jira/browse/CB-6607
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Steve Gill
 Fix For: 3.5.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-6611) [Release + 3.5.0] Announce Release

2014-05-01 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill reassigned CB-6611:
--

Assignee: Steve Gill  (was: Jesse MacFadyen)

 [Release + 3.5.0] Announce Release
 --

 Key: CB-6611
 URL: https://issues.apache.org/jira/browse/CB-6611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
 CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.5.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error CDVWebViewDelegate: Navigation started when state=1 (for navigation to an anchor on the same page)

2014-05-01 Thread Griffin Mobile (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987134#comment-13987134
 ] 

Griffin Mobile commented on CB-3530:


Hello,

I currently have phone gap 3.4.0 and Xcode 5.1.1 and I'm getting the error 
message below - Do you have any ideas. I've been googling this for two days 
with not luck. I see that this was suppose to be fixed but not sure why I'm 
getting this error.

CDVWebViewDelegate: Navigation started when state=1
Failed to load webpage with error: CDVWebViewDelegate: Navigation started when 
state=1

v/r
Donald Bozeman


 PhoneGap app crashes on iOS with error CDVWebViewDelegate: Navigation 
 started when state=1 (for navigation to an anchor on the same page)
 ---

 Key: CB-3530
 URL: https://issues.apache.org/jira/browse/CB-3530
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin InAppBrowser
Affects Versions: 2.7.0
 Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1
Reporter: Montyleena
Assignee: Shazron Abdullah
  Labels: crash, iOS,, inappbrowser,
 Fix For: 3.0.0

 Attachments: 2013-07-08.crash, 2013-07-08.crash


 I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but 
 crashes with 2.7.0 with the following error:
 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started 
 when state=1
 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: 
 (null)
 The problem is:
 CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, 
 default: error code is being passed as nil
 and in CDVInAppBrowser.m: didFailLoadWithError() function, 
 error.localizedDescription is being referenced, which causes a crash as error 
 object is nil. 
 For now, i added a check in the above function to put default values for 
 error code if the error object is nil. I hope this crash is fixed in the next 
 PhoneGap release.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5611) battery-status

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987145#comment-13987145
 ] 

ASF GitHub Bot commented on CB-5611:


Github user rixrix commented on the pull request:


https://github.com/apache/cordova-plugin-battery-status/pull/11#issuecomment-41967191
  
great thanks much @rodms10 


 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6481) adds plugin level hooks support

2014-05-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987152#comment-13987152
 ] 

ASF GitHub Bot commented on CB-6481:


Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-plugman/pull/74#issuecomment-41967514
  
@agrieve, thx for review; updated the code. Also did rebase


 adds plugin level hooks support
 ---

 Key: CB-6481
 URL: https://issues.apache.org/jira/browse/CB-6481
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI, Plugman
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 As per Proposal: hooks support for plugins dev mail thread discussion
 Hi, I have an idea how we can add more flexibility to plugin developers.
 Note, right now we have Application Developers – someone who use Cordova for 
 developing applications and Plugin Developers – someone who creates plugins 
 so that Application Developers can use them. For Application Developers we 
 expose  hooks so that they can customize their build/package/etc process. I 
 want us to provide similar sort of flexibility to Plugin Developers so that 
 they can go beyond of source/, framework/  tags and get mechanism to add 
 custom installation,  build logic required by a plugin. Example usage will 
 include: downloading/compiling additional binaries, marking source file to be 
 copied to output dir, changing target build platform,  etc. At present time 
 the steps described could be only achieved by hooks manually added by 
 Application Developer, but the right way is to allow Plugin Developer to 
 expose this as part of plugin definition.
 Example configuration could look like
 ```
 script type=postinstall src=scripts/postinstall.js /
 script type=preinstall src=scripts/preinstall.js /
 script type=install src=scripts/install.js /
 ```
 beforeinstall/preinstall – run before plugin is installed
 install/postinstall/afterinstall – run after plugin is installed
 uninstall – run after plugin is uninstalled



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-6587) [Release + 3.5.0] Branch Test Tag RC1 for: cordova-js, cordova-mobile-spec and cordova-app-hello-world

2014-05-01 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill reassigned CB-6587:
--

Assignee: Steve Gill

 [Release + 3.5.0] Branch  Test  Tag RC1 for: cordova-js, 
 cordova-mobile-spec and cordova-app-hello-world
 --

 Key: CB-6587
 URL: https://issues.apache.org/jira/browse/CB-6587
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: App Hello World, CordovaJS, mobile-spec
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.5.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)