[jira] [Commented] (CB-4028) PhoneGap leaves an empty space at the bottom of the page when using position fixed in WP7 WP8

2014-03-20 Thread prateek rangineni (JIRA)

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

prateek rangineni commented on CB-4028:
---

Is this resloved?
I'm facing the same issue and no amount of css editing or Javascript seems to 
work.
Please help me resolve this.
Thanks

 PhoneGap leaves an empty space at the bottom of the page when using position 
 fixed in WP7 WP8
 -

 Key: CB-4028
 URL: https://issues.apache.org/jira/browse/CB-4028
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 2.8.0
Reporter: Richard Marshall
Assignee: Jesse MacFadyen

 I originally logged a ticket on the PhoneGap Build Support
 http://community.phonegap.com/nitobi/topics/phonegap_build_leaves_an_empty_space_at_the_bottom_of_the_page_when_using_position_fixed?utm_content=topic_linkutm_medium=emailutm_source=reply_notification
 It may be best to look at this topic as it has screen shots etc.
 Below is an excerpt
 ==
 I have built an app using HTML, CSS, JavaScript, jQuery, jQueryMobile. I am 
 using PhoneGap build to compile the build. I am using Dreamweaver to develop. 
 The app has a fixed menu at the bottom of the screen using position:fixed. 
 This works well in both iOS and Android. When testing in Windows Phone 8 
 (Nokia Lumia 520) the app has a space under the menu.
 From the research I have done so far there is allot of bad advice on the web. 
 From what I can see; there is nothing wrong with the HTML, or CSS. The 
 problem comes from the fact that the Windows Phone is expecting there to be 
 an Applicaiton Bar at the bottom of the app. So the fixed menu sits on top of 
 this missing menu.
 http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff431813%28v=vs.105%29.aspx
 One workaround is to make the viewport the exact height of the viewport. But 
 this will only work on a per device scenario, so it cant be used to release 
 an app.
 I have had to resort to finishing the app using the windows phone SDK with 
 WP7 phonegap template. I have removed the regular fixed position footer menu 
 and replaced it with a WP7 native menu. This is now working well.
 However. It would have been nice to be able to use the same bottom nav that 
 exists in iOS and Android.
 Can we have a way of disabling the space that is reserved for the windows 
 ApplicationBar, so we can use our own fixed nav rather than a native windows 
 one?
 ==
 I built a test app to build in PhoneGap Build to test the problem.
 It is created from the phonegap master template.
 You can download it here.
 http://11past7.com/files/FixedFooterIssue.zip
 Note to not include the _Issues folder in the build. This folder also has 
 issue screenshots and a WP app.xap file from PGB. 



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


[jira] [Resolved] (CB-6220) WP8 - Broken AJAX to local files

2014-03-20 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6220.
-

   Resolution: Fixed
Fix Version/s: 3.5.0

This has been resolved in another commit

 WP8 - Broken AJAX to local files
 

 Key: CB-6220
 URL: https://issues.apache.org/jira/browse/CB-6220
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.3.0
Reporter: harry_x
Assignee: Jesse MacFadyen
 Fix For: 3.5.0

 Attachments: cordova-wp8-xhr.patch






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


[jira] [Commented] (CB-4028) PhoneGap leaves an empty space at the bottom of the page when using position fixed in WP7 WP8

2014-03-20 Thread prateek rangineni (JIRA)

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

prateek rangineni commented on CB-4028:
---

I have had to resort to finishing the app using the windows phone SDK with WP7 
phonegap template. I have removed the regular fixed position footer menu and 
replaced it with a WP7 native menu. This is now working well.


Can you explain in detail how to do it?

 PhoneGap leaves an empty space at the bottom of the page when using position 
 fixed in WP7 WP8
 -

 Key: CB-4028
 URL: https://issues.apache.org/jira/browse/CB-4028
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 2.8.0
Reporter: Richard Marshall
Assignee: Jesse MacFadyen

 I originally logged a ticket on the PhoneGap Build Support
 http://community.phonegap.com/nitobi/topics/phonegap_build_leaves_an_empty_space_at_the_bottom_of_the_page_when_using_position_fixed?utm_content=topic_linkutm_medium=emailutm_source=reply_notification
 It may be best to look at this topic as it has screen shots etc.
 Below is an excerpt
 ==
 I have built an app using HTML, CSS, JavaScript, jQuery, jQueryMobile. I am 
 using PhoneGap build to compile the build. I am using Dreamweaver to develop. 
 The app has a fixed menu at the bottom of the screen using position:fixed. 
 This works well in both iOS and Android. When testing in Windows Phone 8 
 (Nokia Lumia 520) the app has a space under the menu.
 From the research I have done so far there is allot of bad advice on the web. 
 From what I can see; there is nothing wrong with the HTML, or CSS. The 
 problem comes from the fact that the Windows Phone is expecting there to be 
 an Applicaiton Bar at the bottom of the app. So the fixed menu sits on top of 
 this missing menu.
 http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff431813%28v=vs.105%29.aspx
 One workaround is to make the viewport the exact height of the viewport. But 
 this will only work on a per device scenario, so it cant be used to release 
 an app.
 I have had to resort to finishing the app using the windows phone SDK with 
 WP7 phonegap template. I have removed the regular fixed position footer menu 
 and replaced it with a WP7 native menu. This is now working well.
 However. It would have been nice to be able to use the same bottom nav that 
 exists in iOS and Android.
 Can we have a way of disabling the space that is reserved for the windows 
 ApplicationBar, so we can use our own fixed nav rather than a native windows 
 one?
 ==
 I built a test app to build in PhoneGap Build to test the problem.
 It is created from the phonegap master template.
 You can download it here.
 http://11past7.com/files/FixedFooterIssue.zip
 Note to not include the _Issues folder in the build. This folder also has 
 issue screenshots and a WP app.xap file from PGB. 



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


[jira] [Resolved] (CB-6096) WP8 Project - XHRHelper.HandleCommand failing with 'System.InvalidOperationException

2014-03-20 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6096.
-

   Resolution: Fixed
Fix Version/s: 3.5.0

This has been resolved in another commit.

This should never have been routed through XHRHelper.cs, which is only required 
when it is a local file.

 WP8 Project - XHRHelper.HandleCommand failing with 
 'System.InvalidOperationException
 

 Key: CB-6096
 URL: https://issues.apache.org/jira/browse/CB-6096
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.3.0
 Environment: Development Environment: Visual Studio 2012 (with Update 
 4), Windows 8.1 Pro x64, Target Environment: Windows Phone 8.0, Other 
 libraries - jquery
