[jira] [Closed] (CB-7373) Mobilespec manual contacts test provide no output for errors.

2015-03-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7373.

Resolution: Fixed

 Mobilespec manual contacts test provide no output for errors.
 -

 Key: CB-7373
 URL: https://issues.apache.org/jira/browse/CB-7373
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Reporter: Vladimir Kotikov
Priority: Minor
  Labels: contacts, mobilespec, windows8, windows81

 Mobilespec's manual test for contact-save method provdies no output if any 
 errors happens during test.
 E.g. saving contacts is not supported on windows8/8.1, and save method always 
 resolves with NOT_SUPPORTED_ERR, but user can't see this in test results.



--
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-8589) Cordova no success callback on WP81

2015-03-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8589:


Assignee: Vladimir Kotikov

 Cordova no success callback on WP81 
 

 Key: CB-8589
 URL: https://issues.apache.org/jira/browse/CB-8589
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
 Environment: Windows Phone 8.1
Reporter: Bodo Probst
Assignee: Vladimir Kotikov

 The success callback in fileTransfer.upload() is not call, when the server 
 does not respond with data, but only with a httpResonseStatus.
 The call to (FileTransferProxy.js::167)
 reader.loadAsync(result.progress.bytesReceived).then(function(size) 
 fails with exception, when bytesReceived == 0
 On Android, the callback is called correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8649) Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset

2015-03-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8649.

Resolution: Duplicate

 Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset
 -

 Key: CB-8649
 URL: https://issues.apache.org/jira/browse/CB-8649
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Kim Hansen
Assignee: Vladimir Kotikov
Priority: Minor

 It is understood that WP8.1 is not supported (hence minor priority) but when 
 support is added this is fixable.
 Media plugin 0.2.13, Cordova 4.2.0, Tools for Apache Cordova
 The duration can be found at Media.node.duration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8541) [WP81] Cannot record: 'No suitable transform was found to encode or decode'

2015-03-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8541.


 [WP81] Cannot record: 'No suitable transform was found to encode or decode'
 ---

 Key: CB-8541
 URL: https://issues.apache.org/jira/browse/CB-8541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Windows Phone 8.1
Reporter: Corné Meerkerk
Assignee: Vladimir Kotikov

 The example from the documentation does not work on Windows (Phone) 8.1 with 
 any file extension (*.mp3, *.m4a, *.wma). The same code does work on Windows 
 Phone 8.
 When media.startRecord() is called, the error callback returns this error 
 message twice:
 'No suitable transform was found to encode or decode the content.'



--
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-8541) [WP81] Cannot record: 'No suitable transform was found to encode or decode'

2015-03-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-8541.
--
Resolution: Fixed

 [WP81] Cannot record: 'No suitable transform was found to encode or decode'
 ---

 Key: CB-8541
 URL: https://issues.apache.org/jira/browse/CB-8541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Windows Phone 8.1
Reporter: Corné Meerkerk
Assignee: Vladimir Kotikov

 The example from the documentation does not work on Windows (Phone) 8.1 with 
 any file extension (*.mp3, *.m4a, *.wma). The same code does work on Windows 
 Phone 8.
 When media.startRecord() is called, the error callback returns this error 
 message twice:
 'No suitable transform was found to encode or decode the content.'



--
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-8541) [WP81] Cannot record: 'No suitable transform was found to encode or decode'

2015-03-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8541:


Assignee: Vladimir Kotikov

 [WP81] Cannot record: 'No suitable transform was found to encode or decode'
 ---

 Key: CB-8541
 URL: https://issues.apache.org/jira/browse/CB-8541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Windows Phone 8.1
Reporter: Corné Meerkerk
Assignee: Vladimir Kotikov

 The example from the documentation does not work on Windows (Phone) 8.1 with 
 any file extension (*.mp3, *.m4a, *.wma). The same code does work on Windows 
 Phone 8.
 When media.startRecord() is called, the error callback returns this error 
 message twice:
 'No suitable transform was found to encode or decode the content.'



--
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-8541) [WP81] Cannot record: 'No suitable transform was found to encode or decode'

2015-03-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8541:
--

[~CornéM] Unfortunately tou can't use mp3 for audio recording on Windows phone 
8.1 devices until you provide custom MP3 transcoder in your app. This is 
because an MP3 encoder is not shipped with Windows Phone. Here is corresponding 
link to MSDN documentation: 
https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.mediaproperties.mediaencodingprofile.createmp3.aspx
 

I'll add this information to Windows quirks section in plugin README.

 [WP81] Cannot record: 'No suitable transform was found to encode or decode'
 ---

 Key: CB-8541
 URL: https://issues.apache.org/jira/browse/CB-8541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Windows Phone 8.1
Reporter: Corné Meerkerk
Assignee: Vladimir Kotikov

 The example from the documentation does not work on Windows (Phone) 8.1 with 
 any file extension (*.mp3, *.m4a, *.wma). The same code does work on Windows 
 Phone 8.
 When media.startRecord() is called, the error callback returns this error 
 message twice:
 'No suitable transform was found to encode or decode the content.'



--
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-8541) [WP81] Cannot record: 'No suitable transform was found to encode or decode'

2015-03-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-8541 at 3/31/15 7:57 AM:
---

[~CornéM] Unfortunately tou can't use mp3 for audio recording on Windows phone 
8.1 devices until you provide custom MP3 transcoder in your app. This is 
because an MP3 encoder is not shipped with Windows Phone. Here is corresponding 
link to MSDN documentation: 
https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.mediaproperties.mediaencodingprofile.createmp3.aspx
 

Note that this is works only for Windows Phone devices. On Windows desktop 
devices MP3 recording works well.

As a solution on WP8.1 you could use other available formats for recording, 
such as  M4A and WMA

I'll add this information to Windows quirks section in plugin README.


was (Author: vladimir.kotikov):
[~CornéM] Unfortunately tou can't use mp3 for audio recording on Windows phone 
8.1 devices until you provide custom MP3 transcoder in your app. This is 
because an MP3 encoder is not shipped with Windows Phone. Here is corresponding 
link to MSDN documentation: 
https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.mediaproperties.mediaencodingprofile.createmp3.aspx
 

I'll add this information to Windows quirks section in plugin README.

 [WP81] Cannot record: 'No suitable transform was found to encode or decode'
 ---

 Key: CB-8541
 URL: https://issues.apache.org/jira/browse/CB-8541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Windows Phone 8.1
Reporter: Corné Meerkerk
Assignee: Vladimir Kotikov

 The example from the documentation does not work on Windows (Phone) 8.1 with 
 any file extension (*.mp3, *.m4a, *.wma). The same code does work on Windows 
 Phone 8.
 When media.startRecord() is called, the error callback returns this error 
 message twice:
 'No suitable transform was found to encode or decode the content.'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7956.

Resolution: Fixed

 Add cordova-plugin-file support for browser platform
 

 Key: CB-7956
 URL: https://issues.apache.org/jira/browse/CB-7956
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Browser
Reporter: Sergey Shakhnazarov
Assignee: Vladimir Kotikov





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Assigned] (CB-8721) (Windows Phone 8, File-transfer download method) When specifying header with comma in it, fail callback is called

2015-03-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8721:


Assignee: Vladimir Kotikov

 (Windows Phone 8, File-transfer download method) When specifying header with 
 comma in it, fail callback is called
 -

 Key: CB-8721
 URL: https://issues.apache.org/jira/browse/CB-8721
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Reporter: Alexander Sorokin
Assignee: Vladimir Kotikov

 This code fails because header with comma in it is not parsed properly:
 {code}
 transfer.download(fileURL, localFilePath, function win(){}, function 
 fail(){}, true,
 {
 headers: {
 'If-Modified-Since': 'Sun, 06 Nov 1994 08:49:37 GMT'
 }
 });
 {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] [Assigned] (CB-8649) Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset

2015-03-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8649:


Assignee: Vladimir Kotikov

 Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset
 -

 Key: CB-8649
 URL: https://issues.apache.org/jira/browse/CB-8649
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Kim Hansen
Assignee: Vladimir Kotikov
Priority: Minor

 It is understood that WP8.1 is not supported (hence minor priority) but when 
 support is added this is fixable.
 Media plugin 0.2.13, Cordova 4.2.0, Tools for Apache Cordova
 The duration can be found at Media.node.duration



--
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-8649) Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset

2015-03-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8649:
--

[~khansen] looks like this is a duplicate for CB-7638. This already fixed in 
https://github.com/apache/cordova-plugin-media/commit/2660e925ab3a4926999333751819fdac017698f7
 and fix available since plugin version 0.2.14. Could you please update your 
plugin and check if still can be reproduced.

 Media Plugin WP8.1 Media.getDuration returns -1 for audio (mp3) asset
 -

 Key: CB-8649
 URL: https://issues.apache.org/jira/browse/CB-8649
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Kim Hansen
Assignee: Vladimir Kotikov
Priority: Minor

 It is understood that WP8.1 is not supported (hence minor priority) but when 
 support is added this is fixable.
 Media plugin 0.2.13, Cordova 4.2.0, Tools for Apache Cordova
 The duration can be found at Media.node.duration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Reopened] (CB-7689) Add insertCSS support for Windows platform

2015-03-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reopened CB-7689:
--

 Add insertCSS support for Windows platform
 --

 Key: CB-7689
 URL: https://issues.apache.org/jira/browse/CB-7689
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugin InAppBrowser
 Environment: 'windows' platform
Reporter: Sergey Shakhnazarov
Assignee: Vladimir Kotikov

 insertCSS (injectStyleCode and injectStyleFile) are not implemented in 
 InAppBrowser Windows proxy



--
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-8898) Introduce pre-requisites checker for main platforms

2015-04-23 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-8898:


 Summary: Introduce pre-requisites checker for main platforms
 Key: CB-8898
 URL: https://issues.apache.org/jira/browse/CB-8898
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


One of the main problems a lot of developers seem to have is the issue to 
setting up their machines for building various platforms. This came out from 
the Stack overflow survey, and the number of questions on stack overflow, 
twitter. Etc.

It would be helpful to have a check_reqs command exposed at the CLI level. This 
is similar to `brew doctor` or `appium doctor`. The idea is

1. Have a way for the user to see if they have all dependencies (like JAVA_HOME 
or ANDROID_HOME) set up? This happens at build time, but moving it out to a CLI 
level command where you can run cordova check_reqs (or something similar) would 
be useful to the users.

2. Today, the build command shows one error at a time. The check_reqs could run 
all the checks, and show a summary of the issues so that the user can fix them 
all, instead of fixing one, running build, fixing again, 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] [Created] (CB-8888) Media plugin doesn't report status precisely

2015-04-22 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-:


 Summary: Media plugin doesn't report status precisely
 Key: CB-
 URL: https://issues.apache.org/jira/browse/CB-
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media
 Environment: Windows, media plugin 1.0.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-8888) Media plugin doesn't report status precisely

2015-04-22 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-:
-
Description: 
Currently, media status is changed to MEDIA_RUNNING right when we send a play 
command to Audio. It then initializes, downloads the file and only then starts 
playing.

It should be changed to set MEDIA_RUNNING state only when actual playback 
starts by subscribing to corresponding Audio event.

 Media plugin doesn't report status precisely
 

 Key: CB-
 URL: https://issues.apache.org/jira/browse/CB-
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media
 Environment: Windows, media plugin 1.0.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Currently, media status is changed to MEDIA_RUNNING right when we send a 
 play command to Audio. It then initializes, downloads the file and only 
 then starts playing.
 It should be changed to set MEDIA_RUNNING state only when actual playback 
 starts by subscribing to corresponding Audio event.



