[jira] [Commented] (CB-5570) libwebviewchromium SIGSEGV crash when using Jquerymobile 1.4rc1 and panels in push mode

2013-12-13 Thread Lee Simpson (JIRA)

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

Lee Simpson commented on CB-5570:
-

Android 4.4.2 fixes this issue

 libwebviewchromium SIGSEGV crash when using Jquerymobile 1.4rc1 and panels in 
 push mode
 ---

 Key: CB-5570
 URL: https://issues.apache.org/jira/browse/CB-5570
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.2.0
 Environment: Phonegap 3.2
 Android 4.4 Kitkatt
 Jquery Mobile 1.4 rc1
 Nexus 7 Tablet (Early 2013 version)
Reporter: Lee Simpson
Priority: Critical
 Attachments: HelloWorld-debug.apk, hello-world-example-app.zip


 It is possible to cause a Fatal signal 11 on libwebviewchromium within a 
 phonegap complied android app using the new jQuery Mobile 1.4rc1 on Android 
 4.4 Kitkatt
 When using jQuery Mobile Panels in data-display=push mode, when you open 
 and close the panel a couple of times, the app crashes with a;
 {quote} 12-03 14:43:31.615 27902 27902 F libc: Fatal signal 11 (SIGSEGV) 
 at 0x (code=1), thread 27902 (leaywaygritting)
 {quote}
 I've managed to reproduce this from within a new Hello World application, 
 just bolting in Jquery Mobile and a button to open the panel.
 Please see attached ZIP of www folder. Add this into a new HelloWorld project 
 to recreate issue.
 Let me know if any further information would be helpful. My first Cordova bug 
 report, so please be gentle with me! ;)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5639) Geolocation is not working on my android phones except version of 4.3

2013-12-13 Thread afs tick (JIRA)
afs tick created CB-5639:


 Summary: Geolocation is not working on my android phones except 
version of 4.3
 Key: CB-5639
 URL: https://issues.apache.org/jira/browse/CB-5639
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.2.0
 Environment: Android 
Reporter: afs tick


Recently i come across an issue during development of phonegap app. I need to 
fetch current location of user for that i tried the same code you have provided 
in the documentation of  3.2.0 version.Well it worked on my Samsung Note- 4.3 
and Samsung s4 having same version but it didn't work on my other phones having 
version 4.2.2 and 4.1.2 giving me a timeout error. Please tell us a solution 
for this.We are waiting. Fix this bug as soon as possible.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5347) Cordova returns unknown errors messages when symlinks are pointing to bad locations

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-5347 Handle dangling platform symlink in cordova platform add


 Cordova returns unknown errors messages when symlinks are pointing to bad 
 locations
 ---

 Key: CB-5347
 URL: https://issues.apache.org/jira/browse/CB-5347
 Project: Apache Cordova
  Issue Type: Bug
Reporter: JennyGee
Priority: Minor

 Steps to reproduce: 
 1. npm install cordova 
 2. cordova create project 
 3. cd project 
 4. cordova platform add firefoxos 
 5. cordova platform remove firefoxos 
 6. mv ~/.cordova/lib/firefoxos/cordova/3.1.0 
 ~/.cordova/lib/firefoxos/cordova/3.1.0-orig 
 7. ln -s /no/such/firefoxos ~/.cordova/lib/firefoxos/cordova/3.1.0 
 8. cordova platform add firefoxos 
 Actual result: 
 Error that comes back that doesn't really say what is wrong: 
 shell.js: internal error 
 Error: EEXIST, file already exists '~/.cordova/lib/firefoxos/cordova/3.1.0' 
 Expected result: 
 Some sort of error that says something like this: 
 [Error: Unable to fetch platform blackberry10: 
 ~/.cordova/lib/firefoxos/cordova/3.1.0 points to non-existent or unreadable 
 location: /no/such/firefoxos]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5347) Cordova returns unknown errors messages when symlinks are pointing to bad locations

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5347.
---

Resolution: Fixed

To be included in next release after 3.3.0-0.1.0

 Cordova returns unknown errors messages when symlinks are pointing to bad 
 locations
 ---

 Key: CB-5347
 URL: https://issues.apache.org/jira/browse/CB-5347
 Project: Apache Cordova
  Issue Type: Bug
Reporter: JennyGee
Assignee: Josh Soref
Priority: Minor

 Steps to reproduce: 
 1. npm install cordova 
 2. cordova create project 
 3. cd project 
 4. cordova platform add firefoxos 
 5. cordova platform remove firefoxos 
 6. mv ~/.cordova/lib/firefoxos/cordova/3.1.0 
 ~/.cordova/lib/firefoxos/cordova/3.1.0-orig 
 7. ln -s /no/such/firefoxos ~/.cordova/lib/firefoxos/cordova/3.1.0 
 8. cordova platform add firefoxos 
 Actual result: 
 Error that comes back that doesn't really say what is wrong: 
 shell.js: internal error 
 Error: EEXIST, file already exists '~/.cordova/lib/firefoxos/cordova/3.1.0' 
 Expected result: 
 Some sort of error that says something like this: 
 [Error: Unable to fetch platform blackberry10: 
 ~/.cordova/lib/firefoxos/cordova/3.1.0 points to non-existent or unreadable 
 location: /no/such/firefoxos]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5595) IAB: Make toolbar position configurable on iOS

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 25d152b578a4fcca0ff8cb38d375b09f4fcb9ae9 in branch refs/heads/dev from 
[~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=25d152b
 ]