Reporter: Mehmet Zahid Aydin
Assignee: Jesse MacFadyen
  Labels: 3.3.0, InvalidOperationException, ajax, cordova, 
 phonegap, wp8, xhrhelper
 Fix For: 3.5.0


 I need jquery/ajax to ping SAP-Server.
 I get the following exceptions:
 System.InvalidOperationException occured of type System.ni.dll 
 Exception of Type System.InvalidOperationException in 
 Microsoft.Phone.Interop.ni.dll 
 In these cases I received a 404 error.
 Value of commandSt was changed during debugging.
 commandStr: 
 XHRLOCAL/Http://sapfd1.flexus.net:8030/sap/public/ping?=1362547834285
 or
 commandStr: XHRLOCAL/Http://sapfd1.flexus.net:8030/sap/public/ping
 {code:title=Part of JavaScript|borderStyle=solid}
 function checkPublicPing() {
   var successful = false;
 var publicPingPath = sap/public/ping;
 var serverURI = http://sapfd1.flexus.net:8030;;
   $.ajax({
   async : false,
   url : serverURI + publicPingPath,
   cache : false
   }).fail(function(error) {
   successful = false;
   }).done(function(data, textStatus, xhr) {
   successful = true;
   });
   return successful;
   }
 {code}
 {code:title=Part of cordovalib/XHRHelper.cs|borderStyle=solid}
  public bool HandleCommand(string commandStr)
 {
 //commandStr: 
 XHRLOCAL/Http:/sapfd1.flexus.net:8030/sap/public/ping?_=1362547834285
 if (commandStr.IndexOf(XHRLOCAL) == 0)
 {
 string url = commandStr.Replace(XHRLOCAL/, );
 // url: {Http:/sapfd1.flexus.net:8030/sap/public/ping?_=1362547834285}
 Uri uri = new Uri(url, UriKind.RelativeOrAbsolute);
 // uri: {Http:/sapfd1.flexus.net:8030/sap/public/ping?_=1362547834285}
 using (IsolatedStorageFile isoFile = 
 IsolatedStorageFile.GetUserStoreForApplication())
 {
 if (isoFile.FileExists(uri.AbsolutePath))
 {
 //uri.AbsolutePath: InvalidOperationException Typ Sytem.ni.dll
 using (TextReader reader = new 
 StreamReader(isoFile.OpenFile(uri.AbsolutePath, FileMode.Open, 
 FileAccess.Read)))
 {
 string text = reader.ReadToEnd();
 Browser.InvokeScript(__onXHRLocalCallback, new 
 string[] { 200, text });
 return true;
 }
 }
 }
 {code}
 Please advise.



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


[jira] [Created] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread Andrey Kurdyumov (JIRA)
Andrey Kurdyumov created CB-6316:


 Summary: Move StatusBar plugin documentation to docs folder
 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov


Move current documentation from the README.md to doc/index.md so that docs 
could appear on website



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6316:


GitHub user kant2002 opened a pull request:

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

CB-6316 - Moved StatusBar plugin documentation to docs folder

Moved StatusBar plugin documentation to docs folder and put in the 
README.md  link to new docs

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

$ git pull https://github.com/kant2002/cordova-plugin-statusbar dev

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

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2


commit 563c71978a57e073bc857bb70d219a74540a9cc1
Author: Andrey Kurdyumov kant2...@gmail.com
Date:   2014-03-20T07:55:57Z

CB-6316 Moved StatusBar plugin documentation to docs folder

commit cbee196f1d514cd516fd47fc924ae8185a73b956
Author: Andrey Kurdyumov kant2...@gmail.com
Date:   2014-03-20T08:03:01Z

CB-6316 Added license header to the documentation. Added README.md which 
point to the new location for docs

commit 6ada08af4d0ec3937eec77d8af38d4e6ef549c1e
Author: Andrey Kurdyumov kant2...@gmail.com
Date:   2014-03-20T08:04:42Z

CB-6316 Added README.md which point to the new location for docs




 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Created] (CB-6317) App getting cut at top or bottom and extra space in landscape view ( windows phone )

2014-03-20 Thread prateek rangineni (JIRA)
prateek rangineni created CB-6317:
-

 Summary: App getting cut at top or bottom and extra space in 
landscape view ( windows phone )
 Key: CB-6317
 URL: https://issues.apache.org/jira/browse/CB-6317
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Affects Versions: 3.4.0
 Environment: windows 8.1 OS, Visual Studio 2013
Reporter: prateek rangineni
Assignee: Jesse MacFadyen


App getting cut at top or bottom and extra space in landscape view ( windows 
phone )

I'm using sencha touch 2.3.1 and cordova 3.4.0.I made 2 apps which are working 
fine in android and ios devices. It's working fine in all the browsers ( 
including IE ) through IIS. 
I ported the same apps to windows phone. 
Now, when I see it in the phone, I can see that the top part is getting cut in 
the beginning and then it shifts down a bit after sometime, but now, the bottom 
tabbar is getting cut. 
Also, in the landscape view, I can see an extra white space below my bottom 
tabbar. 
Please help me resolve this issue.

Also, I've created a small sample app to check again and I'm getting the same 
issue. 

Please note that the top part is getting cut in the beginning and when I touch 
the tabbar in landscape mode, it shifts down. But the bottom tab get's cut now.



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


[jira] [Updated] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond updated CB-6318:
---

Attachment: result.png
navigationbar.png
expect.png

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: navigationbar.png, result.png






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


[jira] [Created] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)
glmnbeyond created CB-6318:
--

 Summary: Statusbar can't blend into the background when embedding 
CDVViewController in a NavigationController
 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: navigationbar.png, result.png





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


[jira] [Updated] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond updated CB-6318:
---

Attachment: (was: expect.png)

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: navigationbar.png, result.png






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


[jira] [Updated] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond updated CB-6318:
---

Attachment: expected.png

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: expected.png, navigationbar.png, result.png






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


[jira] [Updated] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond updated CB-6318:
---

Description: 
Please refer to the attached screenshots.
-navigationbar.png indicates that CDVViewController is embedded in a 
NavigationController, and the navigation bar is visible.
-result.png indicates that when navigation bar is hiding, the status bar can't 
blend into the background.
-expected.png is expected result.

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Updated] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond updated CB-6318:
---

Attachment: compare.png

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Commented] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread glmnbeyond (JIRA)

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

glmnbeyond commented on CB-6318:


I have tried to fix this problem, please review my pull request:

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

 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Commented] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6318:


GitHub user lmnbeyond opened a pull request:

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

CB-6318 iOS:Fix the problem that Statusbar can't blend into the backgrou...

...nd when embedding CDVViewController in a NavigationController

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

$ git pull https://github.com/lmnbeyond/cordova-plugin-statusbar CB-6318

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

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3


commit cf0dbe29a6bf7c436c8f7d29eb95ca0e9b9478dc
Author: liumn li...@polyvi.com
Date:   2014-03-20T11:05:16Z

CB-6318 iOS:Fix the problem that Statusbar can't blend into the background 
when embedding CDVViewController in a NavigationController




 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Created] (CB-6319) Egl errors on any touch event in android 4.4.2

2014-03-20 Thread Ilia (JIRA)
Ilia created CB-6319:


 Summary: Egl errors on any touch event in android 4.4.2
 Key: CB-6319
 URL: https://issues.apache.org/jira/browse/CB-6319
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
 Environment: Ubuntu 13.10, latest android sdk
Reporter: Ilia


When I run my app in android 4.4.2 it doesn't react on swipe or drag event. 
logcat shows these errors on any touch:

E/eglCodecCommon( 1075): glUtilsParamSize: unknow param 0x0b44
E/eglCodecCommon( 1075): glUtilsParamSize: unknow param 0x0bd0
E/eglCodecCommon( 1075):  ERROR unknown type 0x0 (glSizeof,72)
E/eglCodecCommon( 1075):  ERROR unknown type 0x0 (glSizeof,72)



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


[jira] [Resolved] (CB-6248) Error on prepare when Orientation is configured

2014-03-20 Thread JIRA

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

Frederico Costa Galvão resolved CB-6248.


   Resolution: Fixed
Fix Version/s: Master