--
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-8792) Windows Phone 8 only: File Plugin: readAsText leads to object instead string

2015-04-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8792:


Assignee: Vladimir Kotikov  (was: Jesse MacFadyen)

 Windows Phone 8 only: File Plugin: readAsText leads to object instead string
 

 Key: CB-8792
 URL: https://issues.apache.org/jira/browse/CB-8792
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: 3.4.0
 Environment: Windows 8.1, Visual Studio with Cordova, Emulators, 
 native Devices
Reporter: Martin Luckow
Assignee: Vladimir Kotikov
  Labels: cordova-plugin-file

 I have to read and write local JSON-Files in my Cordova-Project. I use the 
 current and previous versions of File-Plugin.
 Writing works fine under all platforms.
 Reading under iOS and Android and Windows 8.1 works.
 Reading under Windows Phone 8 (device and emulator) has a strange effect: 
 instead of getting a string I get the already decoded object stored in the 
 JSON-File
 ...
 function GotFileEntry(fileEntry) {
   fileEntry.file(GotFile, Fail);
   function GotFile(file) {
 var reader = new FileReader();
 reader.onload = function (evt) {
   // Here evt.target.result is the decoded object instead a string.
 };
 reader.onerror = function (evt) {
// No error occurs
 };
 reader.readAsText(file);
 }



--
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-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-04-29 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-8932:


 Summary: windows: Make plugin add --link allow for direct editing 
of plugin source files
 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugman
Reporter: Vladimir Kotikov


Since creating symlinks on Windows requires administrative privileges by 
default, the best way to enable pugin source files editing from Visual studio 
is to include them to project file from their source location.



--
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-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-04-29 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-8932:
-
Description: Similar for android and ios it will be great to support 
{{--link}} option. However, since creating symlinks on Windows requires 
administrative privileges by default, the best way to enable pugin source files 
editing from Visual studio is to include them to project file from their source 
location.  (was: Since creating symlinks on Windows requires administrative 
privileges by default, the best way to enable pugin source files editing from 
Visual studio is to include them to project file from their source location.)

 windows: Make plugin add --link allow for direct editing of plugin source 
 files
 ---

 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
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-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-04-29 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-8932:
-
Component/s: CordovaLib

 windows: Make plugin add --link allow for direct editing of plugin source 
 files
 ---

 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
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-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-04-29 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8932:


Assignee: Vladimir Kotikov

 windows: Make plugin add --link allow for direct editing of plugin source 
 files
 ---

 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
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-8935) WP8: Make plugin add --link allow for direct editing of plugin source files

2015-04-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-8935:
-
Summary: WP8: Make plugin add --link allow for direct editing of plugin 
source files  (was: CLONE - windows: Make plugin add --link allow for direct 
editing of plugin source files)

 WP8: Make plugin add --link allow for direct editing of plugin source files
 ---

 Key: CB-8935
 URL: https://issues.apache.org/jira/browse/CB-8935
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
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-8935) CLONE - windows: Make plugin add --link allow for direct editing of plugin source files

2015-04-30 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-8935:


 Summary: CLONE - windows: Make plugin add --link allow for direct 
editing of plugin source files
 Key: CB-8935
 URL: https://issues.apache.org/jira/browse/CB-8935
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Similar for android and ios it will be great to support {{--link}} option. 
However, since creating symlinks on Windows requires administrative privileges 
by default, the best way to enable pugin source files editing from Visual 
studio is to include them to project file from their source location.



--
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-8792) Windows Phone 8 only: File Plugin: readAsText leads to object instead string

2015-04-27 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-8792.
--
Resolution: Fixed

 Windows Phone 8 only: File Plugin: readAsText leads to object instead string
 

 Key: CB-8792
 URL: https://issues.apache.org/jira/browse/CB-8792
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: 3.4.0
 Environment: Windows 8.1, Visual Studio with Cordova, Emulators, 
 native Devices
Reporter: Martin Luckow
Assignee: Vladimir Kotikov
  Labels: cordova-plugin-file

 I have to read and write local JSON-Files in my Cordova-Project. I use the 
 current and previous versions of File-Plugin.
 Writing works fine under all platforms.
 Reading under iOS and Android and Windows 8.1 works.
 Reading under Windows Phone 8 (device and emulator) has a strange effect: 
 instead of getting a string I get the already decoded object stored in the 
 JSON-File
 ...
 function GotFileEntry(fileEntry) {
   fileEntry.file(GotFile, Fail);
   function GotFile(file) {
 var reader = new FileReader();
 reader.onload = function (evt) {
   // Here evt.target.result is the decoded object instead a string.
 };
 reader.onerror = function (evt) {
// No error occurs
 };
 reader.readAsText(file);
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8792) Windows Phone 8 only: File Plugin: readAsText leads to object instead string

2015-04-27 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8792.


 Windows Phone 8 only: File Plugin: readAsText leads to object instead string
 

 Key: CB-8792
 URL: https://issues.apache.org/jira/browse/CB-8792
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: 3.4.0
 Environment: Windows 8.1, Visual Studio with Cordova, Emulators, 
 native Devices
Reporter: Martin Luckow
Assignee: Vladimir Kotikov
  Labels: cordova-plugin-file

 I have to read and write local JSON-Files in my Cordova-Project. I use the 
 current and previous versions of File-Plugin.
 Writing works fine under all platforms.
 Reading under iOS and Android and Windows 8.1 works.
 Reading under Windows Phone 8 (device and emulator) has a strange effect: 
 instead of getting a string I get the already decoded object stored in the 
 JSON-File
 ...
 function GotFileEntry(fileEntry) {
   fileEntry.file(GotFile, Fail);
   function GotFile(file) {
 var reader = new FileReader();
 reader.onload = function (evt) {
   // Here evt.target.result is the decoded object instead a string.
 };
 reader.onerror = function (evt) {
// No error occurs
 };
 reader.readAsText(file);
 }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8888) Media plugin doesn't report status precisely

2015-04-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-.

Resolution: Fixed

 Media plugin doesn't report status precisely
 

 Key: CB-
 URL: https://issues.apache.org/jira/browse/CB-
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media
 Environment: Windows, media plugin 1.0.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Currently, media status is changed to MEDIA_RUNNING right when we send a 
 play command to Audio. It then initializes, downloads the file and only 
 then starts playing.
 It should be changed to set MEDIA_RUNNING state only when actual playback 
 starts by subscribing to corresponding Audio event.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8661) executeScript doesn't return the a result on Windows platform

2015-04-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8661.

Resolution: Fixed

 executeScript doesn't return the a result on Windows platform
 -

 Key: CB-8661
 URL: https://issues.apache.org/jira/browse/CB-8661
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser, Windows
 Environment: Windows 8
 Latest version of Cordova 4.3.0
 Latest version of Plugin InAppBrowser 0.6.0
Reporter: John Little
Assignee: Vladimir Kotikov

 executeScript is supposed to provide a variable to the function called when 
 the script is completed as per this clip from the documentation :-
 If the injected script is of type code, the callback executes with a single 
 parameter, which is the return value of the script, wrapped in an Array. For 
 multi-line scripts, this is the return value of the last statement, or the 
 last expression evaluated.
 When running as a Windows app the array is empty.
 Looking in the Windows InAppBrowserProxy.js file, line 230 looks like this
op.oncomplete = function () { hasCallback  win([]); };
 So clearly no data is being passed ([]) is an empty array.
 According to the documentation from Microsoft :-
 https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescriptasync.aspx
 The invokeScriptAsync function can return a string.
 So if I modify line 230 to look like this
   op.oncomplete = function (e) { hasCallback  win([e.target.result]); };
 I get a string returned to my callback function.
 You could also modify the similar line in the injectScriptFile function, as 
 it also calls invokeScriptAsync.
 I need the return value because the only way to comunicate between the page 
 in the IAB and the app is to poll some sessionStorage and wait for the page 
 to set some data.



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8762:
--

In addition, i've found the following issue: 
https://github.com/jquery/jquery-mobile/issues/5706 which looks very close to 
problem, you described.

 backbutton event does not fire if softkeyboard open for input on popup - 
 windows 8.1
 

 Key: CB-8762
 URL: https://issues.apache.org/jira/browse/CB-8762
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.6.3
 Environment: Windows Phone 8.1 devices / emulators
Reporter: Patrick Coote
Assignee: Vladimir Kotikov
  Labels: WP8.1

 Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
 app is hybrid html5 app that runs on windows, ios and android
 Issue is that backbutton event does not fire if the softkeyboard is open for 
 an input that is on a popup
 Issue is on Windows 8.1 devices:
 ondeviceready i add event listener for backbutton
 document.addEventListener(backbutton, backButtonHandler, false);
 If the input is not on a popup and the softkeyboard is open the 
 backButtonHandler is called if the user taps the device backbutton
 If the input is on an open popup, such as
 div data-role=popup class=popupClass id=popupOption 
 style=text-align:center;/
 input type=number name=mobileNumber id=mobileNumber /
 /div
 and the softkeyboard is not displayed the backButtonHandler is called when 
 the user taps the device back button 
 If the softkeyboard is displayed (input on the popup has focus) and the user 
 taps the device back button then backButtonHandler is not called
 What happens is the input blurs and focuses a number of times (i have binded 
 to these events on the input to test)
 On screen the keyboard appears to close and open rapidly, once for each tap 
 of the device back button
 On windows 8.0 device or android (device or emulator) the behaviour is 
 slightly different:
 If the keyboard is open and the user taps the device back button the 
 backButtonHandler is not called but the keyboard closes as i expect it to
 I would expect the backbutton event to be fired when the input on a popup is 
 focused (softkeyboard open) in the same way as if the input is not on a popup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8762.

Resolution: Invalid

Closing this as unrelated to Cordova. [~patrickcoote], feel free to reopen if 
needed.

 backbutton event does not fire if softkeyboard open for input on popup - 
 windows 8.1
 

 Key: CB-8762
 URL: https://issues.apache.org/jira/browse/CB-8762
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.6.3
 Environment: Windows Phone 8.1 devices / emulators
Reporter: Patrick Coote
Assignee: Vladimir Kotikov
  Labels: WP8.1

 Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
 app is hybrid html5 app that runs on windows, ios and android
 Issue is that backbutton event does not fire if the softkeyboard is open for 
 an input that is on a popup
 Issue is on Windows 8.1 devices:
 ondeviceready i add event listener for backbutton
 document.addEventListener(backbutton, backButtonHandler, false);
 If the input is not on a popup and the softkeyboard is open the 
 backButtonHandler is called if the user taps the device backbutton
 If the input is on an open popup, such as
 div data-role=popup class=popupClass id=popupOption 
 style=text-align:center;/
 input type=number name=mobileNumber id=mobileNumber /
 /div
 and the softkeyboard is not displayed the backButtonHandler is called when 
 the user taps the device back button 
 If the softkeyboard is displayed (input on the popup has focus) and the user 
 taps the device back button then backButtonHandler is not called
 What happens is the input blurs and focuses a number of times (i have binded 
 to these events on the input to test)
 On screen the keyboard appears to close and open rapidly, once for each tap 
 of the device back button
 On windows 8.0 device or android (device or emulator) the behaviour is 
 slightly different:
 If the keyboard is open and the user taps the device back button the 
 backButtonHandler is not called but the keyboard closes as i expect it to
 I would expect the backbutton event to be fired when the input on a popup is 
 focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8762:


Assignee: Vladimir Kotikov  (was: Jesse MacFadyen)

 backbutton event does not fire if softkeyboard open for input on popup - 
 windows 8.1
 

 Key: CB-8762
 URL: https://issues.apache.org/jira/browse/CB-8762
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.6.3
 Environment: Windows Phone 8.1 devices / emulators
