[jira] [Closed] (CB-7998) Exception throws when finding new files like intermediate result(_COPYING_ file) through textFileStream interface

2014-11-10 Thread maji2014 (JIRA)

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

maji2014 closed CB-7998.

Resolution: Invalid

The issue doesn't exist in the project

 Exception throws when finding new files like intermediate result(_COPYING_ 
 file) through textFileStream interface
 -

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

 [Reproduce]
 1. Run HdfsWordCount interface, such as ssc.textFileStream(args(0))
 2. Upload file to hdfs(reason as followings)
 3. Exception as followings.
 [Exception stack]
 14/11/10 01:21:19 DEBUG Client: IPC Client (842425021) connection to 
 master/192.168.84.142:9000 from ocdc sending #13
 14/11/10 01:21:19 ERROR JobScheduler: Error generating jobs for time 
 1415611274000 ms
 org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does 
 not exist: hdfs://master:9000/user/spark/200._COPYING_
   at 
 org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:285)
   at 
 org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:340)
   at 
 org.apache.spark.rdd.NewHadoopRDD.getPartitions(NewHadoopRDD.scala:95)
   at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:204)
   at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:202)
   at scala.Option.getOrElse(Option.scala:120)
   at org.apache.spark.rdd.RDD.partitions(RDD.scala:202)
   at 
 org.apache.spark.streaming.dstream.FileInputDStream$$anonfun$org$apache$spark$streaming$dstream$FileInputDStream$$filesToRDD$1.apply(FileInputDStream.scala:125)
   at 
 org.apache.spark.streaming.dstream.FileInputDStream$$anonfun$org$apache$spark$streaming$dstream$FileInputDStream$$filesToRDD$1.apply(FileInputDStream.scala:124)
   at 
 scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
   at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
   at 
 org.apache.spark.streaming.dstream.FileInputDStream.org$apache$spark$streaming$dstream$FileInputDStream$$filesToRDD(FileInputDStream.scala:124)
   at 
 org.apache.spark.streaming.dstream.FileInputDStream.compute(FileInputDStream.scala:83)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.MappedDStream.compute(MappedDStream.scala:35)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.MappedDStream.compute(MappedDStream.scala:35)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.TransformedDStream$$anonfun$6.apply(TransformedDStream.scala:40)
   at 
 org.apache.spark.streaming.dstream.TransformedDStream$$anonfun$6.apply(TransformedDStream.scala:40)
   at 
 scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
   at 
 scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
   at scala.collection.immutable.List.foreach(List.scala:318)
   at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
   at scala.collection.AbstractTraversable.map(Traversable.scala:105)
   at 
 org.apache.spark.streaming.dstream.TransformedDStream.compute(TransformedDStream.scala:40)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.ShuffledDStream.compute(ShuffledDStream.scala:41)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.MappedDStream.compute(MappedDStream.scala:35)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.MappedDStream.compute(MappedDStream.scala:35)
   at 
 org.apache.spark.streaming.dstream.DStream.getOrCompute(DStream.scala:291)
   at 
 org.apache.spark.streaming.dstream.ForEachDStream.generateJob(ForEachDStream.scala:38)
   at 
 org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:115)
   at 
 org.apache.spark.streaming.DStreamGraph$$anonfun$1.apply(DStreamGraph.scala:115)
   at 
 scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
   at 
 scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
   at 
 scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
   at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
   at 
 

[jira] [Commented] (CB-7971) Add cordova-plugin-battery-status support for Windows Phone 8.1

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7971:


Github user daserge closed the pull request at:

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


 Add cordova-plugin-battery-status support for Windows Phone 8.1
 ---

 Key: CB-7971
 URL: https://issues.apache.org/jira/browse/CB-7971
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Battery Status
Reporter: Sergey Shakhnazarov





--
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-7971) Add cordova-plugin-battery-status support for Windows Phone 8.1

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7971:


GitHub user daserge opened a pull request:

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

CB-7971 Add cordova-plugin-battery-status support for Windows Phone 8.1

Added Windows Phone 8.1 support
Updated the documentation

[Jira issue](https://issues.apache.org/jira/browse/CB-7971)

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-battery-status 
CB-7971

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

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


commit 0703999de8160773fe51067d8f589ed862b9a11b
Author: daserge dase...@yandex.ru
Date:   2014-11-10T07:06:02Z

CB-7971 Add cordova-plugin-battery-status support for Windows Phone 8.1

Added Windows Phone 8.1 support
Updated the documentation




 Add cordova-plugin-battery-status support for Windows Phone 8.1
 ---

 Key: CB-7971
 URL: https://issues.apache.org/jira/browse/CB-7971
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Battery Status
Reporter: Sergey Shakhnazarov





--
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-7480) Update cordova-browser to build browser platform

2014-11-10 Thread Michal Mocny (JIRA)

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

Michal Mocny commented on CB-7480:
--

I don't understand what this issue is trying to accomplish.  Title is vague.

 Update cordova-browser to build browser platform
 

 Key: CB-7480
 URL: https://issues.apache.org/jira/browse/CB-7480
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Browser
Reporter: Suraj Pindoria
Assignee: Suraj Pindoria





--
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-7999) Investigate serving assets from simple http server for cordova-browser

2014-11-10 Thread Michal Mocny (JIRA)
Michal Mocny created CB-7999:


 Summary: Investigate serving assets from simple http server for 
cordova-browser
 Key: CB-7999
 URL: https://issues.apache.org/jira/browse/CB-7999
 Project: Apache Cordova
  Issue Type: Bug
  Components: Browser
Reporter: Michal Mocny


Currently we load page from file:// using chrome explicitly, and get around 
some of the issue that entails by passing chrome special runtime flags.

An alternative that has long been used by web devs is to just host a local 
server ala python -m SimpleHTTPServer (node equivalent: 
https://github.com/nodeapps/http-server).

Primary goals:
- Do not hardcode path to browser executable, let host open html page in 
whatever is set to default
- Support browsers that are not Chrome
- [stretch] Support livereload



--
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-7752) cordova platform add android won't create platform because it wants android-19 installed

2014-11-10 Thread Mark L (JIRA)

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

Mark L edited comment on CB-7752 at 11/10/14 3:09 PM:
--

