[jira] [Created] (CB-6334) Missing utf8 byte order mark for plugin scripts in Windows8

2014-03-24 Thread Paul Hickman (JIRA)
Paul Hickman created CB-6334:


 Summary: Missing utf8 byte order mark for plugin scripts in 
Windows8
 Key: CB-6334
 URL: https://issues.apache.org/jira/browse/CB-6334
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
 Environment: Windows 8
Reporter: Paul Hickman


Issue CB-2050 fixed a problem where Cordova applications did not pass the 
windows store application compatibility test, because the JavaScript files did 
not contain Unicode byte order marks.

Whilst this is fixed for the core Cordova JavaScript file, the BOM is missing 
on the cordova-plugins.js file that the prepare statement generates, and on 
many of the plugin scripts themselves.

As it is a futile exercise getting every plugin author to ensure they always 
remember to save their files with a byte order mark, could you make the 
prepare command for Windows 8 applications add the byte order mark to all 
plugin javascript files that it generates / copies if it is missing.

There is also a potential case to argue that it should do this for the html / 
js / css files in the www folder, but that is at least under the user's control




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


[jira] [Created] (CB-6335) Blackberry file plugin accessing file system returns no results

2014-03-24 Thread Boston Dell-Vandenberg (JIRA)
Boston Dell-Vandenberg created CB-6335:
--

 Summary: Blackberry file plugin accessing file system returns no 
results
 Key: CB-6335
 URL: https://issues.apache.org/jira/browse/CB-6335
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Plugin File
Affects Versions: 3.4.0
 Environment: File plugin 1.0.1, Blackberry 10.2.x emulator  device 
(Z10)
Reporter: Boston Dell-Vandenberg


Trying to access the Blackberry shared folder and list it's contents but the 
file plugin is returning no entries (FileError Code 1).

blackberry.io.sandbox is set to false and the blackberry.io plugin is installed 
to access the shared folder path.

I have tested on both emulator and device (10.2) with the following code:

[code]
window.requestFileSystem(
  LocalFileSystem.PERSISTENT,
  1024 * 1024,
  function (fs) {

  fs.root.getDirectory(
blackberry.io.sharedFolder,
{},
function(result) {
  var reader = result.createReader();
  reader.readEntries(
function(entries) {
  console.log(entries);
},
function (error) {
  console.log('Failed to list directory contents: ', error);
}
  );
},
function(error) {
  console.log('Error accessing shared folder');
}
  );
  },
  function () {
console.log('Error accessing local file system');
  }
);
[code]



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


[jira] [Commented] (CB-5081) add other platform support for cordova info command

2014-03-24 Thread Martin Gonzalez (JIRA)

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

Martin Gonzalez commented on CB-5081:
-

For adding support to the rest of platforms, and use current code, it's 
required improve the info.js file in the cli to work async.

 add other platform support for cordova info command
 -

 Key: CB-5081
 URL: https://issues.apache.org/jira/browse/CB-5081
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Reporter: Marcel Kinard
Assignee: Martin Gonzalez
Priority: Minor

 In CB-2234, the cordova info command was added with the ability to get 
 platform info for Android and iOS. That command should get the ability to get 
 platform info for BB10, WP8, Win8, and more.
 See cordova-cli/src/info.js doPlatform()



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


[jira] [Assigned] (CB-5084) add Win8 support in doPlatform()

2014-03-24 Thread Martin Gonzalez (JIRA)

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

Martin Gonzalez reassigned CB-5084:
---

Assignee: Martin Gonzalez

 add Win8 support in doPlatform()
 

 Key: CB-5084
 URL: https://issues.apache.org/jira/browse/CB-5084
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Marcel Kinard
Assignee: Martin Gonzalez
Priority: Minor





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


[jira] [Assigned] (CB-5083) add WP8 support in doPlatform()

2014-03-24 Thread Martin Gonzalez (JIRA)

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

Martin Gonzalez reassigned CB-5083:
---

Assignee: Martin Gonzalez

 add WP8 support in doPlatform()
 ---

 Key: CB-5083
 URL: https://issues.apache.org/jira/browse/CB-5083
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Marcel Kinard
Assignee: Martin Gonzalez
Priority: Minor





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


[jira] [Commented] (CB-6328) docs incorrectly claim globalization support for wp8 in 2.3

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

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

ASF GitHub Bot commented on CB-6328:


Github user stacic commented on the pull request:

https://github.com/apache/cordova-docs/pull/198#issuecomment-38472013
  
Closing this in favor of adding support for globalization back to 2.3.


 docs incorrectly claim globalization support for wp8 in 2.3
 ---

 Key: CB-6328
 URL: https://issues.apache.org/jira/browse/CB-6328
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs, Plugin Globalization, WP8
Affects Versions: 2.3.0
Reporter: Staci Cooper
Assignee: Jesse MacFadyen
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_globalization_globalization.md.html#Globalization
 2.3 docs claim that the globalization plugin is supported for windows phone 8 
 in 2.3, causing users to report broken plugin when these features do not work.



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


[jira] [Commented] (CB-6328) docs incorrectly claim globalization support for wp8 in 2.3

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

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

ASF GitHub Bot commented on CB-6328:


Github user stacic closed the pull request at:

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


 docs incorrectly claim globalization support for wp8 in 2.3
 ---

 Key: CB-6328
 URL: https://issues.apache.org/jira/browse/CB-6328
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs, Plugin Globalization, WP8
Affects Versions: 2.3.0
Reporter: Staci Cooper
Assignee: Jesse MacFadyen
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_globalization_globalization.md.html#Globalization
 2.3 docs claim that the globalization plugin is supported for windows phone 8 
 in 2.3, causing users to report broken plugin when these features do not work.



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


[jira] [Resolved] (CB-5477) cordova CLI can't create WP8 project with encode issue!

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-5477.
-

Resolution: Unresolved

awaiting more data from reporter

 cordova CLI can't create WP8 project with encode issue!
 ---

 Key: CB-5477
 URL: https://issues.apache.org/jira/browse/CB-5477
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, WP8
 Environment: win8(simple chinese)+vs2012+wp8sdk