CB-5595 Rename toolbarbarpostion - toolbarposition


 IAB: Make toolbar position configurable on iOS
 --

 Key: CB-5595
 URL: https://issues.apache.org/jira/browse/CB-5595
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/14



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5595) IAB: Make toolbar position configurable on iOS

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 20611efe67ae0ed78db21d4224069d54f00c6fda in branch refs/heads/dev from 
Peter Somogyvari
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=20611ef
 ]

CB-5595 Add toolbarposition=top option.

The position of the toolbar is now configurable, it can be specified on
the caller's side. The possible values are top and bottom and the key
for the setting is toolbarposition. Also extended the logging of the web
view's load errors, it now logs the error code too, not just the
localized description of the error that occured. Added the
browserOptions to the init method's parameters in order to make it
conveniently accessible from the ViewController.


 IAB: Make toolbar position configurable on iOS
 --

 Key: CB-5595
 URL: https://issues.apache.org/jira/browse/CB-5595
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/14



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5595) IAB: Make toolbar position configurable on iOS

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit d5c2bb02459ec43fff9d947b9a5823a48a8f3768 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=d5c2bb0 ]

CB-5595 Add test case for IAB's toolbarposition=top (iOS only)


 IAB: Make toolbar position configurable on iOS
 --

 Key: CB-5595
 URL: https://issues.apache.org/jira/browse/CB-5595
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/14



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5595) IAB: Make toolbar position configurable on iOS

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 6eb0a61d10f7fa1859cebe2d8d6ff5ee3f40e4d8 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=6eb0a61 ]

CB-5595 Add docs for IAB's toolbarposition option


 IAB: Make toolbar position configurable on iOS
 --

 Key: CB-5595
 URL: https://issues.apache.org/jira/browse/CB-5595
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/14



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5595) IAB: Make toolbar position configurable on iOS

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5595.
---

Resolution: Fixed

Commits included in 0.2.6-dev

 IAB: Make toolbar position configurable on iOS
 --

 Key: CB-5595
 URL: https://issues.apache.org/jira/browse/CB-5595
 Project: Apache Cordova
  Issue Type: Improvement
  Components: iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/14



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5594) IAB: Add disallowoverscroll as an option in window.open()

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 33b8b7f599b43a27d627a4f5679e5121f760e213 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=33b8b7f ]

CB-5594 Added docs for IAB's disallowoverscroll option


 IAB: Add disallowoverscroll as an option in window.open()
 -

 Key: CB-5594
 URL: https://issues.apache.org/jira/browse/CB-5594
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, BlackBerry, iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/10



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5594) IAB: Add disallowoverscroll as an option in window.open()

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit f75b30857b18a86f229c9d4baaf2f16afd028c7b in branch refs/heads/dev from 
[~apla]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=f75b308
 ]

CB-5594 Add disallowoverscroll option.

Similar to the main cordova webview


 IAB: Add disallowoverscroll as an option in window.open()
 -

 Key: CB-5594
 URL: https://issues.apache.org/jira/browse/CB-5594
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, BlackBerry, iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/10



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5594) IAB: Add disallowoverscroll as an option in window.open()

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 4e31ad0fe6720baeebde09f2a93b1ccf94aa61c1 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=4e31ad0 ]

CB-5594 Added IAB test for disallowoverscroll option.


 IAB: Add disallowoverscroll as an option in window.open()
 -

 Key: CB-5594
 URL: https://issues.apache.org/jira/browse/CB-5594
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, BlackBerry, iOS, Plugin InAppBrowser
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request:
 https://github.com/apache/cordova-plugin-inappbrowser/pull/10



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5223) Downloading should be Installing -- sometimes it isn't downloading

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-5223 Tweak log messages for Downloading vs Installing.


 Downloading should be Installing -- sometimes it isn't downloading
 --

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

 If you create a mobilespec (good luck), and have the following:
 $ cat mobilespec/.cordova/config.json
 {
   id:org.apache.mobilespec,
   name:mobilespec,
   lib: {
 foo: {
   uri: ../cordova-foo,
   version: dev,
   id: cordova--dev
 }
   }
 }
 Then when you run 
 cordova platform add foo
 it says:
 Downloading cordova--dev library for foo...
 But it isn't downloading



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5223) Downloading should be Installing -- sometimes it isn't downloading

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5223.
---

Resolution: Fixed

 Downloading should be Installing -- sometimes it isn't downloading
 --

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

 If you create a mobilespec (good luck), and have the following:
 $ cat mobilespec/.cordova/config.json
 {
   id:org.apache.mobilespec,
   name:mobilespec,
   lib: {
 foo: {
   uri: ../cordova-foo,
   version: dev,
   id: cordova--dev
 }
   }
 }
 Then when you run 
 cordova platform add foo
 it says:
 Downloading cordova--dev library for foo...
 But it isn't downloading



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5583) WebView doesn't properly initialize when instantiated from a nib

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5583.
---

   Resolution: Fixed