Reporter: Patrick Coote
Assignee: Vladimir Kotikov
  Labels: WP8.1

 Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
 app is hybrid html5 app that runs on windows, ios and android
 Issue is that backbutton event does not fire if the softkeyboard is open for 
 an input that is on a popup
 Issue is on Windows 8.1 devices:
 ondeviceready i add event listener for backbutton
 document.addEventListener(backbutton, backButtonHandler, false);
 If the input is not on a popup and the softkeyboard is open the 
 backButtonHandler is called if the user taps the device backbutton
 If the input is on an open popup, such as
 div data-role=popup class=popupClass id=popupOption 
 style=text-align:center;/
 input type=number name=mobileNumber id=mobileNumber /
 /div
 and the softkeyboard is not displayed the backButtonHandler is called when 
 the user taps the device back button 
 If the softkeyboard is displayed (input on the popup has focus) and the user 
 taps the device back button then backButtonHandler is not called
 What happens is the input blurs and focuses a number of times (i have binded 
 to these events on the input to test)
 On screen the keyboard appears to close and open rapidly, once for each tap 
 of the device back button
 On windows 8.0 device or android (device or emulator) the behaviour is 
 slightly different:
 If the keyboard is open and the user taps the device back button the 
 backButtonHandler is not called but the keyboard closes as i expect it to
 I would expect the backbutton event to be fired when the input on a popup is 
 focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8762:
--

[~patrickcoote], It looks like that the issue is unrelated to Cordova.

To confirm please try the following scenario:
1. Open http://api.jquerymobile.com/resources/popup/example2.html in Internet 
Explorer on your WP8.1 device
2. Tap on {{Dialog}} button.
3. Try to close opened popup by tapping Back button.

The behavior for me is exactly the same - the popup is not being closed and 
keyboard is closed and then reopened immediately.

 backbutton event does not fire if softkeyboard open for input on popup - 
 windows 8.1
 

 Key: CB-8762
 URL: https://issues.apache.org/jira/browse/CB-8762
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.6.3
 Environment: Windows Phone 8.1 devices / emulators
Reporter: Patrick Coote
Assignee: Vladimir Kotikov
  Labels: WP8.1

 Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
 app is hybrid html5 app that runs on windows, ios and android
 Issue is that backbutton event does not fire if the softkeyboard is open for 
 an input that is on a popup
 Issue is on Windows 8.1 devices:
 ondeviceready i add event listener for backbutton
 document.addEventListener(backbutton, backButtonHandler, false);
 If the input is not on a popup and the softkeyboard is open the 
 backButtonHandler is called if the user taps the device backbutton
 If the input is on an open popup, such as
 div data-role=popup class=popupClass id=popupOption 
 style=text-align:center;/
 input type=number name=mobileNumber id=mobileNumber /
 /div
 and the softkeyboard is not displayed the backButtonHandler is called when 
 the user taps the device back button 
 If the softkeyboard is displayed (input on the popup has focus) and the user 
 taps the device back button then backButtonHandler is not called
 What happens is the input blurs and focuses a number of times (i have binded 
 to these events on the input to test)
 On screen the keyboard appears to close and open rapidly, once for each tap 
 of the device back button
 On windows 8.0 device or android (device or emulator) the behaviour is 
 slightly different:
 If the keyboard is open and the user taps the device back button the 
 backButtonHandler is not called but the keyboard closes as i expect it to
 I would expect the backbutton event to be fired when the input on a popup is 
 focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-05-05 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8932:


Assignee: (was: Vladimir Kotikov)

 windows: Make plugin add --link allow for direct editing of plugin source 
 files
 ---

 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
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-8935) WP8: Make plugin add --link allow for direct editing of plugin source files

2015-05-05 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8935:


Assignee: (was: Vladimir Kotikov)

 WP8: Make plugin add --link allow for direct editing of plugin source files
 ---

 Key: CB-8935
 URL: https://issues.apache.org/jira/browse/CB-8935
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8721) (Windows Phone 8, File-transfer download method) When specifying header with comma in it, fail callback is called

2015-05-12 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8721.


 (Windows Phone 8, File-transfer download method) When specifying header with 
 comma in it, fail callback is called
 -

 Key: CB-8721
 URL: https://issues.apache.org/jira/browse/CB-8721
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Reporter: Alexander Sorokin
Assignee: Vladimir Kotikov

 This code fails because header with comma in it is not parsed properly:
 {code}
 transfer.download(fileURL, localFilePath, function win(){}, function 
 fail(){}, true,
 {
 headers: {
 'If-Modified-Since': 'Sun, 06 Nov 1994 08:49:37 GMT'
 }
 });
 {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] [Created] (CB-8954) Update platform check_reqs script to return structured result to 'requirements' command

2015-05-05 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-8954:


 Summary: Update platform check_reqs script to return structured 
result to 'requirements' command
 Key: CB-8954
 URL: https://issues.apache.org/jira/browse/CB-8954
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Windows, WP8
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Since {{requirements}} LIB method assumes that underlying platform script will 
be {{require}}d instead of spawning child process and capturing output, we need 
to modify these scripts to provide method that will be called for getting 
current requirements status.



--
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-9025) Call platform-specific 'prepare' logic on windows as part of the 'prepare' step

2015-05-13 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9025:


 Summary: Call platform-specific 'prepare' logic on windows as part 
of the 'prepare' step
 Key: CB-9025
 URL: https://issues.apache.org/jira/browse/CB-9025
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaLib, Windows
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


All of the 'prepare' logic of windows is called as part of build and this makes 
other tools and hooks to plug in correctly difficult.

The proposed approach is to require and execute this logic inside of 
cordova-lib {{prepare}} method like this is done for android here: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/install.js#L565
 

However, to avoid this logic to be called twice (from cordova-lib {{prepare}} 
and platfrom's {{build}}) we need to remove {{applyPlatformConfig}} call from 
build script.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8092) File plugin on windows doesn't encode URIs when using toUrl() method

2015-04-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8092.

Resolution: Invalid

 File plugin on windows doesn't encode URIs when using toUrl() method
 

 Key: CB-8092
 URL: https://issues.apache.org/jira/browse/CB-8092
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Vladimir Kotikov
  Labels: plugin-file, windows

 This can be reprod by file.spec.52
 {{Entry.toURL on directory: entryFile.toURL() return URL with “\\\” slashes 
 and non-encoded spaces in folder’s names}}
 This issue consists of 2 parts. First, windows is missing 
 {{filesystem.__format__()}} method which is common place to handle URI 
 encoding. Second, methods in FileProxy for windows can't handle encoded URIs



--
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-8831) Battery plugin is not getting correctly registered on Windows platform

2015-04-09 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-8831:


 Summary: Battery plugin is not getting correctly registered on 
Windows platform
 Key: CB-8831
 URL: https://issues.apache.org/jira/browse/CB-8831
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Battery Status
 Environment: Windows 8.1 (desktop)
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor


Repro steps:
-Latest cordova
-createmobilespec testapp --windows
-run auto tests

Battery plugin will fail to register correcty:
{noformat}
Exception calling native with command :: Battery :: stop 
::exception=WinRTError: The text associated with this error code could not be 
found
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8831) Battery plugin is not getting correctly registered on Windows platform

2015-04-09 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8831.

Resolution: Fixed

 Battery plugin is not getting correctly registered on Windows platform
 --

 Key: CB-8831
 URL: https://issues.apache.org/jira/browse/CB-8831
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Battery Status
 Environment: Windows 8.1 (desktop)
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor

 Repro steps:
 -Latest cordova
 -createmobilespec testapp --windows
 -run auto tests
 Battery plugin will fail to register correcty:
 {noformat}
 Exception calling native with command :: Battery :: stop 
 ::exception=WinRTError: The text associated with this error code could not be 
 found
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-7689) Add insertCSS support for Windows platform

2015-04-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7689.

Resolution: Implemented

 Add insertCSS support for Windows platform
 --

 Key: CB-7689
 URL: https://issues.apache.org/jira/browse/CB-7689
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugin InAppBrowser
 Environment: 'windows' platform
Reporter: Sergey Shakhnazarov
Assignee: Vladimir Kotikov

 insertCSS (injectStyleCode and injectStyleFile) are not implemented in 
 InAppBrowser Windows proxy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8779) [WP8] Media is always in MEDIA_STARTING state

2015-04-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8779.

Resolution: Fixed

 [WP8] Media is always in MEDIA_STARTING state
 -

 Key: CB-8779
 URL: https://issues.apache.org/jira/browse/CB-8779
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media, WP8
Reporter: Alexander Sorokin
Assignee: Jesse MacFadyen

 Steps to repro:
 Run mobilespec manual tests.
 Even when audio is actually playing, its status is always = 1.



--
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-9124) The error messages that occur due to network timeouts are unclear

2015-06-05 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9124:
-
Summary: The error messages that occur due to network timeouts are unclear  
(was: The error messages that occur due to network timeouts, is unclear)

 The error messages that occur due to network timeouts are unclear
 -

 Key: CB-9124
 URL: https://issues.apache.org/jira/browse/CB-9124
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor

 Networks timeouts can happen during fetching plugins, platforms, or even the 
 starter template. When these are not cached, the error messages are not very 
 descriptive.



--
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-9124) The error messages that occur due to network timeouts, is unclear

2015-06-05 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9124:


 Summary: The error messages that occur due to network timeouts, is 
unclear
 Key: CB-9124
 URL: https://issues.apache.org/jira/browse/CB-9124
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor


Networks timeouts can happen during fetching plugins, platforms, or even the 
starter template. When these are not cached, the error messages are not very 
descriptive.



--
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-9137) AppVeyor builds for cordova-lib are failing

2015-06-08 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9137:


 Summary: AppVeyor builds for cordova-lib are failing
 Key: CB-9137
 URL: https://issues.apache.org/jira/browse/CB-9137
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS, CordovaLib
Affects Versions: 5.1.2
 Environment: Windows 8.1 machine, cordova-lib, cordova-js from trunk.
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
 Fix For: 5.1.2


Our AppVeyor builds are failing for a while 
(https://ci.appveyor.com/project/Humbedooh/cordova-lib/build/1.0.735) with 
undescriptive error:

{noformat}
npm ERR! weird error 1
npm ERR! Test failed.  See above for more details.
Command exited with code 1
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Assigned] (CB-5578) clean command for CLI

2015-06-09 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-5578:


Assignee: Vladimir Kotikov

 clean command for CLI
 -

 Key: CB-5578
 URL: https://issues.apache.org/jira/browse/CB-5578
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Affects Versions: 3.2.0
Reporter: Orçun Topdağı
Assignee: Vladimir Kotikov
Priority: Minor

  cordova clean (platform)
 Actually I need this feature to workaround this 
 [issue|https://issues.apache.org/jira/browse/CB-5568] for now. However if 
 there is a build command, I believe a clean command is called for, at least I 
 even just run the above command before checking its existence.



--
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-5578) clean command for CLI

2015-06-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-5578.
--
Resolution: Implemented

 clean command for CLI
 -

 Key: CB-5578
 URL: https://issues.apache.org/jira/browse/CB-5578
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Affects Versions: 3.2.0
Reporter: Orçun Topdağı
Assignee: Vladimir Kotikov
Priority: Minor

  cordova clean (platform)
 Actually I need this feature to workaround this 
 [issue|https://issues.apache.org/jira/browse/CB-5568] for now. However if 
 there is a build command, I believe a clean command is called for, at least I 
 even just run the above command before checking its existence.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9137) AppVeyor builds for cordova-lib are failing

2015-06-09 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9137.