I am hitting the same problem, Os X 10.9.5,  cordova 4.0.0.   (Strangely, the 
file structure indicates it's running a cached version of 3.6.4.)  Android SDK 
Built Tools 21.1.1. Using ionic, and running 'ionic platform android' get:
Error: Please install Android target android-19.
Hint: Run android from your command-line to open the SDK manager.
at 
/Users/[user]/.cordova/lib/npm_cache/cordova-android/3.6.4/package/bin/lib/check_reqs.js:174:19

I looked at check_reqs.js.  There appears to be a faulty regex obtaining the 
android version, but fixing it does not solve the problem (filed issue CB-7994 
Faulty regex in check_reqs.js).
check_reqs.js obtains the data 'target=android-19' from file:  
~/.cordova/lib/npm_cache/cordova-android/3.6.4/package/framework/project.properties
 .
This is done in the line of code reported by the error message, calling:
output.match(valid_target) ,  where valid_target is android-19 obtained from 
file project.properties
It's beyond my capability to find output.match() to see how that works, though.
Hope this helps a bit.
I thought that Android Build Tools should work for versions underneath it (so 
that 21.1.1 should work for a target of android-19.)  However, additionally 
installing 19.0 eliminated the error message.


was (Author: mark_l6n):
I am hitting the same problem, Os X 10.9.5,  cordova 4.0.0.   (Strangely, the 
file structure indicates it's running a cached version of 3.6.4.)  Android SDK 
Built Tools 21.1.1. Using ionic, and running 'ionic platform android' get:
Error: Please install Android target android-19.
Hint: Run android from your command-line to open the SDK manager.
at 
/Users/[user]/.cordova/lib/npm_cache/cordova-android/3.6.4/package/bin/lib/check_reqs.js:174:19

I looked at check_reqs.js.  There appears to be a faulty regex obtaining the 
android version, but fixing it does not solve the problem (filed issue CB-7994 
Faulty regex in check_reqs.js).
check_reqs.js obtains the data 'target=android-19' from file:  
~/.cordova/lib/npm_cache/cordova-android/3.6.4/package/framework/project.properties
 .
This is done in the line of code reported by the error message, calling:
output.match(valid_target) ,  where valid_target is android-19 obtained from 
file project.properties
It's beyond my capability to find output.match() to see how that works, though.
Hope this helps a bit.
I thought that Android Build Tools should work for versions underneath it (so 
that 21.1.1 should work for a target of android-19.)

 cordova platform add android won't create platform because it wants 
 android-19 installed
 

 Key: CB-7752
 URL: https://issues.apache.org/jira/browse/CB-7752
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
 Environment: Mac 10.5.6
 Cordova CLI 3.6.3
Reporter: Steve Husting
  Labels: android, cli
 Fix For: 3.6.3


 I followed these steps:
 npm update -g cordova
 cordova -v [returned 3.6.3...]
 cordova create helloCordova
 cd helloCordova
 cordova platform add android
 After the line, Creating android project... is the error message: 'Please 
 install Android target android-19. Hint: Run android from your 
 command-line to open the SDK Manager.' 
 I went ahead and ran android to install android-19. Is this really supposed 
 to happen for a new project? I though we were supposed to determine on our 
 own what versions we want to support. 



--
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-7740) navigator.device.capture.captureImage() returns error each time

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley commented on CB-7740:
-

What changed? It works fine using a very old version of Cordova. But Google is 
saying if you use that version, it may be removed from the Play sore!

Can it be changed back until the malfunctioning code is fixed?

 navigator.device.capture.captureImage() returns error each time
 ---

 Key: CB-7740
 URL: https://issues.apache.org/jira/browse/CB-7740
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3
 Environment: Galaxy S5
 Android 4.4.4
 Cordova 3.6.3
 org.apache.cordova.media-capture 0.3.3
 org.apache.cordova.file 1.3.1
Reporter: Chris Haley
  Labels: captureImage

 The following test code is producing an error message as soon as the Android 
 camera app closes after the OK button is clicked to accept the image. This 
 is on Android 4.4.4, Cordova 3.6.3, Galaxy S5. There are no prior 
 albums/pictures on the phone. I tried many different versions of the 
 media-capture and file plugins. The Retry button and back button work as 
 expected.
 HTML:
 {code:html}
 button type=button onclick=takePicture();Take Pictures/button
 {code}
 JavaScript:
 {code:javascript}
 takePicture = function() {
   navigator.device.capture.captureImage(function(mediaFiles) {
   alert(Pictures captured!);
   }, function(err) {
   alert(Err:  + err.message + \n\nCode:  + err.code);
   }, {limit : 100});
 };
 {code}



--
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-7740) navigator.device.capture.captureImage() returns error each time

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley edited comment on CB-7740 at 11/10/14 3:56 PM:
---

What changed? It works fine using a very old version of Cordova. But Google is 
saying if you use that version, it may be removed from the Play store!

Can it be changed back until the malfunctioning code is fixed?


was (Author: lifz):
What changed? It works fine using a very old version of Cordova. But Google is 
saying if you use that version, it may be removed from the Play sore!

Can it be changed back until the malfunctioning code is fixed?

 navigator.device.capture.captureImage() returns error each time
 ---

 Key: CB-7740
 URL: https://issues.apache.org/jira/browse/CB-7740
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3
 Environment: Galaxy S5
 Android 4.4.4
 Cordova 3.6.3
 org.apache.cordova.media-capture 0.3.3
 org.apache.cordova.file 1.3.1
Reporter: Chris Haley
  Labels: captureImage

 The following test code is producing an error message as soon as the Android 
 camera app closes after the OK button is clicked to accept the image. This 
 is on Android 4.4.4, Cordova 3.6.3, Galaxy S5. There are no prior 
 albums/pictures on the phone. I tried many different versions of the 
 media-capture and file plugins. The Retry button and back button work as 
 expected.
 HTML:
 {code:html}
 button type=button onclick=takePicture();Take Pictures/button
 {code}
 JavaScript:
 {code:javascript}
 takePicture = function() {
   navigator.device.capture.captureImage(function(mediaFiles) {
   alert(Pictures captured!);
   }, function(err) {
   alert(Err:  + err.message + \n\nCode:  + err.code);
   }, {limit : 100});
 };
 {code}



--
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-7636) Allow using --nobuild flag without screening