Fix Version/s: 3.4.0
 Assignee: Andrew Grieve

commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/1f4596b8

 WebView doesn't properly initialize when instantiated from a nib
 

 Key: CB-5583
 URL: https://issues.apache.org/jira/browse/CB-5583
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor
 Fix For: 3.4.0


 When self.webView is created outside this class (e.g. created from Nib) then 
 viewDidLoad won't properly configure the webView's delegate or register with 
 NSURLProtocol properly.
 Pull Request: https://github.com/apache/cordova-ios/pull/83



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (CB-5634) Orientation Preference is ignored in Android, should be parsed by CLI

2013-12-13 Thread Josh Soref (JIRA)

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

Josh Soref updated CB-5634:
---

Component/s: iOS
 Android
 Amazon FireOS

 Orientation Preference is ignored in Android, should be parsed by CLI
 -

 Key: CB-5634
 URL: https://issues.apache.org/jira/browse/CB-5634
 Project: Apache Cordova
  Issue Type: Bug
  Components: Amazon FireOS, Android, CLI, Docs, iOS
Reporter: Joe Bowser

 The docs say that an Orientation preference is supposed to work across all 
 platforms.  However, Android's activities can only be locked to an 
 orientation by modifying the AndroidManifest.xml. 
 To get past this, we either change the docs, or we support this in the CLI.  
 I feel that adding an XML parser to the scripts is complete overkill, since 
 we don't have any tests for our platform scripts, and I personally think 
 they're a giant pile of technical debt.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (CB-5006) Allow installing plugins by ID to resolve to local plugin directories

2013-12-13 Thread Mark Koudritsky (JIRA)

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

Mark Koudritsky reassigned CB-5006:
---

Assignee: Mark Koudritsky

 Allow installing plugins by ID to resolve to local plugin directories
 -

 Key: CB-5006
 URL: https://issues.apache.org/jira/browse/CB-5006
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Andrew Grieve
Assignee: Mark Koudritsky
Priority: Minor

 ML: http://markmail.org/thread/3w77elhdnidcdyxq
 Instead of always hitting the registry when installing a plugin by ID, first 
 see if it exists within the plugin search path.
 The plugin search path should be specified in the same way as other plugman 
 registry settings:
 https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/registry/registry.js;h=ccdd45ab672abe99a731b9fe0aed8837db40d6f0;hb=f240acc532f93bdf16761836d9b7418373afebec#l239
 The search path should point to directories that contain directories that 
 contain plugin.xml files. E.g., on start-up, plugman will need to scan on 
 level deep in all search paths for plugin.xml files and parse out their IDs.
 We should be sure to have a console message upon installation that says where 
 plugins are being installed from.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-4930) InAppBrowser should take into account the status bar

2013-12-13 Thread Steve (JIRA)

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

Steve commented on CB-4930:
---

Shazron, there is still a problem with InAppBrowser, whenever you start 
scrolling in it, it would overlay the statusbar.

 InAppBrowser should take into account the status bar
 

 Key: CB-4930
 URL: https://issues.apache.org/jira/browse/CB-4930
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin InAppBrowser
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
  Labels: ios7
 Fix For: 3.2.0


 Right now, the status bar overlaps the IAB at the top.
 Hide the status bar when on iOS 7, unhide (if it was hidden by the user in 
 the first place for the app only) when it is closed.
 Workaround for now - I suppose you could inject some css to have a body 
 margin-top of 20px (or a different value if it is landscape - yeah it could 
 get messy)
 Hiding/unhiding the status bar is preferable to moving the view down to be 
 consistent with the UIWebView taking up the whole window.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-2415) On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized

2013-12-13 Thread Bart van Velden (JIRA)

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

Bart van Velden commented on CB-2415:
-

To my latest experiences this issue is still present in cordova 3.2.0-0.2.0.

 On iOS the ajax error/fail callback is not called after server returns error 
 code 401/unauthorized
 --

 Key: CB-2415
 URL: https://issues.apache.org/jira/browse/CB-2415
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.2.0
 Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, 
 cordova 2.2
Reporter: Zach White
  Labels: 401, BasicAuth, iOS

 I am seeing the same issue as reported in 
 [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax 
 calls with Authorization header set are not returning but are timing out when 
 the authorization credentials are invalid.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Nitin Surana (JIRA)
Nitin Surana created CB-5640:


 Summary: npm install -g cordova is no longer working for 3.3
 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.

npm install -g cordova ends with a 404 in the location of the tar.gz

Reporter: Nitin Surana
Priority: Blocker


I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 404

I manually checked and that link doesn't contain anything (returns 404).

Since I found no place to attach the log-file, I've uploaded it on dropbox  
here's the link to the log file - 
https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5407) [android] Switch native code to use filesystem://localhost/* URLs internally, and change the FileSystem JS object to use those URLs for the bridge.

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit a2b90737e6e1fcf089a4fe12a12f07426091577a in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=a2b9073 ]

CB-5407: Fixes for ContentFilesystem


 [android] Switch native code to use filesystem://localhost/* URLs internally, 
 and change the FileSystem JS object to use those URLs for the bridge.
 ---

 Key: CB-5407
 URL: https://issues.apache.org/jira/browse/CB-5407
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5407) [android] Switch native code to use filesystem://localhost/* URLs internally, and change the FileSystem JS object to use those URLs for the bridge.

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit cfc342630f929209f3131a22dd0d44d512b4fd0c in branch 
refs/heads/android-file from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=cfc3426 ]