Resolution: Fixed

 AppVeyor builds for cordova-lib are failing
 ---

 Key: CB-9137
 URL: https://issues.apache.org/jira/browse/CB-9137
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS, CordovaLib
Affects Versions: 5.1.2
 Environment: Windows 8.1 machine, cordova-lib, cordova-js from trunk.
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
 Fix For: 5.1.2


 Our AppVeyor builds are failing for a while 
 (https://ci.appveyor.com/project/Humbedooh/cordova-lib/build/1.0.735) with 
 undescriptive error:
 {noformat}
 npm ERR! weird error 1
 npm ERR! Test failed.  See above for more details.
 Command exited with code 1
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9124) The error messages that occur due to network timeouts are unclear

2015-06-09 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9124.

Resolution: Fixed

 The error messages that occur due to network timeouts are unclear
 -

 Key: CB-9124
 URL: https://issues.apache.org/jira/browse/CB-9124
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor

 Networks timeouts can happen during fetching plugins, platforms, or even the 
 starter template. When these are not cached, the error messages are not very 
 descriptive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-7962) Add cordova-plugin-media support for browser platform

2015-06-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7962.


 Add cordova-plugin-media support for browser platform
 -

 Key: CB-7962
 URL: https://issues.apache.org/jira/browse/CB-7962
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Browser
Reporter: Sergey Shakhnazarov
Assignee: Vladimir Kotikov





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-7963) Add cordova-plugin-media-capture support for browser platform

2015-06-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7963.


 Add cordova-plugin-media-capture support for browser platform
 -

 Key: CB-7963
 URL: https://issues.apache.org/jira/browse/CB-7963
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Browser
Reporter: Sergey Shakhnazarov
Assignee: Vladimir Kotikov





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9235) Enhance check_reqs for Windows to include more checks

2015-06-23 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9235:


 Summary: Enhance check_reqs for Windows to include more checks
 Key: CB-9235
 URL: https://issues.apache.org/jira/browse/CB-9235
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Affects Versions: 4.0.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


For Windows the requirements will vary depending on the version of Windows you 
are targeting:
_8.1:_
* MSBuild
* VS 2013

_Phone:_
* 8.1 Phone support – at least VS 2013 Update 2.
* Phone SDK

_Win 10:_
* UAP Windows SDK
* VS 2015 RC+

We'll need to enhance check_reqs for Windows with more checks based on the 
windows-target-version and windows-phone-target-version. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8197) Switch to nodejs for ios platform scripts

2015-06-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8197.

Resolution: Fixed

 Switch to nodejs for ios platform scripts
 -

 Key: CB-8197
 URL: https://issues.apache.org/jira/browse/CB-8197
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS
Reporter: Vladimir Kotikov
 Fix For: 3.8.0


 Currently platform tooling for ios is based on bash scripts and to improve 
 maintainability of such scripts it would be useful to port them to NodeJS.
 Part of this work is already done for create/update scripts in 
 https://issues.apache.org/jira/browse/CB-5706 but platform scripts placed in 
 cordova folder of platform is still being unported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Reopened] (CB-8197) Switch to nodejs for ios platform scripts

2015-06-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reopened CB-8197:
--

 Switch to nodejs for ios platform scripts
 -

 Key: CB-8197
 URL: https://issues.apache.org/jira/browse/CB-8197
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS
Reporter: Vladimir Kotikov
 Fix For: 3.8.0


 Currently platform tooling for ios is based on bash scripts and to improve 
 maintainability of such scripts it would be useful to port them to NodeJS.
 Part of this work is already done for create/update scripts in 
 https://issues.apache.org/jira/browse/CB-5706 but platform scripts placed in 
 cordova folder of platform is still being unported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8954) Update platform check_reqs script to return structured result to 'requirements' command

2015-05-29 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8954.

Resolution: Implemented

 Update platform check_reqs script to return structured result to 
 'requirements' command
 ---

 Key: CB-8954
 URL: https://issues.apache.org/jira/browse/CB-8954
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Windows, WP8
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Since {{requirements}} LIB method assumes that underlying platform script 
 will be {{require}}d instead of spawning child process and capturing output, 
 we need to modify these scripts to provide method that will be called for 
 getting current requirements status.



--
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-8889) Windows platform update overwrite ProductId in manifest, no way to pass it in update method

2015-05-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8889:


Assignee: Vladimir Kotikov  (was: Jesse MacFadyen)

 Windows platform update overwrite ProductId in manifest, no way to pass it in 
 update method
 ---

 Key: CB-8889
 URL: https://issues.apache.org/jira/browse/CB-8889
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows, WP8
Affects Versions: Master
 Environment: Windows 8.1 x64 Pro
 Node 0.12.0
Reporter: Sergey
Assignee: Vladimir Kotikov

 in cordova-windows package introduces --guid argument, but it seems to not 
 work when
 `cordova platform update windows --guid guid`
 Need to save this values between update or create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8889) Windows platform update overwrite ProductId in manifest, no way to pass it in update method

2015-05-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8889.

Resolution: Fixed

 Windows platform update overwrite ProductId in manifest, no way to pass it in 
 update method
 ---

 Key: CB-8889
 URL: https://issues.apache.org/jira/browse/CB-8889
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows, WP8
Affects Versions: Master
 Environment: Windows 8.1 x64 Pro
 Node 0.12.0
Reporter: Sergey
Assignee: Vladimir Kotikov

 in cordova-windows package introduces --guid argument, but it seems to not 
 work when
 `cordova platform update windows --guid guid`
 Need to save this values between update or create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9073) Cordova fails to add Android/Windows platform to project when root folder contains

2015-05-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9073.

Resolution: Fixed

 Cordova fails to add Android/Windows platform to project when root folder 
 contains 
 --

 Key: CB-9073
 URL: https://issues.apache.org/jira/browse/CB-9073
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib, Windows
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 *Repro steps:*
 {noformat}
 mkdir “RD”
 cordova create testapp
 cd testapp
 cordova platform add windows
 {noformat}
 *Expected:*
 Platform added successfully
 *Actual:*
 The following error is thrown:
 {noformat}
 D:\Projects\RD\testcordova platform add windows
 Adding windows project...
 Failed to create project due to Project directory already exists:
 D:\Projects\R
 The system cannot find the path specified.
 Error: 
 C:\Users\toddmosc\.cordova\lib\npm_cache\cordova-windows\3.8.1\package\bin\create.bat:
  Command failed with exit code 1
 at ChildProcess.whenDone 
 (C:\Users\toddmosc\AppData\Roaming\npm\node_modules
 \vs-tac\node_modules\cordova\5.0.0\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.emit (events.js:110:17)
 at maybeClose (child_process.js:1015:16)
 at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9073) Cordova fails to add Android/Windows platform to project when root folder contains

2015-05-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9073:
--

Fix for this issue has been merged. However, this is still impossible to build 
an adroid project, placed inside of ''-ed path due to some issues with Android 
SDK, in particular with 'android' command and gradle wrapper. Since this is 
impossible to resolve this problems as a part of cordova, i'm closing this as 
resolved.

 Cordova fails to add Android/Windows platform to project when root folder 
 contains 
 --

 Key: CB-9073
 URL: https://issues.apache.org/jira/browse/CB-9073
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib, Windows
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 *Repro steps:*
 {noformat}
 mkdir “RD”
 cordova create testapp
 cd testapp
 cordova platform add windows
 {noformat}
 *Expected:*
 Platform added successfully
 *Actual:*
 The following error is thrown:
 {noformat}
 D:\Projects\RD\testcordova platform add windows
 Adding windows project...
 Failed to create project due to Project directory already exists:
 D:\Projects\R
 The system cannot find the path specified.
 Error: 
 C:\Users\toddmosc\.cordova\lib\npm_cache\cordova-windows\3.8.1\package\bin\create.bat:
  Command failed with exit code 1
 at ChildProcess.whenDone 
 (C:\Users\toddmosc\AppData\Roaming\npm\node_modules
 \vs-tac\node_modules\cordova\5.0.0\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.emit (events.js:110:17)
 at maybeClose (child_process.js:1015:16)
 at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-9049) InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into the account

2015-06-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-9049 at 6/30/15 7:44 AM:
---

Cordova app on Windows itself doesn't runs in WebView, it gets executed 
directly as native code, so, unlike the other platforms, there is no concept of 
Cordova WebView on Windows. Due to this and platform restrictions, 
cordova-windows doesn't support navigation to remote pages. The only way to 
navigate to remote page - open it in iframe/webview ({{InAppBrowser.open}} with 
{{_blank}} option).