2014-11-10 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7636:
---
Summary: Allow using --nobuild flag without screening  (was: Allow using 
--nobuild flag without screaning)

 Allow using --nobuild flag without screening
 

 Key: CB-7636
 URL: https://issues.apache.org/jira/browse/CB-7636
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: command-line, cordova-cli, nopt

 Currently ‘--nobuild’ param requires – screening 
 So this skips --nobuild flag
 {code}
 λ cordova run wp8 --nobuild --target=dummy
 {code}
 Whereas the following works correct
 {code}
 λ cordova run wp8 --target=dummy -- --nobuild
 {code}
 This is inconsistent with other run options (--device, --target, --emulator) 
 which don’t not require screening.



--
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-7503) Keypress event not working with soft keyboard in Android KitKat

2014-11-10 Thread Lancho Pat (JIRA)

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

Lancho Pat updated CB-7503:
---
Component/s: (was: Browser)

 Keypress event not working with soft keyboard in Android KitKat
 ---

 Key: CB-7503
 URL: https://issues.apache.org/jira/browse/CB-7503
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: Master, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 4.0.0
 Environment: Present in Android 4.4.2, 4.4.4, L
 Not present in 4.1.2
 Present with software keyboard
 Not present with hardware (i.e. bluetooth) keyboard
 Fixed with Chromium M38
Reporter: Lancho Pat
  Labels: bug,, javascript, workaround,

 See https://code.google.com/p/android/issues/detail?id=68284
 Update: Here is the issue in the chromium bugtracker: 
 https://code.google.com/p/chromium/issues/detail?id=118639
 WebViews that are based on Chromium below M38 don't receive keypress events 
 in Android 4.4.2 and above.



--
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-8000) Fix -usegit option failure when installing windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-8000:
--

 Summary: Fix -usegit option failure when installing windows and wp8
 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov


1. Update cordova-lib to latest master or install cordova@rc version from npm

2. Try adding wp8 or windows using --usegit option
{code}
λ cordova platform add wp8 --usegit -d
Requesting 
{url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
Downloading cordova library for wp8...
Downloaded, unzipped and extracted 247637 byte response.
Download complete
Creating wp8 project...
Running command: 
C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
 /s /c 
C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
 C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
Command finished with error code ENOENT: 
C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
 
/s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
Error: 
C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
 Command failed with exit code ENOENT
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:808:12)

{code}



--
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-8000) Fix -usegit option failure when installing windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-8000:


Problem cause: we've recently got rid of subdirs for wp8 and windows but still 
have them defined in tools.
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/platformsConfig.json


 Fix -usegit option failure when installing windows and wp8
 --

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-8000) Fix --usegit option failure when adding windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8000:
---
Summary: Fix --usegit option failure when adding windows and wp8  (was: Fix 
-usegit option failure when installing windows and wp8)

 Fix --usegit option failure when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8000:
---
Summary: Fix --usegit option when adding windows and wp8  (was: Fix 
--usegit option failure when adding windows and wp8)

 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8000:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-lib/pull/118

CB-8000 Fix --usegit option when adding windows and wp8

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

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

$ git pull https://github.com/MSOpenTech/cordova-lib CB-8000

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

https://github.com/apache/cordova-lib/pull/118.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 #118


commit b3a94e79aa1bd24bfa9699c73e3cf2f866291a79
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-11-10T17:23:57Z

CB-8000 Fix --usegit option when adding windows and wp8




 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley commented on CB-7768:
-

[~dp22193], which file are you copying this code into? Thanks so much, I'd love 
to get this fix in and compiled! Google is threatening that they may remove 
apps from the Play store with old versions of Cordova. But our app is 
absolutely dependent on this captureImage functionality. We've been waiting for 
the devs to fix this for over a month! Any help you can provide will be much 
appreciated.

 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry

 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7079) Plugman Publish does not work for plugins with a dash in its ID

2014-11-10 Thread Holly Schinsky (JIRA)

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

Holly Schinsky commented on CB-7079:


I did some quick testing with this and it appears to fail because of the {2,} 
criteria in the regex check (/registry/mainfest.js as Eddy mentioned). 

 if (!name.match(/^(\w+\.){2,}.*$/)) {
throw new Error('Invalid plugin ID. It has to follow the reverse domain 
`com.domain.plugin` format');
}

If the dash is in the 3rd part of the package name or if you change it to {1,} 
it works ok (because I believe the {2,} is going to look for exactly 2 
occurrences of previously specified criteria-^(\w+\.). Not sure exactly how it 
needs to be fixed for all situations, but wanted to at least add my results 
from testing.

 Plugman Publish does not work for plugins with a dash in its ID
 ---

 Key: CB-7079
 URL: https://issues.apache.org/jira/browse/CB-7079
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Eddy Verbruggen
Priority: Minor

 I was trying to publish my plugins to plugins.cordova.io, unfortunately I 
 can't because there is a dash in my plugin ID: 
 nl.x-services.plugins.socialsharing
 Changing the ID to nl.xservices.plugins.socialsharing works, but as it's 
 quite a popular plugin, I don't want to change the ID. This may be a 
 publishing blocker for other users as well.
 This is the error message when using 'plugman publish mypath':
 'Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` 
 format'
 Plugman version 0.22.2
 Platform: Mac OS X
 For me to be able to submit my plugin, I require a little tweak to (most 
 likely) the function validateName in src/registry/manifest.js



--
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-7079) Plugman Publish does not work for plugins with a dash in its ID

2014-11-10 Thread Holly Schinsky (JIRA)

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

Holly Schinsky edited comment on CB-7079 at 11/10/14 5:55 PM:
--

I did some quick testing with this and it appears to fail because of the {2,} 
criteria in the regex check (/registry/mainfest.js as Eddy mentioned). 

if (!name.match(/^(\w+\.){2,}.*$/)) {
throw new Error('Invalid plugin ID. It has to follow the reverse domain 
`com.domain.plugin` format');
}

If the dash is in the 3rd part of the package name or if you change it to {1,} 
it works ok (because I believe the {2,} is going to look for exactly 2 
occurrences of previously specified criteria-^(\w+\.). Not sure exactly how it 
needs to be fixed for all situations, but wanted to at least add my results 
from testing.


was (Author: hollyschinsky):
I did some quick testing with this and it appears to fail because of the {2,} 
criteria in the regex check (/registry/mainfest.js as Eddy mentioned). 

```if (!name.match(/^(\w+\.){2,}.*$/)) {
throw new Error('Invalid plugin ID. It has to follow the reverse domain 
`com.domain.plugin` format');
}```

If the dash is in the 3rd part of the package name or if you change it to {1,} 
it works ok (because I believe the {2,} is going to look for exactly 2 
occurrences of previously specified criteria-^(\w+\.). Not sure exactly how it 
needs to be fixed for all situations, but wanted to at least add my results 
from testing.

 Plugman Publish does not work for plugins with a dash in its ID
 ---

 Key: CB-7079
 URL: https://issues.apache.org/jira/browse/CB-7079
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Eddy Verbruggen
Priority: Minor

 I was trying to publish my plugins to plugins.cordova.io, unfortunately I 
 can't because there is a dash in my plugin ID: 
 nl.x-services.plugins.socialsharing
 Changing the ID to nl.xservices.plugins.socialsharing works, but as it's 
 quite a popular plugin, I don't want to change the ID. This may be a 
 publishing blocker for other users as well.
 This is the error message when using 'plugman publish mypath':
 'Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` 
 format'
 Plugman version 0.22.2
 Platform: Mac OS X
 For me to be able to submit my plugin, I require a little tweak to (most 
 likely) the function validateName in src/registry/manifest.js



--
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-7079) Plugman Publish does not work for plugins with a dash in its ID

2014-11-10 Thread Holly Schinsky (JIRA)

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

Holly Schinsky edited comment on CB-7079 at 11/10/14 5:55 PM:
--

I did some quick testing with this and it appears to fail because of the {2,} 
criteria in the regex check (/registry/mainfest.js as Eddy mentioned). 

```if (!name.match(/^(\w+\.){2,}.*$/)) {
throw new Error('Invalid plugin ID. It has to follow the reverse domain 
`com.domain.plugin` format');
}```

If the dash is in the 3rd part of the package name or if you change it to {1,} 
it works ok (because I believe the {2,} is going to look for exactly 2 
occurrences of previously specified criteria-^(\w+\.). Not sure exactly how it 
needs to be fixed for all situations, but wanted to at least add my results 
from testing.


was (Author: hollyschinsky):
I did some quick testing with this and it appears to fail because of the {2,} 
criteria in the regex check (/registry/mainfest.js as Eddy mentioned). 

 if (!name.match(/^(\w+\.){2,}.*$/)) {
throw new Error('Invalid plugin ID. It has to follow the reverse domain 
`com.domain.plugin` format');
}

If the dash is in the 3rd part of the package name or if you change it to {1,} 
it works ok (because I believe the {2,} is going to look for exactly 2 
occurrences of previously specified criteria-^(\w+\.). Not sure exactly how it 
needs to be fixed for all situations, but wanted to at least add my results 
from testing.

 Plugman Publish does not work for plugins with a dash in its ID
 ---

 Key: CB-7079
 URL: https://issues.apache.org/jira/browse/CB-7079
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Eddy Verbruggen
Priority: Minor

 I was trying to publish my plugins to plugins.cordova.io, unfortunately I 
 can't because there is a dash in my plugin ID: 
 nl.x-services.plugins.socialsharing
 Changing the ID to nl.xservices.plugins.socialsharing works, but as it's 
 quite a popular plugin, I don't want to change the ID. This may be a 
 publishing blocker for other users as well.
 This is the error message when using 'plugman publish mypath':
 'Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` 
 format'
 Plugman version 0.22.2
 Platform: Mac OS X
 For me to be able to submit my plugin, I require a little tweak to (most 
 likely) the function validateName in src/registry/manifest.js



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8000:
---
Assignee: Mark Koudritsky  (was: Sergey Grebnov)

 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Mark Koudritsky
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread David Perry (JIRA)

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

David Perry commented on CB-7768:
-

Hi Chris.  This change is in Capture.java in the onActivityResult method 
(around line 335) in org.apache.cordova.mediacapture.  I hear you about how 
long it takes for them to fix things.

David Perry



 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry

 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley commented on CB-7768:
-

Thanks, David. I found it right after I asked, doh!

Interestingly, though, when I comment out the {{openOutputStream}} method and 
replace it with your code, I seem to get the same error. It's a 
{{java.io.FileNotFoundException: No such file or directory}}. From 
Capture.java, how do you output the value of {{uri}} to view it in Eclipse's 
console? Could there be an error in getting {{uri}} so it's not even making it 
to the code I copied from you?

 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry

 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley commented on CB-7768:
-

Another piece to the puzzle...I just noticed that Cordova is trying to save the 
captured images to /storage/emulated/0/DCIM/Camera (does not exist!) while the 
default camera app saves images to /storage/extSdCard/DCIM/Camera.

Does that get us anywhere with the Cordova capture error [~bowserj]/[~dp22193]?

 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry

 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7986) Add cordova-plugin-statusbar support for Windows Phone 8.1

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7986:


GitHub user daserge opened a pull request:

https://github.com/apache/cordova-plugin-statusbar/pull/18

CB-7986 Add cordova-plugin-statusbar support for Windows Phone 8.1

Added Windows Phone 8.1 support
Updated the documentation

[JIRA issue](https://issues.apache.org/jira/browse/CB-7986)

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-statusbar CB-7986

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

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


commit a6344f14f99c19d60a783d92a742285fa3c62fca
Author: daserge dase...@yandex.ru
Date:   2014-11-10T19:20:42Z

CB-7986 Add cordova-plugin-statusbar support for Windows Phone 8.1

Added Windows Phone 8.1 support
Updated the documentation




 Add cordova-plugin-statusbar support for Windows Phone 8.1
 --

 Key: CB-7986
 URL: https://issues.apache.org/jira/browse/CB-7986
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Statusbar
Reporter: Sergey Shakhnazarov





--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread David Perry (JIRA)

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

David Perry updated CB-7768:

Attachment: Capture.zip

Just one of the many inconsistencies...another case of one hand not knowing 
what the other is doing.  :(

Here is my capture.java file.  The method getRealPathFromURI takes the uri from 
that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
 values)  (that doesn't work) and returns a file name that you can open with 
new FileOutputStream (instead of using OutputStream os = 
that.cordova.getActivity().getContentResolver().openOutputStream(uri)).

David



 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry
 Attachments: Capture.zip


 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread Chris Haley (JIRA)

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

Chris Haley commented on CB-7768:
-

Thanks, David. I've been trying to change the file at 
/project-root/plugins/org.apache.cordova.media-capture/src/android. Is that 
where I need to put your file? Do I need to compile any special way after doing 
so? It doesn't seem to be affecting anything when I change it there so I'm 
wondering if I'm even changing the right file and/or missing a step after 
changing it.

 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry
 Attachments: Capture.zip


 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-7768) captureImage (onActivityResult) in media-capture Plugin Throws FileNotFoundException

2014-11-10 Thread David Perry (JIRA)

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

David Perry commented on CB-7768:
-

That should be the correct place.  Search your project folders to make sure 
there aren't others.  I would try Project - Clean to make sure it's getting 
compiled.  I would also put in a breakpoint and Run - Debug as an Android 
Application and see if you breakpoint gets hit.  You can also try putting in a 
bad line of code and see if Eclipse reports the problem when you try debugging.

David



 captureImage (onActivityResult) in media-capture Plugin Throws 
 FileNotFoundException
 

 Key: CB-7768
 URL: https://issues.apache.org/jira/browse/CB-7768
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: Samsung Galaxy S5, Android 4.4.4.
Reporter: David Perry
 Attachments: Capture.zip


 It appears that the issue is that the uri returned by 
 that.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
  values) is not properly resolved by OutputStream os = 
 that.cordova.getActivity().getContentResolver().openOutputStream(uri).
 What worked for me was instead of calling openOutputStream, do the following:
 String dfname = getRealPathFromURI(uri);
 File df = new File(dfname);
 File dfolder = df.getParentFile();
 if(!dfolder.exists()) dfolder.mkdirs();
 if(!df.exists()) df.createNewFile();
 FileOutputStream os = new FileOutputStream(df);
 private String getRealPathFromURI(Uri contentURI) {
 Cursor cursor = 
 this.cordova.getActivity().getContentResolver().query(contentURI, null, null, 
 null, null);
 if (cursor == null) { // Source is Dropbox or other similar local file 
 path
 return contentURI.getPath();
 } else { 
 cursor.moveToFirst(); 
 int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); 
 return cursor.getString(idx); 
 }
 }



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8000:


Github user kamrik commented on the pull request:

https://github.com/apache/cordova-lib/pull/118#issuecomment-62464427
  
Looks good. Pushing to master.


 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Mark Koudritsky
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit fd4bcfc2ec94d0e85ad558d96496b310ee28741b in cordova-lib's branch 
refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=fd4bcfc ]

CB-8000 Fix --usegit option when adding windows and wp8

github: close #118


 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Mark Koudritsky
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8000:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/118


 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Mark Koudritsky
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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-7927) [WP8][cordova-plugin-file] Unable to write a binary file.

2014-11-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7927:
-
Environment: Windows Phone

 [WP8][cordova-plugin-file] Unable to write a binary file.
 -

 Key: CB-7927
 URL: https://issues.apache.org/jira/browse/CB-7927
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.5.0
 Environment: Windows Phone
Reporter: Kamil Durkiewicz
  Labels: plugin-file, wp8
 Attachments: patch.diff


 When this code is run on Windows Phone:
 {code:javascript}
 // a valid base64-encoded image:
 var imgData = 
 '/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAHAAgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDkPhh8d/FOp/FTxr8TbCfxDomsWlums6rc6DqktjA9iJo4BaXKx3EN3cpcXs2mxyT/AGs3ABmnk+0SkyKUUVHF3FFbA0MPWhRpTc3VjacOZJUqjpx5U37vuxV0rRbV7Jt3/urgfw0yrPMbjqGKqVYKh7DldOo4N+2oQrS52vjanOXK5Xaj7t2kj//Z',
 path = 'testImage.jpeg';
 var byteArray = base64DecToArr(imgData).buffer;
 window.requestFileSystem(
 LocalFileSystem.PERSISTENT,
 0,
 function(fileSystem) {
 fileSystem.root.getFile(path, { create: true }, 
 function(fileEntry) {
 fileEntry.createWriter(function(writer) {
 writer.write(byteArray);
 writer.onwriteend = function(evt) {
 alert('write end');
 };
 })
 });
 });
 {code}
 where base64DecToArr is a function taken from here: 
 https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
 The file that is written is not a valid jpeg file. This issue is caused by 
 deserialization of bytes into `char[]` instead of `byte[]`.



--
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-8000) Fix --usegit option when adding windows and wp8

2014-11-10 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov resolved CB-8000.

Resolution: Fixed

 Fix --usegit option when adding windows and wp8
 ---

 Key: CB-8000
 URL: https://issues.apache.org/jira/browse/CB-8000
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Mark Koudritsky
  Labels: cordova-lib, cordova-windows, cordova-wp

 1. Update cordova-lib to latest master or install cordova@rc version from npm
 2. Try adding wp8 or windows using --usegit option
 {code}
 λ cordova platform add wp8 --usegit -d
 Requesting 
 {url:https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz,strictSSL:true}...
 Downloading cordova library for wp8...
 Downloaded, unzipped and extracted 247637 byte response.
 Download complete
 Creating wp8 project...
 Running command: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  /s /c 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
 Command finished with error code ENOENT: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create
  
 /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
 Error: 
 C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create:
  Command failed with exit code ENOENT
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:95:17)
 at Process.ChildProcess._handle.onexit (child_process.js:808:12)
 {code}