This was fixed on master by [this 
PR|https://github.com/apache/cordova-cli/pull/138], on commit 
[3f448d9f64d0fef85fd1044c38bb3e48a2fdf808|https://github.com/apache/cordova-cli/commit/3f448d9f64d0fef85fd1044c38bb3e48a2fdf808].

 Error on prepare when Orientation is configured
 ---

 Key: CB-6248
 URL: https://issues.apache.org/jira/browse/CB-6248
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.4.0
 Environment: Xubuntu 13.10 x86_64, cordova 3.4.0-0.1.3
Reporter: Frederico Costa Galvão
  Labels: AndroidManifest.xml, android, cli, config.xml, prepare, 
 screenOrientation
 Fix For: Master


 After creating an empty cordova project (*cordova create bacon com.bacon 
 Bacon*), running *cordova platform add android*,  and adding 
 {code}
 preference name=orientation value=landscape /
 {code}
 and then running *cordova prepare*, the following error is shown among the 
 output.
 {code}
 [ReferenceError: a is not defined]
 {code}
 As a second side effect, bigger than just a logged error, the *orientation* 
 preference isn't working as expected: the *android:screenOrientation* isn't 
 set according to what's in the *config.xml* (it isn't set at all, by the way).
 PS: I've checked case sensitivity, and I've checked all possible values 
 \[default, landscape, portrait\].



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


[jira] [Commented] (CB-6303) Simplify error when user uses ^C at password prompt

2014-03-20 Thread ASF subversion and git services (JIRA)

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

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

Commit b2e8672e4fac1d2bacd2f7e91ee45b4e538b5ba4 in cordova-blackberry's branch 
refs/heads/master from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=b2e8672 ]

CB-6303 Simplify error when user uses ^C at password prompt


 Simplify error when user uses ^C at password prompt
 ---

 Key: CB-6303
 URL: https://issues.apache.org/jira/browse/CB-6303
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor

 Steps to reproduce:
 Attached a device to machine. 
 Execute cordova run blackberry10
 When the following shows up, click control-C
 Please enter your device password: 
 Actual result:
 Output: 
 .../myAppww/platforms/blackberry10/cordova/lib/utils.js:341
 done(err, results.property);
  ^
 TypeError: Cannot read property 'property' of undefined
 at .../myAppww/platforms/blackberry10/cordova/lib/utils.js:341:30
 at 
 .../myAppww/platforms/blackberry10/cordova/node_modules/prompt/lib/prompt.js:316:20
 ...
 Expected result:
 Command should exit more gracefully



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


[jira] [Commented] (CB-4096) Android - Unify Whitelist Implemenations

2014-03-20 Thread Mike Billau (JIRA)

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

Mike Billau commented on CB-4096:
-

[~iclelland], yes that was the thread I was reading but somehow missed Andrew's 
argument against using subdomains attribute. Fail. 
I didn't realize that the attribute was never documented, I assumed that since 
it was in the instructions for setting up mobile-spec that it'd be in the 
Whitelist guide, but the only mention of it in the official docs seems to be 
under the Blackberry section. In light of this I agree, we should axe the 
subdomains=true attribute. Since it hasn't been documented, I think it's fine 
to completely take it out instead of belatedly deprecating. I'll withdrawal my 
pull request -- thanks a lot for the comments anyway.

 Android - Unify Whitelist Implemenations
 

 Key: CB-4096
 URL: https://issues.apache.org/jira/browse/CB-4096
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Affects Versions: 3.0.0
Reporter: Andrew Grieve
Assignee: Ian Clelland
 Fix For: 3.1.0






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


[jira] [Commented] (CB-4096) Android - Unify Whitelist Implemenations

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-4096:


Github user mbillau closed the pull request at:

https://github.com/apache/cordova-android/pull/95


 Android - Unify Whitelist Implemenations
 

 Key: CB-4096
 URL: https://issues.apache.org/jira/browse/CB-4096
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Affects Versions: 3.0.0
Reporter: Andrew Grieve
Assignee: Ian Clelland
 Fix For: 3.1.0






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


[jira] [Created] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread Staci Cooper (JIRA)
Staci Cooper created CB-6320:


 Summary: Incorrect claim of BB10 support for beep and vibrate
 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor


http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification

2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
notification functions, although beep and vibrate are not supported for 
BlackBerry 10.



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


[jira] [Commented] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6320:


GitHub user stacic opened a pull request:

https://github.com/apache/cordova-docs/pull/197

CB-6320 Clarified BlackBerry notification support

Clarification that beep and vibrate not supported for BB10 in 2.3

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

$ git pull https://github.com/stacic/cordova-docs 2.3-blackberry-support

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

https://github.com/apache/cordova-docs/pull/197.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #197


commit e8910b5161e6eea6c5f65a24d16eb27bdc0f3f76
Author: Staci Cooper smcoo...@us.ibm.com
Date:   2014-03-20T17:36:57Z

CB-6320 Clarified BlackBerry notification support

Clarification that beep and vibrate not supported for BB10




 Incorrect claim of BB10 support for beep and vibrate
 

 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification
 2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
 notification functions, although beep and vibrate are not supported for 
 BlackBerry 10.



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


[jira] [Resolved] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6316.
--

Resolution: Fixed

 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 563c71978a57e073bc857bb70d219a74540a9cc1 in cordova-plugin-statusbar's 
branch refs/heads/dev from [~akurdyumov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-statusbar.git;h=563c719
 ]

CB-6316 Moved StatusBar plugin documentation to docs folder


 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF subversion and git services (JIRA)

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

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

Commit cbee196f1d514cd516fd47fc924ae8185a73b956 in cordova-plugin-statusbar's 
branch refs/heads/dev from [~akurdyumov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-statusbar.git;h=cbee196
 ]

CB-6316 Added license header to the documentation. Added README.md which point 
to the new location for docs


 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6316:


Github user shazron commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/2#issuecomment-38198618
  
Merged in: https://issues.apache.org/jira/browse/CB-6316
You can close this PR now


 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 6ada08af4d0ec3937eec77d8af38d4e6ef549c1e in cordova-plugin-statusbar's 
branch refs/heads/dev from [~akurdyumov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-statusbar.git;h=6ada08a
 ]

CB-6316 Added README.md which point to the new location for docs


 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6318:


Github user shazron commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/3#issuecomment-38199133
  
Testing this right now, if it looks good I will pull it in.


 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Commented] (CB-6316) Move StatusBar plugin documentation to docs folder

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6316:


Github user kant2002 closed the pull request at:

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


 Move StatusBar plugin documentation to docs folder
 --

 Key: CB-6316
 URL: https://issues.apache.org/jira/browse/CB-6316
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Andrey Kurdyumov
Assignee: Andrey Kurdyumov
  Labels: statusbar-plugin

 Move current documentation from the README.md to doc/index.md so that docs 
 could appear on website



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


[jira] [Commented] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread Staci Cooper (JIRA)

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

Staci Cooper commented on CB-6320:
--

Pull request: https://github.com/apache/cordova-docs/pull/197

 Incorrect claim of BB10 support for beep and vibrate
 

 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification
 2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
 notification functions, although beep and vibrate are not supported for 
 BlackBerry 10.



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


[jira] [Created] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread Staci Cooper (JIRA)
Staci Cooper created CB-6321:


 Summary: Unclear documentation for cordova-js integration
 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Priority: Minor


The documentation for integrating js generated by cordova-js into Cordova 
projects is lacking. May present a barrier to development for developers new to 
Cordova.



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


[jira] [Commented] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6321:


GitHub user stacic opened a pull request:

https://github.com/apache/cordova-js/pull/66

CB-6321 Added cordova integration info to README

Clarified documentation on integrating cordova-js generated code into 
Cordova projects.

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

$ git pull https://github.com/stacic/cordova-js cordovajs-docs

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

https://github.com/apache/cordova-js/pull/66.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #66


commit 316603973ad39eadbdd0447c1302bdc9ca2437fc
Author: Staci Cooper smcoo...@us.ibm.com
Date:   2014-03-20T17:53:45Z

CB-6321 Added cordova integration info to README




 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Priority: Minor

 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Commented] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-6320:


Can you please explain why you're doing work on such an old version of Cordova?

Are there products out there that still use 2.3?

Cordova 2.9 (but not 2.9.1) reached end of life earlier this year...

 Incorrect claim of BB10 support for beep and vibrate
 

 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification
 2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
 notification functions, although beep and vibrate are not supported for 
 BlackBerry 10.



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