The code above will work as you expected only in case of navigating to bundled 
page using {{ms-appx:///}} schema. For reference see 
https://msdn.microsoft.com/en-us/library/windows/apps/hh780594.aspx and 
https://msdn.microsoft.com/library/windows/apps/hh781215.aspx


was (Author: vladimir.kotikov):
The code, you provided, works as expected, because Windows, due to platform 
restrictions, doesn't support navigation to remote pages. The only way to 
navigate to remote page - open it in iframe/webview ({{InAppBrowser.open}} with 
{{_blank}} option).

The code above will work as you expected only in case of navigating to bundled 
page using {{ms-appx:///}} schema. For reference see 
https://msdn.microsoft.com/en-us/library/windows/apps/hh780594.aspx and 
https://msdn.microsoft.com/library/windows/apps/hh781215.aspx

Just for clarification - cordova app on Windows itself doesn't runs in WebView, 
it gets executed directly as native code, so, unlike the other platforms, there 
is no concept of Cordova WebView on Windows.

 InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into 
 the account 
 ---

 Key: CB-9049
 URL: https://issues.apache.org/jira/browse/CB-9049
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
 Environment: Windows 8.1
Reporter: Babak Vahdat
Assignee: Vladimir Kotikov

 According to the 
 [documentation|https://github.com/apache/cordova-plugin-inappbrowser#supported-platforms]
  Windows 8.1 WebView is supported by this plugin. Now given the following 
 simple code inside {{index.html}}
 {code}
 body
   button id='launch'Go to Google/button
   script src='cordova.js'/script
   script
   document.addEventListener('deviceready', function() {
 document.querySelector('#launch').addEventListener('click', function() {
   cordova.InAppBrowser.open('http://www.google.ch', '_self', 
 'location=no');
 }, false);
   }, false);
   /script
 /body
 {code}
 Clicking the button above inside the WebView results in a new _browser_ 
 window being opened pointing to {{http://www.google.ch}}. However my 
 understanding is, given the target value as {{_self}} and the following 
 whitelist entry inside {{config.xml}}
 {code}
 access origin=* /
 {code}
 The site should open inside the WebView _itself_. 



--
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-9049) InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into the account

2015-06-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9049:
--

The code, you provided, works as expected, because Windows, due to platform 
restrictions, doesn't support navigation to remote pages. The only way to 
navigate to remote page - open it in iframe/webview ({{InAppBrowser.open}} with 
{{_blank}} option).

The code above will work as you expected only in case of navigating to bundled 
page using {{ms-appx:///}} schema. For reference see 
https://msdn.microsoft.com/en-us/library/windows/apps/hh780594.aspx and 
https://msdn.microsoft.com/library/windows/apps/hh781215.aspx

 InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into 
 the account 
 ---

 Key: CB-9049
 URL: https://issues.apache.org/jira/browse/CB-9049
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
 Environment: Windows 8.1
Reporter: Babak Vahdat
Assignee: Vladimir Kotikov

 According to the 
 [documentation|https://github.com/apache/cordova-plugin-inappbrowser#supported-platforms]
  Windows 8.1 WebView is supported by this plugin. Now given the following 
 simple code inside {{index.html}}
 {code}
 body
   button id='launch'Go to Google/button
   script src='cordova.js'/script
   script
   document.addEventListener('deviceready', function() {
 document.querySelector('#launch').addEventListener('click', function() {
   cordova.InAppBrowser.open('http://www.google.ch', '_self', 
 'location=no');
 }, false);
   }, false);
   /script
 /body
 {code}
 Clicking the button above inside the WebView results in a new _browser_ 
 window being opened pointing to {{http://www.google.ch}}. However my 
 understanding is, given the target value as {{_self}} and the following 
 whitelist entry inside {{config.xml}}
 {code}
 access origin=* /
 {code}
 The site should open inside the WebView _itself_. 



--
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-9049) InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into the account

2015-06-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-9049 at 6/30/15 7:41 AM:
---

The code, you provided, works as expected, because Windows, due to platform 
restrictions, doesn't support navigation to remote pages. The only way to 
navigate to remote page - open it in iframe/webview ({{InAppBrowser.open}} with 
{{_blank}} option).

The code above will work as you expected only in case of navigating to bundled 
page using {{ms-appx:///}} schema. For reference see 
https://msdn.microsoft.com/en-us/library/windows/apps/hh780594.aspx and 
https://msdn.microsoft.com/library/windows/apps/hh781215.aspx

Just for clarification - cordova app on Windows itself doesn't runs in WebView, 
it gets executed directly as native code, so, unlike the other platforms, there 
is no concept of Cordova WebView on Windows.


was (Author: vladimir.kotikov):
The code, you provided, works as expected, because Windows, due to platform 
restrictions, doesn't support navigation to remote pages. The only way to 
navigate to remote page - open it in iframe/webview ({{InAppBrowser.open}} with 
{{_blank}} option).

The code above will work as you expected only in case of navigating to bundled 
page using {{ms-appx:///}} schema. For reference see 
https://msdn.microsoft.com/en-us/library/windows/apps/hh780594.aspx and 
https://msdn.microsoft.com/library/windows/apps/hh781215.aspx

 InAppBrowser on Windows 8.1 WebView doesn't take the target parameter into 
 the account 
 ---

 Key: CB-9049
 URL: https://issues.apache.org/jira/browse/CB-9049
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
 Environment: Windows 8.1
Reporter: Babak Vahdat
Assignee: Vladimir Kotikov

 According to the 
 [documentation|https://github.com/apache/cordova-plugin-inappbrowser#supported-platforms]
  Windows 8.1 WebView is supported by this plugin. Now given the following 
 simple code inside {{index.html}}
 {code}
 body
   button id='launch'Go to Google/button
   script src='cordova.js'/script
   script
   document.addEventListener('deviceready', function() {
 document.querySelector('#launch').addEventListener('click', function() {
   cordova.InAppBrowser.open('http://www.google.ch', '_self', 
 'location=no');
 }, false);
   }, false);
   /script
 /body
 {code}
 Clicking the button above inside the WebView results in a new _browser_ 
 window being opened pointing to {{http://www.google.ch}}. However my 
 understanding is, given the target value as {{_self}} and the following 
 whitelist entry inside {{config.xml}}
 {code}
 access origin=* /
 {code}
 The site should open inside the WebView _itself_. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9286) cordova build android fails with [Error: Android SDK not found...]

2015-07-06 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9286.

Resolution: Fixed

 cordova build android fails with [Error: Android SDK not found...]
 --

 Key: CB-9286
 URL: https://issues.apache.org/jira/browse/CB-9286
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.1.0
 Environment: Windows,
 ANDROID_HOME is not set
 PATH doesn't include Android SDK path
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: android

 1. In a batch command shell: set ANDROID_HOME=   (ANDROID_HOME is not set)
 2. Ensure that PATH doesn't include Android SDK path
 3. cordova build android
 ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is 
 installed. If it is not at the default location, set the ANDROID_HOME 
 environment variable.]
 EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME 
 variable based on default installed locations on a machine.
 This is a regression with the check_reqs changes.



--
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-9286) cordova build android fails with [Error: Android SDK not found...]

2015-07-03 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9286:
-
Summary: cordova build android fails with [Error: Android SDK not found...] 
 (was: cordova build android fails with Error: Android SDK not found...)

 cordova build android fails with [Error: Android SDK not found...]
 --

 Key: CB-9286
 URL: https://issues.apache.org/jira/browse/CB-9286
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.1.0
 Environment: Windows,
 ANDROID_HOME is not set
 PATH doesn't include Android SDK path
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: android

 1. In a batch command shell: set ANDROID_HOME=   (ANDROID_HOME is not set)
 2. Ensure that PATH doesn't include Android SDK path
 3. cordova build android
 ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is 
 installed. If it is not at the default location, set the ANDROID_HOME 
 environment variable.]
 EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME 
 variable based on default installed locations on a machine.
 This is a regression with the check_reqs changes.



--
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-9073) Cordova fails to add Android/Windows platform to project when root folder contains

2015-05-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9073:
-
Summary: Cordova fails to add Android/Windows platform to project when root 
folder contains   (was: Cordova fails to build/add Android/Windows platform 
to project when root folder contains )

 Cordova fails to add Android/Windows platform to project when root folder 
 contains 
 --

 Key: CB-9073
 URL: https://issues.apache.org/jira/browse/CB-9073
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib, Windows
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 *Repro steps:*
 {noformat}
 mkdir “RD”
 cordova create testapp
 cd testapp
 cordova platform add windows
 {noformat}
 *Expected:*
 Platform added successfully
 *Actual:*
 The following error is thrown:
 {noformat}
 D:\Projects\RD\testcordova platform add windows
 Adding windows project...
 Failed to create project due to Project directory already exists:
 D:\Projects\R
 The system cannot find the path specified.
 Error: 
 C:\Users\toddmosc\.cordova\lib\npm_cache\cordova-windows\3.8.1\package\bin\create.bat:
  Command failed with exit code 1
 at ChildProcess.whenDone 
 (C:\Users\toddmosc\AppData\Roaming\npm\node_modules
 \vs-tac\node_modules\cordova\5.0.0\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.emit (events.js:110:17)
 at maybeClose (child_process.js:1015:16)
 at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9073) Cordova fails to build/add Android/Windows platform to project when root folder contains

2015-05-26 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9073:


 Summary: Cordova fails to build/add Android/Windows platform to 
project when root folder contains 
 Key: CB-9073
 URL: https://issues.apache.org/jira/browse/CB-9073
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaLib, Windows
Affects Versions: 5.0.1
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


*Repro steps:*
{noformat}
mkdir “RD”
cordova create testapp
cd testapp
cordova platform add windows
{noformat}

*Expected:*
Platform added successfully

*Actual:*
The following error is thrown:
{noformat}
D:\Projects\RD\testcordova platform add windows
Adding windows project...
Failed to create project due to Project directory already exists:
D:\Projects\R
The system cannot find the path specified.
Error: 
C:\Users\toddmosc\.cordova\lib\npm_cache\cordova-windows\3.8.1\package\bin\create.bat:
 Command failed with exit code 1
at ChildProcess.whenDone (C:\Users\toddmosc\AppData\Roaming\npm\node_modules
\vs-tac\node_modules\cordova\5.0.0\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9025) Call platform-specific 'prepare' logic on windows as part of the 'prepare' step

2015-05-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9025.

Resolution: Fixed

 Call platform-specific 'prepare' logic on windows as part of the 'prepare' 
 step
 ---

 Key: CB-9025
 URL: https://issues.apache.org/jira/browse/CB-9025
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaLib, Windows
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 All of the 'prepare' logic of windows is called as part of build and this 
 makes other tools and hooks to plug in correctly difficult.
 The proposed approach is to require and execute this logic inside of 
 cordova-lib {{prepare}} method like this is done for android here: 
 https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/install.js#L565
  
 However, to avoid this logic to be called twice (from cordova-lib {{prepare}} 
 and platfrom's {{build}}) we need to remove {{applyPlatformConfig}} call from 
 build script.



--
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-8954) Update platform check_reqs script to return structured result to 'requirements' command

2015-05-22 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8954:
--

[~timwindsor], the place where this structure is placed - the platform's 
check_reqs code. In general, the platform code will return a Promise, resolved 
with array of {{Requirement}} objects, which defined as following:

{noformat}
/**
 * Object thar represents one of requirements for current platform.
 * @param {String} id The unique identifier for this requirement.
 * @param {String} name   The name of requirements. Human-readable field.
 * @param {String} versionThe version of requirement installed. In some 
cases could be an array of strings
 *(for example, check_android_target returns an 
array of android targets installed)
 * @param {Boolean} installed Indicates whether the reuirement is installed or 
not
 */
var Requirement = function (id, name, version, installed) {
/* The unique identifier for this requirement */
this.id = id;
/* The name of requirements. Human-readable field */
this.name = name;
/* Indicates whether the reuirement is installed or not */
this.installed = installed || false;
this.metadata = {
/* The version of requirement installed. In some cases could be an 
array of strings
   (for example, check_android_target returns an array of android 
targets installed) */
version: version,
/* Reason of failed check, should be a string with description, why 
check is failed,
   and, probably, the steps to resolve/install missing requirement */
reason: undefined
};
};
{noformat}

 Update platform check_reqs script to return structured result to 
 'requirements' command
 ---

 Key: CB-8954
 URL: https://issues.apache.org/jira/browse/CB-8954
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Windows, WP8
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Since {{requirements}} LIB method assumes that underlying platform script 
 will be {{require}}d instead of spawning child process and capturing output, 
 we need to modify these scripts to provide method that will be called for 
 getting current requirements status.



--
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-8954) Update platform check_reqs script to return structured result to 'requirements' command

2015-05-22 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-8954 at 5/22/15 9:29 AM:
---

[~timwindsor], this structure is placed in the platform's check_reqs code. In 
general, the platform code will return a Promise, resolved with array of 
{{Requirement}} objects, which defined as following:

{noformat}
/**
 * Object thar represents one of requirements for current platform.
 * @param {String} id The unique identifier for this requirement.
 * @param {String} name   The name of requirements. Human-readable field.
 * @param {String} versionThe version of requirement installed. In some 
cases could be an array of strings
 *(for example, check_android_target returns an 
array of android targets installed)
 * @param {Boolean} installed Indicates whether the reuirement is installed or 
not
 */
var Requirement = function (id, name, version, installed) {
/* The unique identifier for this requirement */
this.id = id;
/* The name of requirements. Human-readable field */
this.name = name;
/* Indicates whether the reuirement is installed or not */
this.installed = installed || false;
this.metadata = {
/* The version of requirement installed. In some cases could be an 
array of strings
   (for example, check_android_target returns an array of android 
targets installed) */
version: version,
/* Reason of failed check, should be a string with description, why 
check is failed,
   and, probably, the steps to resolve/install missing requirement */
reason: undefined
};
};
{noformat}


was (Author: vladimir.kotikov):
[~timwindsor], the place where this structure is placed - the platform's 
check_reqs code. In general, the platform code will return a Promise, resolved 
with array of {{Requirement}} objects, which defined as following:

{noformat}
/**
 * Object thar represents one of requirements for current platform.
 * @param {String} id The unique identifier for this requirement.
 * @param {String} name   The name of requirements. Human-readable field.
 * @param {String} versionThe version of requirement installed. In some 
cases could be an array of strings
 *(for example, check_android_target returns an 
array of android targets installed)
 * @param {Boolean} installed Indicates whether the reuirement is installed or 
not
 */
var Requirement = function (id, name, version, installed) {
/* The unique identifier for this requirement */
this.id = id;
/* The name of requirements. Human-readable field */
this.name = name;
/* Indicates whether the reuirement is installed or not */
this.installed = installed || false;
this.metadata = {
/* The version of requirement installed. In some cases could be an 
array of strings
   (for example, check_android_target returns an array of android 
targets installed) */
version: version,
/* Reason of failed check, should be a string with description, why 
check is failed,
   and, probably, the steps to resolve/install missing requirement */
reason: undefined
};
};
{noformat}

 Update platform check_reqs script to return structured result to 
 'requirements' command
 ---

 Key: CB-8954
 URL: https://issues.apache.org/jira/browse/CB-8954
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Windows, WP8
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Since {{requirements}} LIB method assumes that underlying platform script 
 will be {{require}}d instead of spawning child process and capturing output, 
 we need to modify these scripts to provide method that will be called for 
 getting current requirements status.



--
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-9505) Some plugins on windows platform do not loaded correctly using browserify

2015-08-18 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9505:
-
Description: 
There is some issues with Windows plugins, which makes multiple tests to fail. 
The most of these issues are related to incorrect usage of `clobbers/merges` 
tags instead of `runs` in plugin definition. This causes plugins' proxies to 
not to register, so native functionality is not available to app. Some of 
plugins affected by this issue:

# contacts
# device
# device-motion
# device-orientation
# file-transfer
# media
# network-information


  was:
There is some issues with Windows plugins, which makes multiple tests to fail. 
The most of these issues are related to incorrect usage of `clobbers/merges` 
tags instead of `runs` in plugin definition. This causes plugins' proxies to 
not to register, so native functionality is not available to app. The plugins 
affected by this issue:

# contacts
# device
# device-motion
# device-orientation
# file-transfer
# media
# network-information



 Some plugins on windows platform do not loaded correctly using browserify
 -

 Key: CB-9505
 URL: https://issues.apache.org/jira/browse/CB-9505
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: browserify, mobilespec, windows

 There is some issues with Windows plugins, which makes multiple tests to 
 fail. The most of these issues are related to incorrect usage of 
 `clobbers/merges` tags instead of `runs` in plugin definition. This causes 
 plugins' proxies to not to register, so native functionality is not available 
 to app. Some of plugins affected by this issue:
 # contacts
 # device
 # device-motion
 # device-orientation
 # file-transfer
 # media
 # network-information



--
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-9505) Some plugins on windows platform do not loaded correctly using browserify

2015-08-18 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9505:


 Summary: Some plugins on windows platform do not loaded correctly 
using browserify
 Key: CB-9505
 URL: https://issues.apache.org/jira/browse/CB-9505
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


There is some issues with Windows plugins, which makes multiple tests to fail. 
The most of these issues are related to incorrect usage of `clobbers/merges` 
tags instead of `runs` in plugin definition. This causes plugins' proxies to 
not to register, so native functionality is not available to app. The plugins 
affected by this issue:

# contacts
# device
# device-motion
# device-orientation
# file-transfer
# media
# network-information




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9436) Refactor browserify to get rid of `require-tr` transform

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9436.

Resolution: Fixed

 Refactor browserify to get rid of `require-tr` transform
 

 Key: CB-9436
 URL: https://issues.apache.org/jira/browse/CB-9436
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9429) Add option to run cordova-js tests against browserified bundle.

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9429.

Resolution: Fixed

 Add option to run cordova-js tests against browserified bundle.
 ---

 Key: CB-9429
 URL: https://issues.apache.org/jira/browse/CB-9429
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS
Affects Versions: 4.1.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 There is no way currently to run cordova-js tests with browserified 
 cordova-js bundle, so the only way to test browserify flow is to 
 create/build/run mobilespec with {{--browserify}} option.
 However there is still problems with browserify and test-framework, so even 
 this way is not available now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9505) Some plugins on windows platform do not loaded correctly using browserify

2015-08-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9505:
--

 Could we update the plugins to use runs instead of clobbers/merges?

This definitely should be done at some moment, but IMO it's better to fix it 
now in cordova-js to allow users switch to browserify seamlessly without 
updating theirs applications.

 Some plugins on windows platform do not loaded correctly using browserify
 -

 Key: CB-9505
 URL: https://issues.apache.org/jira/browse/CB-9505
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: browserify, mobilespec, windows

 There is some issues with Windows plugins, which makes multiple tests to 
 fail. The most of these issues are related to incorrect usage of 
 `clobbers/merges` tags instead of `runs` in plugin definition. This causes 
 plugins' proxies to not to register, so native functionality is not available 
 to app. Some of plugins affected by this issue:
 # contacts
 # device
 # device-motion
 # device-orientation
 # file-transfer
 # media
 # network-information



--
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-9505) Some plugins on windows platform do not loaded correctly using browserify

2015-08-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-9505 at 8/21/15 6:49 AM:
---

bq. Could we update the plugins to use runs instead of clobbers/merges?

This definitely should be done at some moment, but IMO it's better to fix it 
now in cordova-js to allow users switch to browserify seamlessly without 
updating theirs applications.


was (Author: vladimir.kotikov):
 Could we update the plugins to use runs instead of clobbers/merges?

This definitely should be done at some moment, but IMO it's better to fix it 
now in cordova-js to allow users switch to browserify seamlessly without 
updating theirs applications.

 Some plugins on windows platform do not loaded correctly using browserify
 -

 Key: CB-9505
 URL: https://issues.apache.org/jira/browse/CB-9505
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: browserify, mobilespec, windows

 There is some issues with Windows plugins, which makes multiple tests to 
 fail. The most of these issues are related to incorrect usage of 
 `clobbers/merges` tags instead of `runs` in plugin definition. This causes 
 plugins' proxies to not to register, so native functionality is not available 
 to app. Some of plugins affected by this issue:
 # contacts
 # device
 # device-motion
 # device-orientation
 # file-transfer
 # media
 # network-information



--
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-9549) Remove non-needed JS files from browserify-prepared app

2015-08-24 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9549:


 Summary: Remove non-needed JS files from browserify-prepared app
 Key: CB-9549
 URL: https://issues.apache.org/jira/browse/CB-9549
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor


When preparing application with {{--browserify}} option some JS files, not 
required at runtime, still remain in application {{www}} directory (and in 
packaged app). These files should be removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.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-9549) Remove excess JS files from browserify-prepared app

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9549:
-
Description: 
When preparing application with {{--browserify}} option some JS files, which 
not required at runtime, still remain in application's {{www}} directory (and 
in packaged app). These files should be removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js


  was:
When preparing application with {{--browserify}} option some JS files, not 
required at runtime, still remain in application {{www}} directory (and in 
packaged app). These files should be removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js



 Remove excess JS files from browserify-prepared app
 ---

 Key: CB-9549
 URL: https://issues.apache.org/jira/browse/CB-9549
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor
  Labels: browserify, cordova-js

 When preparing application with {{--browserify}} option some JS files, which 
 not required at runtime, still remain in application's {{www}} directory (and 
 in packaged app). These files should be removed automatically after prepare.
 Files to remove:
 * {{cordova-js-src}} directory
 * cordova_plugins.js
 * init.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-9549) Remove excess JS files from browserify-prepared app

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9549:
-
Description: 
When preparing application with {{--browserify}} option some JS files, which 
not required at runtime/already bundled in {{cordova.js}}, still remain in 
application's {{www}} directory (and in packaged app). These files should be 
removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js


  was:
When preparing application with {{--browserify}} option some JS files, which 
not required at runtime, still remain in application's {{www}} directory (and 
in packaged app). These files should be removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js



 Remove excess JS files from browserify-prepared app
 ---

 Key: CB-9549
 URL: https://issues.apache.org/jira/browse/CB-9549
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor
  Labels: browserify, cordova-js

 When preparing application with {{--browserify}} option some JS files, which 
 not required at runtime/already bundled in {{cordova.js}}, still remain in 
 application's {{www}} directory (and in packaged app). These files should be 
 removed automatically after prepare.
 Files to remove:
 * {{cordova-js-src}} directory
 * cordova_plugins.js
 * init.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-9549) Remove excess JS files from browserify-prepared app

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9549:
-
Summary: Remove excess JS files from browserify-prepared app  (was: Remove 
non-needed JS files from browserify-prepared app)

 Remove excess JS files from browserify-prepared app
 ---

 Key: CB-9549
 URL: https://issues.apache.org/jira/browse/CB-9549
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor
  Labels: browserify, cordova-js

 When preparing application with {{--browserify}} option some JS files, not 
 required at runtime, still remain in application {{www}} directory (and in 
 packaged app). These files should be removed automatically after prepare.
 Files to remove:
 * {{cordova-js-src}} directory
 * cordova_plugins.js
 * init.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-9549) Remove excess JS files from browserify-prepared app

2015-08-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9549:
-
Description: 
When preparing application with {{--browserify}} option some JS files, which 
not required at runtime/already bundled in {{cordova.js}}, still remains in 
application's {{www}} directory (and in packaged app). These files should be 
removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js


  was:
When preparing application with {{--browserify}} option some JS files, which 
not required at runtime/already bundled in {{cordova.js}}, still remain in 
application's {{www}} directory (and in packaged app). These files should be 
removed automatically after prepare.

Files to remove:
* {{cordova-js-src}} directory
* cordova_plugins.js
* init.js



 Remove excess JS files from browserify-prepared app
 ---

 Key: CB-9549
 URL: https://issues.apache.org/jira/browse/CB-9549
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor
  Labels: browserify, cordova-js

 When preparing application with {{--browserify}} option some JS files, which 
 not required at runtime/already bundled in {{cordova.js}}, still remains in 
 application's {{www}} directory (and in packaged app). These files should be 
 removed automatically after prepare.
 Files to remove:
 * {{cordova-js-src}} directory
 * cordova_plugins.js
 * init.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] [Closed] (CB-8932) windows: Make plugin add --link allow for direct editing of plugin source files

2015-06-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8932.

Resolution: Later

 windows: Make plugin add --link allow for direct editing of plugin source 
 files
 ---

 Key: CB-8932
 URL: https://issues.apache.org/jira/browse/CB-8932
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8935) WP8: Make plugin add --link allow for direct editing of plugin source files

2015-06-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8935.

Resolution: Later

 WP8: Make plugin add --link allow for direct editing of plugin source files
 ---

 Key: CB-8935
 URL: https://issues.apache.org/jira/browse/CB-8935
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib, Plugman
Reporter: Vladimir Kotikov

 Similar for android and ios it will be great to support {{--link}} option. 
 However, since creating symlinks on Windows requires administrative 
 privileges by default, the best way to enable pugin source files editing from 
 Visual studio is to include them to project file from their source location.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Reopened] (CB-6499) Add `multiple` option to pickContact method.

2015-07-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reopened CB-6499:
--

 Add `multiple` option to pickContact method.
 

 Key: CB-6499
 URL: https://issues.apache.org/jira/browse/CB-6499
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Contacts
Reporter: Vladimir Kotikov

 Sometimes user should have possibility to select multiple contacts from 
 device's address book, e.g. select multiple message recipients.
 Sample usage is something like: {noformat}pickContact(success, error, 
 {multiple: true}){noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-6499) Add `multiple` option to pickContact method.

2015-07-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-6499:
--

You're right, {{multiple}} option supported only for {{search}} method. Looks 
like this was closed by error, reopening.

 Add `multiple` option to pickContact method.
 

 Key: CB-6499
 URL: https://issues.apache.org/jira/browse/CB-6499
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Contacts
Reporter: Vladimir Kotikov

 Sometimes user should have possibility to select multiple contacts from 
 device's address book, e.g. select multiple message recipients.
 Sample usage is something like: {noformat}pickContact(success, error, 
 {multiple: true}){noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9239) cordova windows platform commands fail on Mac