--
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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 934bfa73a55114a360fd926079f475bdf59a345f in cordova-plugman's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=934bfa7 ]

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

 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] [Resolved] (CB-5026) Move setting of UIWebView properties into its own plugin from the core

2014-11-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-5026.
--
Resolution: Won't Fix

 Move setting of UIWebView properties into its own plugin from the core
 --

 Key: CB-5026
 URL: https://issues.apache.org/jira/browse/CB-5026
 Project: Apache Cordova
  Issue Type: Task
  Components: iOS
Affects Versions: Master
Reporter: Shazron Abdullah
Priority: Minor

 See: 
 https://github.com/apache/cordova-ios/blob/c66fc82bd0a49b940e0a5beb1563ecdb48cc7120/CordovaLib/Classes/CDVViewController.m#L245-L400
 (except for the CDVLocalStorage stuff)
 This 150 line behemoth should be in its own plugin (with onload=true). Not 
 sure about removing it from core, but putting it in its own plugin in core is 
 a start. 
 Pros:
 - if iOS = 8 adds more properties, and people want to stick to Cordova 3.A 
 and we only support it in 3.B or 4.x, they only have to update a plugin and 
 not the whole core.
 Cons:
 - if they rely on these settings, they will lose them when they upgrade if 
 they don't install a plugin, this won't be any different when they moved from 
 2.x to 3.x
 - Yet Another Repo?
 NOTE:
 Do not forget to add docs, and upgrading docs.