CB-5407: Cleanup


 [android] Switch native code to use filesystem://localhost/* URLs internally, 
 and change the FileSystem JS object to use those URLs for the bridge.
 ---

 Key: CB-5407
 URL: https://issues.apache.org/jira/browse/CB-5407
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5466) FileTransfer plugin uses full filesystem paths, rather than URLs

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 647dad7aba71f6e69d8b35b3cb76328c26127c1f in branch refs/heads/dev from 
[~iclelland]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=647dad7
 ]

CB-5466: Update to work with filesystem URLs

This should be backwards compatible; raw filesystem paths are now submitted to
the File plugin to see if they can be handled first


 FileTransfer plugin uses full filesystem paths, rather than URLs
 

 Key: CB-5466
 URL: https://issues.apache.org/jira/browse/CB-5466
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Plugin File Transfer
Reporter: Ian Clelland
Assignee: Ian Clelland

 The file transfer plugin currently uses full device filesystem paths, but is 
 also expected to interact with the File API. Since CB-5403, the File API will 
 no longer be returning full device filesystem paths, and so the FileTransfer 
 API needs to work when presented with filesystem:// URLs as well.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5641) Displaying keyboard pushes view up

2013-12-13 Thread Tien Do (JIRA)
Tien Do created CB-5641:
---

 Summary: Displaying keyboard pushes view up
 Key: CB-5641
 URL: https://issues.apache.org/jira/browse/CB-5641
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.2.0
 Environment: iOS
Reporter: Tien Do


Tested environment: iOS 6.0, NO keyboard plugin.

When focusing on an input/textarea field that result in keyboard is displayed 
then the view is pushed about 40px up.

It was happened in version 3.0.0 and could work-around by below code, then it 
seemed to be fixed in 3.1.0 since I removed below code in the test app. But now 
it happens again in 3.2.0, I guess that it caused by changes relate to keyboard 
plugin, so now, add back below code snippet will work-around again in 3.2.0

// Prevent screen from pushing up when keyboard appears.
// 
http://stackoverflow.com/questions/13820088/how-to-prevent-keyboard-push-up-webview-at-ios-app-using-phonegap
$(document).on(focus, input, function (e) {
e.preventDefault();
e.stopPropagation();
window.scrollTo(0, 0);
});



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5643) document CLI hooks

2013-12-13 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-5643:
-

 Summary: document CLI hooks
 Key: CB-5643
 URL: https://issues.apache.org/jira/browse/CB-5643
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Marcel Kinard
Priority: Minor


There currently is no documentation about the CLI hooks, and how a consumer 
could use them.

Apparently this was not completed as part of CB-5122.

See 
http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5642) Screen is pushed up for a while when keyboard appears

2013-12-13 Thread Tien Do (JIRA)
Tien Do created CB-5642:
---

 Summary: Screen is pushed up for a while when keyboard appears
 Key: CB-5642
 URL: https://issues.apache.org/jira/browse/CB-5642
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.2.0
Reporter: Tien Do


Please see this issue first: https://issues.apache.org/jira/browse/CB-5641

If I add Keyboard plugin (code below) then work-around solution in the CB-5641 
no longer works. Screen is quickly pushed up and back to its original position 
when keyboard appears.

Keyboard.shrinkView(true);
Keyboard.hideFormAccessoryBar(true);
Keyboard.disableScrollingInShrinkView(true);

If I change to Keyboard.shrinkView(false); then aforementioned issue doesn't 
happen, but view is scrollable when keyboard appears, and worst, there is a 
40px height black area at the end of screen.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-4321) Supply a sample .gitignore file for projects

2013-12-13 Thread Robert (Jamie) Munro (JIRA)

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

Robert (Jamie) Munro commented on CB-4321:
--

So if we are not there yet, what am I supposed to put in version control? The 
whole platforms directory (that would be crazy as there are a lot of build 
artifacts in there).

Would you suggest using something like the gruntfile suggested here:
http://stackoverflow.com/a/19146656/3408

Will that still work with the future versions of Cordova?

You've called this minor, but for me it makes Cordova CLI workflow completely 
impossible to use.

One huge stumbling block I have just discovered is that the core splashscreen 
plugin (which is effectively compulsory on iOS, although not on Android) 
requires you to make a manual change inside the platforms folder. I guess I 
could write a patch file and apply it with a hook or something, but it's 
something everyone needs so it should be managed centrally.

 Supply a sample .gitignore file for projects
 

 Key: CB-4321
 URL: https://issues.apache.org/jira/browse/CB-4321
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
Reporter: Robert (Jamie) Munro
Assignee: Braden Shepherdson
Priority: Minor

 When I create a project with cordova-cli, it's not very clear what I should 
 be putting into version control, and what I should be relying on cordova-cli 
 to recreate for me. It's obvious that www and merges should be version 
 controlled, but what about platform and plugins? Where do I put 
 project-specific native code?
 An example .gitignore file could be provided, so that if I enable it, 
 everything I don't need to commit will be ignored.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (CB-5495) Running `cordova build` a 2nd time regenerates config.xml with the installed plugins missing (ios only)