2015-07-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9239.

Resolution: Fixed

 cordova windows platform commands fail on Mac
 -

 Key: CB-9239
 URL: https://issues.apache.org/jira/browse/CB-9239
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows, Windows 8
Affects Versions: 4.0.0
 Environment: Mac OS X 10.10.3
Reporter: Marlon Harrison
Assignee: Rob Paveza
Priority: Blocker

 I just setup a new cordova project. When I try to add windows to the project 
 I get an error. I have Parallels installed and the commands work just fine in 
 the Windows command prompt. I'm assuming its related to some 
 platform-specific commands but haven't dug much into it yet. 
 Mac Terminal (Mac OS X 10.10.3)
 'cordova platform add windows' fails
 Error Returned:
 env: node\r: No such file or directory
 Error: 
 /Users/username/.cordova/lib/npm_cache/cordova-windows/4.0.0/package/bin/create:
  Command failed with exit code 127
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134: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)
 'corodva prepare' fails
 Error Returned:
 TypeError: Arguments to path.join must be strings
 at path.js:360:15
 at Array.filter (native)
 at Object.exports.join (path.js:358:36)
 at Object.getAvailableUAPVersions 
 (/Users/-username/projectFolder/Cordova/platforms/windows/cordova/lib/MSBuildTools.js:82:30)
 at getUAPVersions 
 (/Users/-username/projectFolder/Cordova/platforms/windows/cordova/lib/prepare.js:614:41)
 at Object.module.exports.applyPlatformConfig 
 (/Users/-username/projectFolder/Cordova/platforms/windows/cordova/lib/prepare.js:64:26)
 at windows_parser.update_from_config 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/windows_parser.js:76:25)
 at windows_parser.update_project 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/windows_parser.js:255:14)
 at 
 /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:126:27
 at Array.map (native)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9235) Enhance check_reqs for Windows to include more checks

2015-07-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9235.

Resolution: Fixed

 Enhance check_reqs for Windows to include more checks
 -

 Key: CB-9235
 URL: https://issues.apache.org/jira/browse/CB-9235
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Affects Versions: 4.0.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 For Windows the requirements will vary depending on the version of Windows 
 you are targeting:
 _8.1:_
 * MSBuild
 * VS 2013
 _Phone:_
 * 8.1 Phone support – at least VS 2013 Update 2.
 * Phone SDK
 _Win 10:_
 * UAP Windows SDK
 * VS 2015 RC+
 We'll need to enhance check_reqs for Windows with more checks based on the 
 windows-target-version and windows-phone-target-version. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9430) lib/check_reqs.js fails if javac returns an extra line

2015-07-31 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9430.

Resolution: Fixed

 lib/check_reqs.js fails if javac returns an extra line
 --

 Key: CB-9430
 URL: https://issues.apache.org/jira/browse/CB-9430
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.1.0
 Environment: ubuntu 14.04, cordova 5.1.1, cordova android@4.1.0
Reporter: Vadim Shlyakhov
Assignee: Vladimir Kotikov
  Labels: patch

 lib/check_reqs.js fails with
 bq. [TypeError: Cannot read property '1' of null]
  if javac returns an extra line(s) instead of a single line.
 For example: 
 {quote}
 Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
 javac 1.7.0_79
 {quote}
 instead of simply
 bq. javac 1.7.0_79
 The fix is quite simple:
 {quote}
 {noformat}
 --- check_reqs.js-2015-07-29 14:21:54.0 +0300
 +++ check_reqs.js 2015-07-29 16:11:29.0 +0300
 @@ -155,7 +155,7 @@
  // javac writes version info to stderr instead of stdout
  return tryCommand('javac -version', msg, true);
  }).then(function (output) {
 -return /^javac ((?:\d+\.)+(?:\d+))/i.exec(output)[1];
 +return /javac ((?:\d+\.)+(?:\d+))/i.exec(output)[1];
  });
  });
  };
 {noformat}
 {quote}
 i. e. remove leading caret at the parsing regular expression, so it is not 
 anchored to a beginning of a string.



--
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-9436) Refactor browserify to get rid of `require-tr` transform

2015-07-31 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9436:


 Summary: Refactor browserify to get rid of `require-tr` transform
 Key: CB-9436
 URL: https://issues.apache.org/jira/browse/CB-9436
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9420) 'cordova prepare --browserify' fails on windows when at least one plugin is added

2015-07-28 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9420:


 Summary: 'cordova prepare --browserify' fails on windows when at 
least one plugin is added
 Key: CB-9420
 URL: https://issues.apache.org/jira/browse/CB-9420
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Repro steps:
{noformat}
cordova create app
cordova platform add windows
cordova plugin add cordova-plugin-device
cordova prepare --browserify
{noformat}

_Expected:_
Project prepared successfully

_Actual:_
command fails with following stacktrace:
{noformat}
Error: Cannot find module 'd:PROJECTSTemp   
est-browserifypluginscordova-plugin-devicewwwdevice.js' from 
'd:\PROJECTS\Temp\test-browserify\platforms\android\assets\www'
at 
d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:46:17
at process 
(d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:173:43)
at ondir 
(d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:188:17)
at load 
(d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:69:43)
at onex 
(d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:92:31)
at 
d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:95:15)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9420) 'cordova prepare --browserify' fails on windows when at least one plugin is added

2015-07-29 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9420.

Resolution: Fixed

 'cordova prepare --browserify' fails on windows when at least one plugin is 
 added
 -

 Key: CB-9420
 URL: https://issues.apache.org/jira/browse/CB-9420
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: browserify, windows

 Repro steps:
 {noformat}
 cordova create app
 cordova platform add windows
 cordova plugin add cordova-plugin-device
 cordova prepare --browserify
 {noformat}
 _Expected:_
 Project prepared successfully
 _Actual:_
 command fails with following stacktrace:
 {noformat}
 Error: Cannot find module 'd:PROJECTSTemp   
 est-browserifypluginscordova-plugin-devicewwwdevice.js' from 
 'd:\PROJECTS\Temp\test-browserify\platforms\android\assets\www'
 at 
 d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:46:17
 at process 
 (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:173:43)
 at ondir 
 (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:188:17)
 at load 
 (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:69:43)
 at onex 
 (d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:92:31)
 at 
 d:\cordova\cordova-js\node_modules\browserify\node_modules\resolve\lib\async.js:22:47
 at FSReqWrap.oncomplete (fs.js:95:15)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9429) Add option to run cordova-js tests against browserified bundle.

2015-07-29 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9429:


 Summary: Add option to run cordova-js tests against browserified 
bundle.
 Key: CB-9429
 URL: https://issues.apache.org/jira/browse/CB-9429
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS
Affects Versions: 4.1.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


There is no way currently to run cordova-js tests with browserified cordova-js 
bundle, so the only way to test browserify flow is to create/build/run 
mobilespec with {{--browserify}} option.

However there is still problems with browserify and test-framework, so even 
this way is not available now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9389) Android. Fix Gradle requirements test

2015-07-30 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9389.

Resolution: Fixed

 Android. Fix Gradle requirements test
 -

 Key: CB-9389
 URL: https://issues.apache.org/jira/browse/CB-9389
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Sergey Grebnov
Assignee: Vladimir Kotikov

 Cordova Android on Windows10:
 After switching to the latest Cordova from master I noticed that Android 
 build hangs after the following line
 JAVA_HOME=c:\Program Files (x86)\Java\jdk1.8.0_11
 After adding additional logging I found out that it hangs internally on the 
 following check:
 {code}
 tryCommand: c:\tools\android-sdk\sdk\tools\templates\gradle\wrapper\gradlew 
 -v
 {code}
 Looks like this command tries to download gradle wrapper (PS. version also 
 looks old)
 {code}
 λ  c:\tools\android-sdk\sdk\tools\templates\gradle\wrapper\gradlew -v
 Downloading http://services.gradle.org/distributions/gradle-1.12-all.zip
 .
 {code}
 even if I have gradle tools installed and correctly set GRADLE_HOME 
 environment variable:
 {code}
 C:\Users\Sergei
 λ echo %gradle_home%
 C:\tools\gradle-2.3\
 C:\Users\Sergei
 λ gradle -v
 
 Gradle 2.3
 
 Build time:   2015-02-16 05:09:33 UTC
 Build number: none
 Revision: 586be72bf6e3df1ee7676d1f2a3afd9157341274
 Groovy:   2.3.9
 Ant:  Apache Ant(TM) version 1.9.3 compiled on December 23 2013
 JVM:  1.8.0_11 (Oracle Corporation 25.11-b03)
 OS:   Windows 8.1 6.3 x86
 {code}
 Here is corresponding logic in check_regs.js:
 {code}
 // Returns a promise. Called only by build and clean commands.
 module.exports.check_gradle = function() {
 var sdkDir = process.env['ANDROID_HOME'];
 var message = 'Could not find gradle wrapper within Android SDK. ';
 if (!sdkDir) return Q.reject(message + 'Might need to install Android SDK 
 or set up \'ADROID_HOME\' env variable.');
 var wrapper = path.join(sdkDir, 'tools', 'templates', 'gradle', 
 'wrapper', 'gradlew');
 return tryCommand('' + wrapper + ' -v', message + 'Might need to update 
 your Android SDK.\n' +
 'Looked here: ' + path.dirname(wrapper))
 .then(function (output) {
 // Parse Gradle version from command output
 return/^gradle ((?:\d+\.)+(?:\d+))/gim.exec(output)[1];
 });
 };
 {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] [Created] (CB-9397) cordova requirements android on a new Mac machine has issues

2015-07-22 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9397:


 Summary: cordova requirements android on a new Mac machine has 
issues
 Key: CB-9397
 URL: https://issues.apache.org/jira/browse/CB-9397
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.1.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


cordova requirements android on a Mac with no Android SDK, below is what I get. 
I see 3 problems:
- For some reason all the errors are in square brackets - should we fix that?
- Also, why do we have a 'Error' prefix, are there other options here other 
than Error
- There is a TyperError which looks like a bug.

{noformat}
Requirements check results for android:
Java JDK: not installed 
[Error: Failed to find 'JAVA_HOME' environment variable. Try setting setting it 
manually.]
Android SDK: not installed 
[Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting 
it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to 
include path to valid SDK directory.]
Android target: not installed 
[Error: Android SDK not found. Make sure that it is installed. If it is not at 
the default location, set the ANDROID_HOME environment variable.]
Gradle: not installed 
[TypeError: Arguments to path.join must be strings]

Some of requirements check failed
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-9332) Update `npm` and `semver` dependencies for cordova

2015-07-17 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-9332.
--
Resolution: Fixed

 Update `npm` and `semver` dependencies for cordova
 --

 Key: CB-9332
 URL: https://issues.apache.org/jira/browse/CB-9332
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 There are the following dependencies for cordova-lib are outdated and should 
 be updated:
 * npm 1.3.4 to 2.7.5
 * npmconf 0.1.16 to 2.1.1
 * semver 2.0.11 to 4.3.3
 However, the update was blocked due to issues with publishing to CPR and 
 npm@1.3.4. Since the CPR going to became a read-only, we get a chance to 
 update these dependencies.
 Also cordova-plugman is still depends on npm, even though the dependency is 
 not actually used anywhere. So probably it should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9330) Remove 'plugman publish' functionality from cordova-lib

2015-07-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9330.

Resolution: Fixed

 Remove 'plugman publish' functionality from cordova-lib 
 

 Key: CB-9330
 URL: https://issues.apache.org/jira/browse/CB-9330
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov

 Due to CPR write (publish) access shutdown starting from July 15 we need to 
 make some changes to remove CPR publishing related functionality from Cordova.
 Things, that might be removed:
   1. 'plugman publish/unpublish' commands,
   2. 'registry.publish/unpublish' methods and all related stuff in 
 cordova-lib.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9370) Cordova-js tests are failing on node 0.12