--
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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 5e695e5e1e5138a43ccd0c29ff49cd59d80e25d0 in cordova-lib's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=5e695e5 ]

CB-7988 Updated version and RELEASENOTES.md for release 4.1.1


 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

 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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit bb723460d814af0451adb3c24dc165c1e921cc7d in cordova-lib's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=bb72346 ]

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

 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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 93fd1e49aa69ec05d65f750cd88b86156ce98beb in cordova-plugman's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=93fd1e4 ]

CB-7988 Updated version and RELEASENOTES.md for release 0.22.15


 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

 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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 5859fa3aa71ca89ae5742247fc6835e9d02e0e0d in cordova-cli's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=5859fa3 ]

CB-7988 Updated version and RELEASENOTES.md for release 4.1.1


 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

 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] [Assigned] (CB-5026) Move setting of UIWebView properties into its own plugin from the core

2014-11-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-5026:


Assignee: Shazron Abdullah

 Move setting of UIWebView properties into its own plugin from the core
 --

 Key: CB-5026
 URL: https://issues.apache.org/jira/browse/CB-5026
 Project: Apache Cordova
  Issue Type: Task
  Components: iOS
Affects Versions: Master
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor

 See: 
 https://github.com/apache/cordova-ios/blob/c66fc82bd0a49b940e0a5beb1563ecdb48cc7120/CordovaLib/Classes/CDVViewController.m#L245-L400
 (except for the CDVLocalStorage stuff)
 This 150 line behemoth should be in its own plugin (with onload=true). Not 
 sure about removing it from core, but putting it in its own plugin in core is 
 a start. 
 Pros:
 - if iOS = 8 adds more properties, and people want to stick to Cordova 3.A 
 and we only support it in 3.B or 4.x, they only have to update a plugin and 
 not the whole core.
 Cons:
 - if they rely on these settings, they will lose them when they upgrade if 
 they don't install a plugin, this won't be any different when they moved from 
 2.x to 3.x
 - Yet Another Repo?
 NOTE:
 Do not forget to add docs, and upgrading docs.



--
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

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit ef56bd49ed654d02db00a73ba987bbe3964b46a3 in cordova-cli's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=ef56bd4 ]

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

 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-7079) Plugman Publish does not work for plugins with a dash in its ID

2014-11-10 Thread Tommy-Carlos Williams (JIRA)

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

Tommy-Carlos Williams commented on CB-7079:
---

Fairly serious bug since Eddy is one seriously prolific plugin author.

If I trusted my regex foo, I would take this..

 Plugman Publish does not work for plugins with a dash in its ID
 ---

 Key: CB-7079
 URL: https://issues.apache.org/jira/browse/CB-7079
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Eddy Verbruggen
Priority: Minor

 I was trying to publish my plugins to plugins.cordova.io, unfortunately I 
 can't because there is a dash in my plugin ID: 
 nl.x-services.plugins.socialsharing
 Changing the ID to nl.xservices.plugins.socialsharing works, but as it's 
 quite a popular plugin, I don't want to change the ID. This may be a 
 publishing blocker for other users as well.
 This is the error message when using 'plugman publish mypath':
 'Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` 
 format'
 Plugman version 0.22.2
 Platform: Mac OS X
 For me to be able to submit my plugin, I require a little tweak to (most 
 likely) the function validateName in src/registry/manifest.js



--
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-7117) MediaFile.getFormatData() of newly-recorded video contains bad information

2014-11-10 Thread Matthew Curtis (JIRA)

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

Matthew Curtis commented on CB-7117:


Since I filed this bug, nobody has touched it. Guess it's just going to be an 
open bug in Cordova. :(

 MediaFile.getFormatData() of newly-recorded video contains bad information
 --

 Key: CB-7117
 URL: https://issues.apache.org/jira/browse/CB-7117
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media, Plugin Media Capture
Affects Versions: 3.5.0
 Environment: iOS 7, Android 4.4
Reporter: Matthew Curtis

 I use the capture plugin to record a video from the device's camera. Upon 
 completion of recording, I'd like to get the duration of the video for use in 
 my application. However, when I run this test on my iPad or Android phone, 
 the MediaFileData object contains zero-ed out information. Here's a snippet:
 {code:JavaScript}
 navigator.device.capture.captureVideo(
 function(files) {
 var videoFile = files[0];
 videoFile.getFormatData(function(fileData) {
 console.log('file data:' + JSON.stringify(fileData));
 });
 }
 );
 {code}
 The console output is:
 {code:JavaScript}
 file data:{width:0,duration:0,bitrate:0,codecs:null,height:0}
 {code}
 As best as I can tell, I'm using this correctly. Is there something I'm 
 missing, or can this not be used for newly-created media?



--
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-7772) [Contacts] Cancelling pickContact should call the error callback, not the success callback

2014-11-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-7772:
--

It is resolved because it has been fixed. See the 2nd comment from this issue 
that has a commit link.

 [Contacts] Cancelling pickContact should call the error callback, not the 
 success callback
 --

 Key: CB-7772
 URL: https://issues.apache.org/jira/browse/CB-7772
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Contacts
Affects Versions: 3.6.3
 Environment: I using iOS8 with phonegap 3.6.3 and contact plugin 
 0.2.13
Reporter: Colin Bau
Assignee: Shazron Abdullah
  Labels: contacts

 test environment:iOS 7.1.1 (11D201) OR iOS8
 I use the pickContact method
 it will show my contact list
 but after I click The upper right corner Cancel
 it will trigger the success callback(it is not correct,it should be trigger 
 the err callback),and will return the Almost empty json value,such like 
 that... 
 {id:-1,rawId:null,displayName:null,name:null,..etc}



--
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-7985) Make windows platform support Visual Studio 14 CTP tools

2014-11-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 84c9547ab58bb256a3054f29612daec3d41196bc in cordova-windows's branch 
refs/heads/master from daserge
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=84c9547 ]