[jira] [Commented] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread Staci Cooper (JIRA)

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

Staci Cooper commented on CB-6321:
--

Submitted a pull request: https://github.com/apache/cordova-js/pull/66

 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Priority: Minor

 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Commented] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6318:


Github user shazron commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/3#issuecomment-38203179
  
This PR is not acceptable because it breaks existing functionality.

1. Create a new project (3.4.0)
2. Install the statusbar plugin
3. Modify in config.xml: preference name=StatusBarOverlaysWebView 
value=false /

Expected:
Statusbar does not overlay webview (statusbar black background)

Actual:
Statusbar overlays webview



 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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


[jira] [Commented] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread Staci Cooper (JIRA)

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

Staci Cooper commented on CB-6320:
--

I'm on the team at IBM. There's an old version of our product that embeds 
Cordova 2.3. We provide extended support of older versions of our product to 
paying customers

 Incorrect claim of BB10 support for beep and vibrate
 

 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification
 2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
 notification functions, although beep and vibrate are not supported for 
 BlackBerry 10.



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


[jira] [Updated] (CB-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-20 Thread Staci Cooper (JIRA)

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

Staci Cooper updated CB-6320:
-

Issue Type: Task  (was: Bug)

 Incorrect claim of BB10 support for beep and vibrate
 

 Key: CB-6320
 URL: https://issues.apache.org/jira/browse/CB-6320
 Project: Apache Cordova
  Issue Type: Task
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_notification_notification.md.html#Notification
 2.3 docs list support for BlackBerry WebWorks OS 5.0 and higher for all 
 notification functions, although beep and vibrate are not supported for 
 BlackBerry 10.



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


[jira] [Commented] (CB-6306) Error creating project when path to project includes spaces

2014-03-20 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-6306:


This is almost certainly the problem that results in people complaining on IRC:

{quote}
7:45 AM Varun_Krishna Hi guys, I have a problem with this command cordova 
platform add android. it throws an error. like this C:\documents is not 
recognized as an internal or external command. Why am I getting this problem?
{quote}

 Error creating project when path to project includes spaces
 ---

 Key: CB-6306
 URL: https://issues.apache.org/jira/browse/CB-6306
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Blocker

 1. C:\Documents and Settings\IEUserwebworks create hello 
 --- Actual Result: --- 
 'C:\Documents' is not recognized as an internal or external command, 
 operable program or batch file. 
 { [Error: cmd: Command failed with exit code 1] code: 1 } 
 - project is created without blackberry10 platform added 
 --- Expected Result: --- 
 - project is created with blackberry10 platform added 
 This is because of the superspawn rewrite which doesn't take into account the 
 absolute importance of the '/s' flag in child_process (for cmd)



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


[jira] [Commented] (CB-6306) Error creating project when path to project includes spaces

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6306:


Github user jsoref commented on the pull request:

https://github.com/apache/cordova-cli/pull/143#issuecomment-38213622
  
r? @agrieve


 Error creating project when path to project includes spaces
 ---

 Key: CB-6306
 URL: https://issues.apache.org/jira/browse/CB-6306
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Blocker

 1. C:\Documents and Settings\IEUserwebworks create hello 
 --- Actual Result: --- 
 'C:\Documents' is not recognized as an internal or external command, 
 operable program or batch file. 
 { [Error: cmd: Command failed with exit code 1] code: 1 } 
 - project is created without blackberry10 platform added 
 --- Expected Result: --- 
 - project is created with blackberry10 platform added 
 This is because of the superspawn rewrite which doesn't take into account the 
 absolute importance of the '/s' flag in child_process (for cmd)



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


[jira] [Commented] (CB-6306) Error creating project when path to project includes spaces

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6306:


Github user jsoref commented on the pull request:

https://github.com/apache/cordova-cli/pull/143#issuecomment-38213942
  
r? @jbondc


 Error creating project when path to project includes spaces
 ---

 Key: CB-6306
 URL: https://issues.apache.org/jira/browse/CB-6306
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Blocker

 1. C:\Documents and Settings\IEUserwebworks create hello 
 --- Actual Result: --- 
 'C:\Documents' is not recognized as an internal or external command, 
 operable program or batch file. 
 { [Error: cmd: Command failed with exit code 1] code: 1 } 
 - project is created without blackberry10 platform added 
 --- Expected Result: --- 
 - project is created with blackberry10 platform added 
 This is because of the superspawn rewrite which doesn't take into account the 
 absolute importance of the '/s' flag in child_process (for cmd)



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


[jira] [Updated] (CB-6098) Android app initiates long press on home screen before opening

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-6098:
---

Component/s: (was: Android)
 CLI

I can't reproduce this on any Nexus device on this end.  

 Android app initiates long press on home screen before opening
 --

 Key: CB-6098
 URL: https://issues.apache.org/jira/browse/CB-6098
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
 Environment: Linux build from CLI, occurs on both emulator and my 
 Nexus 4
Reporter: Joe Archer

 When opening any app (including a build straight after cordova create) just 
 before the app splash screen is shown, the app appears to initiate a long 
 press on the homescreen, triggering the wallpaper/widgets/settings Android 
 system overlay. This occurs on API 19 and 18 on both the emulator and 2 
 tested devices.



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


[jira] [Updated] (CB-6098) Android app initiates long press on home screen before opening

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-6098:
---

Component/s: Android

 Android app initiates long press on home screen before opening
 --

 Key: CB-6098
 URL: https://issues.apache.org/jira/browse/CB-6098
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.4.0
 Environment: Linux build from CLI, occurs on both emulator and my 
 Nexus 4
Reporter: Joe Archer

 When opening any app (including a build straight after cordova create) just 
 before the app splash screen is shown, the app appears to initiate a long 
 press on the homescreen, triggering the wallpaper/widgets/settings Android 
 system overlay. This occurs on API 19 and 18 on both the emulator and 2 
 tested devices.



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


[jira] [Updated] (CB-5705) Add after-install hook for plugman

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-5705:
---

Component/s: (was: Android)
 Plugman
Summary: Add after-install hook for plugman  (was: Android Library 
Project)

This isn't just an Android issue, it's an issue across all platforms that's 
currently being discussed on the list.  I would like this to be added so we can 
have pluggable webviews, but it belongs assigned to the plugman component. 

 Add after-install hook for plugman
 --

 Key: CB-5705
 URL: https://issues.apache.org/jira/browse/CB-5705
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Вячеслав Шабельник

 Importing of Android Library Project into Android build from plugin dont 
 implemented. So i cant add some sdks into native plugin that use dependencies 
 as android library project.
 Right now i working on jumio plugin for cordova 
 http://www.jumio.com/netverify/netverify-mobile/
 And jumio sdk require adding their android library project to android build. 
 According to cordova plugin specs its not implemented.
 More info about referencing android library projects to your project you can 
 get here http://developer.android.com/tools/projects/projects-cmdline.html
 To add a reference to a library project, navigate to the sdk/tools/ 
 directory and use this command:
 android update project \
 --target target_ID \
 --path path/to/your/project
 --library path/to/library_projectA
 I already implement cordova hook that do this job for me on after platform 
 add, and all is brilliant but you have weak link in your build system. In 
 exec.js file your exec implementation fail and stop build due to buffer 
 overflow. Error is Error: stdout maxBuffer exceeded. All that should be 
 done is adding maxBuffer: 800*1024 option to exec call, also 800 can be 
 replaced on any other big number. How can i contribute with this and other 
 fixes to cordova? I saw your repository on github and even forked it. So if i 
 send you pull requests with fixes do you include them in next releases?



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


[jira] [Commented] (CB-6319) Egl errors on any touch event in android 4.4.2

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-6319:


Have you tried running this on an actual device or just the emulator? 

 Egl errors on any touch event in android 4.4.2
 --

 Key: CB-6319
 URL: https://issues.apache.org/jira/browse/CB-6319
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
 Environment: Ubuntu 13.10, latest android sdk
Reporter: Ilia

 When I run my app in android 4.4.2 it doesn't react on swipe or drag event. 
 logcat shows these errors on any touch:
 E/eglCodecCommon( 1075): glUtilsParamSize: unknow param 0x0b44
 E/eglCodecCommon( 1075): glUtilsParamSize: unknow param 0x0bd0
 E/eglCodecCommon( 1075):  ERROR unknown type 0x0 (glSizeof,72)
 E/eglCodecCommon( 1075):  ERROR unknown type 0x0 (glSizeof,72)



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


[jira] [Commented] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 607ca9dc06d622d7db23d709afd514759db4c098 in cordova-js's branch 
refs/heads/master from [~stacic]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=607ca9d ]