2015-07-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9370.

Resolution: Fixed

 Cordova-js tests are failing on node 0.12
 -

 Key: CB-9370
 URL: https://issues.apache.org/jira/browse/CB-9370
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.1.0
 Environment: Windows/Mac OSX machine,
 Node JS 0.12.7
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
  Labels: cordova-js
 Fix For: 4.1.0


 Since https://github.com/apache/cordova-js/pull/118 unit tests for cordova-js 
 started failing on AppVeyor CI with unclear message {{Fatal error: Cannot set 
 property length of [object Object] which has only a getter}}.
 It looks like the origin of failures - updated NodeJS version on AppVeyor 
 build machines. Failure also can be reproduced on local machine with 
 Node@0.12.5 installed.
 The reason of failures - is outdated {{jsdom-nogyp}} dependency (last updated 
 about 2 years ago). The solution is to replace {{jsdom-nogyp}} with original 
 {{node-jsdom}}, which works fine with node@12.x. It also would be great to 
 test such cases through CI.



--
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-9291) Cordova NPM package does not install when Node = 0.12.x

2015-07-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-9291.
--
Resolution: Fixed

 Cordova NPM package does not install when Node = 0.12.x
 

 Key: CB-9291
 URL: https://issues.apache.org/jira/browse/CB-9291
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.0.0
 Environment: Windows7 x64 with NodeJS 0.12.6
Reporter: Robert
Assignee: Vladimir Kotikov
Priority: Critical

 Hi
 I am trying to install cordova in version 5.1.1 (also tried some previous 
 versions) using node 0.12.6:
 npm cache clean dep-graph
 npm install -g cordova@5.1.1
 Unfortunately, cordova-js depends on an older version of node (~0.10.x) which 
 seems the reason for cordova not being installable:
 {noformat}
 npm install -g cordova@5.1.1
 npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine npm@1.3.4: wanted: {node:=0.6,npm:1} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine xmlbuilder@2.2.1: wanted: {node:0.8.x || 0.10.x} 
 (current: {node:0.12.6,npm:2.11.2})
 npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but 
 bundled package wasn't found in unpacked tree
 C:\Users\robert\AppData\Roaming\npm\cordova - 
 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova\bin\cordova
 cordova@5.1.1 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova
 ├── underscore@1.7.0
 ├── q@1.0.1
 ├── nopt@3.0.1 (abbrev@1.0.7)
 └── cordova-lib@5.1.1 (valid-identifier@0.0.1, osenv@0.1.0, 
 properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, 
 semver@2.1.0, rc@0.5.2, shelljs@0.3.0, dep-graph@1.1.0, through2@0.6.3, 
 npmconf@0.1.16, xcode@0.6.7, d8@0.4.4, init-package-json@1.7.0, 
 elementtree@0.1.6, request@2.47.0, glob@4.0.6, cordova-registry-mapper@1.1.8, 
 tar@1.0.2, cordova-app-hello-world@3.9.0, cordova-js@4.0.0, plist@1.1.0, 
 npm@1.3.4)
 {noformat}
 Thanks in advance.



--
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-9370) Cordova-js tests are failing on node 0.12

2015-07-15 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9370:


 Summary: Cordova-js tests are failing on node 0.12
 Key: CB-9370
 URL: https://issues.apache.org/jira/browse/CB-9370
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.1.0
 Environment: Windows/Mac OSX machine,
Node JS 0.12.7
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
 Fix For: 4.1.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9291) Cordova NPM package does not install when Node = 0.12.x

2015-07-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9291:
--

I didn't found any reason for that. Especially due to fact that {{engines}} 
option in package.json doesn't actually restrict Node version (see 
https://docs.npmjs.com/files/package.json#engines), until {{engineStrict}} 
option is not specified (and it isn't).

So the only consequence of {{engines}} presense - the warning message, as shown 
in the report
{noformat}
npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
{node:0.12.6,npm:2.11.2})
{noformat}

Anyway it looks confusing, so probably we may remove {{engines}} totally or 
make it less strict. E.g. {{node = 0.10.x}}

 Cordova NPM package does not install when Node = 0.12.x
 

 Key: CB-9291
 URL: https://issues.apache.org/jira/browse/CB-9291
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.0.0
 Environment: Windows7 x64 with NodeJS 0.12.6
Reporter: Robert
Assignee: Vladimir Kotikov
Priority: Critical

 Hi
 I am trying to install cordova in version 5.1.1 (also tried some previous 
 versions) using node 0.12.6:
 npm cache clean dep-graph
 npm install -g cordova@5.1.1
 Unfortunately, cordova-js depends on an older version of node (~0.10.x) which 
 seems the reason for cordova not being installable:
 {noformat}
 npm install -g cordova@5.1.1
 npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine npm@1.3.4: wanted: {node:=0.6,npm:1} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine xmlbuilder@2.2.1: wanted: {node:0.8.x || 0.10.x} 
 (current: {node:0.12.6,npm:2.11.2})
 npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but 
 bundled package wasn't found in unpacked tree
 C:\Users\robert\AppData\Roaming\npm\cordova - 
 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova\bin\cordova
 cordova@5.1.1 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova
 ├── underscore@1.7.0
 ├── q@1.0.1
 ├── nopt@3.0.1 (abbrev@1.0.7)
 └── cordova-lib@5.1.1 (valid-identifier@0.0.1, osenv@0.1.0, 
 properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, 
 semver@2.1.0, rc@0.5.2, shelljs@0.3.0, dep-graph@1.1.0, through2@0.6.3, 
 npmconf@0.1.16, xcode@0.6.7, d8@0.4.4, init-package-json@1.7.0, 
 elementtree@0.1.6, request@2.47.0, glob@4.0.6, cordova-registry-mapper@1.1.8, 
 tar@1.0.2, cordova-app-hello-world@3.9.0, cordova-js@4.0.0, plist@1.1.0, 
 npm@1.3.4)
 {noformat}
 Thanks in advance.



--
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-9291) Cordova NPM package does not install when Node = 0.12.x

2015-07-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-9291 at 7/15/15 12:46 PM:


I didn't found any reason for that. Especially due to fact that {{engines}} 
option in package.json doesn't actually restrict Node version (see 
https://docs.npmjs.com/files/package.json#engines), until {{engineStrict}} 
option is not specified (and it isn't).

So the only consequence of {{engines}} presense - the warning message, as shown 
in the report
{noformat}
npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
{node:0.12.6,npm:2.11.2})
{noformat}

Anyway it looks confusing, so probably we may remove {{engines}} totally or 
make it less strict. E.g. {{node = 0.10.x}}


was (Author: vladimir.kotikov):
I didn't found any reason for that. Especially due to fact that {{engines}} 
option in package.json doesn't actually restrict Node version (see 
https://docs.npmjs.com/files/package.json#engines), until {{engineStrict}} 
option is not specified (and it isn't).

So the only consequence of {{engines}} presense - the warning message, as shown 
in the report
{noformat}
npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
{node:0.12.6,npm:2.11.2})
{noformat}

Anyway it looks confusing, so probably we may remove {{engines}} totally or 
make it less strict. E.g. {{node = 0.10.x}}

 Cordova NPM package does not install when Node = 0.12.x
 

 Key: CB-9291
 URL: https://issues.apache.org/jira/browse/CB-9291
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.0.0
 Environment: Windows7 x64 with NodeJS 0.12.6
Reporter: Robert
Assignee: Vladimir Kotikov
Priority: Critical

 Hi
 I am trying to install cordova in version 5.1.1 (also tried some previous 
 versions) using node 0.12.6:
 npm cache clean dep-graph
 npm install -g cordova@5.1.1
 Unfortunately, cordova-js depends on an older version of node (~0.10.x) which 
 seems the reason for cordova not being installable:
 {noformat}
 npm install -g cordova@5.1.1
 npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine npm@1.3.4: wanted: {node:=0.6,npm:1} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine xmlbuilder@2.2.1: wanted: {node:0.8.x || 0.10.x} 
 (current: {node:0.12.6,npm:2.11.2})
 npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but 
 bundled package wasn't found in unpacked tree
 C:\Users\robert\AppData\Roaming\npm\cordova - 
 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova\bin\cordova
 cordova@5.1.1 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova
 ├── underscore@1.7.0
 ├── q@1.0.1
 ├── nopt@3.0.1 (abbrev@1.0.7)
 └── cordova-lib@5.1.1 (valid-identifier@0.0.1, osenv@0.1.0, 
 properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, 
 semver@2.1.0, rc@0.5.2, shelljs@0.3.0, dep-graph@1.1.0, through2@0.6.3, 
 npmconf@0.1.16, xcode@0.6.7, d8@0.4.4, init-package-json@1.7.0, 
 elementtree@0.1.6, request@2.47.0, glob@4.0.6, cordova-registry-mapper@1.1.8, 
 tar@1.0.2, cordova-app-hello-world@3.9.0, cordova-js@4.0.0, plist@1.1.0, 
 npm@1.3.4)
 {noformat}
 Thanks in advance.



--
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-9291) Cordova NPM package does not install when Node = 0.12.x

2015-07-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9291:
--

Also the few last lines of {{npm install}} output shows that, in fact, cordova 
is properly installed. [~noonien], Could you please double check, that cordova 
actually is not installed?

 Cordova NPM package does not install when Node = 0.12.x
 

 Key: CB-9291
 URL: https://issues.apache.org/jira/browse/CB-9291
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 4.0.0
 Environment: Windows7 x64 with NodeJS 0.12.6
Reporter: Robert
Assignee: Vladimir Kotikov
Priority: Critical

 Hi
 I am trying to install cordova in version 5.1.1 (also tried some previous 
 versions) using node 0.12.6:
 npm cache clean dep-graph
 npm install -g cordova@5.1.1
 Unfortunately, cordova-js depends on an older version of node (~0.10.x) which 
 seems the reason for cordova not being installable:
 {noformat}
 npm install -g cordova@5.1.1
 npm WARN engine cordova-js@4.0.0: wanted: {node:~0.10.x} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine npm@1.3.4: wanted: {node:=0.6,npm:1} (current: 
 {node:0.12.6,npm:2.11.2})
 npm WARN engine xmlbuilder@2.2.1: wanted: {node:0.8.x || 0.10.x} 
 (current: {node:0.12.6,npm:2.11.2})
 npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but 
 bundled package wasn't found in unpacked tree
 C:\Users\robert\AppData\Roaming\npm\cordova - 
 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova\bin\cordova
 cordova@5.1.1 C:\Users\robert\AppData\Roaming\npm\node_modules\cordova
 ├── underscore@1.7.0
 ├── q@1.0.1
 ├── nopt@3.0.1 (abbrev@1.0.7)
 └── cordova-lib@5.1.1 (valid-identifier@0.0.1, osenv@0.1.0, 
 properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, 
 semver@2.1.0, rc@0.5.2, shelljs@0.3.0, dep-graph@1.1.0, through2@0.6.3, 
 npmconf@0.1.16, xcode@0.6.7, d8@0.4.4, init-package-json@1.7.0, 
 elementtree@0.1.6, request@2.47.0, glob@4.0.6, cordova-registry-mapper@1.1.8, 
 tar@1.0.2, cordova-app-hello-world@3.9.0, cordova-js@4.0.0, plist@1.1.0, 
 npm@1.3.4)
 {noformat}
 Thanks in advance.



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



<    1   2   3   4   5   6   7   8   9   10   >