CB-7985 windows platform does not build with Visual Studio 14 CTP tools

This fixes the bug - Microsoft.Common.props is loaded succesfully


 Make windows platform support Visual Studio 14 CTP tools
 

 Key: CB-7985
 URL: https://issues.apache.org/jira/browse/CB-7985
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
 Environment: Windows Server 2012 R2, Visual Studio 14 CTP, Cordova 4
Reporter: Sergey Shakhnazarov

 Repro steps:
 1. Install Cordova from npm
 2. Create project
 3. Add windows platform
 4. Build project
 C:\Users\daserge\hello\platforms\windows\CordovaApp.Windows80.jsproj(66,3): 
 error MSB4019: The imported project C:\Program Files 
 (x86)\MSBuild\Microsoft\VisualStudio\v11.0 
 Microsoft.VisualStudio..Default.props was not found. Confirm that the path 
 in the Import declaration is correct, and that the file exists on disk.
 ERROR: Error code 1 for command: 
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild with args: 
 C:\Users\daserge\hello\platforms\windows\CordovaApp.vs2012.sln,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=debug,/p:Platform=anycpu
 Error: C:\Users\daserge\hello\platforms\windows\cordova\run.bat: Command 
 failed
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\daserge\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)



--
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-7985) Make windows platform support Visual Studio 14 CTP tools

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7985:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/51


 Make windows platform support Visual Studio 14 CTP tools
 

 Key: CB-7985
 URL: https://issues.apache.org/jira/browse/CB-7985
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
 Environment: Windows Server 2012 R2, Visual Studio 14 CTP, Cordova 4
Reporter: Sergey Shakhnazarov

 Repro steps:
 1. Install Cordova from npm
 2. Create project
 3. Add windows platform
 4. Build project
 C:\Users\daserge\hello\platforms\windows\CordovaApp.Windows80.jsproj(66,3): 
 error MSB4019: The imported project C:\Program Files 
 (x86)\MSBuild\Microsoft\VisualStudio\v11.0 
 Microsoft.VisualStudio..Default.props was not found. Confirm that the path 
 in the Import declaration is correct, and that the file exists on disk.
 ERROR: Error code 1 for command: 
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild with args: 
 C:\Users\daserge\hello\platforms\windows\CordovaApp.vs2012.sln,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=debug,/p:Platform=anycpu
 Error: C:\Users\daserge\hello\platforms\windows\cordova\run.bat: Command 
 failed
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\daserge\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)



--
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-8001) StatusBar Plugin 0.1.8 crashes application on tap

2014-11-10 Thread Nathan Smith (JIRA)
Nathan Smith created CB-8001:


 Summary: StatusBar Plugin 0.1.8 crashes application on tap
 Key: CB-8001
 URL: https://issues.apache.org/jira/browse/CB-8001
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Affects Versions: 3.7.0
 Environment: StatusBar Plugin 0.1.8
Cordova iOS 3.7.0
iPhone 6+ (8.0)
iPhone 5s (8.0)
Reporter: Nathan Smith
Priority: Critical


StatusBar Plugin 0.1.8
Cordova iOS 3.7.0
iPhone 6+ (8.0)
iPhone 5s (8.0)

The StatusBar encounters an {{EXC_BAD_ACCESS}} exception when the user taps on 
the StatusBar.

The call site affected is {{fireTappedEvent}} {{\[self.commandDelegate 
sendPluginResult:result callbackId:_eventsCallbackId\];}}



--
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-7772) [Contacts] Cancelling pickContact should call the error callback, not the success callback

2014-11-10 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-7772:
---

oh~got it
thanks Shazron

 [Contacts] Cancelling pickContact should call the error callback, not the 
 success callback
 --

 Key: CB-7772
 URL: https://issues.apache.org/jira/browse/CB-7772
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Contacts
Affects Versions: 3.6.3
 Environment: I using iOS8 with phonegap 3.6.3 and contact plugin 
 0.2.13
Reporter: Colin Bau
Assignee: Shazron Abdullah
  Labels: contacts

 test environment:iOS 7.1.1 (11D201) OR iOS8
 I use the pickContact method
 it will show my contact list
 but after I click The upper right corner Cancel
 it will trigger the success callback(it is not correct,it should be trigger 
 the err callback),and will return the Almost empty json value,such like 
 that... 
 {id:-1,rawId:null,displayName:null,name:null,..etc}



--
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-7985) Make windows platform support Visual Studio 14 CTP tools

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7985:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/51#issuecomment-62489706
  
Hi @daserge 
Thanks for the commit! 
Can you please add your real name to your github profile so I can resolve 
your github user account to a signed iCLA? I know I've seen and accepted pull 
requests from you before, but I would like the tracking to be as easy as 
possible to resolve.  I would have to do more digging if this was a bigger pull 
request, and I know you have some waiting in other repos.


 Make windows platform support Visual Studio 14 CTP tools
 

 Key: CB-7985
 URL: https://issues.apache.org/jira/browse/CB-7985
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
 Environment: Windows Server 2012 R2, Visual Studio 14 CTP, Cordova 4
Reporter: Sergey Shakhnazarov

 Repro steps:
 1. Install Cordova from npm
 2. Create project
 3. Add windows platform
 4. Build project
 C:\Users\daserge\hello\platforms\windows\CordovaApp.Windows80.jsproj(66,3): 
 error MSB4019: The imported project C:\Program Files 
 (x86)\MSBuild\Microsoft\VisualStudio\v11.0 
 Microsoft.VisualStudio..Default.props was not found. Confirm that the path 
 in the Import declaration is correct, and that the file exists on disk.
 ERROR: Error code 1 for command: 
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild with args: 
 C:\Users\daserge\hello\platforms\windows\CordovaApp.vs2012.sln,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=debug,/p:Platform=anycpu
 Error: C:\Users\daserge\hello\platforms\windows\cordova\run.bat: Command 
 failed
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\daserge\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)



--
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-8002) Creating a new div for every Js - Native exec() call

2014-11-10 Thread Serdar Onal (JIRA)
Serdar Onal created CB-8002:
---

 Summary: Creating a new div for every Js - Native exec() call
 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Priority: Critical


Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
somehow the underlying cordova.js is creating a gap://ready iframe on every 
call. This means that if you made 1000 native calls you'll have 1000 divs on 
the DOM.
I believe this issue is of critical priority as it incurs a huge memory leak.