CB-6321 Added cordova integration info to README


 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Priority: Minor

 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Assigned] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread Marcel Kinard (JIRA)

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

Marcel Kinard reassigned CB-6321:
-

Assignee: Staci Cooper

 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Assignee: Staci Cooper
Priority: Minor

 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Resolved] (CB-6098) Android app initiates long press on home screen before opening

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-6098.


Resolution: Cannot Reproduce

I can't reproduce this issue on our end.  I don't know how you are launching 
your application, but I'm unable to reproduce on this end when I run cordova 
run or when I launch the application subsequent times.  Normally, I think the 
CLI is a pile of crap, but it seems to be working in this case.

 Android app initiates long press on home screen before opening
 --

 Key: CB-6098
 URL: https://issues.apache.org/jira/browse/CB-6098
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.4.0
 Environment: Linux build from CLI, occurs on both emulator and my 
 Nexus 4
Reporter: Joe Archer

 When opening any app (including a build straight after cordova create) just 
 before the app splash screen is shown, the app appears to initiate a long 
 press on the homescreen, triggering the wallpaper/widgets/settings Android 
 system overlay. This occurs on API 19 and 18 on both the emulator and 2 
 tested devices.



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


[jira] [Resolved] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread Staci Cooper (JIRA)

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

Staci Cooper resolved CB-6321.
--

   Resolution: Fixed
Fix Version/s: 3.5.0

Thanks for merging; I've closed the pull request.

 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Assignee: Staci Cooper
Priority: Minor
 Fix For: 3.5.0


 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Commented] (CB-6321) Unclear documentation for cordova-js integration

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6321:


Github user stacic closed the pull request at:

https://github.com/apache/cordova-js/pull/66


 Unclear documentation for cordova-js integration
 

 Key: CB-6321
 URL: https://issues.apache.org/jira/browse/CB-6321
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, Docs
Affects Versions: Master
Reporter: Staci Cooper
Assignee: Staci Cooper
Priority: Minor

 The documentation for integrating js generated by cordova-js into Cordova 
 projects is lacking. May present a barrier to development for developers new 
 to Cordova.



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


[jira] [Commented] (CB-6322) Simplify platforms/platform code for platform specifics

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6322:


GitHub user jsoref opened a pull request:

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

CB-6322 Simplify platforms/platform code for platform specifics

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

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

$ git pull https://github.com/jsoref/cordova-cli cb_6322

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

https://github.com/apache/cordova-cli/pull/146.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #146


commit e250bbdab119235703279a7479256fb97f6036f5
Author: Josh Soref jso...@blackberry.com
Date:   2014-03-20T21:24:40Z

CB-6322 Simplify platforms/platform code for platform specifics




 Simplify platforms/platform code for platform specifics
 ---

 Key: CB-6322
 URL: https://issues.apache.org/jira/browse/CB-6322
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref

 Currently people who want to add a platform have to hack both platforms.js 
 and platform.js
 Ideally they shouldn't have to hack platform.js at all.
 Before this change:
 {quote}
 $ cordova platform
 Installed platforms: 
 Available platforms: android, blackberry10, firefoxos, ios
 {quote}
 After this change:
 {quote}
 $ cordova platform
 Installed platforms: 
 Available platforms: amazon-fireos, android, blackberry10, firefoxos, ios
 {quote}



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


[jira] [Created] (CB-6322) Simplify platforms/platform code for platform specifics

2014-03-20 Thread Josh Soref (JIRA)
Josh Soref created CB-6322:
--

 Summary: Simplify platforms/platform code for platform specifics
 Key: CB-6322
 URL: https://issues.apache.org/jira/browse/CB-6322
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref


Currently people who want to add a platform have to hack both platforms.js and 
platform.js

Ideally they shouldn't have to hack platform.js at all.

Before this change:
{quote}
$ cordova platform
Installed platforms: 
Available platforms: android, blackberry10, firefoxos, ios
{quote}

After this change:
{quote}
$ cordova platform
Installed platforms: 
Available platforms: amazon-fireos, android, blackberry10, firefoxos, ios
{quote}



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


[jira] [Commented] (CB-6078) Geolocation watchPosition consistently timing out on Android 4.0.4 with Cordova 3.3.0

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-6078:


Are you using the latest plugin, which adds the permissions for Geolocation? If 
not, you should be using that.  Also, you have to make sure you're not in any 
energy saving mode.  What device is still on Android 4.0.4 that you're testing 
on?  The Motorola RAZR? 

 Geolocation watchPosition consistently timing out on Android 4.0.4 with 
 Cordova 3.3.0
 -

 Key: CB-6078
 URL: https://issues.apache.org/jira/browse/CB-6078
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CordovaJS
Affects Versions: 3.3.0
Reporter: Clay Benoit

 I am unable to get watchPosition to return more than one position using 
 v3.3.0 on Android 4.0.4 and Android 4.4.0.  I have tried various combinations 
 of timeout, maximumAge and enableHighAccuracy and the results are all the 
 same.  That is, I get the first position and then a timeout.  I never see the 
 position change even if the device is moving.  On iOS, my scaled down sample 
 updates with minor movements of the device.  Here is the JavaScript I'm using:
 var _options = {
 maximumAge: 0,
 timeout: 6,
 enableHighAccuracy: true
 };
 // Wait for Cordova to load
 //
 document.addEventListener(deviceready, onDeviceReady, false);
 // Cordova is ready
 //
 function onDeviceReady() {
 navigator.geolocation.watchPosition(onSuccess, onError, _options);
 }
 // onSuccess Geolocation
 //
 function onSuccess(position) {
 var info = 'Latitude: ' + position.coords.latitude + 'br /' +
 'Longitude: ' + position.coords.longitude + 'br /' +
 'Altitude: ' + position.coords.altitude + 'br /' +
 'Accuracy: ' + position.coords.accuracy + 'br /' +
 'Altitude Accuracy: ' + position.coords.altitudeAccuracy + 'br /' +
 'Heading: ' + position.coords.heading + 'br /' +
 'Speed: ' + position.coords.speed + 'br /' +
 'Timestamp: ' +
 position.timestamp + 'br /';
 $(#results).html(info);
 console.log(info)
 }
 // onError Callback receives a PositionError object
 //
 function onError(error) {
 alert('code: ' + error.code + '\n' +
 'message: ' + error.message + '\n');
 }



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


[jira] [Commented] (CB-6169) CSS scale transform ignored inside some svg elements

2014-03-20 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-6169:


Here are the usual questions that we ask:
- What version of Android are you running?
- What device are you running this on?

It's well known that the Android WebView is not the same on every device, and 
that every version of Android has a different implementation of this WebView.  
Android 4.4 is based on Chrome 30, so this should have the same rendering as 
Chrome 30 on Android 4.4 at the very least.  We need this information before we 
can try and reproduce this test.

 CSS scale transform ignored inside some svg elements
 

 Key: CB-6169
 URL: https://issues.apache.org/jira/browse/CB-6169
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Android, Linux dev machine
Reporter: Adrian May
  Labels: css, scale, svg, transform

 Try this HTML:
 !DOCTYPE html
 html
 head
 style
 .fat { -webkit-transform:scale(6,1); transform:scale(6,1); }
 .lean { -webkit-transform:translate(50,0); transform:translate(50,0); }
 /style
 /head
 body
 centerdiv class='fat'Blah/div/center
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='fat'/
   text text-anchor='middle' class='fat'NotFat/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='fat'/
   text text-anchor='middle' transform='scale(6,1)'Bbb/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g transform='scale(6,1)'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ccc/text
   /g
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g class='fat'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'NotFat/text
   /g
 /svg 
 br/
  
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='lean'/
   text text-anchor='middle' class='lean'Aaa/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='lean'/
   text text-anchor='middle' transform='translate(50,0)'Bbb/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g transform='translate(50,0)'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ccc/text
   /g
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g class='lean'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ddd/text
   /g
 /svg 
 /body
 /html
 The two texts showing NotFat appear fat in chrome and firefox, but not 
 cordova. The first four circles should be fat but only the third is. In the 
 second set of 4, Cordova behaves the same as FF and Chrome.



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


[jira] [Created] (CB-6323) platform superspawn exists version check is unfortunate

2014-03-20 Thread Josh Soref (JIRA)
Josh Soref created CB-6323:
--

 Summary: platform superspawn exists version check is unfortunate
 Key: CB-6323
 URL: https://issues.apache.org/jira/browse/CB-6323
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Andrew Grieve


The code before CB-5181 / {{b675ee35d5b92f5b997a834d4e6575e1edc14ef3}} didn't 
really look before it leapt, which meant that a platform with only a 
{{cordova/version.bat}} and no {{cordova/version}} would magically work.

While I'm not sure of any Windows only platforms, it doesn't seem unreasonable.

A quick check confirms that in fact *windows8* doesn't have this file.

{{https://git-wip-us.apache.org/repos/asf/cordova-windows.git}} @ 
{{ca106cfd91efa74b3556d70b6a936e77d85ec169}}
{quote}
cordova-windows $ find windows8 -name 'versi*'
windows8/template/cordova/version.bat
{quote}



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


[jira] [Created] (CB-6324) regression from: add full ff support for plugman

2014-03-20 Thread Josh Soref (JIRA)
Josh Soref created CB-6324:
--

 Summary: regression from: add full ff support for plugman
 Key: CB-6324
 URL: https://issues.apache.org/jira/browse/CB-6324
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref
Priority: Blocker


{quote}
$ cordova create xx ; cd xx
$ cordova plugin add https://github.com/urbanairship/phonegap-ua-push.git
$ cordova platform add firefoxos
Creating firefoxos project...
Creating Firefox OS project
Project Path ../../../tmp/xx/platforms/firefoxos
Package Name io.cordova.hellocordova
Project Name HelloCordova
Installing com.urbanairship.phonegap.PushNotification for firefoxos
Installing org.apache.cordova.device for firefoxos
Failed to install 'org.apache.cordova.device':ReferenceError: xml_helpers is 
not defined
at Object.module.exports.package_name 
(cordova-plugman/src/platforms/firefoxos.js:25:26)
{quote}



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


[jira] [Closed] (CB-6324) regression from: add full ff support for plugman

2014-03-20 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-6324.
--

Resolution: Invalid

Oops, this was already fixed by 189638fd (the bug which has the bad commit 
message and the terrible merge history).

 regression from: add full ff support for plugman
 

 Key: CB-6324
 URL: https://issues.apache.org/jira/browse/CB-6324
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref
Priority: Blocker

 {quote}
 $ cordova create xx ; cd xx
 $ cordova plugin add https://github.com/urbanairship/phonegap-ua-push.git
 $ cordova platform add firefoxos
 Creating firefoxos project...
 Creating Firefox OS project
 Project Path ../../../tmp/xx/platforms/firefoxos
 Package Name io.cordova.hellocordova
 Project Name HelloCordova
 Installing com.urbanairship.phonegap.PushNotification for firefoxos
 Installing org.apache.cordova.device for firefoxos
 Failed to install 'org.apache.cordova.device':ReferenceError: xml_helpers is 
 not defined
 at Object.module.exports.package_name 
 (cordova-plugman/src/platforms/firefoxos.js:25:26)
 {quote}



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821082
  
--- Diff: spec/install.spec.js ---
@@ -348,13 +349,58 @@ describe('install', function() {
 runs(function () {
 installPromise( install('android', project, 
plugins['G']) );
 });
-waitsFor(function () { return done; }, 'install promise 
never resolved', 500);
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
 runs(function () {
 var install = common.spy.getInstall(emit);

 expect(done.message).toEqual('Cyclic dependency from G 
to H');
 });
-});
+});
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821094
  
--- Diff: spec/install.spec.js ---
@@ -348,13 +349,58 @@ describe('install', function() {
 runs(function () {
 installPromise( install('android', project, 
plugins['G']) );
 });
-waitsFor(function () { return done; }, 'install promise 
never resolved', 500);
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
 runs(function () {
 var install = common.spy.getInstall(emit);

 expect(done.message).toEqual('Cyclic dependency from G 
to H');
 });
-});
+});
+
+it('install subdir relative to top level plugin if no fetch 
meta', function() {
+runs(function () {
+installPromise(install('android', project, 
plugins['B']));
+});
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
+runs(function () {
+var install = common.spy.getInstall(emit);
+
+expect(install).toEqual([
+'Install start for D on android.',
+'Install start for E on android.',
+'Install start for B on android.'
+]);
+});
+});
+
+it('install uses meta data (if available) of top level plugin 
source', function() {
+// Fake metadata so plugin 'B' appears from 'meta/B'
+var meta = require('../src/util/metadata');
+spyOn(meta, 'get_fetch_metadata').andCallFake(function(){  


--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821101
  
--- Diff: spec/install.spec.js ---
@@ -348,13 +349,58 @@ describe('install', function() {
 runs(function () {
 installPromise( install('android', project, 
plugins['G']) );
 });
-waitsFor(function () { return done; }, 'install promise 
never resolved', 500);
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
 runs(function () {
 var install = common.spy.getInstall(emit);

 expect(done.message).toEqual('Cyclic dependency from G 
to H');
 });
-});
+});
+
+it('install subdir relative to top level plugin if no fetch 
meta', function() {
+runs(function () {
+installPromise(install('android', project, 
plugins['B']));
+});
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
+runs(function () {
+var install = common.spy.getInstall(emit);
+
+expect(install).toEqual([
+'Install start for D on android.',
+'Install start for E on android.',
+'Install start for B on android.'
+]);
+});
+});
+
+it('install uses meta data (if available) of top level plugin 
source', function() {
+// Fake metadata so plugin 'B' appears from 'meta/B'
+var meta = require('../src/util/metadata');
+spyOn(meta, 'get_fetch_metadata').andCallFake(function(){  


+return {
+source: {type: 'dir', url: path.join(plugins['B'], 
'..', 'meta')}
+};
+});
+
+runs(function () {
+installPromise(install('android', project, 
plugins['B']));
+});
+waitsFor(function () { return done; }, 'install promise 
never resolved', 200);
+runs(function () {
+var install = common.spy.getInstall(emit);
+
+expect(install).toEqual([
+'Install start for D on android.',
+'Install start for E on android.',
+'Install start for B on android.'
+]);
+
+var copy = common.spy.startsWith(emit, Copying from);
+expect(copy.length).toBe(3);
+expect(copy[0].indexOf(path.normalize('meta/D'))  
0).toBe(true);
+
expect(copy[1].indexOf(path.normalize('meta/subdir/E'))  0).toBe(true);
+});
+});
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821122
  
--- Diff: spec/plugins/dependencies/meta/D/plugin.xml ---
@@ -0,0 +1,61 @@
+?xml version=1.0 encoding=UTF-8?
+!--
+
+ Copyright 2013 Anis Kadri
+
+ Licensed under the Apache License, Version 2.0 (the License);
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+--
+
+plugin xmlns=http://cordova.apache.org/ns/plugins/1.0;
+xmlns:android=http://schemas.android.com/apk/res/android;
+id=D
+version=0.6.0
+
+namePlugin D/name
+
+asset src=www/plugin-d.js target=plugin-d.js /
+
+config-file target=config.xml parent=/*
+access origin=build.phonegap.com /
+/config-file
+
+engines
+engine name=cordova version==1.0.0/
+/engines 
+   
--- End diff --

This introduces trailing whitespace. Please don't. (and the line above it)


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821128
  
--- Diff: spec/plugins/dependencies/meta/D/plugin.xml ---
@@ -0,0 +1,61 @@
+?xml version=1.0 encoding=UTF-8?
+!--
+
+ Copyright 2013 Anis Kadri
+
+ Licensed under the Apache License, Version 2.0 (the License);
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+--
+
+plugin xmlns=http://cordova.apache.org/ns/plugins/1.0;
+xmlns:android=http://schemas.android.com/apk/res/android;
+id=D
+version=0.6.0
+
+namePlugin D/name
+
+asset src=www/plugin-d.js target=plugin-d.js /
+
+config-file target=config.xml parent=/*
+access origin=build.phonegap.com /
+/config-file
+
+engines
+engine name=cordova version==1.0.0/
+/engines 
+   
+!-- android --
+platform name=android
+config-file target=res/xml/config.xml parent=plugins
+plugin name=D
+value=com.phonegap.D.D/
+/config-file
+
+source-file src=src/android/D.java
+target-dir=src/com/phonegap/D /
+/platform
+
+
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821172
  
--- Diff: src/install.js ---
@@ -413,7 +445,7 @@ function tryFetchDependency(dep, install) {
 
 // CB-4770: registry fetching
 if(dep.url === undefined) {
-dep.url = dep.plugin_id;   

+dep.url = dep.id;  
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821143
  
--- Diff: spec/plugins/dependencies/meta/subdir/E/plugin.xml ---
@@ -0,0 +1,57 @@
+?xml version=1.0 encoding=UTF-8?
+!--
+
+ Copyright 2013 Anis Kadri
+
+ Licensed under the Apache License, Version 2.0 (the License);
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+--
+
+plugin xmlns=http://cordova.apache.org/ns/plugins/1.0;
+xmlns:android=http://schemas.android.com/apk/res/android;
+id=E
+version=0.6.0
+
+namePlugin E/name
+
+asset src=www/plugin-e.js target=plugin-e.js /
+
+config-file target=config.xml parent=/*
+access origin=build.phonegap.com /
+/config-file
+   
+!-- android --
+platform name=android
+config-file target=res/xml/config.xml parent=plugins
+plugin name=E
+value=com.phonegap.E.E/
+/config-file
+
+source-file src=src/android/E.java
+target-dir=src/com/phonegap/E /
+/platform
+
+
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821159
  
--- Diff: src/install.js ---
@@ -399,6 +404,33 @@ function tryFetchDependency(dep, install) {
 
 } else if (fetchdata.source.type === 'git') {
 return Q(fetchdata.source.url);
+} else if (fetchdata.source.type === 'dir') {
+
+// Note: With fetch() independant from install()
+// $md5 = md5(uri)
+// Need a Hash(uri) -- 
$tmpDir/cordova-fetch/git-hostname.com-$md5/
+// plugin[id].install.source -- searchpath that matches fetch 
uri 
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821152
  
--- Diff: src/install.js ---
@@ -329,20 +329,20 @@ function installDependencies(install, dependencies, 
options) {
 function() {   
 var dep = {
 id: depXml.attrib.id,
-subdir: depXml.attrib.subdir,
+subdir: depXml.attrib.subdir || '',
 url: depXml.attrib.url || '',
 git_ref: depXml.attrib.commit
 }
 
-if (dep.subdir) {
-dep.subdir = path.join(dep.subdir.split('/'));
+if (dep.subdir.length) {   
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821163
  
--- Diff: src/install.js ---
@@ -399,6 +404,33 @@ function tryFetchDependency(dep, install) {
 
 } else if (fetchdata.source.type === 'git') {
 return Q(fetchdata.source.url);
+} else if (fetchdata.source.type === 'dir') {
+
+// Note: With fetch() independant from install()
+// $md5 = md5(uri)
+// Need a Hash(uri) -- 
$tmpDir/cordova-fetch/git-hostname.com-$md5/
+// plugin[id].install.source -- searchpath that matches fetch 
uri 
+
+// mapping to a directory of OS containing fetched plugins  
--- End diff --

This introduces trailing whitespace. Please don't.


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6272) Fix subdir handling

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6272:


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

https://github.com/apache/cordova-plugman/pull/66#discussion_r10821212
  
--- Diff: src/util/plugins.js ---
@@ -25,18 +25,30 @@ var http = require('http'),
 shell = require('shelljs'),
 child_process = require('child_process'),
 Q = require('q'),
-xml_helpers = require('./xml-helpers');
+xml_helpers = require('./xml-helpers'),
+tmp_dir;
 
 module.exports = {
 searchAndReplace:require('./search-and-replace'),
 
+clonePluginGit:function(plugin_git_url, plugins_dir, options) {
+return module.exports.clonePluginGitRepo(plugin_git_url, 
plugins_dir, options.subdir, options.git_ref).then(
+function(dst){
+// Keep location where we checked out git repo
+options.plugin_src_dir = tmp_dir;
+return dst;
+}
+);
+},
+
 // Fetches plugin information from remote server.
 // Returns a promise.
 clonePluginGitRepo:function(plugin_git_url, plugins_dir, subdir, 
git_ref) {
+
 if(!shell.which('git')) {
 return Q.reject(new Error('git command line tool is not 
installed: make sure it is accessible on your PATH.'));
 }
-var tmp_dir = path.join(os.tmpdir(), 'plugman-tmp' +(new 
Date).valueOf());
+tmp_dir = path.join(os.tmpdir(), 'plugman', 'git', String((new 
Date).valueOf()));
--- End diff --

This should use Date.now()


 Fix subdir handling
 ---

 Key: CB-6272
 URL: https://issues.apache.org/jira/browse/CB-6272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Jonathan Bond
Priority: Blocker

 CB-6160 landed [~jbondc]'s ae2ce7ac6325d1c6558365b4be82e5a8ff0983b9
 which broke some portion of install:
 +if (dep.subdir) {
 +dep.subdir = path.join(dep.subdir.split('/'));
 ...
 -if (dep_subdir) {
 -dep_subdir = path.join.apply(null, 
 dep_subdir.split('/'));



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


[jira] [Commented] (CB-6324) regression from: add full ff support for plugman

2014-03-20 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-6324:


Note: While the xml_helpers part is fixed by 189638fd, pr/66 was also needed 
for this UC and thus I had naively switched to that to try to get things to 
work -- which essentially left me w/o the fix for this ...

 regression from: add full ff support for plugman
 

 Key: CB-6324
 URL: https://issues.apache.org/jira/browse/CB-6324
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref
Priority: Blocker

 {quote}
 $ cordova create xx ; cd xx
 $ cordova plugin add https://github.com/urbanairship/phonegap-ua-push.git
 $ cordova platform add firefoxos
 Creating firefoxos project...
 Creating Firefox OS project
 Project Path ../../../tmp/xx/platforms/firefoxos
 Package Name io.cordova.hellocordova
 Project Name HelloCordova
 Installing com.urbanairship.phonegap.PushNotification for firefoxos
 Installing org.apache.cordova.device for firefoxos
 Failed to install 'org.apache.cordova.device':ReferenceError: xml_helpers is 
 not defined
 at Object.module.exports.package_name 
 (cordova-plugman/src/platforms/firefoxos.js:25:26)
 {quote}



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


[jira] [Created] (CB-6325) CordovaDeploy project references to different versions of Microsoft.SmartDevice

2014-03-20 Thread Winston Fan (JIRA)
Winston Fan created CB-6325:
---

 Summary: CordovaDeploy project references to different versions of 
Microsoft.SmartDevice
 Key: CB-6325
 URL: https://issues.apache.org/jira/browse/CB-6325
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.4.0
 Environment: Windows 8.1 Pro, Visual Studio 2012
Reporter: Winston Fan
Assignee: Jesse MacFadyen


I think I found the problem.

The problem should be in CordovaDeploy code:

When running command: cordova run --device, it creates a project called 
CordovaDeploy, but this project is a Visual Studio 2010 project which, I guess, 
is the reason why the project links to the old version of 
v4.0_10.0.0.0_\Microsoft.SmartDevice.xxx and here is the warning message 
says:

Version 10.0.0.0 
[C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.SmartDevice.Connectivity.dll]


Content of CordovaDeploy.sln :

Code:
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project({FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}) = CordovaDeploy, 
CordovaDeploy\CordovaDeploy.csproj, {E752165B-AF59-4FF0-8601-A2A69FE09E0E}
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E752165B-AF59-4FF0-8601-A2A69FE09E0E}.Debug|x86.ActiveCfg = 
Debug|x86
{E752165B-AF59-4FF0-8601-A2A69FE09E0E}.Debug|x86.Build.0 = 
Debug|x86
{E752165B-AF59-4FF0-8601-A2A69FE09E0E}.Release|x86.ActiveCfg = 
Release|x86
{E752165B-AF59-4FF0-8601-A2A69FE09E0E}.Release|x86.Build.0 = 
Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
But inside its CordovaDeploy.csproj, I spotted this fragment of code:

Code:
Reference Include=Microsoft.Smartdevice.Connectivity, Version=11.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
  SpecificVersionFalse/SpecificVersion
  
HintPath..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll/HintPath
/Reference
Reference Include=Microsoft.Smartdevice.Connectivity.Interface, 
Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, 
processorArchitecture=MSIL
  SpecificVersionFalse/SpecificVersion
  
HintPath..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity.Interface\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.Interface.dll/HintPath
/Reference
Reference Include=Microsoft.Smartdevice.MultiTargeting.Connectivity, 
Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, 
processorArchitecture=MSIL
  SpecificVersionFalse/SpecificVersion
  
HintPath..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SmartDevice.MultiTargeting.Connectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.MultiTargeting.Connectivity.dll/HintPath
/Reference
It explicitly specifies to reference to the 
v4.0_11.0.0.0__\Microsoft.Smartdevice.

So if someone could upgrade the CordovaDeploy project to Visual Studio 2012, 
the problem might be solved.

To see more information, please visit the post at :
http://www.sencha.com/forum/showthread.php?282942-App-runs-but-stuck-at-the-loading-screen(3-dots-screen)p=1035449#post1035449

#15 and #16 



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


[jira] [Updated] (CB-6325) CordovaDeploy project references to different versions of Microsoft.SmartDevice

2014-03-20 Thread Winston Fan (JIRA)

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

Winston Fan updated CB-6325:


Description: 
when running the command : cordova run --device, a warning appears

Warning message 
starts--
Consider app.config remapping of assembly Microsoft.SmartDevice.Connectivity,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a from Version 10.0.0.0 [C:\W
INDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity\v4.0_1
0.0.0.0__b03f5f7f11d50a3a\Microsoft.SmartDevice.Connectivity.dll] to Version 11
.0.0.0 [C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Connec
tivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll] t
o solve conflict and get rid of warning.
Warning message 
ends--

Here is the full information for the log of executing that command.
-Log 
Starts--
F:\Workplace\MySC\cordovacordova run --device
Running command: cmd args=[/c,F:\\Workplace\\MySC\\cordova\\platforms\\wp8\\c
ordova\\run,--device]
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.


Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : F:\Workplace\MySC\cordova\platforms\wp8
Building the projects in this solution one at a time. To enable parallel build,
please add the /m switch.
MySC - F:\Workplace\MySC\cordova\platforms\wp8\Bin\Debug\com.test.MySC.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Debug_AnyCPU.xap
BUILD SUCCESS.


CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34011]
Copyright (C) Microsoft Corporation. All rights reserved.


Building the projects in this solution one at a time. To enable parallel build,
please add the /m switch.
Build started 3/21/2014 11:13:41 AM.
Project F:\Workplace\MySC\cordova\platforms\wp8\cordova\lib\CordovaDeploy\Cordo
vaDeploy.sln on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration Debug|x86.
Project F:\Workplace\MySC\cordova\platforms\wp8\cordova\lib\CordovaDeploy\Cordo
vaDeploy.sln (1) is building F:\Workplace\MySC\cordova\platforms\wp8\cordova\l
ib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj (2) on node 1 (default targ
ets).
PrepareForBuild:
Creating directory bin\Debug\.
Creating directory obj\x86\Debug\.
ResolveAssemblyReferences:
Consider app.config remapping of assembly Microsoft.SmartDevice.Connectivity,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a from Version 10.0.0.0 [C:\W
INDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity\v4.0_1
0.0.0.0__b03f5f7f11d50a3a\Microsoft.SmartDevice.Connectivity.dll] to Version 11
.0.0.0 [C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Connec
tivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll] t
o solve conflict and get rid of warning.


C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):
warning MSB3247: Found conflicts between different versions of the same dependen
t assembly. [F:\Workplace\MySC\cordova\platforms\wp8\cordova\lib\CordovaDeploy\C
ordovaDeploy\CordovaDeploy.csproj]
GenerateTargetFrameworkMonikerAttribute:
Skipping target GenerateTargetFrameworkMonikerAttribute because all output fil
es are up-to-date with respect to the input files.
CoreCompile:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1
702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /defineEBUG;TRACE /ma
in:CordovaDeploy.DeployTool /highentropyva+ /reference:C:\Program Files (x86)\R
eference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll
/reference:C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Con
nectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll
/reference:C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Con
nectivity.Interface\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connec
tivity.Interface.dll /reference:C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Micro
soft.Smartdevice.MultiTargeting.Connectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Mic
rosoft.Smartdevice.MultiTargeting.Connectivity.dll /reference:C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll
/reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NET
Framework\v4.5\System.Core.dll /reference:C:\Program Files (x86)\Reference Ass
emblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.DataSetExtensions.dll
 /reference:C:\Program Files (x86)\Reference 

[jira] [Commented] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController

2014-03-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6318:


Github user lmnbeyond commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/3#issuecomment-38247400
  
@shazron 
Thanks for your kindly review, I really don't want to break any 
functionalities, I'm so sorry :(
I have tired my best to fix the problem and already updated my PR, please 
review it again.


 Statusbar can't blend into the background when embedding CDVViewController in 
 a NavigationController
 

 Key: CB-6318
 URL: https://issues.apache.org/jira/browse/CB-6318
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Statusbar
Reporter: glmnbeyond
 Attachments: compare.png, expected.png, navigationbar.png, result.png


 Please refer to the attached screenshots.
 -navigationbar.png indicates that CDVViewController is embedded in a 
 NavigationController, and the navigation bar is visible.
 -result.png indicates that when navigation bar is hiding, the status bar 
 can't blend into the background.
 -expected.png is expected result.



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