Reporter: puchen
Assignee: Jesse MacFadyen
Priority: Critical
 Fix For: 3.5.0


 descrip:
 C:\Windows\system32cordova -v
 3.2.0-0.1.0
 cordova create hello com.example.hello HelloWorld
 cd hello
 cordova platform add wp8
 got errors:
 D:\VSProject\helloCordovacordova platform add wp8
 Checking wp8 requirements...
 Creating wp8 project...
 [Error: Non-whitespace before first tag.
 Line: 0
 Column: 1
 Char: �]
 Finally I found following files
 wmappmanifest.xml, HelloCordova.csproj, HelloCordova.sln, MainPage.xaml.cs, 
 etc
 were corrupt, the start characters of file content were sth like
 锘?*
 the cli can't parse these files
 I think it's an encoding issue
 here is sample issue https://issues.apache.org/jira/browse/CB-4618
 my opinion:
 i check the corodova cli source code, i found it's this file 
 .cordova\lib\wp\cordova\3.2.0\wp8\bin\create.js caused this error!
 in create.js file:
 function write(filename, contents) {
 var f=fso.OpenTextFile(filename, ForWriting, TristateTrue);
 f.Write(contents);
 f.Close();
 }
 WScript OpenTextFile Method : 
 http://msdn.microsoft.com/en-us/library/314cz14s(v=vs.84).aspx
 OpenTextFile Method  have 4 args but
 fso.OpenTextFile miss a args create,  
 OpenTextFile should open file with unicode encode,because cordova wp8 cli 
 template project files are encode with utf-8. if we not specified encode 
 OpenTextFile  should use system default encode ascii.
 cordova template files were encoded with utf8, opentext and wirte with ascii, 
 then save thems  will cause  encode issue!



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


[jira] [Commented] (CB-5477) cordova CLI can't create WP8 project with encode issue!

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-5477:
-

Also, it would be good to know if part of the issue is the fact that the target 
project folder is not on the system drive.

ie. C:\MyTestProject vs E:\MyTestProject 

 cordova CLI can't create WP8 project with encode issue!
 ---

 Key: CB-5477
 URL: https://issues.apache.org/jira/browse/CB-5477
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, WP8
 Environment: win8(simple chinese)+vs2012+wp8sdk
Reporter: puchen
Assignee: Jesse MacFadyen
Priority: Critical
 Fix For: 3.5.0


 descrip:
 C:\Windows\system32cordova -v
 3.2.0-0.1.0
 cordova create hello com.example.hello HelloWorld
 cd hello
 cordova platform add wp8
 got errors:
 D:\VSProject\helloCordovacordova platform add wp8
 Checking wp8 requirements...
 Creating wp8 project...
 [Error: Non-whitespace before first tag.
 Line: 0
 Column: 1
 Char: �]
 Finally I found following files
 wmappmanifest.xml, HelloCordova.csproj, HelloCordova.sln, MainPage.xaml.cs, 
 etc
 were corrupt, the start characters of file content were sth like
 锘?*
 the cli can't parse these files
 I think it's an encoding issue
 here is sample issue https://issues.apache.org/jira/browse/CB-4618
 my opinion:
 i check the corodova cli source code, i found it's this file 
 .cordova\lib\wp\cordova\3.2.0\wp8\bin\create.js caused this error!
 in create.js file:
 function write(filename, contents) {
 var f=fso.OpenTextFile(filename, ForWriting, TristateTrue);
 f.Write(contents);
 f.Close();
 }
 WScript OpenTextFile Method : 
 http://msdn.microsoft.com/en-us/library/314cz14s(v=vs.84).aspx
 OpenTextFile Method  have 4 args but
 fso.OpenTextFile miss a args create,  
 OpenTextFile should open file with unicode encode,because cordova wp8 cli 
 template project files are encode with utf-8. if we not specified encode 
 OpenTextFile  should use system default encode ascii.
 cordova template files were encoded with utf8, opentext and wirte with ascii, 
 then save thems  will cause  encode issue!



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


[jira] [Commented] (CB-4650) Default native project templates should be overridable at project creation time

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-4650:
-

Is there more info on how this should work? Do I have to go and read the other 
platform implementations and figure it out myself?  Where is the doc/spec on 
this feature?

 Default native project templates should be overridable at project creation 
 time
 ---

 Key: CB-4650
 URL: https://issues.apache.org/jira/browse/CB-4650
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, BlackBerry, CLI, iOS, WP8
Affects Versions: 3.0.0
Reporter: Ian Clelland

 The default native-code project templates for each platform should not be 
 unconditionally installed by the create scripts.
 There should be a command line option to specify the directory where the 
 project template can be found. If not present, then the default template 
 should be used.
 Custom templates should be subject to the same string substitution as their 
 default counterparts, so that it is easy to start a custom template as a 
 simple copy of the default.
 For platforms with a standard 'create' script, we can add a fourth argument 
 for the project template directory.
 {{bin/create [folder] [[packageName] [[appName] [templateDir]]]}}



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


[jira] [Created] (CB-6336) cordova platform add fails if created with --link-to

2014-03-24 Thread Adam Tuttle (JIRA)
Adam Tuttle created CB-6336:
---

 Summary: cordova platform add fails if created with --link-to
 Key: CB-6336
 URL: https://issues.apache.org/jira/browse/CB-6336
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
 Environment: OSX 10.9.2
Reporter: Adam Tuttle
Priority: Minor


Given a www folder with app contents, run the following commands in this 
sequence:

{code}
cordova create build_local com.foo.bar appName --link-to ./www
cd build_local
cordova platform add ios
{code}

This results in the following error being thrown:

{code}
Creating ios project...
Error: /Users/adam/DEV/myApp/platforms does not exist. Please specify an 
existing parent folder.
Error: /Users/adam/.cordova/lib/ios/cordova/3.4.0/bin/create: Command failed 
with exit code 1
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/src/superspawn.js:112:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
{code}

The platforms folder exists at /users/adam/DEV/myApp/build_local/platforms but 
the tool is going one too many directories back up the hierarchy.

I've found that if I create the app without the --link-to flag, add the desired 
platforms, and then delete the created www folder and add a symlink manually it 
_seems_ to run fine, but I'm not positive that's all that should be needed.



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


[jira] [Created] (CB-6337) Print nice error when cordova-cli hits various expected things

2014-03-24 Thread Josh Soref (JIRA)
Josh Soref created CB-6337:
--

 Summary: Print nice error when cordova-cli hits various expected 
things
 Key: CB-6337
 URL: https://issues.apache.org/jira/browse/CB-6337
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref


CB-5782 introduced a way to silence stack traces for expected failures, but it 
missed some spots.

This is a first pass against things in CLI itself -- it doesn't cover errors 
coming from plugman.



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


[jira] [Commented] (CB-6268) WP8. Apply BackgroundColor from config.xml

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

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

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

Commit d60dfb5d6b967dfedf86adb149c2d70a23603537 in cordova-wp8's branch 
refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=d60dfb5 ]

Merge branch 'CB-6268' of https://github.com/sgrebnov/cordova-wp8


 WP8. Apply BackgroundColor from config.xml
 --

 Key: CB-6268
 URL: https://issues.apache.org/jira/browse/CB-6268
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
Priority: Minor





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


[jira] [Commented] (CB-6268) WP8. Apply BackgroundColor from config.xml

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

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

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

Commit cc1d54fcb2a00b49e498c872db68449e2bcbfcc0 in cordova-wp8's branch 
refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=cc1d54f ]

applied CB-6268 backgroundcolor to WP7 also


 WP8. Apply BackgroundColor from config.xml
 --

 Key: CB-6268
 URL: https://issues.apache.org/jira/browse/CB-6268
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
Priority: Minor





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


[jira] [Created] (CB-6338) Improve error for missing template

2014-03-24 Thread Josh Soref (JIRA)
Josh Soref created CB-6338:
--

 Summary: Improve error for missing template
 Key: CB-6338
 URL: https://issues.apache.org/jira/browse/CB-6338
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor


Today when you try to create a project using a template whose path doesn't 
exist (typically due to a typo), you get:
{quote}
cordova create /tmp/xxxq a a 
'\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
Creating a new cordova project with name a and id a at location /tmp/xxxq
Using custom www assets from /tmp/xxqrtc
cp: no such file or directory: /tmp/xxqrtc/*
{quote}

The * isn't really appropriate, what doesn't exist is the template directory, 
not *.
{quote}
cordova create /tmp/xxxq a a 
'\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
Creating a new cordova project with name a and id a at location /tmp/xxxq
Using custom www assets from /tmp/xxqrtc
Could not find directory: /tmp/xxqrtc
{quote}

If people don't think this should be handled by cli, I can host the code 
outside it, but...



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


[jira] [Commented] (CB-5782) Catch exceptions and print nice error when cordova-cli run from a non cordova project.

2014-03-24 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-5782:


1. I think that I want --verbose to include the stack CordovaError or not a 
CordovaError. Or possibly a --debug flag if people don't want --verbose for 
that purpose...
2. The change that reintroduced stacks has made downstream consumers less 
happy, so I'd like a --nostack flag (which our GUI will pass to cordova).
3. Is there a bug, plan, or schema for deciding which things should be 
CordovaErrors and which shouldn't be?

I posted a PR for the CLI side of 3 -- but that still leaves plugman at least.

 Catch exceptions and print nice error when cordova-cli run from a non cordova 
 project.
 --

 Key: CB-5782
 URL: https://issues.apache.org/jira/browse/CB-5782
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Michal Mocny
Assignee: Mark Koudritsky
Priority: Minor

 cordova prepare prints scary stack trace when run from the wrong directory.  
 This is likely a common error and we should make it clear what is happening.
 Seems we are already catching the case, just failing to report it gracefully:
 throw new Error('Current working directory is not a Cordova-based



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


[jira] [Closed] (CB-6030) Auto-increment serve port address when in use

2014-03-24 Thread Bryan Higgins (JIRA)

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

Bryan Higgins closed CB-6030.
-

Resolution: Fixed

 Auto-increment serve port address when in use
 -

 Key: CB-6030
 URL: https://issues.apache.org/jira/browse/CB-6030
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Bryan Higgins
Assignee: Bryan Higgins

 cordova serve fails when another instance is already running. It would be 
 nice if the port number automatically incremented.
 Error: listen EADDRINUSE 
 at errnoException (net.js:901:11) 
 at Server._listen2 (net.js:1039:14) 
 at listen (net.js:1061:10) 
 at Server.listen (net.js:1127:5) 



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


[jira] [Commented] (CB-6338) Improve error for missing template

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

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

ASF GitHub Bot commented on CB-6338:


GitHub user jsoref opened a pull request:

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

CB-6338 Improve error for missing template



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

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

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

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


commit 2fb730db83bf53b1c82588778065119d8d173227
Author: Josh Soref jso...@blackberry.com
Date:   2014-03-24T18:30:14Z

CB-6338 Improve error for missing template




 Improve error for missing template
 --

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

 Today when you try to create a project using a template whose path doesn't 
 exist (typically due to a typo), you get:
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 cp: no such file or directory: /tmp/xxqrtc/*
 {quote}
 The * isn't really appropriate, what doesn't exist is the template directory, 
 not *.
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 Could not find directory: /tmp/xxqrtc
 {quote}
 If people don't think this should be handled by cli, I can host the code 
 outside it, but...



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


[jira] [Commented] (CB-6337) Print nice error when cordova-cli hits various expected things

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

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

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

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

CB-6337 Print nice error when cordova-cli hits various expected things


 Print nice error when cordova-cli hits various expected things
 --

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

 CB-5782 introduced a way to silence stack traces for expected failures, but 
 it missed some spots.
 This is a first pass against things in CLI itself -- it doesn't cover errors 
 coming from plugman.



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


[jira] [Commented] (CB-6030) Auto-increment serve port address when in use

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

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

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

Commit bd108d59b6daff5803a27c67c38fbcb57d459734 in cordova-cli's branch 
refs/heads/master from [~bhigg...@blackberry.com]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=bd108d5 ]

CB-6030 - Automatically increment port for serve when default is in use


 Auto-increment serve port address when in use
 -

 Key: CB-6030
 URL: https://issues.apache.org/jira/browse/CB-6030
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Bryan Higgins
Assignee: Bryan Higgins

 cordova serve fails when another instance is already running. It would be 
 nice if the port number automatically incremented.
 Error: listen EADDRINUSE 
 at errnoException (net.js:901:11) 
 at Server._listen2 (net.js:1039:14) 
 at listen (net.js:1061:10) 
 at Server.listen (net.js:1127:5) 



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


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

2014-03-24 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-6306.
--

   Resolution: Fixed
Fix Version/s: 3.5.0

 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
 Fix For: 3.5.0


 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-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-24 Thread Marcel Kinard (JIRA)

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

Marcel Kinard updated CB-6320:
--

Assignee: Staci Cooper

 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
Assignee: 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-6030) Auto-increment serve port address when in use

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

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

ASF GitHub Bot commented on CB-6030:


Github user bryanhiggins closed the pull request at:

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


 Auto-increment serve port address when in use
 -

 Key: CB-6030
 URL: https://issues.apache.org/jira/browse/CB-6030
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Bryan Higgins
Assignee: Bryan Higgins

 cordova serve fails when another instance is already running. It would be 
 nice if the port number automatically incremented.
 Error: listen EADDRINUSE 
 at errnoException (net.js:901:11) 
 at Server._listen2 (net.js:1039:14) 
 at listen (net.js:1061:10) 
 at Server.listen (net.js:1127:5) 



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


[jira] [Commented] (CB-6338) Improve error for missing template

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

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

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

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

CB-6338 Improve error for missing template


 Improve error for missing template
 --

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

 Today when you try to create a project using a template whose path doesn't 
 exist (typically due to a typo), you get:
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 cp: no such file or directory: /tmp/xxqrtc/*
 {quote}
 The * isn't really appropriate, what doesn't exist is the template directory, 
 not *.
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 Could not find directory: /tmp/xxqrtc
 {quote}
 If people don't think this should be handled by cli, I can host the code 
 outside it, but...



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


[jira] [Commented] (CB-6163) Document geolocation fields

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

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

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

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

CB-6163 Document geolocation fields


 Document geolocation fields
 ---

 Key: CB-6163
 URL: https://issues.apache.org/jira/browse/CB-6163
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.3.0
Reporter: James Keshavarzi

 When using the mobile spec, a NaN value is returned for Heading when testing 
 the Cordova Geolocation plugin using the Location test page.



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


[jira] [Closed] (CB-6338) Improve error for missing template

2014-03-24 Thread Bryan Higgins (JIRA)

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

Bryan Higgins closed CB-6338.
-

Resolution: Fixed

 Improve error for missing template
 --

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

 Today when you try to create a project using a template whose path doesn't 
 exist (typically due to a typo), you get:
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 cp: no such file or directory: /tmp/xxqrtc/*
 {quote}
 The * isn't really appropriate, what doesn't exist is the template directory, 
 not *.
 {quote}
 cordova create /tmp/xxxq a a 
 '\{id:id,name:name,lib:\{www:\{uri:/tmp/xxqrtc,id:custom,version:0}}}'
 Creating a new cordova project with name a and id a at location 
 /tmp/xxxq
 Using custom www assets from /tmp/xxqrtc
 Could not find directory: /tmp/xxqrtc
 {quote}
 If people don't think this should be handled by cli, I can host the code 
 outside it, but...



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


[jira] [Commented] (CB-6337) Print nice error when cordova-cli hits various expected things

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

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

ASF GitHub Bot commented on CB-6337:


Github user asfgit closed the pull request at:

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


 Print nice error when cordova-cli hits various expected things
 --

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

 CB-5782 introduced a way to silence stack traces for expected failures, but 
 it missed some spots.
 This is a first pass against things in CLI itself -- it doesn't cover errors 
 coming from plugman.



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


[jira] [Commented] (CB-6163) Document geolocation fields

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

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

ASF GitHub Bot commented on CB-6163:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-mobile-spec/pull/52


 Document geolocation fields
 ---

 Key: CB-6163
 URL: https://issues.apache.org/jira/browse/CB-6163
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.3.0
Reporter: James Keshavarzi

 When using the mobile spec, a NaN value is returned for Heading when testing 
 the Cordova Geolocation plugin using the Location test page.



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


[jira] [Commented] (CB-6268) WP8. Apply BackgroundColor from config.xml

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

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

ASF GitHub Bot commented on CB-6268:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-wp8/pull/29


 WP8. Apply BackgroundColor from config.xml
 --

 Key: CB-6268
 URL: https://issues.apache.org/jira/browse/CB-6268
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
Priority: Minor





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


[jira] [Created] (CB-6339) platform Dependencies should be fetched eagerly or searchpath should be stored or ...

2014-03-24 Thread Josh Soref (JIRA)
Josh Soref created CB-6339:
--

 Summary: platform Dependencies should be fetched eagerly or 
searchpath should be stored or ...
 Key: CB-6339
 URL: https://issues.apache.org/jira/browse/CB-6339
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Josh Soref


{quote}
$ cordova plugin add com.blackberry.sensors --searchpath 
../cordova-blackberry-plugins/plugin/
$ cordova plugin 
[ 'com.blackberry.sensors' ]
$ cordova platform add blackberry10
Creating blackberry10 project...
npm WARN package.json jWorkflow@0.8.0 No repository field.
npm WARN package.json localize@0.4.2 No repository field.
Installing com.blackberry.sensors for blackberry10
Fetching plugin com.blackberry.utils via plugin registry
Installing com.blackberry.utils for blackberry10
{quote}

The intention here is clearly to have the plugin and its dependencies installed 
from {{--searchpath}}. 

Having to add platforms before adding plugins or having to remember that 
{{--searchpath}} doesn't work for platforms that aren't yet present is pretty 
painful.

If you don't want to implement any persistence for the {{--searchpath}}, then, 
at least trawl through the platform dependencies and warn when they won't do 
the right thing.

As in:
{quote}
*WARNING*: {{com.blackberry.utils}} will not be installed from 
{{../cordova-blackberry-plugins/plugin/com.blackberry.utils}} when you run 
{{cordova platform add blackberry10}}
{quote}

For reference, the sensors plugin.xml file has:
{quote}
platform name=blackberry10
dependency id=com.blackberry.utils /
...
/platform
{quote}



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


[jira] [Updated] (CB-6328) docs incorrectly claim globalization support for wp8 in 2.3

2014-03-24 Thread Marcel Kinard (JIRA)

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

Marcel Kinard updated CB-6328:
--

Assignee: Staci Cooper  (was: Jesse MacFadyen)

 docs incorrectly claim globalization support for wp8 in 2.3
 ---

 Key: CB-6328
 URL: https://issues.apache.org/jira/browse/CB-6328
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs, Plugin Globalization, WP8
Affects Versions: 2.3.0
Reporter: Staci Cooper
Assignee: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_globalization_globalization.md.html#Globalization
 2.3 docs claim that the globalization plugin is supported for windows phone 8 
 in 2.3, causing users to report broken plugin when these features do not work.



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


[jira] [Closed] (CB-6328) docs incorrectly claim globalization support for wp8 in 2.3

2014-03-24 Thread Staci Cooper (JIRA)

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

Staci Cooper closed CB-6328.


Resolution: Not A Problem

 docs incorrectly claim globalization support for wp8 in 2.3
 ---

 Key: CB-6328
 URL: https://issues.apache.org/jira/browse/CB-6328
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs, Plugin Globalization, WP8
Affects Versions: 2.3.0
Reporter: Staci Cooper
Assignee: Staci Cooper
Priority: Minor

 http://cordova.apache.org/docs/en/2.3.0/cordova_globalization_globalization.md.html#Globalization
 2.3 docs claim that the globalization plugin is supported for windows phone 8 
 in 2.3, causing users to report broken plugin when these features do not work.



--
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-24 Thread ASF subversion and git services (JIRA)

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

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

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

CB-6320 Clarified BlackBerry notification support

Made notation consistent.
Added clarification to other versions.


 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
Assignee: 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-6340) Adding rebroadcast capabilities to remote notification registration

2014-03-24 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-6340:


 Summary: Adding rebroadcast capabilities to remote notification 
registration
 Key: CB-6340
 URL: https://issues.apache.org/jira/browse/CB-6340
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
 Fix For: 3.5.0


See https://github.com/apache/cordova-ios/pull/94



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


[jira] [Commented] (CB-6340) Adding rebroadcast capabilities to remote notification registration

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

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

ASF GitHub Bot commented on CB-6340:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-ios/pull/94#issuecomment-38502702
  
Assigned issue for tracking https://issues.apache.org/jira/browse/CB-6340


 Adding rebroadcast capabilities to remote notification registration
 ---

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


 See https://github.com/apache/cordova-ios/pull/94



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


[jira] [Commented] (CB-6340) Adding rebroadcast capabilities to remote notification registration

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

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

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

Commit b296958497c55314e6a54bd0d53c6935bd16940f in cordova-ios's branch 
refs/heads/master from Sushant Verma
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=b296958 ]

CB-6340 - Adding rebroadcast capabilities to remote notification registration
within AppDelegate (closes #94)


 Adding rebroadcast capabilities to remote notification registration
 ---

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


 See https://github.com/apache/cordova-ios/pull/94



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


[jira] [Resolved] (CB-6340) Adding rebroadcast capabilities to remote notification registration

2014-03-24 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6340.
--

Resolution: Fixed

 Adding rebroadcast capabilities to remote notification registration
 ---

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


 See https://github.com/apache/cordova-ios/pull/94



--
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-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6320:


Github user stacic closed the pull request at:

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: Task
  Components: BlackBerry, Plugins
Affects Versions: 2.3.0
Reporter: Staci Cooper
Assignee: 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-6320) Incorrect claim of BB10 support for beep and vibrate

2014-03-24 Thread Staci Cooper (JIRA)

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

Staci Cooper resolved CB-6320.
--

Resolution: Fixed

 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
Assignee: 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-24 Thread Staci Cooper (JIRA)

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

Staci Cooper commented on CB-6320:
--

Thanks for merging, I'll go ahead and mark this as resolved.

 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
Assignee: 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-6268) WP8. Apply BackgroundColor from config.xml

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6268.
-

   Resolution: Fixed
Fix Version/s: 3.5.0

 WP8. Apply BackgroundColor from config.xml
 --

 Key: CB-6268
 URL: https://issues.apache.org/jira/browse/CB-6268
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
Priority: Minor
 Fix For: 3.5.0






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


[jira] [Commented] (CB-6268) WP8. Apply BackgroundColor from config.xml

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6268:
-

The code has been merged, and the pull request closed, however, I saw no way of 
demonstrating that the color had changed.
The browser content always hides the background color of the control, and I 
could see no way to change that.

 WP8. Apply BackgroundColor from config.xml
 --

 Key: CB-6268
 URL: https://issues.apache.org/jira/browse/CB-6268
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
Priority: Minor
 Fix For: 3.5.0






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


[jira] [Commented] (CB-6267) Windows8. Apply BackgroundColor from config.xml

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

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

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

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

Merge branch 'CB-6267' of https://github.com/sgrebnov/cordova-cli


 Windows8. Apply BackgroundColor from config.xml
 ---

 Key: CB-6267
 URL: https://issues.apache.org/jira/browse/CB-6267
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov





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


[jira] [Commented] (CB-5898) Removal of Plugin Leaves Traces in project.pbxproj

2014-03-24 Thread Graham Mueller (JIRA)

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

Graham Mueller commented on CB-5898:


I'm seeing this same issue, though I'm having a *really* hard time reproducing 
it consistently. Since I'm working with some plugin development, I frequently 
have to run through the `plugman uninstall/install` cycle, which seems to 
sometimes fail to completely remove the plugin from the project.

In the cases that it fails, it seems to be because the Xcode module's 
'removeFromPbxFileReferenceSection' is searching for path/name *with* quotes, 
but the actual filename does not have quotes around it. I'm sorry if this isn't 
terribly clear, I'm having a hard time debugging through this, but that's the 
best I've been able to find so far.

Because of this failure to remove, subsequent installs determine that the 
plugin is 'already installed,' and so you end up in this broken state where 
your plugin never actually gets added back to the Target Membership in your 
Xcode Project.

 Removal of Plugin Leaves Traces in project.pbxproj
 --

 Key: CB-5898
 URL: https://issues.apache.org/jira/browse/CB-5898
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugman
Affects Versions: 3.3.0
Reporter: Shane Carr

 When running `phonegap local plugin remove x.y.z` on a custom plugin, traces 
 of the removed plugin remain in `project.pbxproj`.  A consequence is that 
 subsequent `phonegap local plugin add` calls do not add source files to the 
 build path.
 Manually removing all references to plugin files from `project.pbxproj` after 
 a `phonegap local plugin remove` allows `phonegap local plugin add` to work 
 as expected.
 I'm unsure if this is a bug in Plugman or a bug in 
 [node-xcode|https://github.com/alunny/node-xcode].
 Let me know if you need more information or a test case.



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


[jira] [Commented] (CB-6267) Windows8. Apply BackgroundColor from config.xml

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

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

ASF GitHub Bot commented on CB-6267:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-cli/pull/142#issuecomment-38505972
  
This is being merged, however, I believe this property can be changed after 
'create' has been called.
There should be a platform script that ensures any preferences in 
config.xml are processed at build time, OR there should be a runtime check.  
Either way, this would need to be fixed in the windows8 project, and not the 
cli.
Reposting this info to JIRA.


 Windows8. Apply BackgroundColor from config.xml
 ---

 Key: CB-6267
 URL: https://issues.apache.org/jira/browse/CB-6267
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov





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


[jira] [Resolved] (CB-6267) Windows8. Apply BackgroundColor from config.xml

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6267.
-

Resolution: Fixed

 Windows8. Apply BackgroundColor from config.xml
 ---

 Key: CB-6267
 URL: https://issues.apache.org/jira/browse/CB-6267
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov





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


[jira] [Commented] (CB-6267) Windows8. Apply BackgroundColor from config.xml

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6267:
-

This is being merged, however, I believe this property can be changed after 
'create' has been called.
There should be a platform script that ensures any preferences in config.xml 
are processed at build time, OR there should be a runtime check.  Either way, 
this would need to be fixed in the windows8 project, and not the cli.
Reposting this info to JIRA.

 Windows8. Apply BackgroundColor from config.xml
 ---

 Key: CB-6267
 URL: https://issues.apache.org/jira/browse/CB-6267
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov





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


[jira] [Assigned] (CB-6287) Add build script support for arm64

2014-03-24 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-6287:


Assignee: Shazron Abdullah

 Add build script support for arm64
 --

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


 Currently, build script specify VALID_ARCHS as armv7 armv7s, should we add 
 arm64 to VALID_ARCHS?
 exec xcodebuild -xcconfig $CORDOVA_PATH/build.xcconfig -project 
 $PROJECT_NAME.xcodeproj ARCHS=armv7 armv7s -target $PROJECT_NAME 
 -configuration $CONFIGURATION -sdk iphoneos build VALID_ARCHS=armv7 armv7s 
 CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build/device



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


[jira] [Commented] (CB-5520) Should we add DEBUG=1 to Preprocessor Macros-Debug ?

2014-03-24 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5520:
--

This is great: 
http://stackoverflow.com/questions/19102565/link-binary-with-static-library-in-xcconfig
We can potentially remove finicky .pbxproj edits with plugman for linking 
binaries

 Should we add DEBUG=1 to Preprocessor Macros-Debug ?
 ---

 Key: CB-5520
 URL: https://issues.apache.org/jira/browse/CB-5520
 Project: Apache Cordova
  Issue Type: Wish
  Components: iOS
Affects Versions: 3.2.0
Reporter: glmnbeyond
Assignee: Shazron Abdullah
Priority: Minor
  Labels: core

 I created a helloCordova project via Cordova CLI, and added some debug info 
 to native code:
 DLog('This is a debug info');
 But the debug info is never outputted.If I use  ALog, the info can be 
 outputted, so I think it probably has something to do with the DEBUG macro.
 After I added DEBUG=1 to Preprocessor Macros, ran the helloCordova 
 target, DLog can be outputted.
 So here is my question:
 Should we add DEBUG=1 to iOS template project-Build Settings- 
 Preprocessor Macros -Debug ?



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


[jira] [Commented] (CB-6267) Windows8. Apply BackgroundColor from config.xml

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

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

ASF GitHub Bot commented on CB-6267:


Github user asfgit closed the pull request at:

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


 Windows8. Apply BackgroundColor from config.xml
 ---

 Key: CB-6267
 URL: https://issues.apache.org/jira/browse/CB-6267
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov





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


[jira] [Commented] (CB-5898) Removal of Plugin Leaves Traces in project.pbxproj

2014-03-24 Thread Graham Mueller (JIRA)

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

Graham Mueller commented on CB-5898:


For context, I've tried this with plugman 0.19.0 and 0.20.2. Both versions are 
using Xcode 0.6.6. It seemed at one point that 0.19.0 was correctly quoting the 
files when installing, and 0.20.2 wasn't, but now both seem to be correctly 
placing quotes around the filename.

 Removal of Plugin Leaves Traces in project.pbxproj
 --

 Key: CB-5898
 URL: https://issues.apache.org/jira/browse/CB-5898
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugman
Affects Versions: 3.3.0
Reporter: Shane Carr

 When running `phonegap local plugin remove x.y.z` on a custom plugin, traces 
 of the removed plugin remain in `project.pbxproj`.  A consequence is that 
 subsequent `phonegap local plugin add` calls do not add source files to the 
 build path.
 Manually removing all references to plugin files from `project.pbxproj` after 
 a `phonegap local plugin remove` allows `phonegap local plugin add` to work 
 as expected.
 I'm unsure if this is a bug in Plugman or a bug in 
 [node-xcode|https://github.com/alunny/node-xcode].
 Let me know if you need more information or a test case.



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


[jira] [Commented] (CB-6256) Windows8. Apply start page uri from config.xml

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

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

ASF GitHub Bot commented on CB-6256:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-cli/pull/140#issuecomment-38506897
  
This needs to be handled in the platform repo, projects can be built 
outside of the cordova-cli and if the property is in the application root 
config.xml it should always be valid.
This should be resolved at runtime.


 Windows8. Apply start page uri from config.xml
 --

 Key: CB-6256
 URL: https://issues.apache.org/jira/browse/CB-6256
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 config.xml - start page does not map on Windows8; changing it keeps it at 
 www/index.html.



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

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

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-cli/pull/141#issuecomment-38506944
  
This needs to be handled in the platform repo, projects can be built 
outside of the cordova-cli and if the property is in the application root 
config.xml it should always be valid.
This should be resolved at runtime.


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Created] (CB-6341) Remove windows requirement to have MSBuild in the %PATH%

2014-03-24 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-6341:
---

 Summary: Remove windows requirement to have MSBuild in the %PATH%
 Key: CB-6341
 URL: https://issues.apache.org/jira/browse/CB-6341
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8, WP7, WP8
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen


Repeatedly seeing issues where users are having trouble building because they 
have not followed this step.
Recent changes to the platform scripts get the version of the build tools from 
the registry.  The path to MSBuild is stored there as well
We should get the fully qualified path using REG QUERY



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


[jira] [Commented] (CB-6287) Add build script support for arm64

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

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

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

Commit 6b1012e0b2f0450418edbbc941b7b1d365443d2e in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=6b1012e ]

CB-6287 - Add build script support for arm64


 Add build script support for arm64
 --

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


 Currently, build script specify VALID_ARCHS as armv7 armv7s, should we add 
 arm64 to VALID_ARCHS?
 exec xcodebuild -xcconfig $CORDOVA_PATH/build.xcconfig -project 
 $PROJECT_NAME.xcodeproj ARCHS=armv7 armv7s -target $PROJECT_NAME 
 -configuration $CONFIGURATION -sdk iphoneos build VALID_ARCHS=armv7 armv7s 
 CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build/device



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


[jira] [Resolved] (CB-6287) Add build script support for arm64

2014-03-24 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6287.
--

Resolution: Fixed

 Add build script support for arm64
 --

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


 Currently, build script specify VALID_ARCHS as armv7 armv7s, should we add 
 arm64 to VALID_ARCHS?
 exec xcodebuild -xcconfig $CORDOVA_PATH/build.xcconfig -project 
 $PROJECT_NAME.xcodeproj ARCHS=armv7 armv7s -target $PROJECT_NAME 
 -configuration $CONFIGURATION -sdk iphoneos build VALID_ARCHS=armv7 armv7s 
 CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build/device



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


[jira] [Commented] (CB-6103) [wp8] CordovaDeploy potential build issue

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

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

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

Commit 180d37736fc8e4a5fcf6157fa5cc49b4238408a4 in cordova-wp8's branch 
refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=180d377 ]

applied Sergey's SpecificVersion flag fix to the wp7 template also CB-6103


 [wp8] CordovaDeploy potential build issue
 -

 Key: CB-6103
 URL: https://issues.apache.org/jira/browse/CB-6103
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, WP8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 I see that Microsoft.Smartdevice.Connectivity libraries are linked with 
 SpecificVersion = False flag. Actually, this is a bad practice and can break 
 build in the future, example: 
 http://social.msdn.microsoft.com/Forums/en-US/11098ece-d1ca-45b7-90be-88df14fa05dd/specific-version-false-doesnt-work-as-expected?forum=csharpide
 Please note, that by default SpecificVersion = True. So, following best 
 practices I highly recommend to change this parameter to True also.



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


[jira] [Commented] (CB-6103) [wp8] CordovaDeploy potential build issue

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

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

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

Commit 36bb23a2ef3c829593ecdcd670d68dd4b382ffd4 in cordova-wp8's branch 
refs/heads/master from [~sgrebnov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=36bb23a ]

CB-6103 [wp8] CordovaDeploy potential build issue


 [wp8] CordovaDeploy potential build issue
 -

 Key: CB-6103
 URL: https://issues.apache.org/jira/browse/CB-6103
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, WP8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 I see that Microsoft.Smartdevice.Connectivity libraries are linked with 
 SpecificVersion = False flag. Actually, this is a bad practice and can break 
 build in the future, example: 
 http://social.msdn.microsoft.com/Forums/en-US/11098ece-d1ca-45b7-90be-88df14fa05dd/specific-version-false-doesnt-work-as-expected?forum=csharpide
 Please note, that by default SpecificVersion = True. So, following best 
 practices I highly recommend to change this parameter to True also.



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


[jira] [Commented] (CB-6103) [wp8] CordovaDeploy potential build issue

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

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

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

Commit 6a801c3de0ee59d77a1d145f68cb6d64c2c947b1 in cordova-wp8's branch 
refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=6a801c3 ]

Merge branch 'CB-6103' of https://github.com/sgrebnov/cordova-wp8


 [wp8] CordovaDeploy potential build issue
 -

 Key: CB-6103
 URL: https://issues.apache.org/jira/browse/CB-6103
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, WP8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 I see that Microsoft.Smartdevice.Connectivity libraries are linked with 
 SpecificVersion = False flag. Actually, this is a bad practice and can break 
 build in the future, example: 
 http://social.msdn.microsoft.com/Forums/en-US/11098ece-d1ca-45b7-90be-88df14fa05dd/specific-version-false-doesnt-work-as-expected?forum=csharpide
 Please note, that by default SpecificVersion = True. So, following best 
 practices I highly recommend to change this parameter to True also.



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


[jira] [Resolved] (CB-6103) [wp8] CordovaDeploy potential build issue

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6103.
-

Resolution: Fixed

 [wp8] CordovaDeploy potential build issue
 -

 Key: CB-6103
 URL: https://issues.apache.org/jira/browse/CB-6103
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, WP8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 I see that Microsoft.Smartdevice.Connectivity libraries are linked with 
 SpecificVersion = False flag. Actually, this is a bad practice and can break 
 build in the future, example: 
 http://social.msdn.microsoft.com/Forums/en-US/11098ece-d1ca-45b7-90be-88df14fa05dd/specific-version-false-doesnt-work-as-expected?forum=csharpide
 Please note, that by default SpecificVersion = True. So, following best 
 practices I highly recommend to change this parameter to True also.



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


[jira] [Resolved] (CB-3395) Don't write files to Windows.ApplicationModel.package.current.InstalledLocation

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3395.
-

   Resolution: Fixed
Fix Version/s: 3.4.0

All plugin APIs now use the following :
Windows.Storage.ApplicationData.current.localFolder
Windows.Storage.ApplicationData.current.temporaryFolder


 Don't write files to 
 Windows.ApplicationModel.package.current.InstalledLocation
 ---

 Key: CB-3395
 URL: https://issues.apache.org/jira/browse/CB-3395
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Camera, Plugin File, Windows 8
Affects Versions: 2.7.0
Reporter: Hao Xu
Assignee: Jesse MacFadyen
 Fix For: 3.4.0


 In the current cordova Windows 8 implementation, a lot of the temp files are 
 written to packageId.path( 
 Windows.ApplicationModel.package.current.InstalledLocation.path). From the 
 MSDN document that storagefolder is readonly, but in debug mode, if the 
 CreateFileAsync() is called with second parameter 
 Windows.Storage.CreationCollisionOption.GenerateUniqueName , then 
 CopyFileAsync/CreateFileAsync can create files and folders under 
 installedLocation folder successfully. It's only a bug in debug mode. 
 So I don't think the cordova should write any date to packagetId.path, all 
 the files should be written to folders under AppplicationData.
 ref: 
 http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/e1354247-9048-4507-ae30-ef0d67a3e80f



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


[jira] [Commented] (CB-6342) iOS reports a cellular connection even when in Airplane mode

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

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

ASF GitHub Bot commented on CB-6342:


Github user shazron commented on the pull request:


https://github.com/apache/cordova-plugin-network-information/pull/7#issuecomment-38511503
  
Tracking under https://issues.apache.org/jira/browse/CB-6342


 iOS reports a cellular connection even when in Airplane mode
 

 Key: CB-6342
 URL: https://issues.apache.org/jira/browse/CB-6342
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Network Information
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah

 See: 
 https://github.com/apache/cordova-plugin-network-information/pull/7
 Reachability returns ReachableViaWWAN even if 3G is disabled. If you get 
 ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).



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


[jira] [Created] (CB-6342) iOS reports a cellular connection even when in Airplane mode

2014-03-24 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-6342:


 Summary: iOS reports a cellular connection even when in Airplane 
mode
 Key: CB-6342
 URL: https://issues.apache.org/jira/browse/CB-6342
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Network Information
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah


See: 
https://github.com/apache/cordova-plugin-network-information/pull/7

Reachability returns ReachableViaWWAN even if 3G is disabled. If you get 
ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).



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


[jira] [Resolved] (CB-6342) iOS reports a cellular connection even when in Airplane mode

2014-03-24 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6342.
--

Resolution: Fixed

 iOS reports a cellular connection even when in Airplane mode
 

 Key: CB-6342
 URL: https://issues.apache.org/jira/browse/CB-6342
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Network Information
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah

 See: 
 https://github.com/apache/cordova-plugin-network-information/pull/7
 Reachability returns ReachableViaWWAN even if 3G is disabled. If you get 
 ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).



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


[jira] [Commented] (CB-6342) iOS reports a cellular connection even when in Airplane mode

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

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

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

Commit 6831f06685076dbbded4e78b2b89a09ee885f8fe in 
cordova-plugin-network-information's branch refs/heads/dev from Elad Katan
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-network-information.git;h=6831f06
 ]

CB-6342 - iOS reports a cellular connection even when in Airplane mode


 iOS reports a cellular connection even when in Airplane mode
 

 Key: CB-6342
 URL: https://issues.apache.org/jira/browse/CB-6342
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Network Information
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah

 See: 
 https://github.com/apache/cordova-plugin-network-information/pull/7
 Reachability returns ReachableViaWWAN even if 3G is disabled. If you get 
 ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).



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


[jira] [Commented] (CB-6103) [wp8] CordovaDeploy potential build issue

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

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

ASF GitHub Bot commented on CB-6103:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-wp8/pull/28


 [wp8] CordovaDeploy potential build issue
 -

 Key: CB-6103
 URL: https://issues.apache.org/jira/browse/CB-6103
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, WP8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 I see that Microsoft.Smartdevice.Connectivity libraries are linked with 
 SpecificVersion = False flag. Actually, this is a bad practice and can break 
 build in the future, example: 
 http://social.msdn.microsoft.com/Forums/en-US/11098ece-d1ca-45b7-90be-88df14fa05dd/specific-version-false-doesnt-work-as-expected?forum=csharpide
 Please note, that by default SpecificVersion = True. So, following best 
 practices I highly recommend to change this parameter to True also.



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


[jira] [Commented] (CB-5959) Entry.getMetadata missing size

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

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

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

Commit f84a35f44eb77986b06655c45167af7c31c1d8d1 in cordova-plugin-file's branch 
refs/heads/dev from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=f84a35f ]

CB-5959 size is explicitly 0 if not set, file.spec.4647 are testing the type 
of size


 Entry.getMetadata missing size
 

 Key: CB-5959
 URL: https://issues.apache.org/jira/browse/CB-5959
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.3.0
 Environment: android all versions
Reporter: Kyle Graehl
Assignee: Ian Clelland
Priority: Trivial
  Labels: newbie
   Original Estimate: 1h
  Remaining Estimate: 1h

 According to http://www.w3.org/TR/file-system-api/#idl-def-Metadata, Metadata 
 should have a size attribute.
 When calling DirectoryEntry.getFile with the {create:true} attribute, it 
 creates a new file. When subsequently calling getMetadata on this entry, it 
 is missing the size attribute (which should be in this case, 0). The 
 lastModified is however, present.



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


[jira] [Resolved] (CB-3427) Windows Phone 8 FileEntry.getMetadata returns a null Metadata.modificationTime

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3427.
-

Resolution: Fixed

addressed with CB-5959

 Windows Phone 8 FileEntry.getMetadata returns a null Metadata.modificationTime
 --

 Key: CB-3427
 URL: https://issues.apache.org/jira/browse/CB-3427
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP7, WP8
Affects Versions: 2.5.0, 2.6.0, 2.7.0
 Environment: Visual Studio 2012, Windows 8 Enterprise x64 bit
Reporter: Kelvin Dart
Assignee: Jesse MacFadyen

 Whenever I attempt to get the modificationDate in FileEntry.getMetadata in 
 Windows Phone 8, I receive a Metadata object back in the success function, 
 but the moficiationDate is null.
 The same chunk of code runs fine in Android and iOS. I can provide an example 
 if required...



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


[jira] [Commented] (CB-3427) Windows Phone 8 FileEntry.getMetadata returns a null Metadata.modificationTime

2014-03-24 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-3427:
-

This appears to have been addressed with CB-5959
file.spec.46 Entry.getMetadata on file and 
file.spec.47 Entry.getMetadata on directory
are the relevant tests, and both are passing.

 Windows Phone 8 FileEntry.getMetadata returns a null Metadata.modificationTime
 --

 Key: CB-3427
 URL: https://issues.apache.org/jira/browse/CB-3427
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP7, WP8
Affects Versions: 2.5.0, 2.6.0, 2.7.0
 Environment: Visual Studio 2012, Windows 8 Enterprise x64 bit
Reporter: Kelvin Dart
Assignee: Jesse MacFadyen

 Whenever I attempt to get the modificationDate in FileEntry.getMetadata in 
 Windows Phone 8, I receive a Metadata object back in the success function, 
 but the moficiationDate is null.
 The same chunk of code runs fine in Android and iOS. I can provide an example 
 if required...



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