Screenshot from safari inspector
https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-7679) [InAppBrowser][iOS 8] Plugin closes itself before image picker shown

2014-11-10 Thread Marc Belej (JIRA)

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

Marc Belej commented on CB-7679:


[~royso]
Thanks for this great fix.  It works on my iPhone with iOS 8.1 (12B411), but 
unfortunately not on my iPad mini retina with iOS 8.1 (12B410)
The iPad displayed different behaviour from the start though, with the entire 
app crashing rather than just the InAppBrowser window closing unexpectedly 

 [InAppBrowser][iOS 8] Plugin closes itself before image picker shown
 

 Key: CB-7679
 URL: https://issues.apache.org/jira/browse/CB-7679
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
Affects Versions: 3.5.0
 Environment: IOS8,Cordova Plugin
Reporter: Nattapol Taboonma
Priority: Critical

 I use inappbrowser plugin from the following link : 
 https://github.com/apache/cordova-plugin-inappbrowser
 Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. 
 Unfortunately, when I click the upload photo icon, then the 2 native buttons 
 will show up. The buttons are 'Take Photo' and 'Choose Existing'. No matter 
 buttons I tapped, the inappbrowser close immediately, and it lead to error 
 Warning: Attempt to present UIImagePickerController: 0x17aed600 on 
 CDVInAppBrowserNavigationController: 0x175e3770 whose view is not in the 
 window hierarchy!
 After that, the inappbrowser seem to broke permanently. I have to close and 
 re-start my app to make it work again.
 For more info, I already try the tutorial from this: 
 http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
 with out the inappbrowser the image ui picker work perfectly fine, it surely 
 that the error not come from the image select code, but it from the 
 inappbrowser itself.
 I'm waiting for hearing from you.
 Best Regards.
 Nattapol Taboonma



--
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-7679) [InAppBrowser][iOS 8] Plugin closes itself before image picker shown

2014-11-10 Thread Nattapol Taboonma (JIRA)

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

Nattapol Taboonma updated CB-7679:
--
Description: 
I use inappbrowser plugin from the following link : 
https://github.com/apache/cordova-plugin-inappbrowser

Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. 
Unfortunately, when I click the upload photo icon, then the 2 native buttons 
will show up. The buttons are 'Take Photo' and 'Choose Existing'. No matter 
buttons I tapped, the inappbrowser close immediately, and it lead to error 

Warning: Attempt to present UIImagePickerController: 0x17aed600 on 
CDVInAppBrowserNavigationController: 0x175e3770 whose view is not in the 
window hierarchy!

After that, the inappbrowser seem to broke permanently. I have to close and 
re-start my app to make it work again.

For more info, I already try the tutorial from this: 
http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
with out the inappbrowser the image ui picker work perfectly fine, it surely 
that the error not come from the image select code, but it from the 
inappbrowser itself.

I'm waiting for hearing from you.

  was:
I use inappbrowser plugin from the following link : 
https://github.com/apache/cordova-plugin-inappbrowser

Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. 
Unfortunately, when I click the upload photo icon, then the 2 native buttons 
will show up. The buttons are 'Take Photo' and 'Choose Existing'. No matter 
buttons I tapped, the inappbrowser close immediately, and it lead to error 

Warning: Attempt to present UIImagePickerController: 0x17aed600 on 
CDVInAppBrowserNavigationController: 0x175e3770 whose view is not in the 
window hierarchy!

After that, the inappbrowser seem to broke permanently. I have to close and 
re-start my app to make it work again.

For more info, I already try the tutorial from this: 
http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
with out the inappbrowser the image ui picker work perfectly fine, it surely 
that the error not come from the image select code, but it from the 
inappbrowser itself.

I'm waiting for hearing from you.

Best Regards.
Nattapol Taboonma


 [InAppBrowser][iOS 8] Plugin closes itself before image picker shown
 

 Key: CB-7679
 URL: https://issues.apache.org/jira/browse/CB-7679
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
Affects Versions: 3.5.0
 Environment: IOS8,Cordova Plugin
Reporter: Nattapol Taboonma
Priority: Critical

 I use inappbrowser plugin from the following link : 
 https://github.com/apache/cordova-plugin-inappbrowser
 Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. 
 Unfortunately, when I click the upload photo icon, then the 2 native buttons 
 will show up. The buttons are 'Take Photo' and 'Choose Existing'. No matter 
 buttons I tapped, the inappbrowser close immediately, and it lead to error 
 Warning: Attempt to present UIImagePickerController: 0x17aed600 on 
 CDVInAppBrowserNavigationController: 0x175e3770 whose view is not in the 
 window hierarchy!
 After that, the inappbrowser seem to broke permanently. I have to close and 
 re-start my app to make it work again.
 For more info, I already try the tutorial from this: 
 http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
 with out the inappbrowser the image ui picker work perfectly fine, it surely 
 that the error not come from the image select code, but it from the 
 inappbrowser itself.
 I'm waiting for hearing from you.



--
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-7985) Make windows platform support Visual Studio 14 CTP tools

2014-11-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7985:


Github user daserge commented on the pull request:

https://github.com/apache/cordova-windows/pull/51#issuecomment-62513685
  
Hello Jesse,
Added the name, 
Thanks!


 Make windows platform support Visual Studio 14 CTP tools
 

 Key: CB-7985
 URL: https://issues.apache.org/jira/browse/CB-7985
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
 Environment: Windows Server 2012 R2, Visual Studio 14 CTP, Cordova 4
Reporter: Sergey Shakhnazarov

 Repro steps:
 1. Install Cordova from npm
 2. Create project
 3. Add windows platform
 4. Build project
 C:\Users\daserge\hello\platforms\windows\CordovaApp.Windows80.jsproj(66,3): 
 error MSB4019: The imported project C:\Program Files 
 (x86)\MSBuild\Microsoft\VisualStudio\v11.0 
 Microsoft.VisualStudio..Default.props was not found. Confirm that the path 
 in the Import declaration is correct, and that the file exists on disk.
 ERROR: Error code 1 for command: 
 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild with args: 
 C:\Users\daserge\hello\platforms\windows\CordovaApp.vs2012.sln,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=debug,/p:Platform=anycpu
 Error: C:\Users\daserge\hello\platforms\windows\cordova\run.bat: Command 
 failed
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\daserge\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)



--
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