[jira] [Assigned] (CB-6768) Error copying Blackberry10 icons

2015-05-20 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-6768:
--

Assignee: Josh Soref  (was: Bryan Higgins)

 Error copying Blackberry10 icons
 

 Key: CB-6768
 URL: https://issues.apache.org/jira/browse/CB-6768
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, CLI
Affects Versions: 3.5.0
 Environment: Mac OS X
Reporter: Boston Dell-Vandenberg
Assignee: Josh Soref

 Just upgraded to 3.5.0-0.2.4 and updated config.xml to use the new icon 
 attributes (so glad to have this btw!).
 When I run prepare, the cli reports some copy errors related to the 
 blackberry10 platform.
 Errors:
 {code}
 mkdir: no such file or directory: 
 /Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon
 cp: copyFileSync: could not write to dest file 
 (code=ENOENT):/Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon/blackberry10/icon-94.png
 mkdir: no such file or directory: 
 /Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon
 cp: copyFileSync: could not write to dest file 
 (code=ENOENT):/Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon/blackberry10/icon-114.png
 {code}
 My config.xml:
 {code}
 ?xml version='1.0' encoding='utf-8'?
 widget
 id=com.scendix.pamfax
 version=3.0.3
 android-versionCode=25
 ios-CFBundleVersion=25
 xmlns=http://www.w3.org/ns/widgets;
 ...
 platform name=blackberry10
   icon src=res/icon/blackberry10/icon-94.png /
   icon src=res/icon/blackberry10/icon-114.png /
 /platform
 /widget
 {code}
 The `platforms/blackberry10/platform_www/res/icon` directories do exist but 
 the icons are not copied. Blackberry platform is upgraded to 3.5. I've also 
 tried deleting `platforms_www` to no avail.



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

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



[jira] [Resolved] (CB-8174) Adding Icons does not work properly on BlackBerry10 platform

2015-05-20 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-8174.

Resolution: Duplicate

 Adding Icons does not work properly on BlackBerry10 platform
 

 Key: CB-8174
 URL: https://issues.apache.org/jira/browse/CB-8174
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.3
 Environment: Windows 8
Reporter: Oliver Salzburg

 Let's assume I created a fresh project with the following commands:
 {code}
 cd /tmp
 cordova create test
 cd test
 cordova platform add blackberry10
 {code}
 I now want to add an icon to this application. The documentation 
 (http://cordova.apache.org/docs/en/4.0.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens)
  suggests to add an icon directive to the config.xml, so I'll do that. As the 
 documentation suggests, I reference res/bb10/icon-86.png and 
 res/bb10/icon-150.png. I have no created any files in the file system yet.
 When I now run cordova build, I get several errors:
 {code}
 OliverSalzburg@OLIVER-PC /d/temp/test
 $ cordova build
 cp: no such file or directory: d:\temp\test\res\bb10\icon-86.png
 cp: no such file or directory: d:\temp\test\res\bb10\icon-150.png
 Running command: d:\temp\test\platforms\blackberry10\cordova\build.bat
 [INFO]Populating application source
 [INFO]Parsing config.xml
 [INFO]Generating output files
 [INFO]Error: Attribute image: file cannot be found in the list of 
 packaged files: res/bb10/icon-86.png
 [ERROR]   Native Packager exception occurred
 [INFO]Error: Attribute image: file cannot be found in the list of 
 packaged files: res/bb10/icon-86.png
 [ERROR]   Native Packager exception occurred
 An error has occurred
 Error: d:\temp\test\platforms\blackberry10\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23
 )
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 {code}
 The build process expects to see the referenced files relative to the project 
 root. So I'm creating them at the location that cp complained about:
 {code}
 mkdir -p res/bb10
 touch res/bb10/icon-86.png
 touch res/bb10/icon-150.png
 {code}
 Now I build again:
 {code}
 $ cordova build
 Running command: d:\temp\test\platforms\blackberry10\cordova\build.bat
 [INFO]Populating application source
 [INFO]Parsing config.xml
 [INFO]Generating output files
 [INFO]Error: Attribute image: file cannot be found in the list of 
 packaged files: res/bb10/icon-86.png
 [ERROR]   Native Packager exception occurred
 [INFO]Error: Attribute image: file cannot be found in the list of 
 packaged files: res/bb10/icon-86.png
 [ERROR]   Native Packager exception occurred
 An error has occurred
 Error: d:\temp\test\platforms\blackberry10\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23
 )
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 {code}
 The package will still complain, because the images still don't exist in the 
 location where it expects it.
 If I'm not misunderstanding, the packager complains here because it didn't 
 find the images relative to the platforms www directory. So it's actually 
 looking in platforms/blackberry10/www/res/bb10 for the files. However, the 
 files obviously don't exist there, because the www directory is re-created 
 during build. For the files to exist there, they would have to exist in the 
 projects root www directory.
 So, something isn't right here. Either the documentation should say that the 
 icons have to placed in the www directory or the build process should copy 
 them there and place the correct entries in the platforms config.xml.



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

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



[jira] [Created] (CB-9026) Add banner informing people that plugins.cordova.io is going away

2015-05-13 Thread Josh Soref (JIRA)
Josh Soref created CB-9026:
--

 Summary: Add banner informing people that plugins.cordova.io is 
going away
 Key: CB-9026
 URL: https://issues.apache.org/jira/browse/CB-9026
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


plugins.cordova.io should include a banner informing people that it's going 
away.

Preferably w/ a link to something explaining the transition plan+schedule.



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

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



[jira] [Commented] (CB-6125) plugman doesn't remove 2 dependencies it installed

2015-05-12 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-6125:


So, I started chasing this a bit.

The action stack / related things try to build clever graphs of what can be 
removed, but unfortunately they don't remove the thing they're planning to 
remove from the anchor list, which means that when plugman/uninstall tries to 
decide if it can remove the dependency, it finds that the thing you're 
uninstalling still requires the dependency, so it leaves the dependency in 
place... which is unfortunate.

 plugman doesn't remove 2 dependencies it installed
 --

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

 This is a fresh system
 $ 
 PATH=$PATH:~/Cordova/cordova-cli/bin:~/adt-bundle-mac-x86_64-20130917/sdk/tools:~/apache-ant-1.9.2/bin
  sh -c 'cordova create yip; cd yip; cordova platform add android ios 
 blackberry10; cordova plugin add org.cordova.mobile-spec-dependencies 
 --searchpath  ~/Cordova/cordova-mobile-spec; cordova plugin remove 
 org.cordova.mobile-spec-dependencies; cordova plugin'
 Creating a new cordova project with name HelloCordova and id 
 io.cordova.hellocordova at location yip
 Creating android project...
 Creating Cordova project for the Android platform:
   Path: platforms/android
   Package: io.cordova.hellocordova
   Name: HelloCordova
   Android target: android-19
 Copying template files...
 Running: android update project --subprojects --path platforms/android 
 --target android-19 --library CordovaLib
 Resolved location of library project to: yip/platforms/android/CordovaLib
 Updated and renamed default.properties to project.properties
 Updated local.properties
 No project name specified, using Activity name 'HelloCordova'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/build.xml
 Added file platforms/android/proguard-project.txt
 Updated project.properties
 Updated local.properties
 No project name specified, using project folder name 'CordovaLib'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/CordovaLib/build.xml
 Added file platforms/android/CordovaLib/proguard-project.txt
 Project successfully created.
 Downloading cordova library for ios...
 Download complete
 Creating ios project...
 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 org.cordova.mobile-spec-dependencies (android)
 Fetching plugin org.apache.cordova.battery-status via plugin registry
 Installing org.apache.cordova.battery-status (android)
 Fetching plugin org.apache.cordova.camera via plugin registry
 Installing org.apache.cordova.camera (android)
 Fetching plugin org.apache.cordova.console via plugin registry
 Installing org.apache.cordova.console (android)
 Fetching plugin org.apache.cordova.contacts via plugin registry
 Installing org.apache.cordova.contacts (android)
 Fetching plugin org.apache.cordova.device via plugin registry
 Installing org.apache.cordova.device (android)
 Fetching plugin org.apache.cordova.device-motion via plugin registry
 Installing org.apache.cordova.device-motion (android)
 Fetching plugin org.apache.cordova.device-orientation via plugin registry
 Installing org.apache.cordova.device-orientation (android)
 Fetching plugin org.apache.cordova.dialogs via plugin registry
 Installing org.apache.cordova.dialogs (android)
 Fetching plugin org.apache.cordova.file via plugin registry
 Installing org.apache.cordova.file (android)
 Fetching plugin org.apache.cordova.file-transfer via plugin registry
 Installing org.apache.cordova.file-transfer (android)
 Fetching plugin org.apache.cordova.geolocation via plugin registry
 Installing org.apache.cordova.geolocation (android)
 Fetching plugin org.apache.cordova.globalization via plugin registry
 Installing org.apache.cordova.globalization (android)
 Fetching plugin org.apache.cordova.inappbrowser via plugin registry
 Installing org.apache.cordova.inappbrowser (android)
 Fetching plugin org.apache.cordova.media via plugin registry
 Installing org.apache.cordova.media (android)
 Fetching plugin org.apache.cordova.media-capture via plugin registry
 Installing org.apache.cordova.media-capture (android)
 Fetching plugin org.apache.cordova.network-information via plugin registry
 Installing org.apache.cordova.network-information (android)
 Fetching plugin org.apache.cordova.splashscreen via plugin registry
 Installing org.apache.cordova.splashscreen (android)
 Fetching plugin org.apache.cordova.vibration via 

[jira] [Created] (CB-9009) default CSP needs to include 8472 for blackberry

2015-05-11 Thread Josh Soref (JIRA)
Josh Soref created CB-9009:
--

 Summary: default CSP needs to include 8472 for blackberry
 Key: CB-9009
 URL: https://issues.apache.org/jira/browse/CB-9009
 Project: Apache Cordova
  Issue Type: Bug
  Components: App Hello World, Plugin Whitelist
Affects Versions: 5.0.0
Reporter: Josh Soref
Priority: Blocker


These files:
{code}
./cordova-js-src/exec.js
./framework/bootstrap/require.js
./framework/lib/utils.js
./javascript/cordova.blackberry10.js
{code}