2013-12-13 Thread David Kemp (JIRA)

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

David Kemp reassigned CB-5495:
--

Assignee: David Kemp

 Running `cordova build` a 2nd time regenerates config.xml with the installed 
 plugins missing (ios only)
 ---

 Key: CB-5495
 URL: https://issues.apache.org/jira/browse/CB-5495
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.2.0
Reporter: Adam George
Assignee: David Kemp
 Fix For: Master, 3.4.0


 When running `cordova build`, it incorrectly generates the config.xml, such 
 that my plugins are not listed and therefor won't work.
 (BTW, I'm talking about the config.xml in platforms/ios/myproject/config.xml  
 - not platforms/ios/www/config.xml- NB - can't these have different 
 names? It's too confusing).
 It only does this in certain situations. Let me try an explain:
 I have installed several cordova plugins into my CLI project. i.e.
 →  cordova git:(master) × cordova plugin list
 [ 'com.phonegap.plugins.barcodescanner',
   'com.sagetechnology.plugins.idblue',
   'org.apache.cordova.console',
   'org.apache.cordova.device',
   'org.apache.cordova.dialogs',
   'org.apache.cordova.globalization',
   'org.apache.cordova.network-information',
   'org.apache.cordova.splashscreen' ]
 If I then add the ios platform, it will correctly generate the iOS project 
 with a correct config.xml.
 If I then run `cordova build`, everything is still OK.
 However, if I then immediately run `cordova build` a 2nd time, it stuffs up 
 the config.xml file, and regenerates it with my installed plugins missing.
 It only started doing this after I updated to Cordova 3.2.0.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5623) cordova.apache.org points to wrong version of docs

2013-12-13 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-5623:


Just fixed this again. Maybe get this to use docs.cordova.io redirect instead 
of changing it each time?

 cordova.apache.org points to wrong version of docs
 --

 Key: CB-5623
 URL: https://issues.apache.org/jira/browse/CB-5623
 Project: Apache Cordova
  Issue Type: Task
  Components: Website
Affects Versions: 3.2.0
Reporter: Brian LeRoux

 Documentation link in the About Apache Cordova section points to 3.1 - should 
 point to latest (3.2 as of this writing)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5623) cordova.apache.org points to wrong version of docs

2013-12-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5623:
--

I'm going to work on a wiki article of a checklist to look at, if there is not 
one already. 

 cordova.apache.org points to wrong version of docs
 --

 Key: CB-5623
 URL: https://issues.apache.org/jira/browse/CB-5623
 Project: Apache Cordova
  Issue Type: Task
  Components: Website
Affects Versions: 3.2.0
Reporter: Brian LeRoux

 Documentation link in the About Apache Cordova section points to 3.1 - should 
 point to latest (3.2 as of this writing)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-5640:
---

Confirmed not working. Having a look...

 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve reassigned CB-5640:
-

Assignee: Andrew Grieve

 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5644) Error: ENOENT, no such file or directory 'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios

2013-12-13 Thread Fabio Fabbri (JIRA)
Fabio Fabbri created CB-5644:


 Summary: Error: ENOENT, no such file or directory 
'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios
 Key: CB-5644
 URL: https://issues.apache.org/jira/browse/CB-5644
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Affects Versions: 3.2.0
 Environment: OS X 10.9, Xcode 5.0.2 Build version 5A3005, Node 
v0.10.18, Cordova CLI 3.2.0-0.4.0, 
Reporter: Fabio Fabbri


I have run cordova prepare ios on a project. After some successful run, after 
I opened the Xcode project with Xcode, I executed again cordova prepare ios 
and I got the following error:

Error: ENOENT, no such file or directory 
'PROJECT_PATH/platforms/ios/._APPNAME/config.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at Object.module.exports.parseElementtreeSync 
(/usr/local/lib/node_modules/cordova/src/xml-helpers.js:111:27)
at Object.config_parser 
(/usr/local/lib/node_modules/cordova/src/config_parser.js:25:20)
at Object.ios_parser 
(/usr/local/lib/node_modules/cordova/src/metadata/ios_parser.js:62:19)
at /usr/local/lib/node_modules/cordova/src/prepare.js:56:23
at Array.map (native)
at CLI.prepare (/usr/local/lib/node_modules/cordova/src/prepare.js:54:35)
at new CLI (/usr/local/lib/node_modules/cordova/src/cli.js:104:30)
at Object.anonymous 
(/usr/local/lib/node_modules/cordova/bin/cordova:41:16)

After hours of tentatives and headaches, I found out that Xcode created the 
file PROJECT_PATH/platforms/ios/._APPNAME.xcodeproject . I deleted this file 
and cordova prepared ios was working again.

I didn't investigate further, but I suspect that che CLI script searches for 
files in the format platforms/ios/*.xcodeproject and for every file found it 
assumes there is a folder with the same name excluding the ending 
.xcodeproject. I think you should add other conditions there to avoid this 
kind of error.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-5640:
---

Getting errors with:
{code}
npm unpublish cordova@3.3.0-0.1.0
{code}
as well as
{code}
npm publish cordova@3.3.0-0.1.0 --force
{code}

For now I've rolled back to 3.2.0-0.4.0 via:
{code}
npm tag cordova@3.2.0-0.4.0 latest
{code}



 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5644) Error: ENOENT, no such file or directory 'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-5644:
---

CLI and the platform cordova/ scripts all look for *.xcodeproject. We should at 
least log an error if multiple matches are found so that users can know not to 
allow other projects as siblings

 Error: ENOENT, no such file or directory 
 'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios
 ---

 Key: CB-5644
 URL: https://issues.apache.org/jira/browse/CB-5644
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Affects Versions: 3.2.0
 Environment: OS X 10.9, Xcode 5.0.2 Build version 5A3005, Node 
 v0.10.18, Cordova CLI 3.2.0-0.4.0, 
Reporter: Fabio Fabbri

 I have run cordova prepare ios on a project. After some successful run, 
 after I opened the Xcode project with Xcode, I executed again cordova 
 prepare ios and I got the following error:
 Error: ENOENT, no such file or directory 
 'PROJECT_PATH/platforms/ios/._APPNAME/config.xml'
 at Object.fs.openSync (fs.js:427:18)
 at Object.fs.readFileSync (fs.js:284:15)
 at Object.module.exports.parseElementtreeSync 
 (/usr/local/lib/node_modules/cordova/src/xml-helpers.js:111:27)
 at Object.config_parser 
 (/usr/local/lib/node_modules/cordova/src/config_parser.js:25:20)
 at Object.ios_parser 
 (/usr/local/lib/node_modules/cordova/src/metadata/ios_parser.js:62:19)
 at /usr/local/lib/node_modules/cordova/src/prepare.js:56:23
 at Array.map (native)
 at CLI.prepare (/usr/local/lib/node_modules/cordova/src/prepare.js:54:35)
 at new CLI (/usr/local/lib/node_modules/cordova/src/cli.js:104:30)
 at Object.anonymous 
 (/usr/local/lib/node_modules/cordova/bin/cordova:41:16)
 After hours of tentatives and headaches, I found out that Xcode created the 
 file PROJECT_PATH/platforms/ios/._APPNAME.xcodeproject . I deleted this file 
 and cordova prepared ios was working again.
 I didn't investigate further, but I suspect that che CLI script searches for 
 files in the format platforms/ios/*.xcodeproject and for every file found 
 it assumes there is a folder with the same name excluding the ending 
 .xcodeproject. I think you should add other conditions there to avoid this 
 kind of error.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread ASF subversion and git services (JIRA)

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

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

Commit d5f3b73c656130f30f44b9af316a494c92bbf700 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d5f3b73 ]

CB-5640 Bump version for republishing

0.3.0-0.1.0 is broken on NPM and seemingly unfixable.


 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5640.
---

Resolution: Fixed

Fixed by incrementing the version number. Latest is now

3.3.0-0.1.1

Thanks for pointing this out Nitin!

 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-5640:


very strange. Thanks for fixing Andrew. I was just looking into this too

 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5644) Error: ENOENT, no such file or directory 'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios

2013-12-13 Thread Fabio Fabbri (JIRA)

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

Fabio Fabbri commented on CB-5644:
--

It should ignore files starting with ._ as they are hidden system files used by 
osx to store infos about a file

 Error: ENOENT, no such file or directory 
 'PATH/platforms/ios/._PROJECTNAME/config.xml' during cordova prepare ios
 ---

 Key: CB-5644
 URL: https://issues.apache.org/jira/browse/CB-5644
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Affects Versions: 3.2.0
 Environment: OS X 10.9, Xcode 5.0.2 Build version 5A3005, Node 
 v0.10.18, Cordova CLI 3.2.0-0.4.0, 
Reporter: Fabio Fabbri

 I have run cordova prepare ios on a project. After some successful run, 
 after I opened the Xcode project with Xcode, I executed again cordova 
 prepare ios and I got the following error:
 Error: ENOENT, no such file or directory 
 'PROJECT_PATH/platforms/ios/._APPNAME/config.xml'
 at Object.fs.openSync (fs.js:427:18)
 at Object.fs.readFileSync (fs.js:284:15)
 at Object.module.exports.parseElementtreeSync 
 (/usr/local/lib/node_modules/cordova/src/xml-helpers.js:111:27)
 at Object.config_parser 
 (/usr/local/lib/node_modules/cordova/src/config_parser.js:25:20)
 at Object.ios_parser 
 (/usr/local/lib/node_modules/cordova/src/metadata/ios_parser.js:62:19)
 at /usr/local/lib/node_modules/cordova/src/prepare.js:56:23
 at Array.map (native)
 at CLI.prepare (/usr/local/lib/node_modules/cordova/src/prepare.js:54:35)
 at new CLI (/usr/local/lib/node_modules/cordova/src/cli.js:104:30)
 at Object.anonymous 
 (/usr/local/lib/node_modules/cordova/bin/cordova:41:16)
 After hours of tentatives and headaches, I found out that Xcode created the 
 file PROJECT_PATH/platforms/ios/._APPNAME.xcodeproject . I deleted this file 
 and cordova prepared ios was working again.
 I didn't investigate further, but I suspect that che CLI script searches for 
 files in the format platforms/ios/*.xcodeproject and for every file found 
 it assumes there is a folder with the same name excluding the ending 
 .xcodeproject. I think you should add other conditions there to avoid this 
 kind of error.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Closed] (CB-5566) blackberry10 build fails in ubuntu 64bit: Native Packager exception occurred

2013-12-13 Thread Aras (JIRA)

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

Aras closed CB-5566.


Resolution: Invalid

 blackberry10 build fails in ubuntu 64bit: Native Packager exception occurred
 

 Key: CB-5566
 URL: https://issues.apache.org/jira/browse/CB-5566
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, CLI, Ubuntu
Affects Versions: 3.2.0
 Environment: I am running Ubuntu 13.04 with Kernel 3.8.0-34-generic
 Project is created using CLI and I have previously added android platform 
 which builds and emulates fine locally.
Reporter: Aras
Priority: Critical

 Today I tried adding blackberry10 platform. I have downloaded the tokens and 
 created the author.p12 file with blackberry tools. I have added the bin 
 directory to my system $PATH. In my system the path is 
 `/home/zooby/bbndk/host_10_2_0_15/linux/x86/usr/bin`
 I also installed blackberry momentics ide and also have a BB simulator 
 running inside a VMware. I can build sample apps in momentics ide and run 
 them inside the emulator.
 I was able to add the blackberry10 platform using the CLI tools and there was 
 no error. However, when I run `cordova build` it will try and fail to build 
 blackberry with this error message:
 {code}
 $ cordova build
 Generating config.xml from defaults for platform android
 Preparing android project
 Generating config.xml from defaults for platform blackberry10
 Preparing blackberry10 project
 Compiling app on platform android via command 
 /home/zooby/Projects/Email2MobileApps/cordovaBuild/platforms/android/cordova/build
  
 Compiling app on platform blackberry10 via command 
 /home/zooby/Projects/Email2MobileApps/cordovaBuild/platforms/blackberry10/cordova/build
  
 [Error: An error occurred while building the blackberry10 project.[ERROR]   
 Native Packager exception occurred
 [ERROR]   Native Packager exception occurred
 An error has occurred
 ]
 {code}
 I am a bit stunned at this point. I am willing to do any more investigation 
 or provide more info if someone can give me some directions. Thanks!



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5566) blackberry10 build fails in ubuntu 64bit: Native Packager exception occurred

2013-12-13 Thread Aras (JIRA)

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

Aras commented on CB-5566:
--

It turn out the issue was with the app description which was too long for 
blackberry. 

 blackberry10 build fails in ubuntu 64bit: Native Packager exception occurred
 

 Key: CB-5566
 URL: https://issues.apache.org/jira/browse/CB-5566
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, CLI, Ubuntu
Affects Versions: 3.2.0
 Environment: I am running Ubuntu 13.04 with Kernel 3.8.0-34-generic
 Project is created using CLI and I have previously added android platform 
 which builds and emulates fine locally.
Reporter: Aras
Priority: Critical

 Today I tried adding blackberry10 platform. I have downloaded the tokens and 
 created the author.p12 file with blackberry tools. I have added the bin 
 directory to my system $PATH. In my system the path is 
 `/home/zooby/bbndk/host_10_2_0_15/linux/x86/usr/bin`
 I also installed blackberry momentics ide and also have a BB simulator 
 running inside a VMware. I can build sample apps in momentics ide and run 
 them inside the emulator.
 I was able to add the blackberry10 platform using the CLI tools and there was 
 no error. However, when I run `cordova build` it will try and fail to build 
 blackberry with this error message:
 {code}
 $ cordova build
 Generating config.xml from defaults for platform android
 Preparing android project
 Generating config.xml from defaults for platform blackberry10
 Preparing blackberry10 project
 Compiling app on platform android via command 
 /home/zooby/Projects/Email2MobileApps/cordovaBuild/platforms/android/cordova/build
  
 Compiling app on platform blackberry10 via command 
 /home/zooby/Projects/Email2MobileApps/cordovaBuild/platforms/blackberry10/cordova/build
  
 [Error: An error occurred while building the blackberry10 project.[ERROR]   
 Native Packager exception occurred
 [ERROR]   Native Packager exception occurred
 An error has occurred
 ]
 {code}
 I am a bit stunned at this point. I am willing to do any more investigation 
 or provide more info if someone can give me some directions. Thanks!



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5568) missing plugin features at config.xml on iOS

2013-12-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5568:
--

Fix commit - 
http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/db906ee3

 missing plugin features at config.xml on iOS
 

 Key: CB-5568
 URL: https://issues.apache.org/jira/browse/CB-5568
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Affects Versions: 3.2.0
 Environment: - Mac OS X 10.8.5
 - XCode 5.0.2
Reporter: Orçun Topdağı
Priority: Blocker

 iOS config.xml has missing plugin related entries when cordova prepare is run 
 on OS X.
 Here is the current situation as it gets interesting towards last steps:
 Project has two platforms, iOS and Android.
 I have added dialogs and vibration plugins using CLI.
 - I remove iOS platform and add it again using CLI, iOS config.xml has 
 features added back correctly.
 - I run cordova prepare now, everything is still working.
 - I run cordova emulate, emulator runs and plugins are working.
 - I run cordova prepare again (no changes what so ever) features are 
 *removed* from iOS config.xml once again.
 - I have tested exiting emulator before running prepare again.
 - I have tested adding and removing several other plugins before running 
 emulator and everything works until running cordova emulate.
 Looking at file changes, only difference is at pbxproj which has different 
 unique identifiers for removed and added files for plugin implementations.
 - Nothing works until I repeat removing and adding iOS platform.
 - I have tested removing and adding plugins after running emulator. BTW, 
 Android config.xml is correctly modified during these changes.
 - If I run cordova prepare on Windows, iOS config.xml is again corrected 
 which is good but not very useful.
 Background info:
 - installed cordova 3.1.0 on Windows,
 - created the project on Windows
 - added android platform on Windows
 - added above plugins on  Windows using CLI 3.1.0
 - updated cordova to 3.2.0 on Windows
 - updated project on Windows
 - installed cordova 3.2.0 on OSX
 - added iOS platform on OSX
 - i keep plugins and platforms directories under source control as I intend 
 to make changes, so adding and removing platforms before each build is not an 
 option.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5640) npm install -g cordova is no longer working for 3.3

2013-12-13 Thread Nitin Surana (JIRA)

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

Nitin Surana commented on CB-5640:
--

Thanks Andrew  Steve.

 npm install -g cordova is no longer working for 3.3
 ---

 Key: CB-5640
 URL: https://issues.apache.org/jira/browse/CB-5640
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 3.3.0
 Environment: I tried in a linux environment - xfce 32-bit fedora.
 npm install -g cordova ends with a 404 in the location of the tar.gz
Reporter: Nitin Surana
Assignee: Andrew Grieve
Priority: Blocker
  Labels: patch, test

 I updated nodejs to 0.10.23 but still npm install -g cordova gives error of 
 404
 I manually checked and that link doesn't contain anything (returns 404).
 Since I found no place to attach the log-file, I've uploaded it on dropbox  
 here's the link to the log file - 
 https://dl.dropboxusercontent.com/u/109241721/npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Resolved] (CB-5623) cordova.apache.org points to wrong version of docs

2013-12-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-5623.
--

   Resolution: Fixed
Fix Version/s: Master
 Assignee: Shazron Abdullah

Updated CuttingReleases 'Uploading a Release' section:
https://wiki.apache.org/cordova/CuttingReleases

which points to a new step:
https://wiki.apache.org/cordova/UpdatingVersionsOnTheCordovaWebsite




 cordova.apache.org points to wrong version of docs
 --

 Key: CB-5623
 URL: https://issues.apache.org/jira/browse/CB-5623
 Project: Apache Cordova
  Issue Type: Task
  Components: Website
Affects Versions: 3.2.0
Reporter: Brian LeRoux
Assignee: Shazron Abdullah
 Fix For: Master


 Documentation link in the About Apache Cordova section points to 3.1 - should 
 point to latest (3.2 as of this writing)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5585) cordova emulate android doesn't exit

2013-12-13 Thread zmhassan (JIRA)

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

zmhassan commented on CB-5585:
--

Hi,

I'm interested in working on this bug. Please assign this to me.



 cordova emulate android doesn't exit
 

 Key: CB-5585
 URL: https://issues.apache.org/jira/browse/CB-5585
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.2.0
Reporter: Carlos Santana

 Cordova CLI 3.2.0-0.4.0
 Android Platform 3.2.0
 condition: no android emulator running
 cordova create hello
 cd hello
 cordova platform add android
 cordova emulate
 Results:
 emulator starts
 app gets installed
 app starts fine
 But command prompt never exits.
 Expected results:
 cordova command to exit 
 This affects other projects like grunt-cordovacli and generator-cordovacli 
 because other commands are expected to run after cordova emulate



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (CB-5645) IOS7 null returned for Contacts API displayName

2013-12-13 Thread Vishal (JIRA)
Vishal created CB-5645:
--

 Summary: IOS7 null returned for Contacts API displayName
 Key: CB-5645
 URL: https://issues.apache.org/jira/browse/CB-5645
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
 Environment: IOS 7.0
Reporter: Vishal


In IOS7 when using the Contacts API to retrieve a list of contacts the 
displayName field is null even if the contact has a first/last name.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-5585) cordova emulate android doesn't exit

2013-12-13 Thread zmhassan (JIRA)

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

zmhassan commented on CB-5585:
--

Fixed issue with hanging process. I need to redirect output to a file so it 
doesn't hang in the terminal. I will make a pull request at this url and if you 
have comments please mention them in the Pull Request.

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



 cordova emulate android doesn't exit
 

 Key: CB-5585
 URL: https://issues.apache.org/jira/browse/CB-5585
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.2.0
Reporter: Carlos Santana

 Cordova CLI 3.2.0-0.4.0
 Android Platform 3.2.0
 condition: no android emulator running
 cordova create hello
 cd hello
 cordova platform add android
 cordova emulate
 Results:
 emulator starts
 app gets installed
 app starts fine
 But command prompt never exits.
 Expected results:
 cordova command to exit 
 This affects other projects like grunt-cordovacli and generator-cordovacli 
 because other commands are expected to run after cordova emulate



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)