all hard code 8472 as a magical port for cordova-blackberry apps (specifically 
it's used for the exec bridge).

The current hello-world CSP prevents cordova-blackberry from working out of the 
box.



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

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



[jira] [Assigned] (CB-9009) default CSP needs to include 8472 for blackberry

2015-05-11 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-9009:
--

Assignee: Josh Soref

 default CSP needs to include 8472 for blackberry
 

 Key: CB-9009
 URL: https://issues.apache.org/jira/browse/CB-9009
 Project: Apache Cordova
  Issue Type: Bug
  Components: App Hello World, Plugin Whitelist
Affects Versions: 5.0.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Blocker

 These files:
 {code}
 ./cordova-js-src/exec.js
 ./framework/bootstrap/require.js
 ./framework/lib/utils.js
 ./javascript/cordova.blackberry10.js
 {code}
 all hard code 8472 as a magical port for cordova-blackberry apps 
 (specifically it's used for the exec bridge).
 The current hello-world CSP prevents cordova-blackberry from working out of 
 the box.



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

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



[jira] [Created] (CB-9010) Update check_reqs to include explanation for how to get SDK

2015-05-11 Thread Josh Soref (JIRA)
Josh Soref created CB-9010:
--

 Summary: Update check_reqs to include explanation for how to get 
SDK
 Key: CB-9010
 URL: https://issues.apache.org/jira/browse/CB-9010
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Assignee: Josh Soref


If you install BlackBerry WebWorks, cordova-blackberry bundles the portions of 
the bb10 sdk necessary to build/deploy blackberry 10 packages.

If you use Cordova directly and add cordova-blackberry, you somehow have to get 
those files into your path.

One way is by downloading Momentics (which is huge), and using it to download a 
BB10 NDK (which is bigger than that), and then running:
{path-to-momentics}/bbndk-env_10_*.*
-- where the the first * includes a version, that could be 0_10_buildid, or 
1_0_pat or 2_0_buildid or 3_0_buildid (there are other values than 0 for the 
release number) and the second * is sh/bat depending on your platform.

This isn't really the way we want to do it. But, we definitely need to have 
check_reqs offer better support.



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

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



[jira] [Assigned] (CB-8941) Subdomain whitelisting on bb10 does not match up with android

2015-05-01 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-8941:
--

Assignee: Josh Soref

 Subdomain whitelisting on bb10 does not match up with android
 -

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

 We need to support this format like the other platforms:
 {code:xml}
   access origin=http://*.google.com; /
 {code}
 See this file:
 bin/templates/project/cordova/lib/config-parser.js
 lines that are of interest:
 {code}
 data.access.forEach(function (accessElement) {
 ...
 if (attribs.uri === * || attribs.origin === *) {  

 ...
 widgetConfig.accessList.push(createAccessListObj(attribs.uri || 
 attribs.origin, attribs.subdomains));
 {code}



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

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



[jira] [Resolved] (CB-8872) jshint 2.7.0 breaks on current code

2015-04-17 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-8872.

Resolution: Fixed
  Assignee: Josh Soref

 jshint 2.7.0 breaks on current code
 ---

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

 {quote}
 /var/jenkins/workspace/cordova-blackberry$ node_modules/grunt-cli/bin/grunt
 Running jshint:all (jshint) task
framework/lib/utils.js
  53 |if (!arg instanceof Array) {
  ^ Confusing use of '!'.
  58 |if (!arg instanceof Date) {
  ^ Confusing use of '!'.
  2 errors in 90 files
 Warning: Task jshint:all failed. Use --force to continue.
 {quote}
 This doesn't break on jshint@2.6.0



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

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



[jira] [Created] (CB-8602) publish fails with incomprehensible error message

2015-03-03 Thread Josh Soref (JIRA)
Josh Soref created CB-8602:
--

 Summary: publish fails with incomprehensible error message
 Key: CB-8602
 URL: https://issues.apache.org/jira/browse/CB-8602
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Josh Soref
Assignee: Josh Soref


{quote}
$ ~/Cordova/cordova-plugman/main.js publish
attempting to publish plugin to registry
Error Code: undefined
conflict Document update conflict.: com.blackberry.app
{quote}

this is caused by npm@1.4.28 being present in my cordova-lib/node_modules.

Note that simply deleting the directory didn't fix it. I tried that, npm 
install decided not to install 1.3.4 (probably because i had a newer one 
globally installed).



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

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



[jira] [Created] (CB-8409) cordova build echo good || echo bad does not work

2015-02-03 Thread Josh Soref (JIRA)
Josh Soref created CB-8409:
--

 Summary: cordova build  echo good || echo bad does not work
 Key: CB-8409
 URL: https://issues.apache.org/jira/browse/CB-8409
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Josh Soref
Assignee: Josh Soref


{quote}
$ cordova create test
$ cd test
$ cordova platform add blackberry10
$ cordova build --release  echo good || echo bad
{quote}

When prompted for a keystore, password:
{quote}
Please enter your keystore password: 
{quote}
enter garbage ^M

the actual results are:
{quote}
good
{quote}

the expected result is:
{quote}
bad
{quote}



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

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



[jira] [Closed] (CB-8409) cordova build echo good || echo bad does not work

2015-02-03 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-8409.
--
Resolution: Fixed

 cordova build  echo good || echo bad does not work
 

 Key: CB-8409
 URL: https://issues.apache.org/jira/browse/CB-8409
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Josh Soref
Assignee: Josh Soref

 {quote}
 $ cordova create test
 $ cd test
 $ cordova platform add blackberry10
 $ cordova build --release  echo good || echo bad
 {quote}
 When prompted for a keystore, password:
 {quote}
 Please enter your keystore password: 
 {quote}
 enter garbage ^M
 the actual results are:
 {quote}
 good
 {quote}
 the expected result is:
 {quote}
 bad
 {quote}



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

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



[jira] [Created] (CB-8371) Ubuntu node is installed as nodejs

2015-01-28 Thread Josh Soref (JIRA)
Josh Soref created CB-8371:
--

 Summary: Ubuntu node is installed as nodejs
 Key: CB-8371
 URL: https://issues.apache.org/jira/browse/CB-8371
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, CLI
Affects Versions: Master
Reporter: Josh Soref


{quote}
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty
$ env node
env: node: No such file or directory
$ env nodejs
 
{quote}

{quote}
$ node
The program 'node' can be found in the following packages:
 * node
 * nodejs-legacy

Try: sudo apt-get install selected package
{quote}

{{cordova-blackberry}} fails spectacularly on *Ubuntu*, but {{cordova}} itself 
also seems to fail nicely.



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

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



[jira] [Created] (CB-8369) Escaped html markup in plugman npm page

2015-01-28 Thread Josh Soref (JIRA)
Josh Soref created CB-8369:
--

 Summary: Escaped html markup in plugman npm page
 Key: CB-8369
 URL: https://issues.apache.org/jira/browse/CB-8369
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: Master
Reporter: Josh Soref


Load:
https://www.npmjs.com/package/plugman#node-module-usage

Actual results:
{quote}
node
amp;gt; require(amp;apos;plugmanamp;apos;\)
\{ install: \[Function: installPlugin],
  uninstall: \[Function: uninstallPlugin],
  fetch: \[Function: fetchPlugin],
  search: \[Function: search],
  publish: \[Function: publish],
  unpublish: \[Function: unpublish],
  adduser: \[Function: adduser],
  prepare: \[Function: handlePrepare],
  create: \[Function: create],
  platform: \[Function: platform] }
{quote}

Expected results:
No *amp;gt;* / *amp;apos;*



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

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



[jira] [Closed] (CB-7979) Each plugin doc should have a ## Installation section

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7979.
--
Resolution: Fixed

 Each plugin doc should have a ## Installation section
 -

 Key: CB-7979
 URL: https://issues.apache.org/jira/browse/CB-7979
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Plugin Statusbar
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 It'd be nice if we consistently had a ## Installation section
 (nearly every does)



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

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



[jira] [Closed] (CB-8212) update coho verify-archive refs for SetUpGpg

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-8212.
--
Resolution: Fixed

 update coho verify-archive refs for SetUpGpg
 

 Key: CB-8212
 URL: https://issues.apache.org/jira/browse/CB-8212
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Josh Soref
Assignee: Josh Soref

 The current code spits out:
 {quote}
 Refer to https://wiki.apache.org/cordova/SetUpGpg for how to set up gpg
 {quote}
 That page just says:
 {quote}
 Moved to: 
 https://github.com/apache/cordova-coho/blob/master/docs/setting-up-gpg.md 
 {quote}
 For those of us who occasionally live with metered bandwidth, it's really 
 frustrating (and expensive) to be sent on a wild goose chase.



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

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



[jira] [Closed] (CB-8306) parseUri mishandles http://foo/bar?a...@b.comwhatever

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-8306.
--
Resolution: Fixed

 parseUri mishandles http://foo/bar?a...@b.comwhatever
 ---

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

 A user hit this while making an XMLHttpRequest with some whitelist stuff...



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

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



[jira] [Closed] (CB-7033) cordova platform check command not working

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7033.
--
Resolution: Fixed

 cordova platform check command not working
 --

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

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



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

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



[jira] [Closed] (CB-7859) coho foreach should provide help when no command is specified

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7859.
--
Resolution: Fixed

 coho foreach should provide help when no command is specified
 -

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

 currently you get an amusing error:
 {quote}
 $ coho foreach
 Running from ~/Cordova
 cordova-android/ === Executing: /bin/bash -c 
 /bin/bash: undefined: command not found
 cordova-ios/ === Executing: /bin/bash -c 
 /bin/bash: undefined: command not found
 ...
 {quote}



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

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



[jira] [Closed] (CB-6418) Remove copyright statements

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-6418.
--
   Resolution: Fixed
Fix Version/s: (was: 3.6.0)

 Remove copyright statements
 ---

 Key: CB-6418
 URL: https://issues.apache.org/jira/browse/CB-6418
 Project: Apache Cordova
  Issue Type: Task
  Components: BlackBerry
Affects Versions: 3.4.0
Reporter: Martin Gonzalez
Assignee: Josh Soref
  Labels: blackberry, copyright, legal

 There are several copyright statements in 'cordova-blackberry' that it 
 shouldn't be there.
 https://github.com/blackberry/cordova-blackberry/blob/cb_6398/blackberry10/bin/templates/project/cordova/lib/params.js#L2
 https://github.com/blackberry/cordova-blackberry/blob/cb_6398/blackberry10/bin/templates/project/cordova/lib/debugtoken-helper.js#L2
 According to https://www.apache.org/legal/src-headers.html#headers
 It is required remove them.



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

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



[jira] [Closed] (CB-8065) update cordova-js docs

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-8065.
--
Resolution: Fixed

 update cordova-js docs
 --

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

 The documentation mentions old versions of node/npm, but the code requires 
 newer versions...



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

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



[jira] [Updated] (CB-7977) mention deviceready in plugin docs

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7977:
---
Description: 
for a in cordova-plugin-\*; do test -f  $a/doc/index.md  grep -l deviceready 
$a/doc/index.md || (grep -L deviceready $a/doc/index.md |sed -e 's/^/no 
deviceready in: /'; grep -lr decideready $a/*); done 2/dev/null |sort
cordova-plugin-battery-status/doc/index.md
cordova-plugin-device/doc/index.md
cordova-plugin-network-information/doc/index.md
cordova-plugin-splashscreen/doc/index.md
no deviceready in: cordova-plugin-camera/doc/index.md
no deviceready in: cordova-plugin-console/doc/index.md
no deviceready in: cordova-plugin-contacts/doc/index.md
no deviceready in: cordova-plugin-device-motion/doc/index.md
no deviceready in: cordova-plugin-device-orientation/doc/index.md
no deviceready in: cordova-plugin-dialogs/doc/index.md
no deviceready in: cordova-plugin-file-transfer/doc/index.md
no deviceready in: cordova-plugin-file/doc/index.md
no deviceready in: cordova-plugin-geolocation/doc/index.md
no deviceready in: cordova-plugin-globalization/doc/index.md
no deviceready in: cordova-plugin-inappbrowser/doc/index.md
no deviceready in: cordova-plugin-media-capture/doc/index.md
no deviceready in: cordova-plugin-media/doc/index.md
no deviceready in: cordova-plugin-statusbar/doc/index.md
no deviceready in: cordova-plugin-vibration/doc/index.md


  was:
for a in cordova-plugin-*; do test -f  $a/doc/index.md  grep -l deviceready 
$a/doc/index.md || (grep -L deviceready $a/doc/index.md |sed -e 's/^/no 
deviceready in: /'; grep -lr decideready $a/*); done 2/dev/null |sort
cordova-plugin-battery-status/doc/index.md
cordova-plugin-device/doc/index.md
cordova-plugin-network-information/doc/index.md
cordova-plugin-splashscreen/doc/index.md
no deviceready in: cordova-plugin-camera/doc/index.md
no deviceready in: cordova-plugin-console/doc/index.md
no deviceready in: cordova-plugin-contacts/doc/index.md
no deviceready in: cordova-plugin-device-motion/doc/index.md
no deviceready in: cordova-plugin-device-orientation/doc/index.md
no deviceready in: cordova-plugin-dialogs/doc/index.md
no deviceready in: cordova-plugin-file-transfer/doc/index.md
no deviceready in: cordova-plugin-file/doc/index.md
no deviceready in: cordova-plugin-geolocation/doc/index.md
no deviceready in: cordova-plugin-globalization/doc/index.md
no deviceready in: cordova-plugin-inappbrowser/doc/index.md
no deviceready in: cordova-plugin-media-capture/doc/index.md
no deviceready in: cordova-plugin-media/doc/index.md
no deviceready in: cordova-plugin-statusbar/doc/index.md
no deviceready in: cordova-plugin-vibration/doc/index.md



 mention deviceready in plugin docs
 --

 Key: CB-7977
 URL: https://issues.apache.org/jira/browse/CB-7977
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Plugin Console, Plugin Device Motion, 
 Plugin Device Orientation, Plugin Dialogs, Plugin File, Plugin File Transfer, 
 Plugin Geolocation, Plugin Globalization, Plugin InAppBrowser, Plugin Media, 
 Plugin Media Capture, Plugin Statusbar, Plugin Vibration
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 for a in cordova-plugin-\*; do test -f  $a/doc/index.md  grep -l 
 deviceready $a/doc/index.md || (grep -L deviceready $a/doc/index.md |sed -e 
 's/^/no deviceready in: /'; grep -lr decideready $a/*); done 2/dev/null |sort
 cordova-plugin-battery-status/doc/index.md
 cordova-plugin-device/doc/index.md
 cordova-plugin-network-information/doc/index.md
 cordova-plugin-splashscreen/doc/index.md
 no deviceready in: cordova-plugin-camera/doc/index.md
 no deviceready in: cordova-plugin-console/doc/index.md
 no deviceready in: cordova-plugin-contacts/doc/index.md
 no deviceready in: cordova-plugin-device-motion/doc/index.md
 no deviceready in: cordova-plugin-device-orientation/doc/index.md
 no deviceready in: cordova-plugin-dialogs/doc/index.md
 no deviceready in: cordova-plugin-file-transfer/doc/index.md
 no deviceready in: cordova-plugin-file/doc/index.md
 no deviceready in: cordova-plugin-geolocation/doc/index.md
 no deviceready in: cordova-plugin-globalization/doc/index.md
 no deviceready in: cordova-plugin-inappbrowser/doc/index.md
 no deviceready in: cordova-plugin-media-capture/doc/index.md
 no deviceready in: cordova-plugin-media/doc/index.md
 no deviceready in: cordova-plugin-statusbar/doc/index.md
 no deviceready in: cordova-plugin-vibration/doc/index.md



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

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



[jira] [Closed] (CB-7860) Fix help

2015-01-28 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7860.
--
Resolution: Fixed

 Fix help
 

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

 1. coho help repo-clone suggests coho clone as a command, but that doesn't 
 work.
 2. some commands suggest -r foo, some --repo=foo, some don't suggest anything.



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

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



[jira] [Created] (CB-8370) Plugman 0.22.18-dev fails to publish with ugly path.join error

2015-01-28 Thread Josh Soref (JIRA)
Josh Soref created CB-8370:
--

 Summary: Plugman 0.22.18-dev fails to publish with ugly path.join 
error
 Key: CB-8370
 URL: https://issues.apache.org/jira/browse/CB-8370
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: Master
Reporter: Josh Soref


{quote}
$ plugman publish --debug
Error Code: undefined
Arguments to path.join must be strings TypeError: Arguments to path.join must 
be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at new PluginInfo (cordova-lib/src/PluginInfo.js:285:26)
at cordova-lib/src/plugman/registry/manifest.js:43:26
at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
at cordova-lib/node_modules/q/q.js:810:14
at flush (cordova-lib/node_modules/q/q.js:108:17)
{quote}

If you must provide a path to publish, then when you don't, there should be a 
pretty error message that says so, e.g. the usage message.



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

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



[jira] [Commented] (CB-7285) Add Manufacturer info to device plugin

2015-01-14 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-7285:


[~OliverSalzburg]: if you can get this information from the UA already, then 
you should just be logging the UA.

The problem with such a feature is that it encourages developers to write code 
w/ really rough edges.

if (manufacturerA) {
doSomething();
} else if (manufacturerB) {
doSomethingElse();
}

What happens when it's manufacturerC?

Nothing.

the UX is thus awful for that case.

Or what happens when manufacturerA changes its sense of style (which happens 
annually IME).

 Add Manufacturer info to device plugin
 --

 Key: CB-7285
 URL: https://issues.apache.org/jira/browse/CB-7285
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugin Device
Reporter: Ian Clelland
Priority: Minor

 bq.For some platforms it makes sense to be able to list the Manufacturer for 
 a device. These changes allow retrieval of manufacturer name for Android, iOS 
  Blackberry. Have not added to other platforms as I have no access to those 
 or know the API's.
 See https://github.com/apache/cordova-plugin-device/pull/20



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

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



[jira] [Commented] (CB-8218) Cannot read property 'nodeName' of null

2015-01-14 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-8218:


So, I'm not hitting this specific failure:
{quote}
cordova 4.2.1-dev
Installed platforms: android 3.6.4, blackberry10 3.7.0, ios 3.7.0
plugins: com.phonegap.plugins.facebookconnect 0.11.0 Facebook Connect
{quote}

I can reproduce it if i:

{quote}
cordova plugin rm com.phonegap.plugins.facebookconnect
(cd $TMPDIR  git clone https://github.com/Wizcorp/phonegap-facebook-plugin  
rm platforms/ios/HelloCordova/HelloCordova-Info.plist  touch 
platforms/ios/HelloCordova/HelloCordova-Info.plist)
cordova plugin add $TMPDIR/phonegap-facebook-plugin
{quote}

or something like that... basically, there was some corruption of the 
Info.plist which results in this crash.

 Cannot read property 'nodeName' of null
 ---

 Key: CB-8218
 URL: https://issues.apache.org/jira/browse/CB-8218
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 4.1.3
 Environment: Mac OSX 10.10.2, node v0.10.32, npm v2.1.4
Reporter: ShihChi Huang

 cordova was installed via npm and the latest version is `4.1.2`
 while trying to install few plugins (phonegap-facebook-plugin) and end up 
 seeing this issue.
 ```
 cordova plugin -d add ~/phonegap-facebook-plugin --variable APP_ID=appId 
 --variable APP_NAME=appName
 ```
 ```shell
 hhuang:hello/ (master✗) $ co plugin -d add /tmp/phonegap-facebook-plugin 
 --variable APP_ID=616451688482285 --variable APP_NAME=hybrid-app
 [14:17:00]
 Calling plugman.fetch on plugin /tmp/phonegap-facebook-plugin
 Copying plugin /tmp/phonegap-facebook-plugin = 
 /Users/hhuang/proj/ideas/hello/plugins/com.phonegap.plugins.facebookconnect
 Calling plugman.install on plugin 
 /Users/hhuang/proj/ideas/hello/plugins/com.phonegap.plugins.facebookconnect 
 for platform ios with options 
 {cli_variables:{APP_ID:616451688482285,APP_NAME:hybrid-app},browserify:false}
 Installing com.phonegap.plugins.facebookconnect for ios
 Install start for com.phonegap.plugins.facebookconnect on ios.
 Beginning processing of action stack for ios project...
 Parsing ios project files...
 Action stack processing complete.
 Running command: /Users/hhuang/proj/ideas/hello/platforms/ios/cordova/version
 Command finished with error code 0: 
 /Users/hhuang/proj/ideas/hello/platforms/ios/cordova/version
 Writing out ios project files...
 Preparing ios project
 Processing configuration changes for plugins.
 Failed to install 'com.phonegap.plugins.facebookconnect':TypeError: Cannot 
 read property 'nodeName' of null
 at Object.parse 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:45:26)
 at Object.module.exports.package_name 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:41:22)
 at PlatformMunger.generate_plugin_config_munge 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:319:54)
 at PlatformMunger.add_plugin_changes 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:236:29)
 at 
 /Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:393:14
 at Array.forEach (native)
 at PlatformMunger_process [as process] 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:392:45)
 at Object.exports.process 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:81:12)
 at Object.handlePrepare 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/prepare.js:72:20)
 at 
 /Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:599:21
 TypeError: Cannot read property 'nodeName' of null
 at Object.parse 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:45:26)
 at Object.module.exports.package_name 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:41:22)
 at PlatformMunger.generate_plugin_config_munge 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:319:54)
 at PlatformMunger.add_plugin_changes 
 (/Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:236:29)
 at 
 /Users/hhuang/.nvm/v0.10.32/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:393:14
 at 

[jira] [Created] (CB-8305) cordova create existingdirectory error message isn't clearly an error

2015-01-14 Thread Josh Soref (JIRA)
Josh Soref created CB-8305:
--

 Summary: cordova create existingdirectory error message isn't 
clearly an error
 Key: CB-8305
 URL: https://issues.apache.org/jira/browse/CB-8305
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
Reporter: Josh Soref


{quote}
$ cordova create aa
Creating a new cordova project with name HelloCordova and id 
io.cordova.hellocordova at location /private/tmp/aa
Path already exists and is not empty: /private/tmp/aa
{quote}

There's no Failed to create or similar, just a line of text Path already 
exists..., which I naively ignored.

We should improve the error reporting to indicate that this is actually a fatal 
error.



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

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



[jira] [Created] (CB-8306) parseUri mishandles http://foo/bar?a...@b.comwhatever

2015-01-14 Thread Josh Soref (JIRA)
Josh Soref created CB-8306:
--

 Summary: parseUri mishandles http://foo/bar?a...@b.comwhatever
 Key: CB-8306
 URL: https://issues.apache.org/jira/browse/CB-8306
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.7.0
Reporter: Josh Soref
Assignee: Josh Soref


A user hit this while making an XMLHttpRequest with some whitelist stuff...



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

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



[jira] [Created] (CB-8278) plugins fail due to missing variables when readding platforms

2015-01-08 Thread Josh Soref (JIRA)
Josh Soref created CB-8278:
--

 Summary: plugins fail due to missing variables when readding 
platforms
 Key: CB-8278
 URL: https://issues.apache.org/jira/browse/CB-8278
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Josh Soref


List platforms:
{quote}
$ cordova platforms
Installed platforms: android 3.4.0, blackberry10 3.5.0, ios 3.4.0
Available platforms: amazon-fireos, browser, firefoxos
{quote}

Update android
{quote}
$ cordova platform update android
Android project is now at version 3.6.4
If you updated from a pre-3.2.0 version and use an IDE, we now require that you 
import the CordovaLib library project.
{quote}

Add plugin (partially)
{quote}
$ cordova plugin add ~/Cordova/phonegap-facebook-plugin  --variable 
APP_ID=616451688482285 --variable APP_NAME=hybrid-app 
Installing com.phonegap.plugins.facebookconnect for android
Installing com.phonegap.plugins.facebookconnect for blackberry10
Installing com.phonegap.plugins.facebookconnect for ios
Failed to install 'com.phonegap.plugins.facebookconnect':CordovaError: Plugin 
doesn't support this project's cordova version. cordova: 3.4.0, failed version 
requirement: =3.5.0
...
{quote}

Remove iOS
{quote}
$ cordova platform rm ios
{quote}

Add iOS
{quote}
$ cordova platform add ios
Creating ios project...
Installing com.phonegap.plugins.facebookconnect for ios
Failed to install 'com.phonegap.plugins.facebookconnect':Error: Variable(s) 
missing: APP_ID, APP_NAME
at cordova-lib/src/plugman/install.js:304:23
at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
at cordova-lib/node_modules/q/q.js:557:44
at flush (cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
Error: Variable(s) missing: APP_ID, APP_NAME
at cordova-lib/src/plugman/install.js:304:23
at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
at cordova-lib/node_modules/q/q.js:557:44
at flush (cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{quote}



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

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



[jira] [Created] (CB-8277) platform update isn't working

2015-01-08 Thread Josh Soref (JIRA)
Josh Soref created CB-8277:
--

 Summary: platform update isn't working
 Key: CB-8277
 URL: https://issues.apache.org/jira/browse/CB-8277
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
Reporter: Josh Soref


Trying to install facebook-plugin:

{quote}
$ cordova plugin add ~/Cordova/phonegap-facebook-plugin  --variable 
APP_ID=616451688482285 --variable APP_NAME=hybrid-app 
Installing com.phonegap.plugins.facebookconnect for android
Installing com.phonegap.plugins.facebookconnect for blackberry10
Installing com.phonegap.plugins.facebookconnect for ios
Failed to install 'com.phonegap.plugins.facebookconnect':CordovaError: Plugin 
doesn't support this project's cordova version. cordova: 3.4.0, failed version 
requirement: =3.5.0
...
Plugin doesn't support this project's cordova version. cordova: 3.4.0, failed 
version requirement: =3.5.0
{quote}

ok, so let's update ios:

{quote}
$ cordova platform update ios
{quote}

{quote}
module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(~/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: ~/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: Command 
failed with exit code 8
at ChildProcess.whenDone (cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
{quote}

shelljs is listed in the package.json:
{quote}
$ grep shelljs ~/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/package.json 
shelljs: ^0.2.6,
{quote}

but it isn't included:

{quote}
$ find ~/.cordova/lib/npm_cache/cordova-ios/3.7.0/package -name shelljs|wc -l
   0
{quote}



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

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



[jira] [Created] (CB-8276) platform name is buried in output

2015-01-08 Thread Josh Soref (JIRA)
Josh Soref created CB-8276:
--

 Summary: platform name is buried in output
 Key: CB-8276
 URL: https://issues.apache.org/jira/browse/CB-8276
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Josh Soref


So, I have a project, with some platforms:

{quote}
$ cordova platforms
{quote}

{quote}
Installed platforms: android 3.4.0, blackberry10 3.5.0, ios 3.4.0
Available platforms: amazon-fireos, browser, firefoxos
{quote}

And there's a bug CB-8218 which suggested installing the facebook plugin:

{quote}
$ cordova plugin add ~/Cordova/phonegap-facebook-plugin  --variable 
APP_ID=616451688482285 --variable APP_NAME=hybrid-app \[14:17:00]
{quote}

{quote}
Installing com.phonegap.plugins.facebookconnect for android
Failed to install 'com.phonegap.plugins.facebookconnect':CordovaError: Plugin 
doesn't support this project's cordova version. cordova: 3.4.0, failed version 
requirement: =3.5.0
at checkEngines (cordova-lib/src/plugman/install.js:116:29)
at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
at cordova-lib/node_modules/q/q.js:557:44
at flush (cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
Plugin doesn't support this project's cordova version. cordova: 3.4.0, failed 
version requirement: =3.5.0
{quote}

_this project_ doesn't mean anything to me, the user. It might benefit from a 
path. It probably would benefit from repeating the name of the cordova 
platform, since really, the last line is the line I want to read.

Either that, or the stack trace should be eaten, because if all I saw was:
{quote}
Installing com.phonegap.plugins.facebookconnect for android
Failed to install 'com.phonegap.plugins.facebookconnect':CordovaError: Plugin 
doesn't support this project's cordova version. cordova: 3.4.0, failed version 
requirement: =3.5.0
{quote}

I might be able to figure out that *android* is the important piece of 
information.

Also, It would really help if the error explained how to fix the problem

i.e.
{quote}
cordova platform update android
{quote}



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

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



[jira] [Assigned] (CB-7950) CLI create.js misspells parseConfig on line 36

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-7950:
--

Assignee: Josh Soref  (was: Lorin Beer)

 CLI create.js misspells parseConfig on line 36
 --

 Key: CB-7950
 URL: https://issues.apache.org/jira/browse/CB-7950
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Lisa Seacat DeLuca
Assignee: Josh Soref

 https://github.com/apache/cordova-cli/blob/master/src/create.js
 Checkout line 36
 It says:
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseCofig(undashed[4]);
 I believe it should be
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseConfig(undashed[4]);



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

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



[jira] [Resolved] (CB-7950) CLI create.js misspells parseConfig on line 36

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7950.

   Resolution: Fixed
Fix Version/s: Master

 CLI create.js misspells parseConfig on line 36
 --

 Key: CB-7950
 URL: https://issues.apache.org/jira/browse/CB-7950
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Lisa Seacat DeLuca
Assignee: Josh Soref
 Fix For: Master


 https://github.com/apache/cordova-cli/blob/master/src/create.js
 Checkout line 36
 It says:
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseCofig(undashed[4]);
 I believe it should be
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseConfig(undashed[4]);



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

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



[jira] [Updated] (CB-7950) CLI make CordovaCliCreate.prototype.run vaguely correct

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7950:
---
Summary: CLI make CordovaCliCreate.prototype.run vaguely correct  (was: CLI 
create.js misspells parseConfig on line 36)

 CLI make CordovaCliCreate.prototype.run vaguely correct
 ---

 Key: CB-7950
 URL: https://issues.apache.org/jira/browse/CB-7950
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Lisa Seacat DeLuca
Assignee: Josh Soref
 Fix For: Master


 https://github.com/apache/cordova-cli/blob/master/src/create.js
 Checkout line 36
 It says:
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseCofig(undashed[4]);
 I believe it should be
 // parseConfig will determine if there's a valid config JSON string
 cfg = parseConfig(undashed[4]);



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

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



[jira] [Resolved] (CB-7739) document installing specific version of platforms

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7739.

   Resolution: Fixed
Fix Version/s: Master

 document installing specific version of platforms
 -

 Key: CB-7739
 URL: https://issues.apache.org/jira/browse/CB-7739
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: Master


 {quote}
 $ cordova platform --help
 Synopsis
 cordova platform command \[options]
 Manage project platforms
 add name|directory \[...] .. add specified platforms
 directory is a directory containing a 
 platform
 name of platform to be retrieved from 
 npm registry
 --usegit .. retrieve from git instead of npm 
 registry
 remove platform \[...] ... remove specified platforms
 list .. list all installed and available 
 platforms
 update platform . update the version of Cordova used 
 for a specific
 platform; use after updating the CLI.
 --usegit .. retrieve platform from git instead of 
 npm registry
 check . list platforms which can be updated 
 by `cordova platform update`
 aliases:
 platforms - platform
 rm - remove
 ls - list
 {quote}
 You can do:
 {quote}
 cordova platform add android@3.6
 {quote}
 or
 {quote}
 cordova platform add ~/cordova-android
 {quote}
 or
 {quote}
 cordova platform add https://github.com/apache/cordova-android
 {quote} -- some syntax that I don't know



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

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



[jira] [Resolved] (CB-8261) BlackBerry is spelled wrong in docs

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-8261.

Resolution: Fixed

 BlackBerry is spelled wrong in docs
 ---

 Key: CB-8261
 URL: https://issues.apache.org/jira/browse/CB-8261
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Josh Soref
Assignee: Josh Soref





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

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



[jira] [Updated] (CB-7807) Add BlackBerry10 platform to a project on any workstation OS

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7807:
---
Summary: Add BlackBerry10 platform to a project on any workstation OS  
(was: Add Blackberry platform to a project on any workstation OS)

 Add BlackBerry10 platform to a project on any workstation OS
 

 Key: CB-7807
 URL: https://issues.apache.org/jira/browse/CB-7807
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Edna Morales
Priority: Minor

 You should be able to add the Blackberry platform to a project even if you 
 are on an unsupported operating system and/or can't build. This will require 
 changing where the check requirements script is called.



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

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



[jira] [Updated] (CB-7807) Add BlackBerry10 platform to a project on any workstation OS

2015-01-07 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7807:
---
Description: You should be able to add the BlackBerry10 platform to a 
project even if you are on an unsupported operating system and/or can't build. 
This will require changing where the check requirements script is called.  
(was: You should be able to add the Blackberry platform to a project even if 
you are on an unsupported operating system and/or can't build. This will 
require changing where the check requirements script is called.)

 Add BlackBerry10 platform to a project on any workstation OS
 

 Key: CB-7807
 URL: https://issues.apache.org/jira/browse/CB-7807
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Edna Morales
Priority: Minor

 You should be able to add the BlackBerry10 platform to a project even if you 
 are on an unsupported operating system and/or can't build. This will require 
 changing where the check requirements script is called.



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

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



[jira] [Created] (CB-8261) BlackBerry is spelled wrong in docs

2015-01-07 Thread Josh Soref (JIRA)
Josh Soref created CB-8261:
--

 Summary: BlackBerry is spelled wrong in docs
 Key: CB-8261
 URL: https://issues.apache.org/jira/browse/CB-8261
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Josh Soref
Assignee: Josh Soref






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

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



[jira] [Created] (CB-8212) update coho verify-archive refs for SetUpGpg

2014-12-23 Thread Josh Soref (JIRA)
Josh Soref created CB-8212:
--

 Summary: update coho verify-archive refs for SetUpGpg
 Key: CB-8212
 URL: https://issues.apache.org/jira/browse/CB-8212
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Josh Soref
Assignee: Josh Soref


The current code spits out:

{quote}
Refer to https://wiki.apache.org/cordova/SetUpGpg for how to set up gpg
{quote}

That page just says:
{quote}
Moved to: 
https://github.com/apache/cordova-coho/blob/master/docs/setting-up-gpg.md 
{quote}

For those of us who occasionally live with metered bandwidth, it's really 
frustrating (and expensive) to be sent on a wild goose chase.



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

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



[jira] [Created] (CB-8213) coho verify-tags dies ungracefully - fatal isn't defined on bad input

2014-12-23 Thread Josh Soref (JIRA)
Josh Soref created CB-8213:
--

 Summary: coho verify-tags dies ungracefully - fatal isn't defined 
on bad input
 Key: CB-8213
 URL: https://issues.apache.org/jira/browse/CB-8213
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Josh Soref
Assignee: Andrew Grieve


{quote}
echo 'codova-android: 2.0.0 (fff)' | ./coho verify-tags 
{quote}

{quote}
Running from ~/Cordova

~/Cordova/cordova-coho/node_modules/co/index.js:290
throw err;
  ^
ReferenceError: fatal is not defined
at callee$0$0$ (~/Cordova/cordova-coho/src/verify-tags.js:78:17)
at Empty.invoke 
(~/Cordova/cordova-coho/node_modules/gnode/node_modules/regenerator/runtime.js:178:31)
at next (~/Cordova/cordova-coho/node_modules/co/index.js:83:21)
at ~/Cordova/cordova-coho/node_modules/co/index.js:102:18
at ~/Cordova/cordova-coho/node_modules/co/index.js:222:7
at _fulfilled (~/Cordova/cordova-coho/node_modules/q/q.js:798:54)
at self.promiseDispatch.done 
(~/Cordova/cordova-coho/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch 
(~/Cordova/cordova-coho/node_modules/q/q.js:760:13)
at ~/Cordova/cordova-coho/node_modules/q/q.js:574:44
at flush (~/Cordova/cordova-coho/node_modules/q/q.js:108:17)
{quote}

Yes: {{cordova}} is written as {{codova}}, but the code shouldn't crash -- it 
does because {{fatal}} isn't defined.



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

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



[jira] [Created] (CB-8175) Filter Fire OS

2014-12-16 Thread Josh Soref (JIRA)
Josh Soref created CB-8175:
--

 Summary: Filter Fire OS
 Key: CB-8175
 URL: https://issues.apache.org/jira/browse/CB-8175
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


There's some code for Amazon Fire OS, but not all the way through, and with 
funny spellings.



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

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



[jira] [Commented] (CB-8124) npm-link does not seem to work

2014-12-15 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-8124:


I'm on OS X.

No (that's an error). Nor does 
{quote}
ls -lF ~/Cordova/cordova-lib/cordova-lib/node_modules
{quote}

-- it shows a normal directory. And the directory has an npm installed version 
of cordova-js.

fwiw,
{quote}
$ npm --version
1.3.11
{quote}

Note that I'm no longer getting an error (i.e. mobile-spec builds), but it 
isn't using my version of cordova-js, so from my perspective, the original bug 
statement npm-link does not seem to work still applies.

 npm-link does not seem to work
 --

 Key: CB-8124
 URL: https://issues.apache.org/jira/browse/CB-8124
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho, mobile-spec
Reporter: Josh Soref
Assignee: Marcel Kinard
Priority: Minor

 {quote}
 ~/Cordova $ cordova-coho/coho npm-link
 Running from ~/Cordova
 npm-linking dependent modules
 ~/Cordova/cordova-js ~/Cordova
 npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
 ~/npm/lib/node_modules/cordova-js - ~/Cordova/cordova-js
 ~/Cordova
 ~/Cordova/cordova-lib/cordova-lib ~/Cordova
 unbuild cordova-js@3.7.2
 ~/Cordova
 ~/Cordova/cordova-lib/cordova-lib ~/Cordova
 npm http GET https://registry.npmjs.org/cordova-js/3.7.2
 npm http 304 https://registry.npmjs.org/cordova-js/3.7.2
 npm http GET https://registry.npmjs.org/uglify-js/2.4.15
 npm http GET https://registry.npmjs.org/browserify/3.46.0
 npm http GET https://registry.npmjs.org/through/2.3.4
 npm http 304 https://registry.npmjs.org/uglify-js/2.4.15
 npm http 304 https://registry.npmjs.org/browserify/3.46.0
 npm http 304 https://registry.npmjs.org/through/2.3.4
 npm http GET https://registry.npmjs.org/async
 npm http GET https://registry.npmjs.org/source-map/0.1.34
 npm http GET https://registry.npmjs.org/optimist
 npm http GET https://registry.npmjs.org/uglify-to-browserify
 npm http 304 https://registry.npmjs.org/async
 npm http 304 https://registry.npmjs.org/source-map/0.1.34
 npm http 304 https://registry.npmjs.org/optimist
 npm http 304 https://registry.npmjs.org/uglify-to-browserify
 npm http GET https://registry.npmjs.org/JSONStream
 npm http GET https://registry.npmjs.org/assert
 npm http GET https://registry.npmjs.org/browser-pack
 npm http GET https://registry.npmjs.org/browser-resolve
 npm http GET https://registry.npmjs.org/browserify-zlib
 npm http GET https://registry.npmjs.org/buffer
 npm http GET https://registry.npmjs.org/builtins
 npm http GET https://registry.npmjs.org/commondir/0.0.1
 npm http GET https://registry.npmjs.org/concat-stream
 npm http GET https://registry.npmjs.org/console-browserify
 npm http GET https://registry.npmjs.org/constants-browserify
 npm http GET https://registry.npmjs.org/crypto-browserify
 npm http GET https://registry.npmjs.org/deep-equal
 npm http GET https://registry.npmjs.org/defined
 npm http GET https://registry.npmjs.org/deps-sort
 npm http GET https://registry.npmjs.org/derequire
 npm http GET https://registry.npmjs.org/domain-browser
 npm http GET https://registry.npmjs.org/duplexer
 npm http GET https://registry.npmjs.org/events
 npm http GET https://registry.npmjs.org/glob
 npm http GET https://registry.npmjs.org/http-browserify
 npm http GET https://registry.npmjs.org/https-browserify
 npm http GET https://registry.npmjs.org/inherits
 npm http GET https://registry.npmjs.org/insert-module-globals
 npm http GET https://registry.npmjs.org/module-deps
 npm http GET https://registry.npmjs.org/os-browserify
 npm http GET https://registry.npmjs.org/parents
 npm http GET https://registry.npmjs.org/path-browserify
 npm http GET https://registry.npmjs.org/punycode
 npm http GET https://registry.npmjs.org/querystring-es3/0.2.0
 npm http GET https://registry.npmjs.org/resolve
 npm http GET https://registry.npmjs.org/shallow-copy/0.0.1
 npm http GET https://registry.npmjs.org/shell-quote
 npm http GET https://registry.npmjs.org/stream-browserify
 npm http GET https://registry.npmjs.org/stream-combiner
 npm http GET https://registry.npmjs.org/string_decoder
 npm http GET https://registry.npmjs.org/subarg/0.0.1
 npm http GET https://registry.npmjs.org/syntax-error
 npm http GET https://registry.npmjs.org/through2
 npm http GET https://registry.npmjs.org/timers-browserify
 npm http GET https://registry.npmjs.org/tty-browserify
 npm http GET https://registry.npmjs.org/umd
 npm http GET https://registry.npmjs.org/url
 npm http GET https://registry.npmjs.org/util
 npm http GET https://registry.npmjs.org/vm-browserify
 npm http GET https://registry.npmjs.org/wordwrap
 npm http 304 https://registry.npmjs.org/browser-pack
 npm http 304 https://registry.npmjs.org/JSONStream
 npm http 304 https://registry.npmjs.org/browser-resolve

[jira] [Created] (CB-8162) Adding old version updates latest

2014-12-15 Thread Josh Soref (JIRA)
Josh Soref created CB-8162:
--

 Summary: Adding old version updates latest
 Key: CB-8162
 URL: https://issues.apache.org/jira/browse/CB-8162
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry
Reporter: Josh Soref


We had com.blackberry.app@1.0.0, com.blackberry.app@2.1.0 (latest=2.1.0)

I published com.blackberry.app@1.9.0, this changed latest from 2.1.0 to 1.9.0.

It should not have done that.



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

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



[jira] [Created] (CB-8163) Unpublishing latest version doesn't move latest version to a valid version

2014-12-15 Thread Josh Soref (JIRA)
Josh Soref created CB-8163:
--

 Summary: Unpublishing latest version doesn't move latest version 
to a valid version
 Key: CB-8163
 URL: https://issues.apache.org/jira/browse/CB-8163
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry
Reporter: Josh Soref


We had com.blackberry.app@1.0.0, com.blackberry.app@2.1.0 (latest=2.1.0)

I published com.blackberry.app@1.9.0, this changed latest from 2.1.0 to 1.9.0.

I then unpublished com.blackberry.app@1.9.0, this left latest at 1.9.0.

It should have moved it to 2.1.0, or something.

Instead, it leaves the default value as 1.9.0 (which is unpublished).



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

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



[jira] [Created] (CB-8164) Maintainers field doesn't list all owners

2014-12-15 Thread Josh Soref (JIRA)
Josh Soref created CB-8164:
--

 Summary: Maintainers field doesn't list all owners
 Key: CB-8164
 URL: https://issues.apache.org/jira/browse/CB-8164
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


http://plugins.cordova.io/#/package/com.blackberry.app

says:

Maintainers
blackberry

The database says:
0 name blackberry
1 name webworks



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

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



[jira] [Created] (CB-8165) Prefer global README over ERROR: No README data found!

2014-12-15 Thread Josh Soref (JIRA)
Josh Soref created CB-8165:
--

 Summary: Prefer global README over ERROR: No README data found!
 Key: CB-8165
 URL: https://issues.apache.org/jira/browse/CB-8165
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


We had temporarily published a com.blackberry.app@1.9.0, with a README.md, then 
we unpublished it. That left a 

$scope.readme = marked($scope.data.readme);

Unfortunately, it's clobbered by:

$scope.$watch('currentVersion', function(){
if($scope.versions){
$scope.readme = 
marked($scope.versions[$scope.currentVersion].readme);

That should only be clobbered if the value of 
$scope.versions[$scope.currentVersion].readme isn't ERROR: No README data 
found!



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

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



[jira] [Assigned] (CB-8166) Documentation for BB10 plugins is missing on http://plugins.cordova.io/#/

2014-12-15 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-8166:
--

Assignee: Josh Soref

 Documentation for BB10 plugins is missing on http://plugins.cordova.io/#/
 -

 Key: CB-8166
 URL: https://issues.apache.org/jira/browse/CB-8166
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Docs
Affects Versions: 4.0.0
Reporter: Jenny Gee
Assignee: Josh Soref

 Currently documentation for BB10 plugins is missing on 
 http://plugins.cordova.io/#/
 Link in the plugin documentation goes no where.



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

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



[jira] [Updated] (CB-8164) Maintainers field doesn't list all owners

2014-12-15 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-8164:
---
Description: 
http://plugins.cordova.io/#/package/com.blackberry.app

says:

Maintainers
blackberry

The database says:
0 name blackberry
1 name webworks

Actually, apparently there is a distinction between the plugin and the 
plugin@version. But from our perspective, they should probably be inheriting 
the value from the plugin, so there's still a bug, but it's possible the bug is 
the other side...

  was:
http://plugins.cordova.io/#/package/com.blackberry.app

says:

Maintainers
blackberry

The database says:
0 name blackberry
1 name webworks


 Maintainers field doesn't list all owners
 -

 Key: CB-8164
 URL: https://issues.apache.org/jira/browse/CB-8164
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref

 http://plugins.cordova.io/#/package/com.blackberry.app
 says:
 Maintainers
 blackberry
 The database says:
 0 name blackberry
 1 name webworks
 Actually, apparently there is a distinction between the plugin and the 
 plugin@version. But from our perspective, they should probably be inheriting 
 the value from the plugin, so there's still a bug, but it's possible the bug 
 is the other side...



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

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



[jira] [Created] (CB-8169) Readme should not be spelled with two words

2014-12-15 Thread Josh Soref (JIRA)
Josh Soref created CB-8169:
--

 Summary: Readme should not be spelled with two words
 Key: CB-8169
 URL: https://issues.apache.org/jira/browse/CB-8169
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref
Assignee: Josh Soref






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

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



[jira] [Resolved] (CB-8169) Readme should not be spelled with two words

2014-12-15 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-8169.

Resolution: Fixed

 Readme should not be spelled with two words
 ---

 Key: CB-8169
 URL: https://issues.apache.org/jira/browse/CB-8169
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref
Assignee: Josh Soref





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

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



[jira] [Resolved] (CB-8167) BlackBerry is spelt wrong on plugin documentation site

2014-12-15 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-8167.

Resolution: Fixed
  Assignee: Josh Soref

This will be fixed when someone updates the website.

 BlackBerry is spelt wrong on plugin documentation site
 --

 Key: CB-8167
 URL: https://issues.apache.org/jira/browse/CB-8167
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Docs
Affects Versions: 4.0.0
Reporter: Jenny Gee
Assignee: Josh Soref
 Attachments: Screen Shot 2014-12-15 at 5.13.04 PM.png


 Currently on the plugins documentation website:
 http://plugins.cordova.io/#/search?search=blackberry
 If you click on the Filter by Platform selection in the top left hand 
 corner to expand, you will see a list of platforms to filter by. 
 For the platform BlackBerry, it is currently spelt as Blackberry --- which 
 is incorrect as both Bs need to be capitalized.



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

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



[jira] [Created] (CB-8141) infinite redirection loop when searching for plugin with a space

2014-12-09 Thread Josh Soref (JIRA)
Josh Soref created CB-8141:
--

 Summary: infinite redirection loop when searching for plugin with 
a space
 Key: CB-8141
 URL: https://issues.apache.org/jira/browse/CB-8141
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


* Load http://plugins.cordova.io/#/
* Search for `video player`

You get sent to:
* http://plugins.cordova.io/#/search?search=video player
* http://plugins.cordova.io/#/search?search=video%20player

Get an infinite `window.location.hashbang` loop

Reported on irc by a chrome user (confirmed)



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

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



[jira] [Commented] (CB-8121) create.js use of module 'valid-identifier' doesn't trigger pretty error

2014-12-05 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-8121:


[~purplecabbage] 
https://github.com/apache/cordova-cli/blob/master/src/cli.js#L47

 create.js use of module 'valid-identifier' doesn't trigger pretty error
 ---

 Key: CB-8121
 URL: https://issues.apache.org/jira/browse/CB-8121
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 4.1.3
Reporter: Josh Soref
Assignee: Jesse MacFadyen

 {quote}
 nodecordova-mobile-spec/createmobilespec/createmobilespec.js 
 --blackberry10
 {quote}
 {quote}
 Creating project from local git repos. If you have any errors, it may be from 
 missing repositories.
 {quote}
 {quote}
 To clone repositories:
   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r 
 cli -r lib -r plugman -r blackberry10 -r js -r plugins
   mkdir cordova-cli/node_modules
   (cd cordova-lib/cordova-lib/  npm install)
   (cd cordova-plugman/  npm install)
   mkdir cordova-cli/node_modules
   ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
   (cd cordova-cli  npm install)
 {quote}
 {quote}
 To update all repositories:
   ./cordova-coho/coho repo-update
 {quote}
 {quote}
 Checking if you are using master branch of tools
 refs/heads/docs-updates
 refs/heads/master
 refs/heads/master
 refs/heads/master
 Using non-master of one or more tools.
 {quote}
 {quote}
 Creating project mobilespec...
 Error: Cannot find module 'valid-identifier'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (~/Cordova/cordova-lib/cordova-lib/src/cordova/create.js:34:26)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 {quote}



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

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



[jira] [Created] (CB-8121) create.js use of module 'valid-identifier' doesn't trigger pretty error

2014-12-04 Thread Josh Soref (JIRA)
Josh Soref created CB-8121:
--

 Summary: create.js use of module 'valid-identifier' doesn't 
trigger pretty error
 Key: CB-8121
 URL: https://issues.apache.org/jira/browse/CB-8121
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 4.1.3
Reporter: Josh Soref


{quote}
nodecordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
{quote}

{quote}
Creating project from local git repos. If you have any errors, it may be from 
missing repositories.
{quote}
{quote}
To clone repositories:
  ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r cli 
-r lib -r plugman -r blackberry10 -r js -r plugins
  mkdir cordova-cli/node_modules
  (cd cordova-lib/cordova-lib/  npm install)
  (cd cordova-plugman/  npm install)
  mkdir cordova-cli/node_modules
  ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
  (cd cordova-cli  npm install)
{quote}
{quote}
To update all repositories:
  ./cordova-coho/coho repo-update
{quote}
{quote}
Checking if you are using master branch of tools
refs/heads/docs-updates
refs/heads/master
refs/heads/master
refs/heads/master
Using non-master of one or more tools.
{quote}
{quote}
Creating project mobilespec...
Error: Cannot find module 'valid-identifier'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(~/Cordova/cordova-lib/cordova-lib/src/cordova/create.js:34:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
{quote}



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

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



[jira] [Commented] (CB-8121) create.js use of module 'valid-identifier' doesn't trigger pretty error

2014-12-04 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-8121:


I know to do that, but it'd be better if the scripts told the user to do that.

We have code in various places that does this, and it generally does a good 
job. This is one of the few places that doesn't do that.

And note, that as a user, I don't know _where_ to run {{npm update}} or {{npm 
install}}

 create.js use of module 'valid-identifier' doesn't trigger pretty error
 ---

 Key: CB-8121
 URL: https://issues.apache.org/jira/browse/CB-8121
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 4.1.3
Reporter: Josh Soref

 {quote}
 nodecordova-mobile-spec/createmobilespec/createmobilespec.js 
 --blackberry10
 {quote}
 {quote}
 Creating project from local git repos. If you have any errors, it may be from 
 missing repositories.
 {quote}
 {quote}
 To clone repositories:
   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r 
 cli -r lib -r plugman -r blackberry10 -r js -r plugins
   mkdir cordova-cli/node_modules
   (cd cordova-lib/cordova-lib/  npm install)
   (cd cordova-plugman/  npm install)
   mkdir cordova-cli/node_modules
   ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
   (cd cordova-cli  npm install)
 {quote}
 {quote}
 To update all repositories:
   ./cordova-coho/coho repo-update
 {quote}
 {quote}
 Checking if you are using master branch of tools
 refs/heads/docs-updates
 refs/heads/master
 refs/heads/master
 refs/heads/master
 Using non-master of one or more tools.
 {quote}
 {quote}
 Creating project mobilespec...
 Error: Cannot find module 'valid-identifier'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (~/Cordova/cordova-lib/cordova-lib/src/cordova/create.js:34:26)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 {quote}



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

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



[jira] [Created] (CB-8124) npm-link does not seem to work

2014-12-04 Thread Josh Soref (JIRA)
Josh Soref created CB-8124:
--

 Summary: npm-link does not seem to work
 Key: CB-8124
 URL: https://issues.apache.org/jira/browse/CB-8124
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Josh Soref
Priority: Critical


{quote}
~/Cordova $ cordova-coho/coho npm-link
Running from ~/Cordova
npm-linking dependent modules
~/Cordova/cordova-js ~/Cordova
npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
~/npm/lib/node_modules/cordova-js - ~/Cordova/cordova-js
~/Cordova
~/Cordova/cordova-lib/cordova-lib ~/Cordova
unbuild cordova-js@3.7.2
~/Cordova
~/Cordova/cordova-lib/cordova-lib ~/Cordova
npm http GET https://registry.npmjs.org/cordova-js/3.7.2
npm http 304 https://registry.npmjs.org/cordova-js/3.7.2
npm http GET https://registry.npmjs.org/uglify-js/2.4.15
npm http GET https://registry.npmjs.org/browserify/3.46.0
npm http GET https://registry.npmjs.org/through/2.3.4
npm http 304 https://registry.npmjs.org/uglify-js/2.4.15
npm http 304 https://registry.npmjs.org/browserify/3.46.0
npm http 304 https://registry.npmjs.org/through/2.3.4
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/source-map/0.1.34
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-to-browserify
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/source-map/0.1.34
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/uglify-to-browserify
npm http GET https://registry.npmjs.org/JSONStream
npm http GET https://registry.npmjs.org/assert
npm http GET https://registry.npmjs.org/browser-pack
npm http GET https://registry.npmjs.org/browser-resolve
npm http GET https://registry.npmjs.org/browserify-zlib
npm http GET https://registry.npmjs.org/buffer
npm http GET https://registry.npmjs.org/builtins
npm http GET https://registry.npmjs.org/commondir/0.0.1
npm http GET https://registry.npmjs.org/concat-stream
npm http GET https://registry.npmjs.org/console-browserify
npm http GET https://registry.npmjs.org/constants-browserify
npm http GET https://registry.npmjs.org/crypto-browserify
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/defined
npm http GET https://registry.npmjs.org/deps-sort
npm http GET https://registry.npmjs.org/derequire
npm http GET https://registry.npmjs.org/domain-browser
npm http GET https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/events
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/http-browserify
npm http GET https://registry.npmjs.org/https-browserify
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/insert-module-globals
npm http GET https://registry.npmjs.org/module-deps
npm http GET https://registry.npmjs.org/os-browserify
npm http GET https://registry.npmjs.org/parents
npm http GET https://registry.npmjs.org/path-browserify
npm http GET https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/querystring-es3/0.2.0
npm http GET https://registry.npmjs.org/resolve
npm http GET https://registry.npmjs.org/shallow-copy/0.0.1
npm http GET https://registry.npmjs.org/shell-quote
npm http GET https://registry.npmjs.org/stream-browserify
npm http GET https://registry.npmjs.org/stream-combiner
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/subarg/0.0.1
npm http GET https://registry.npmjs.org/syntax-error
npm http GET https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/timers-browserify
npm http GET https://registry.npmjs.org/tty-browserify
npm http GET https://registry.npmjs.org/umd
npm http GET https://registry.npmjs.org/url
npm http GET https://registry.npmjs.org/util
npm http GET https://registry.npmjs.org/vm-browserify
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/browser-pack
npm http 304 https://registry.npmjs.org/JSONStream
npm http 304 https://registry.npmjs.org/browser-resolve
npm http 304 https://registry.npmjs.org/browserify-zlib
npm http 304 https://registry.npmjs.org/assert
npm http 304 https://registry.npmjs.org/buffer
npm http 304 https://registry.npmjs.org/builtins
npm http 304 https://registry.npmjs.org/commondir/0.0.1
npm http 304 https://registry.npmjs.org/concat-stream
npm http 304 https://registry.npmjs.org/console-browserify
npm http 304 https://registry.npmjs.org/constants-browserify
npm http 304 https://registry.npmjs.org/crypto-browserify
npm http 304 https://registry.npmjs.org/deep-equal
npm http 304 https://registry.npmjs.org/defined
npm http 304 https://registry.npmjs.org/deps-sort
npm http 304 https://registry.npmjs.org/derequire
npm http 304 https://registry.npmjs.org/domain-browser
npm http 304 

[jira] [Updated] (CB-8124) npm-link does not seem to work

2014-12-04 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-8124:
---
Assignee: Marcel Kinard

 npm-link does not seem to work
 --

 Key: CB-8124
 URL: https://issues.apache.org/jira/browse/CB-8124
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho, mobile-spec
Reporter: Josh Soref
Assignee: Marcel Kinard
Priority: Critical

 {quote}
 ~/Cordova $ cordova-coho/coho npm-link
 Running from ~/Cordova
 npm-linking dependent modules
 ~/Cordova/cordova-js ~/Cordova
 npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
 ~/npm/lib/node_modules/cordova-js - ~/Cordova/cordova-js
 ~/Cordova
 ~/Cordova/cordova-lib/cordova-lib ~/Cordova
 unbuild cordova-js@3.7.2
 ~/Cordova
 ~/Cordova/cordova-lib/cordova-lib ~/Cordova
 npm http GET https://registry.npmjs.org/cordova-js/3.7.2
 npm http 304 https://registry.npmjs.org/cordova-js/3.7.2
 npm http GET https://registry.npmjs.org/uglify-js/2.4.15
 npm http GET https://registry.npmjs.org/browserify/3.46.0
 npm http GET https://registry.npmjs.org/through/2.3.4
 npm http 304 https://registry.npmjs.org/uglify-js/2.4.15
 npm http 304 https://registry.npmjs.org/browserify/3.46.0
 npm http 304 https://registry.npmjs.org/through/2.3.4
 npm http GET https://registry.npmjs.org/async
 npm http GET https://registry.npmjs.org/source-map/0.1.34
 npm http GET https://registry.npmjs.org/optimist
 npm http GET https://registry.npmjs.org/uglify-to-browserify
 npm http 304 https://registry.npmjs.org/async
 npm http 304 https://registry.npmjs.org/source-map/0.1.34
 npm http 304 https://registry.npmjs.org/optimist
 npm http 304 https://registry.npmjs.org/uglify-to-browserify
 npm http GET https://registry.npmjs.org/JSONStream
 npm http GET https://registry.npmjs.org/assert
 npm http GET https://registry.npmjs.org/browser-pack
 npm http GET https://registry.npmjs.org/browser-resolve
 npm http GET https://registry.npmjs.org/browserify-zlib
 npm http GET https://registry.npmjs.org/buffer
 npm http GET https://registry.npmjs.org/builtins
 npm http GET https://registry.npmjs.org/commondir/0.0.1
 npm http GET https://registry.npmjs.org/concat-stream
 npm http GET https://registry.npmjs.org/console-browserify
 npm http GET https://registry.npmjs.org/constants-browserify
 npm http GET https://registry.npmjs.org/crypto-browserify
 npm http GET https://registry.npmjs.org/deep-equal
 npm http GET https://registry.npmjs.org/defined
 npm http GET https://registry.npmjs.org/deps-sort
 npm http GET https://registry.npmjs.org/derequire
 npm http GET https://registry.npmjs.org/domain-browser
 npm http GET https://registry.npmjs.org/duplexer
 npm http GET https://registry.npmjs.org/events
 npm http GET https://registry.npmjs.org/glob
 npm http GET https://registry.npmjs.org/http-browserify
 npm http GET https://registry.npmjs.org/https-browserify
 npm http GET https://registry.npmjs.org/inherits
 npm http GET https://registry.npmjs.org/insert-module-globals
 npm http GET https://registry.npmjs.org/module-deps
 npm http GET https://registry.npmjs.org/os-browserify
 npm http GET https://registry.npmjs.org/parents
 npm http GET https://registry.npmjs.org/path-browserify
 npm http GET https://registry.npmjs.org/punycode
 npm http GET https://registry.npmjs.org/querystring-es3/0.2.0
 npm http GET https://registry.npmjs.org/resolve
 npm http GET https://registry.npmjs.org/shallow-copy/0.0.1
 npm http GET https://registry.npmjs.org/shell-quote
 npm http GET https://registry.npmjs.org/stream-browserify
 npm http GET https://registry.npmjs.org/stream-combiner
 npm http GET https://registry.npmjs.org/string_decoder
 npm http GET https://registry.npmjs.org/subarg/0.0.1
 npm http GET https://registry.npmjs.org/syntax-error
 npm http GET https://registry.npmjs.org/through2
 npm http GET https://registry.npmjs.org/timers-browserify
 npm http GET https://registry.npmjs.org/tty-browserify
 npm http GET https://registry.npmjs.org/umd
 npm http GET https://registry.npmjs.org/url
 npm http GET https://registry.npmjs.org/util
 npm http GET https://registry.npmjs.org/vm-browserify
 npm http GET https://registry.npmjs.org/wordwrap
 npm http 304 https://registry.npmjs.org/browser-pack
 npm http 304 https://registry.npmjs.org/JSONStream
 npm http 304 https://registry.npmjs.org/browser-resolve
 npm http 304 https://registry.npmjs.org/browserify-zlib
 npm http 304 https://registry.npmjs.org/assert
 npm http 304 https://registry.npmjs.org/buffer
 npm http 304 https://registry.npmjs.org/builtins
 npm http 304 https://registry.npmjs.org/commondir/0.0.1
 npm http 304 https://registry.npmjs.org/concat-stream
 npm http 304 https://registry.npmjs.org/console-browserify
 npm http 304 https://registry.npmjs.org/constants-browserify
 npm http 304 https://registry.npmjs.org/crypto-browserify
 

[jira] [Updated] (CB-8062) creating mobilespec for all platforms results in an error

2014-11-25 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-8062:
---
Assignee: Steve Gill

 creating mobilespec for all platforms results in an error
 -

 Key: CB-8062
 URL: https://issues.apache.org/jira/browse/CB-8062
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.6.3
Reporter: Jenny Gee
Assignee: Steve Gill

 When creating mobilespec for blackberry, the script returns this error:
 ...
 Installing org.apache.cordova.vibration.tests for blackberry10
 Updating js for platforms...
 Running compile:amazon-fireos (compile) task
 please add a platform version flag and value
 ex: grunt compile --platformVersion=3.6.0
 Warning: platformVersion is required! Use --force to continue.
 Aborted due to warnings.
 Failed to build js.
 Found on tag version 3.6.3:
 To recreate:
 Updated all repos through coho
 Then run ./cordova-mobile-spec/createmobilespec/createmobilespec.js 
 --blackberry10



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

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



[jira] [Created] (CB-8065) update cordova-js docs

2014-11-24 Thread Josh Soref (JIRA)
Josh Soref created CB-8065:
--

 Summary: update cordova-js docs
 Key: CB-8065
 URL: https://issues.apache.org/jira/browse/CB-8065
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor


The documentation mentions old versions of node/npm, but the code requires 
newer versions...



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

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



[jira] [Created] (CB-8022) plugman info foo yields [Object] for the maintainers

2014-11-14 Thread Josh Soref (JIRA)
Josh Soref created CB-8022:
--

 Summary: plugman info foo yields [Object] for the maintainers
 Key: CB-8022
 URL: https://issues.apache.org/jira/browse/CB-8022
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref


{quote}
plugman info org.apache.cordova.file |grep -A1 maintain
{quote}

yields:
{quote}
 maintainers: 
  [ \[Object],
{quote}



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

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



[jira] [Updated] (CB-8022) plugman info foo yields [Object] for the maintainers and engines

2014-11-14 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-8022:
---
Summary: plugman info foo yields [Object] for the maintainers and engines  
(was: plugman info foo yields [Object] for the maintainers)

 plugman info foo yields [Object] for the maintainers and engines
 

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

 {quote}
 plugman info org.apache.cordova.file |grep -A1 maintain
 {quote}
 yields:
 {quote}
  maintainers: 
   [ \[Object],
 {quote}



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

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



[jira] [Updated] (CB-8022) plugman info foo yields [Object] for the maintainers and engines

2014-11-14 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-8022:
---
Description: 
{quote}
plugman info org.apache.cordova.file |grep -A1 maintain
{quote}

yields:
{quote}
 maintainers: 
  [ \[Object],
{quote}

and
{quote}
info org.apache.cordova.statusbar |grep 'engines:'
{quote}

yields:
{quote}
 engines: [ \[Object] ],
{quote}

  was:
{quote}
plugman info org.apache.cordova.file |grep -A1 maintain
{quote}

yields:
{quote}
 maintainers: 
  [ \[Object],
{quote}


 plugman info foo yields [Object] for the maintainers and engines
 

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

 {quote}
 plugman info org.apache.cordova.file |grep -A1 maintain
 {quote}
 yields:
 {quote}
  maintainers: 
   [ \[Object],
 {quote}
 and
 {quote}
 info org.apache.cordova.statusbar |grep 'engines:'
 {quote}
 yields:
 {quote}
  engines: [ \[Object] ],
 {quote}



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

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



[jira] [Updated] (CB-7636) Allow using --nobuild flag without screening

2014-11-10 Thread Josh Soref (JIRA)

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

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

 Allow using --nobuild flag without screening
 

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

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



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

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



[jira] [Created] (CB-7989) platform add fails when project name is empty

2014-11-07 Thread Josh Soref (JIRA)
Josh Soref created CB-7989:
--

 Summary: platform add fails when project name is empty
 Key: CB-7989
 URL: https://issues.apache.org/jira/browse/CB-7989
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
Reporter: Josh Soref


This should be fixed by not relying on the name for naming anything bug. But 
I'm filing it because it's useful to document that end users hit this (via 
ionic).

{quote}
cordova create example
cd example
sed -i 's!nameHelloCordova!name!' config.xml
cordova platform add ios
{quote}

{quote}
Creating ios project...
Usage: ~/.cordova/lib/npm_cache/cordova-ios/3.6.3/package/bin/create 
\[\-\-shared] \[\-\-cli] path_to_new_project package_name project_name 
\[project_template_dir]
--shared (optional): Link directly against the shared copy of the 
CordovaLib instead of a copy of it.
--cli (optional): Use the CLI-project template.
path_to_new_project: Path to your new Cordova iOS project
package_name: Package name, following reverse-domain style convention
project_name: Project name
project_template_dir: Path to project template (override).
Error: ~/.cordova/lib/npm_cache/cordova-ios/3.6.3/package/bin/create: Command 
failed with exit code 1
at ChildProcess.whenDone 
(~/Cordova/cordova-lib/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
{quote}



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

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



[jira] [Created] (CB-7973) js/index.js is TL;DR and obscures the key point

2014-11-06 Thread Josh Soref (JIRA)
Josh Soref created CB-7973:
--

 Summary: js/index.js is TL;DR and obscures the key point
 Key: CB-7973
 URL: https://issues.apache.org/jira/browse/CB-7973
 Project: Apache Cordova
  Issue Type: Bug
  Components: App Hello World
Affects Versions: 3.5.0
Reporter: Josh Soref


Today, on #cordova, we had a user acknowledge that they looked over 
js/index.js, didn't understand that it was doing anything important, and 
replaced it.

Unfortunately, in doing this, they removed 
document.addEventListener('deviceready', ..., false);

Which is really the only important part of the code.

Object Oriented Code is nice for reuse, but it's awful for samples where people 
aren't going to use your code and won't be able to tease out what's important, 
and what's just app-specific.

A number of suggestions were given.
* highlight jQuery equivalence (jQuery(...).ready() ?))
* drop OOP

I toyed with the idea of including a link to the documentation on deviceready 
with a comment explaining that you can't use any cordova stuff before it has 
been called.

But, I'm just opening this bug to track the issue.



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

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



[jira] [Commented] (CB-7973) js/index.js is TL;DR and obscures the key point

2014-11-06 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-7973:


[~mwbrooks]: the structure seems to be yours...

 js/index.js is TL;DR and obscures the key point
 ---

 Key: CB-7973
 URL: https://issues.apache.org/jira/browse/CB-7973
 Project: Apache Cordova
  Issue Type: Bug
  Components: App Hello World
Affects Versions: 3.5.0
Reporter: Josh Soref

 Today, on #cordova, we had a user acknowledge that they looked over 
 js/index.js, didn't understand that it was doing anything important, and 
 replaced it.
 Unfortunately, in doing this, they removed 
 document.addEventListener('deviceready', ..., false);
 Which is really the only important part of the code.
 Object Oriented Code is nice for reuse, but it's awful for samples where 
 people aren't going to use your code and won't be able to tease out what's 
 important, and what's just app-specific.
 A number of suggestions were given.
 * highlight jQuery equivalence (jQuery(...).ready() ?))
 * drop OOP
 I toyed with the idea of including a link to the documentation on deviceready 
 with a comment explaining that you can't use any cordova stuff before it has 
 been called.
 But, I'm just opening this bug to track the issue.



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

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



[jira] [Created] (CB-7977) mention deviceready in plugin docs

2014-11-06 Thread Josh Soref (JIRA)
Josh Soref created CB-7977:
--

 Summary: mention deviceready in plugin docs
 Key: CB-7977
 URL: https://issues.apache.org/jira/browse/CB-7977
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Plugin Console, Plugin Device Motion, 
Plugin Device Orientation, Plugin Dialogs, Plugin File, Plugin File Transfer, 
Plugin Geolocation, Plugin Globalization, Plugin InAppBrowser, Plugin Media, 
Plugin Media Capture, Plugin Statusbar, Plugin Vibration
Affects Versions: 3.5.0
Reporter: Josh Soref


for a in cordova-plugin-*; do test -f  $a/doc/index.md  grep -l deviceready 
$a/doc/index.md || (grep -L deviceready $a/doc/index.md |sed -e 's/^/no 
deviceready in: /'; grep -lr decideready $a/*); done 2/dev/null |sort
cordova-plugin-battery-status/doc/index.md
cordova-plugin-device/doc/index.md
cordova-plugin-network-information/doc/index.md
cordova-plugin-splashscreen/doc/index.md
no deviceready in: cordova-plugin-camera/doc/index.md
no deviceready in: cordova-plugin-console/doc/index.md
no deviceready in: cordova-plugin-contacts/doc/index.md
no deviceready in: cordova-plugin-device-motion/doc/index.md
no deviceready in: cordova-plugin-device-orientation/doc/index.md
no deviceready in: cordova-plugin-dialogs/doc/index.md
no deviceready in: cordova-plugin-file-transfer/doc/index.md
no deviceready in: cordova-plugin-file/doc/index.md
no deviceready in: cordova-plugin-geolocation/doc/index.md
no deviceready in: cordova-plugin-globalization/doc/index.md
no deviceready in: cordova-plugin-inappbrowser/doc/index.md
no deviceready in: cordova-plugin-media-capture/doc/index.md
no deviceready in: cordova-plugin-media/doc/index.md
no deviceready in: cordova-plugin-statusbar/doc/index.md
no deviceready in: cordova-plugin-vibration/doc/index.md




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

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



[jira] [Created] (CB-7979) Each plugin doc should have a ## Installation section

2014-11-06 Thread Josh Soref (JIRA)
Josh Soref created CB-7979:
--

 Summary: Each plugin doc should have a ## Installation section
 Key: CB-7979
 URL: https://issues.apache.org/jira/browse/CB-7979
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Plugin Statusbar
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref


It'd be nice if we consistently had a ## Installation section

(nearly every does)



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

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



[jira] [Assigned] (CB-7977) mention deviceready in plugin docs

2014-11-06 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-7977:
--

Assignee: Josh Soref

 mention deviceready in plugin docs
 --

 Key: CB-7977
 URL: https://issues.apache.org/jira/browse/CB-7977
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Plugin Console, Plugin Device Motion, 
 Plugin Device Orientation, Plugin Dialogs, Plugin File, Plugin File Transfer, 
 Plugin Geolocation, Plugin Globalization, Plugin InAppBrowser, Plugin Media, 
 Plugin Media Capture, Plugin Statusbar, Plugin Vibration
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 for a in cordova-plugin-*; do test -f  $a/doc/index.md  grep -l deviceready 
 $a/doc/index.md || (grep -L deviceready $a/doc/index.md |sed -e 's/^/no 
 deviceready in: /'; grep -lr decideready $a/*); done 2/dev/null |sort
 cordova-plugin-battery-status/doc/index.md
 cordova-plugin-device/doc/index.md
 cordova-plugin-network-information/doc/index.md
 cordova-plugin-splashscreen/doc/index.md
 no deviceready in: cordova-plugin-camera/doc/index.md
 no deviceready in: cordova-plugin-console/doc/index.md
 no deviceready in: cordova-plugin-contacts/doc/index.md
 no deviceready in: cordova-plugin-device-motion/doc/index.md
 no deviceready in: cordova-plugin-device-orientation/doc/index.md
 no deviceready in: cordova-plugin-dialogs/doc/index.md
 no deviceready in: cordova-plugin-file-transfer/doc/index.md
 no deviceready in: cordova-plugin-file/doc/index.md
 no deviceready in: cordova-plugin-geolocation/doc/index.md
 no deviceready in: cordova-plugin-globalization/doc/index.md
 no deviceready in: cordova-plugin-inappbrowser/doc/index.md
 no deviceready in: cordova-plugin-media-capture/doc/index.md
 no deviceready in: cordova-plugin-media/doc/index.md
 no deviceready in: cordova-plugin-statusbar/doc/index.md
 no deviceready in: cordova-plugin-vibration/doc/index.md



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

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



[jira] [Created] (CB-7859) coho foreach should provide help when no command is specified

2014-10-23 Thread Josh Soref (JIRA)
Josh Soref created CB-7859:
--

 Summary: coho foreach should provide help when no command is 
specified
 Key: CB-7859
 URL: https://issues.apache.org/jira/browse/CB-7859
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Affects Versions: Master
Reporter: Josh Soref
Assignee: Josh Soref


currently you get an amusing error:
{quote}
$ coho foreach
Running from ~/Cordova
cordova-android/ === Executing: /bin/bash -c 
/bin/bash: undefined: command not found
cordova-ios/ === Executing: /bin/bash -c 
/bin/bash: undefined: command not found
...
{quote}



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

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



[jira] [Created] (CB-7860) Fix help

2014-10-23 Thread Josh Soref (JIRA)
Josh Soref created CB-7860:
--

 Summary: Fix help
 Key: CB-7860
 URL: https://issues.apache.org/jira/browse/CB-7860
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Affects Versions: Master
Reporter: Josh Soref
Assignee: Josh Soref


1. coho help repo-clone suggests coho clone as a command, but that doesn't 
work.
2. some commands suggest -r foo, some --repo=foo, some don't suggest anything.



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

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



[jira] [Created] (CB-7835) Control whether applications run with spatialNavigation mode

2014-10-21 Thread Josh Soref (JIRA)
Josh Soref created CB-7835:
--

 Summary: Control whether applications run with spatialNavigation 
mode
 Key: CB-7835
 URL: https://issues.apache.org/jira/browse/CB-7835
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref


A future product, called BlackBerry Classic will include a pointer between 
the keyboard and the touchscreen - similar to classic BlackBerry devices.

Some applications may want that input to trigger spatialNavigation, while 
others may want it to control a mouse pointer.

In order to allow developers flexibility in how they interact with this 
hardware feature, cordova-blackberry needs to support a preference.

preference name=spatialNavigation value=... /

values can be:
enable/true
disable/false

The default is false, i.e. users will get a mouse cursor with fine control (and 
the ability to easily and logically trigger :hover).



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

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



[jira] [Created] (CB-7825) cordova serve breaks silently when any platform's prepare step fails

2014-10-20 Thread Josh Soref (JIRA)
Josh Soref created CB-7825:
--

 Summary: cordova serve breaks silently when any platform's prepare 
step fails
 Key: CB-7825
 URL: https://issues.apache.org/jira/browse/CB-7825
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, CordovaLib
Affects Versions: 4.0.0
Reporter: Josh Soref
Assignee: Josh Soref


{quote}
$ cordova serve
$ 
{quote}

totally unhelpful.

{quote}
for a in `cd platforms/; ls`; do cordova prepare $a  /dev/null 2 /dev/null || 
echo $a is broken; done
android is broken
{quote}

Specifically, i'm using /tmp on OS X for my project, and /tmp self destructs, 
so prepare failed due to:
{quote}
Error: ENOENT, no such file or directory 
'/tmp/aa/platforms/android/res/values/strings.xml'
{quote}

Expected result:
cordova serve should serve all working platforms and spit out a warning for 
broken platforms. If it can't serve any platforms, it should fail, and when it 
fails, there should be an error code returned to its caller.



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

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



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-20 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-7033:


For reference, broken means that the version script failed.

There are various ways for things like that to happen.

One way is for a script/file which your version script depends on to go 
missing/lose its execute bit.

The current cordova-android version script is pretty self contained, so it 
should either fail because it lost its execute bit, or in this case it's so old 
that it depended on lots of other stuff.

The reason that platform check didn't say anything is that you probably didn't 
have enough of the android system in your path.

Roughly, if you can't do: cordova platform add android (typically because 
android and ant aren't in your path), then it doesn't make sense to say 
cordova android (version unknown - due to broken version script) could be 
updated to cordova android (supposedly version X, but won't actually install).

Instead of cordova platform check giving something really 
complicated/confusing, it currently just stays mum when it can't express 
something helpful.

I think the up-to-date message should be changed to No platforms can be 
updated at this time. which is more accurate.

It should also suggest checking to see if cordova itself is current, since if 
you're running cordova 3.4.1, and the current version is cordova 4.0.0, the 
check system won't be able to tell you about a newer version of cordova-android 
than the one that shipped w/ 3.4.1.

 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



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

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



[jira] [Commented] (CB-6481) Add unified hooks support for cordova app and plugins

2014-10-20 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-6481:


This broke:
{quote}
cordova platform check
{quote}

 Add unified hooks support for cordova app and plugins
 -

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

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



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

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



[jira] [Assigned] (CB-7033) cordova platform check command not working

2014-10-20 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-7033:
--

Assignee: Josh Soref

 cordova platform check command not working
 --

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

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



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

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



[jira] [Created] (CB-7739) document installing specific version of platforms

2014-10-08 Thread Josh Soref (JIRA)
Josh Soref created CB-7739:
--

 Summary: document installing specific version of platforms
 Key: CB-7739
 URL: https://issues.apache.org/jira/browse/CB-7739
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref


{quote}
$ cordova platform --help

Synopsis

cordova platform command \[options]

Manage project platforms

add name|directory \[...] .. add specified platforms
directory is a directory containing a 
platform
name of platform to be retrieved from 
npm registry
--usegit .. retrieve from git instead of npm 
registry

remove platform \[...] ... remove specified platforms

list .. list all installed and available 
platforms
update platform . update the version of Cordova used for 
a specific
platform; use after updating the CLI.
--usegit .. retrieve platform from git instead of 
npm registry
check . list platforms which can be updated by 
`cordova platform update`

aliases:
platforms - platform
rm - remove
ls - list
{quote}

You can do:

{quote}
cordova platform add android@3.6
{quote}
or
{quote}
cordova platform add ~/cordova-android
{quote}
or
{quote}
cordova platform add https://github.com/apache/cordova-android
{quote} -- some syntax that I don't know



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

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



[jira] [Assigned] (CB-7322) Images are missing from getting-started

2014-09-30 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-7322:
--

Assignee: Josh Soref  (was: Jesse MacFadyen)

 Images are missing from getting-started
 ---

 Key: CB-7322
 URL: https://issues.apache.org/jira/browse/CB-7322
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Docs, iOS, Tizen, Windows 8, WP7 (defunct), WP8
Affects Versions: 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 2.0.0, 
 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
Reporter: Josh Soref
Assignee: Josh Soref

 the initial irc complaint was for:
 http://cordova.apache.org/docs/en/2.9.0/guide_getting-started_windows-phone-7_index.md.html
 it is a problem at least to:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-7_index.md.html
 and also affects wp8:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-8_index.md.html
 http://cordova.apache.org/docs/en/1.5.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
 Possible approaches:
 * Large perl s!!! against all the impacted versions of all the impacted 
 platforms (I'm about halfway there)
 * Have build system map the files in for us for versions 1.* and 2.*
 * Put the files back



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


[jira] [Reopened] (CB-7322) Images are missing from getting-started

2014-09-30 Thread Josh Soref (JIRA)

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

Josh Soref reopened CB-7322:


 Images are missing from getting-started
 ---

 Key: CB-7322
 URL: https://issues.apache.org/jira/browse/CB-7322
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Docs, iOS, Tizen, Windows 8, WP7 (defunct), WP8
Affects Versions: 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 2.0.0, 
 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: Master


 the initial irc complaint was for:
 http://cordova.apache.org/docs/en/2.9.0/guide_getting-started_windows-phone-7_index.md.html
 it is a problem at least to:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-7_index.md.html
 and also affects wp8:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-8_index.md.html
 http://cordova.apache.org/docs/en/1.5.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
 Possible approaches:
 * Large perl s!!! against all the impacted versions of all the impacted 
 platforms (I'm about halfway there)
 * Have build system map the files in for us for versions 1.* and 2.*
 * Put the files back



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


[jira] [Resolved] (CB-7322) Images are missing from getting-started

2014-09-30 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7322.

Resolution: Fixed

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

 Images are missing from getting-started
 ---

 Key: CB-7322
 URL: https://issues.apache.org/jira/browse/CB-7322
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Docs, iOS, Tizen, Windows 8, WP7 (defunct), WP8
Affects Versions: 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 2.0.0, 
 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: Master


 the initial irc complaint was for:
 http://cordova.apache.org/docs/en/2.9.0/guide_getting-started_windows-phone-7_index.md.html
 it is a problem at least to:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-7_index.md.html
 and also affects wp8:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-8_index.md.html
 http://cordova.apache.org/docs/en/1.5.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
 Possible approaches:
 * Large perl s!!! against all the impacted versions of all the impacted 
 platforms (I'm about halfway there)
 * Have build system map the files in for us for versions 1.* and 2.*
 * Put the files back



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


[jira] [Updated] (CB-7322) Images are missing from getting-started

2014-09-30 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7322:
---
Fix Version/s: Master

 Images are missing from getting-started
 ---

 Key: CB-7322
 URL: https://issues.apache.org/jira/browse/CB-7322
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Docs, iOS, Tizen, Windows 8, WP7 (defunct), WP8
Affects Versions: 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 2.0.0, 
 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: Master


 the initial irc complaint was for:
 http://cordova.apache.org/docs/en/2.9.0/guide_getting-started_windows-phone-7_index.md.html
 it is a problem at least to:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-7_index.md.html
 and also affects wp8:
 http://cordova.apache.org/docs/en/2.3.0/guide_getting-started_windows-phone-8_index.md.html
 http://cordova.apache.org/docs/en/1.5.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
 Possible approaches:
 * Large perl s!!! against all the impacted versions of all the impacted 
 platforms (I'm about halfway there)
 * Have build system map the files in for us for versions 1.* and 2.*
 * Put the files back



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


[jira] [Created] (CB-7658) generateTabletXMLFile shouldn't iterate config.configFileInjections unless it has elements

2014-09-29 Thread Josh Soref (JIRA)
Josh Soref created CB-7658:
--

 Summary: generateTabletXMLFile shouldn't iterate 
config.configFileInjections unless it has elements
 Key: CB-7658
 URL: https://issues.apache.org/jira/browse/CB-7658
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref


The current code checks to see if there's a non null, array, before iterating 
over config.configFileInjections, but... 

{quote}
function processResult(data, session) {
var widgetConfig = {};
...
//store any config-file element injections
widgetConfig.configFileInjections = _config_doc.findall(config-file);

return widgetConfig;
{quote}

{quote}
function generateTabletXMLFile(session, config) \{
...
//Inject any config-file modifications for bar-descriptor.xml
if (config.configFileInjections  
Array.isArray(config.configFileInjections)) \{
 xmlDoc = new et.ElementTree(et.XML(xmlData));
config.configFileInjections.forEach(function (config_file) \{
if (config_file.attrib\[parent]  config_file.attrib\[target]  
 config_file.attrib\[target] === bar-descriptor.xml) \{
xmlHelper.graftXML(xmlDoc, config_file._children, 
config_file.attrib\[parent]);
}
});
xmlData = xmlDoc.write(\{indent: 4});
}
{quote}




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


[jira] [Closed] (CB-7658) generateTabletXMLFile shouldn't iterate config.configFileInjections unless it has elements

2014-09-29 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7658.
--
   Resolution: Fixed
Fix Version/s: Master

 generateTabletXMLFile shouldn't iterate config.configFileInjections unless it 
 has elements
 --

 Key: CB-7658
 URL: https://issues.apache.org/jira/browse/CB-7658
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: Master


 The current code checks to see if there's a non null, array, before iterating 
 over config.configFileInjections, but... 
 {quote}
 function processResult(data, session) {
 var widgetConfig = {};
 ...
 //store any config-file element injections
 widgetConfig.configFileInjections = _config_doc.findall(config-file);
 return widgetConfig;
 {quote}
 {quote}
 function generateTabletXMLFile(session, config) \{
 ...
 //Inject any config-file modifications for bar-descriptor.xml
 if (config.configFileInjections  
 Array.isArray(config.configFileInjections)) \{
  xmlDoc = new et.ElementTree(et.XML(xmlData));
 config.configFileInjections.forEach(function (config_file) \{
 if (config_file.attrib\[parent]  
 config_file.attrib\[target]   config_file.attrib\[target] === 
 bar-descriptor.xml) \{
 xmlHelper.graftXML(xmlDoc, config_file._children, 
 config_file.attrib\[parent]);
 }
 });
 xmlData = xmlDoc.write(\{indent: 4});
 }
 {quote}



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


[jira] [Created] (CB-7455) add bundledDependencies

2014-09-03 Thread Josh Soref (JIRA)
Josh Soref created CB-7455:
--

 Summary: add bundledDependencies
 Key: CB-7455
 URL: https://issues.apache.org/jira/browse/CB-7455
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref






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


[jira] [Closed] (CB-7411) use static version

2014-08-27 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7411.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 use static version
 --

 Key: CB-7411
 URL: https://issues.apache.org/jira/browse/CB-7411
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Most platforms now use a static (platform) version which is updated by coho.
 BlackBerry still parses the version from cordova.js



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


[jira] [Closed] (CB-7409) init lib cached code is broken

2014-08-27 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7409.
--

   Resolution: Fixed
Fix Version/s: 3.6.0
 Assignee: Josh Soref

 init lib cached code is broken
 --

 Key: CB-7409
 URL: https://issues.apache.org/jira/browse/CB-7409
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 https://github.com/apache/cordova-blackberry/blob/8f9248654791f820490919a876d06bba591f6f6c/bin/init#L21
 {quote}
 CORDOVA_HOME_DIR=$HOME/.cordova/lib/blackberry10/cordova/$(cat 
 $CURRENT_DIR/../VERSION)
 {quote}
 There are probably a few other places where this is broken too (at the very 
 least the {{.bat}} file).



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


[jira] [Updated] (CB-7336) cordova platform add blackberry10 is broken

2014-08-26 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-7336:
---

Assignee: Bryan Higgins

 cordova platform add blackberry10 is broken
 ---

 Key: CB-7336
 URL: https://issues.apache.org/jira/browse/CB-7336
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, CLI
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Bryan Higgins
Priority: Blocker

 {quote}
 $ ~/Cordova/cordova-cli/bin/cordova platform add blackberry10
 npm http GET https://registry.npmjs.org/cordova-blackberry10/3.5.0
 npm http 404 https://registry.npmjs.org/cordova-blackberry10/3.5.0
 Unable to fetch platform blackberry10: Error: 404 Not Found: 
 cordova-blackberry10
 {quote}



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


[jira] [Created] (CB-7382) Clean up lazy_load: Platform()

2014-08-26 Thread Josh Soref (JIRA)
Josh Soref created CB-7382:
--

 Summary: Clean up lazy_load: Platform()
 Key: CB-7382
 URL: https://issues.apache.org/jira/browse/CB-7382
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref


My initial work for CB-7336 included some refactoring/cleanup of lazy_load 
Platform. I think we should still take it.



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


[jira] [Created] (CB-7409) init lib cached code is broken

2014-08-26 Thread Josh Soref (JIRA)
Josh Soref created CB-7409:
--

 Summary: init lib cached code is broken
 Key: CB-7409
 URL: https://issues.apache.org/jira/browse/CB-7409
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.0
Reporter: Josh Soref


https://github.com/apache/cordova-blackberry/blob/8f9248654791f820490919a876d06bba591f6f6c/bin/init#L21

{quote}
CORDOVA_HOME_DIR=$HOME/.cordova/lib/blackberry10/cordova/$(cat 
$CURRENT_DIR/../VERSION)
{quote}

There are probably a few other places where this is broken too (at the very 
least the {{.bat}} file).



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


[jira] [Created] (CB-7411) use static version

2014-08-26 Thread Josh Soref (JIRA)
Josh Soref created CB-7411:
--

 Summary: use static version
 Key: CB-7411
 URL: https://issues.apache.org/jira/browse/CB-7411
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref


Most platforms now use a static (platform) version which is updated by coho.

BlackBerry still parses the version from cordova.js



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


[jira] [Resolved] (CB-7318) platform support doc still show globalization is not supported by bb10

2014-08-25 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7318.


   Resolution: Fixed
Fix Version/s: 3.6.0
 Assignee: Josh Soref

Please close this when the update appears on the website (I don't know how 
often that happens).

 platform support doc still show globalization is not supported by bb10
 --

 Key: CB-7318
 URL: https://issues.apache.org/jira/browse/CB-7318
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.5.0
Reporter: Jenny Gee
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.6.0


 http://cordova.apache.org/docs/en/edge/guide_support_index.md.html#Platform%20Support
 Platform support page still show that globalization is not supported by BB10. 
 Supporting email announcement:
 http://cordova.apache.org/news/2014/08/11/plugins-release.html



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


[jira] [Closed] (CB-7349) Tell users to run npm install

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7349.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 Tell users to run npm install
 -

 Key: CB-7349
 URL: https://issues.apache.org/jira/browse/CB-7349
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 I'm trying to get cordova-mobile-spec/createmobilespec to be friendly.
 One of the many things which doesn't work well is the lack of an instruction 
 to run npm install from cordova-js at the proper time.



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


[jira] [Resolved] (CB-7329) fireos documentation image links are broken

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7329.


   Resolution: Fixed
Fix Version/s: 3.6.0

 fireos documentation image links are broken
 ---

 Key: CB-7329
 URL: https://issues.apache.org/jira/browse/CB-7329
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.2.0, 3.3.0, 3.4.0, 3.5.0, 3.6.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.6.0


 -![](img/guide/platforms//eclipse_new_project.png)
 doesn't correctly map to a picture:
 +![](img/guide/platforms/android/eclipse_new_project.png)



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


[jira] [Closed] (CB-7350) Make createmobilespec friendlier

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7350.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 Make createmobilespec friendlier
 

 Key: CB-7350
 URL: https://issues.apache.org/jira/browse/CB-7350
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 * Don't assume that the people running mobilespec are developers -- In my 
 experience, they aren't
 * The READMEs needed a refresh
 * Asking people to install grunt-cli globally is silly, we have npm 
 dependencies, we can use them.
 * The pushd/popd spam is really not helpful afaict
 * Provide information about how to use coho to get the right things more or 
 less at the right time
 * Fix the __dirname output to be correct
 ... some other stuff...



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


[jira] [Closed] (CB-7211) jshint: force to see all errors

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7211.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 jshint: force to see all errors
 ---

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


 Sometimes jshint will not show all its warnings, I'd rather show them all by 
 default...



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


[jira] [Closed] (CB-7250) bin/test/cordova/integration/target.js risks destroying blackberry10.json

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7250.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 bin/test/cordova/integration/target.js risks destroying blackberry10.json
 -

 Key: CB-7250
 URL: https://issues.apache.org/jira/browse/CB-7250
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 I ran the test suite recently.
 Unfortunately, for unknown reasons, I'm now left with:
 {quote}
 $ cat ~/.cordova/blackberry10.json 
 \{
 targets: \{
 z10: \{
 ip: 169.254.0.1,
 type: device,
 password: pass,
 pin: DEADBEEF
 }
 }
 }
 {quote}
 Tests should not do this. They should instead change their HOME / USERPROFILE 
 environment variables to a directory w/in their own test directory.



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


[jira] [Closed] (CB-7119) cordova run --target xxx dies if blackberry10.json is empty

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7119.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 cordova run --target xxx dies if blackberry10.json is empty
 ---

 Key: CB-7119
 URL: https://issues.apache.org/jira/browse/CB-7119
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 {quote}
 $ mv ~/.cordova/blackberry10.json ~/.cordova/blackberry10.json.x ; touch 
 ~/.cordova/blackberry10.json; cordova run --target foo ; mv 
 ~/.cordova/blackberry10.json.x ~/.cordova/blackberry10.json
 module.js:485
 throw err;
   ^
 SyntaxError: ~/.cordova/blackberry10.json: Unexpected end of input
 at Object.parse (native)
 at Object.Module._extensions..json (module.js:482:27)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object._self.getProperties 
 (project/platforms/blackberry10/cordova/lib/utils.js:303:22)
 at Object.anonymous 
 (project/spatial/platforms/blackberry10/cordova/lib/target-utils.js:22:39)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 {quote}



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


[jira] [Closed] (CB-7210) cleanup create remove clean/copyJavascript

2014-08-22 Thread Josh Soref (JIRA)

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

Josh Soref closed CB-7210.
--

   Resolution: Fixed
Fix Version/s: 3.6.0

 cleanup create remove clean/copyJavascript
 --

 Key: CB-7210
 URL: https://issues.apache.org/jira/browse/CB-7210
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 I suspect that at some point the cordova.js script was built by create.
 These days, it's just a file, and not particularly interesting. The current 
 code does a number of odd things in order to construct cordova.js.
 Unfortunately, those things aren't safe for people who are running create 
 multiple times concurrently (either because they're using 
 {{jasmine-isolated.js}} or some CI which happens to like to run things 
 concurrently). Creating and deleting directories at fixed locations is 
 hazardous to such tasks.
 I'd like to simplify the code...



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


[jira] [Created] (CB-7362) Add Please run npm install from this directory code

2014-08-21 Thread Josh Soref (JIRA)
Josh Soref created CB-7362:
--

 Summary: Add Please run npm install from this directory code
 Key: CB-7362
 URL: https://issues.apache.org/jira/browse/CB-7362
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref


Most of Cordova now has code to output:

{quote}
Please run npm install from this directory:
 
{quote}

plugman is missing this.



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


  1   2   3   4   5   >