[jira] [Assigned] (CB-4755) Crash in Media.setVolume

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-4755:


Assignee: Shazron Abdullah

> Crash in Media.setVolume
> 
>
> Key: CB-4755
> URL: https://issues.apache.org/jira/browse/CB-4755
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Media
>Affects Versions: 2.7.0, 3.0.0
> Environment: Mac OS X 10.8.4, developing for iOS using Xcode 4.6.3
>Reporter: Michael Hanselmann
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Media.setVolume causes the application to crash after Media.release was 
> called:
> {code}
> *** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
> reason: '*** setObjectForKey: object cannot be nil (key: 
> 6df28c63-6f6b-29e5-b12f-09189833dbbd)'
> *** First throw call stack:
> ([…])
> libc++abi.dylib: terminate called throwing an exception
> {code}
> Reproduced using Cordova 2.7.0 and 3.0.9:
> {code}
> $ cordova -v
> 3.0.9
> {code}
> Code causing crash:
> {code}
> var m = new Media("test.caf");
> m.release();
> m.setVolume(1); // crash in this call
> {code}
> This works:
> {code}
> var m = new Media("test.caf");
> m.release();
> m.play();
> m.setVolume(1);
> {code}
> When I look at {{-[Media setVolume:]}} I get the impression that it's 
> unfinished in general. If {{soundCache}} is nil it creates a cache, but 
> doesn't do anything else.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Closed] (CB-4379) Android PluginManager not loading plugins from config.xml

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah closed CB-4379.



> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Mike Sierra
>Priority: Critical
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-4379) Android PluginManager not loading plugins from config.xml

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-4379.
--

Resolution: Fixed

Seems fixed - closing

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Mike Sierra
>Priority: Critical
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4458) BlackBerry10 native plugin authoring guide is outdated maybe?

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866395#comment-13866395
 ] 

Shazron Abdullah commented on CB-4458:
--

I believe this issue is invalid now - none of the assertions are true anymore 
as of this date on the edge docs.

> BlackBerry10 native plugin authoring guide is outdated maybe?
> -
>
> Key: CB-4458
> URL: https://issues.apache.org/jira/browse/CB-4458
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, Docs
>Affects Versions: 3.0.0
>Reporter: Filip Maj
>Assignee: Lorin Beer
>Priority: Critical
>
> http://cordova.apache.org/docs/en/3.0.0/guide_platforms_blackberry10_plugin.md.html#BlackBerry%2010%20Plugins
> - mentions plugins.xml instead of config.xml. is this file stillvalid in BB10?
> - uses the old  approach of defining a plugin. has 
> bb10 not migrated to  ?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4755) Crash in Media.setVolume

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4755:
-

Component/s: iOS

> Crash in Media.setVolume
> 
>
> Key: CB-4755
> URL: https://issues.apache.org/jira/browse/CB-4755
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Media
>Affects Versions: 2.7.0, 3.0.0
> Environment: Mac OS X 10.8.4, developing for iOS using Xcode 4.6.3
>Reporter: Michael Hanselmann
>Priority: Critical
>
> Media.setVolume causes the application to crash after Media.release was 
> called:
> {code}
> *** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
> reason: '*** setObjectForKey: object cannot be nil (key: 
> 6df28c63-6f6b-29e5-b12f-09189833dbbd)'
> *** First throw call stack:
> ([…])
> libc++abi.dylib: terminate called throwing an exception
> {code}
> Reproduced using Cordova 2.7.0 and 3.0.9:
> {code}
> $ cordova -v
> 3.0.9
> {code}
> Code causing crash:
> {code}
> var m = new Media("test.caf");
> m.release();
> m.setVolume(1); // crash in this call
> {code}
> This works:
> {code}
> var m = new Media("test.caf");
> m.release();
> m.play();
> m.setVolume(1);
> {code}
> When I look at {{-[Media setVolume:]}} I get the impression that it's 
> unfinished in general. If {{soundCache}} is nil it creates a cache, but 
> doesn't do anything else.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4618) Cordova CLI can't create wp8 project from template

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4618:
-

Component/s: WP8

> Cordova CLI can't create wp8 project from template
> --
>
> Key: CB-4618
> URL: https://issues.apache.org/jira/browse/CB-4618
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, WP8
>Affects Versions: 3.0.0
> Environment: windows 8 simple Chinese edition, cordova 3.0.6
>Reporter: qi
>Assignee: Jesse MacFadyen
>Priority: Critical
> Attachments: App.xaml.cs, HelloCordova.csproj
>
>
> 1. installed cordova cil on windows 8
> 2. cordova create xxx
> 3. cordova platform add wp8
> got
> D:\Dev\cordova\project-template>cordova -d platform add wp8
> cordova library for "wp8" already exists. No need to download. Continuing.
> Checking if platform "wp8" passes minimum requirements...
> Checking wp8 requirements...
> Running ""C:\Users\Qi\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs"" 
> (output
>  to follow)
> C:\Users\Qi\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs.js(46, 5) 
> WshShell.
> Exec: 
> Running bin/create for platform "wp8" with command: 
> ""C:\Users\Qi\.cordova\lib\w
> p\cordova\3.0.0\wp8\bin\create"  
> "D:\Dev\cordova\project-template\platforms\wp8"
>  "io.cordova.hellocordova" "HelloCordova"" (output to follow)
> platformRoot = C:\Users\Qi\.cordova\lib\wp\cordova\3.0.0\wp8
> repoRoot = C:\Users\Qi\.cordova\lib\wp\cordova\3.0.0
> Creating Cordova-WP8 Project:
> App Name : HelloCordova
> Namespace : io.cordova.hellocordova
> Path : D:\Dev\cordova\project-template\platforms\wp8
> CREATE SUCCESS : D:\Dev\cordova\project-template\platforms\wp8
> Error: Non-whitespace before first tag.
> Line: 0
> Column: 1
> Char: 
> at error 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\node_modules\
> elementtree\node_modules\sax\lib\sax.js:347:8)
> at strictFail 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\node_mod
> ules\elementtree\node_modules\sax\lib\sax.js:364:22)
> at Object.write 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\node_m
> odules\elementtree\node_modules\sax\lib\sax.js:603:11)
> at XMLParser.feed 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\node
> _modules\elementtree\lib\parsers\sax.js:48:15)
> at ElementTree.parse 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\n
> ode_modules\elementtree\lib\elementtree.js:263:10)
> at Object.exports.XML 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\
> node_modules\elementtree\lib\elementtree.js:593:13)
> at Object.config_parser 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordov
> a\src\config_parser.js:24:38)
> at Object.wp8_parser 
> (C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\s
> rc\metadata\wp8_parser.js:42:19)
> at 
> C:\Users\Qi\AppData\Roaming\npm\node_modules\cordova\src\prepare.js:56:23
> at Array.map (native)
> Finally I found following files
> wmappmanifest.xml, HelloCordova.csproj, HelloCordova.sln, MainPage.xaml.cs, 
> etc
> were corrupt, the start characters of file content were sth like
> 锘?*
> the cli can't parse these files
> I doubt it's an encoding issue



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Assigned] (CB-4590) chooseContact in CDVContacts crashes app

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-4590:


Assignee: Shazron Abdullah

> chooseContact in CDVContacts crashes app
> 
>
> Key: CB-4590
> URL: https://issues.apache.org/jira/browse/CB-4590
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Contacts
>Affects Versions: 2.9.0
> Environment: iOS 6.1.4 on iPhone 5.
>Reporter: Daniel Morgan
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: 2.9.0, contacts
>
> Using Cordova 2.9:
> In chooseContact I send the option in JS:
> var contactOptions = {allowsEditing: false};
> with the chooseContacts call, which then causes on line 194 in CDVContacts:
> pickerController.allowsEditing = (BOOL)[options existsValue : @"true" forKey 
> : @"allowsEditing"];
> To crash. When you put a breakpoint in to check the options dictionary it 
> comes back with
> { allowsEditing = 0; }
> and the crash in the logs from this line is:
> -[__NSCFBoolean compare:options:]: unrecognized selector sent to instance 
> 0x3ab59528
> 2013-08-15 10:46:50.081 in uncaughtExceptionHandler
> 2013-08-15 10:46:50.082 *** Terminating app due to uncaught exception 
> 'NSInvalidArgumentException', reason: '-[__NSCFBoolean compare:options:]: 
> unrecognized selector sent to instance 0x3ab59528' First throw call stack:
> (0x327ef3e7 0x3a4ea963 0x327f2f31 0x327f164d 0x32749208 0xc1071 0xc33f7 
> 0x11584d 0x1150e1 0x114cd7 0x114e63 0x114d8d 0x331074a1 0x327c48f7 0x327c415d 
> 0x327c2f2f 0x3273623d 0x327360c9 0x3631533b 0x346522b9 0x5cdf9 0x5cdd0)
> libc++abi.dylib: terminate called throwing an exception 
> If I comment the line out, the code executes with no crashes and I receive 
> the contact viewController, can select a contact and return back successfully 
> with the contacts data. 
> UPDATE: Contact I receive back (when that line is commented out) is a 
> different contact than the one I selected. The contact I receive exists in my 
> contacts though, but for example I choose "Chelsea" it brings back "Corey", 
> both are in my contacts, just different contact than anticipated.
> UPDATE (again): Reason why I was getting the above results is because I was 
> trying to filter with their id to find the contact afterwards. I understand 
> that the chooseContact method returns both (id, contact), but this is also 
> broken. When I print out the contact object in JS, I receive the following: 
> Contact 
> {"id":56,"rawId":null,"displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5319) Failed pluginJSON whan calling getPicture

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5319:
-

Component/s: iOS

> Failed pluginJSON whan calling getPicture
> -
>
> Key: CB-5319
> URL: https://issues.apache.org/jira/browse/CB-5319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Camera
>Affects Versions: 3.1.0
> Environment: cordova: 3.1.0-0.2.0
> cordova-camera-plugin: 0.2.4
> osx: 10.8.5
> xcode: 5.1.0
>Reporter: Chakib Benziane
>Priority: Critical
>
> Using the latest version of the camera plugin I get the following error on 
> xCode debugger:
> {code}
> [CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
>   "Camera1090788746",
>   "Camera",
>   "takePicture",
>   [
> 50,
> 1,
> 0,
> -1,
> -1,
> 0,
> 0,
> true,
> false,
> false,
> null,
> 0
>   ]
> ]
> {code}
> When I call the plugin with the following code:
> {code}
> camera.getPicture( onSuccess, onFail, {
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.CAMERA,
> allowEdit: true
>   })
> {code}
> And I get the same error with PHOTOLIBRARY source type



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Assigned] (CB-5319) Failed pluginJSON whan calling getPicture

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-5319:


Assignee: Shazron Abdullah

> Failed pluginJSON whan calling getPicture
> -
>
> Key: CB-5319
> URL: https://issues.apache.org/jira/browse/CB-5319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Camera
>Affects Versions: 3.1.0
> Environment: cordova: 3.1.0-0.2.0
> cordova-camera-plugin: 0.2.4
> osx: 10.8.5
> xcode: 5.1.0
>Reporter: Chakib Benziane
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Using the latest version of the camera plugin I get the following error on 
> xCode debugger:
> {code}
> [CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
>   "Camera1090788746",
>   "Camera",
>   "takePicture",
>   [
> 50,
> 1,
> 0,
> -1,
> -1,
> 0,
> 0,
> true,
> false,
> false,
> null,
> 0
>   ]
> ]
> {code}
> When I call the plugin with the following code:
> {code}
> camera.getPicture( onSuccess, onFail, {
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.CAMERA,
> allowEdit: true
>   })
> {code}
> And I get the same error with PHOTOLIBRARY source type



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5224) Fix invalid pattern for testing msbuild availability for wp7 - localization!

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5224:
-

Component/s: WP8

> Fix invalid pattern for testing msbuild availability for wp7 - localization!
> 
>
> Key: CB-5224
> URL: https://issues.apache.org/jira/browse/CB-5224
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaJS, WP8
>Affects Versions: 3.1.0
> Environment: Windows
>Reporter: Natalia Bartol
>Assignee: Jesse MacFadyen
>Priority: Critical
>
> Please take a look at: 
> https://github.com/apache/cordova-wp8/pull/12
> "It looks like the regex used to check if msbuild is in the path is a bit 
> flawed. For example in the italian localization of msbuild the -version 
> command outputs:
> Microsoft (R) Build Engine versione 4.0.30319.17929
> [Microsoft .NET Framework versione 4.0.30319.18051]
> Copyright (C) Microsoft Corporation. Tutti i diritti riservati.
> 4.0.30319.17929
> Locally I have circumvented the error by editing check_reqs.js however it 
> would be better to use a regex that takes into account localized versions of 
> the .net framework"
> Patch is ready - very small change, thus critical priority.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5477:
-

Component/s: WP8

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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5476) use cordova cli create wp8 project failed not support simple chinese windows system

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5476:
-

Component/s: WP8

> use cordova cli create wp8 project failed not support simple chinese windows 
> system
> ---
>
> Key: CB-5476
> URL: https://issues.apache.org/jira/browse/CB-5476
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, WP8
> Environment: windows8(simple Chinese) + vs2012 + wp8 sdk
>Reporter: puchen
>Priority: Critical
>
> 1. install newest cordova CLI use cmd sudo npm install -g cordova@3.2.0 
> 2.  cordova create hello com.example.hello HelloWorld
>  cd hello
>  cordova platform add wp8
> when i cmd  cordova platform add wp8, it occuring errors for this:
> Downloading cordova library for wp8...
> Download complete
> Checking wp8 requirements...
> [Error: Error while checking requirements: Please install the .NET Framwork 
> v4.0.30319 (in the latest windows phone SDK's).
> Make sure the "msbuild" command in your path is pointing to  v4.0.30319 of 
> msbuild as well (inside C:\Windows\Microsoft.NET\Framework\v4.0.30319).
> ]
> D:\VSProject\helloCordova>msbuild
> Microsoft(R) 生成引擎版本 4.0.30319.17929
> this is Checking wp8 requirements error for simple chinese windows system!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5476) use cordova cli create wp8 project failed not support simple chinese windows system

2014-01-08 Thread puchen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866374#comment-13866374
 ] 

puchen commented on CB-5476:


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

> use cordova cli create wp8 project failed not support simple chinese windows 
> system
> ---
>
> Key: CB-5476
> URL: https://issues.apache.org/jira/browse/CB-5476
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: windows8(simple Chinese) + vs2012 + wp8 sdk
>Reporter: puchen
>Priority: Critical
>
> 1. install newest cordova CLI use cmd sudo npm install -g cordova@3.2.0 
> 2.  cordova create hello com.example.hello HelloWorld
>  cd hello
>  cordova platform add wp8
> when i cmd  cordova platform add wp8, it occuring errors for this:
> Downloading cordova library for wp8...
> Download complete
> Checking wp8 requirements...
> [Error: Error while checking requirements: Please install the .NET Framwork 
> v4.0.30319 (in the latest windows phone SDK's).
> Make sure the "msbuild" command in your path is pointing to  v4.0.30319 of 
> msbuild as well (inside C:\Windows\Microsoft.NET\Framework\v4.0.30319).
> ]
> D:\VSProject\helloCordova>msbuild
> Microsoft(R) 生成引擎版本 4.0.30319.17929
> this is Checking wp8 requirements error for simple chinese windows system!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5720.
---

Resolution: Fixed

Code will be included in next release after 0.17.0

> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>Assignee: Andrew Grieve
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866278#comment-13866278
 ] 

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

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

CB-5720 Add example for  on Android


> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>Assignee: Andrew Grieve
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866275#comment-13866275
 ] 

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

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

CB-5720 Tests and formatting tweaks to 


> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Assigned] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread Andrew Grieve (JIRA)

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

Andrew Grieve reassigned CB-5720:
-

Assignee: Andrew Grieve

> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>Assignee: Andrew Grieve
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866274#comment-13866274
 ] 

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

Commit 0d86d67e03be7dba9d80bf1e9c8f7ce8921e5654 in branch refs/heads/master 
from [~ignisvulpis]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=0d86d67 ]

CB-5720 add resource-file to plugin.xml


> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866228#comment-13866228
 ] 

Andrew Grieve commented on CB-5351:
---

I strongly disagree with your thinking. Let's move discussion to the list.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5602) Windows8. Fix File Api mobile spec tests

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866220#comment-13866220
 ] 

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

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

CB-5602 Windows8. Fix File Api mobile spec tests

Applied this from a diff from the patch made to the test in the plugin repo.


> Windows8. Fix File Api mobile spec tests
> 
>
> Key: CB-5602
> URL: https://issues.apache.org/jira/browse/CB-5602
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin File, Windows 8
>Reporter: Sergey Grebnov
>Assignee: Jesse MacFadyen
>
> Right now 10% of the file api mobile spec tests are failed due to issues in 
> File Api implementation on windows8. Sometimes app crashes during tests 
> execution. Must be fixed. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5356) InAppBrowser Events Not Firing Android 2.3.X

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5356:
-

Component/s: Android

> InAppBrowser Events Not Firing Android 2.3.X
> 
>
> Key: CB-5356
> URL: https://issues.apache.org/jira/browse/CB-5356
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaJS, Plugin InAppBrowser
>Affects Versions: 3.1.0
> Environment: Mac OS X 10.9, Android 2.3.4
>Reporter: Tom Bell
>Priority: Blocker
>  Labels: inappbrowser
>
> The InAppBrowser doesn't appear to fire any events on an upgraded 3.0.0 to 
> 3.1.0 project on Android 2.3.X.
> Reference: https://groups.google.com/forum/#!topic/phonegap/e5_5unC2fYs



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-3963) Remove "Command-Line Usage" section; move content to within "Platform Guides"

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3963:
-

Priority: Major  (was: Critical)

> Remove "Command-Line Usage" section; move content to within "Platform Guides"
> -
>
> Key: CB-3963
> URL: https://issues.apache.org/jira/browse/CB-3963
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Since developers can rely on CLI, downplay platform-specific CL utilities.  
> Move summaries from "Command-line Usage" section as appropriate to various 
> Platform Guides.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5356) InAppBrowser Events Not Firing Android 2.3.X

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5356:
-

Priority: Major  (was: Blocker)

> InAppBrowser Events Not Firing Android 2.3.X
> 
>
> Key: CB-5356
> URL: https://issues.apache.org/jira/browse/CB-5356
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaJS, Plugin InAppBrowser
>Affects Versions: 3.1.0
> Environment: Mac OS X 10.9, Android 2.3.4
>Reporter: Tom Bell
>  Labels: inappbrowser
>
> The InAppBrowser doesn't appear to fire any events on an upgraded 3.0.0 to 
> 3.1.0 project on Android 2.3.X.
> Reference: https://groups.google.com/forum/#!topic/phonegap/e5_5unC2fYs



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5002) Input fields cannot be clicked on form with absolute positioning on iOS7

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5002:
-

Priority: Major  (was: Critical)

> Input fields cannot be clicked on form with absolute positioning on iOS7
> 
>
> Key: CB-5002
> URL: https://issues.apache.org/jira/browse/CB-5002
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0, 3.1.0
>Reporter: Tomasz Kalkosiński
>  Labels: ios, ios7
> Fix For: 3.4.0
>
> Attachments: iOS Simulator Screen shot Oct 7, 2013 11.27.06 AM.png, 
> index.html
>
>
> I have a form with position: absolute, on the bottom of a viewport. When I 
> click any field, it triggers touchstart event, keyboard pops up, but field 
> doesn't get click event so it's not focused. It only happens when form is 
> below the keyboard. If I change bottom: 0 to top: 0 and form appears on top 
> of a viewport, everything is fine. This bug doesn't occur on iOS6.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-2630) Add API browser to documentation

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2630:
-

Priority: Major  (was: Critical)

> Add API browser to documentation
> 
>
> Key: CB-2630
> URL: https://issues.apache.org/jira/browse/CB-2630
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Reporter: Benjamin
>Assignee: Michael Brooks
>  Labels: documentation
> Fix For: Master
>
>
> As a new user, browsing documentation by feature is fantastic, but it's 
> difficult to find things when I want to look at the API by object hierarchy. 
> For example, you should be able to see a list of all methods on "navigator" 
> by platform. Something like http://docs.phonegap.com/en/2.5.0/_index.html is 
> somewhat useful, but you cannot drill down into the API and many things 
> aren't listed (navigator.app.loadUrl, for example).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866205#comment-13866205
 ] 

Joe Bowser commented on CB-5351:


The majority of the hooks that we do have are directly related to the android 
lifecycle and intent handling (onPause, onResume, onNewIntent, onDestroy, 
onActivityResult), and WebView state (onReset).  The only other hooks that we 
have is onOverrideUrlLoading and remapUri, and the super powerful onMessage.  
We currently use onMessage to handle the existing Menu events, and we use 
postMessage to display the splashscreen, since the splashscreen has to live in 
the main activity since it needs to exist before everything else.

Basically, unless there's a really good reason for it to exist (i.e. Android 
Lifecycle stuff), we should try to keep using postMessage and onMessage.  
Having a new hook for every event that could ever possibly happen on an 
activity or a WebView will quickly become overkill, since we just need a way to 
pass objects to and from the core code and the plugins.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-2673) add prompt dialog to Notification API

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2673:
-

Component/s: Windows 8

> add prompt dialog to Notification API
> -
>
> Key: CB-2673
> URL: https://issues.apache.org/jira/browse/CB-2673
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows 8
>Reporter: James Jong
>Assignee: James Jong
> Fix For: Master
>
>
> A subtask will be created for each platform/component.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-2685) add prompt dialog to Notification API for WebOS

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866200#comment-13866200
 ] 

Shazron Abdullah commented on CB-2685:
--

Recommend deleting since WebOS is defunct

> add prompt dialog to Notification API for WebOS
> ---
>
> Key: CB-2685
> URL: https://issues.apache.org/jira/browse/CB-2685
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: webOS
>Reporter: James Jong
>Assignee: Herm Wong
> Fix For: Master
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-2681) add prompt dialog to Notification API for Tizen

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866201#comment-13866201
 ] 

Shazron Abdullah commented on CB-2681:
--

Recommend deleting since Tizen platform is defunct (at least for Cordova's 
purposes)

> add prompt dialog to Notification API for Tizen
> ---
>
> Key: CB-2681
> URL: https://issues.apache.org/jira/browse/CB-2681
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Tizen
>Reporter: James Jong
>Assignee: Paul Plaquette
> Fix For: Master
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-2673) add prompt dialog to Notification API

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866199#comment-13866199
 ] 

Shazron Abdullah commented on CB-2673:
--

We probably can get rid of Tizen and WebOS support at this point. Which leaves 
Windows 8.

> add prompt dialog to Notification API
> -
>
> Key: CB-2673
> URL: https://issues.apache.org/jira/browse/CB-2673
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: James Jong
>Assignee: James Jong
> Fix For: Master
>
>
> A subtask will be created for each platform/component.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-3498) Certificate Pinning

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3498:
-

Component/s: iOS
 Android

> Certificate Pinning
> ---
>
> Key: CB-3498
> URL: https://issues.apache.org/jira/browse/CB-3498
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Android, iOS
>Affects Versions: 2.7.0
>Reporter: mgill
>Priority: Minor
>  Labels: certificate, security
>
> It would be a handy feature to have certificate pinning supported
> Examples:
> https://github.com/iSECPartners/ssl-conservatory/tree/master/ios
> https://github.com/moxie0/AndroidPinning



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-4043) Merge master -> 2.9.x and 3.0.0 -> master

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-4043.
--

Resolution: Fixed

> Merge master -> 2.9.x and 3.0.0 -> master
> -
>
> Key: CB-4043
> URL: https://issues.apache.org/jira/browse/CB-4043
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Andrew Grieve
>Assignee: Andrew Grieve
>
> Parent issue
> General steps:
> git pull
> git checkout 2.9.x
> git merge master 
> - resolving conflicts either manually, or by:
>git reset --hard HEAD~1
>git cherry-pick -x COMMIT_THATS_MISSING_AND_CAUSING_CONFLICTS
>git merge master (repeat)
> git checkout master
> git merge 3.0.0
> git push origin master
> git push origin 3.0.0
> git push origin :3.0.0



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-2399) Integrate "Chrome Frame" into cordova-windows (adds WinXP support + webkit/v8 option instead of IE)

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866197#comment-13866197
 ] 

Shazron Abdullah commented on CB-2399:
--

We'd probably go with node-webkit at this point for OS X, Windows and Linux 
support

> Integrate "Chrome Frame" into cordova-windows (adds WinXP support + webkit/v8 
> option instead of IE)
> ---
>
> Key: CB-2399
> URL: https://issues.apache.org/jira/browse/CB-2399
> Project: Apache Cordova
>  Issue Type: New Feature
>Reporter: Jared
>Priority: Minor
>  Labels: feature
>
> Use Google's "Chrome Frame" plugin as a way to get support for pre-IE9 based 
> windows systems. Although Chrome Frame won't work out of the box with 
> embedded webviews according to Frame's FAQ, it is open-source and under a 
> BSD-style license.
> Chrome Frame feels like it would be a rather clever way to get win32 support 
> for setups that don't have IE9 or greater (or for web developers that don't 
> want to rely on the trident rendering engine at all and instead develop 
> against the latest webkit/v8 setup).
> Of course keeping app distributables small is also important since we 
> wouldn't want to distribute a 30MB+ dependency with each app. To solve this, 
> the integration could be designed such that the Chrome Frame framework is 
> downloaded and installed silently in the background and only when 
> needed/requested by the app developer.
> Using Chrome Frame also has the benefit of being distributed and maintained 
> by Google so its in good hands.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4582) crash when calling camera.getPicture

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4582:
-

Component/s: Plugin Camera
 Android

> crash when calling camera.getPicture
> 
>
> Key: CB-4582
> URL: https://issues.apache.org/jira/browse/CB-4582
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Camera
>Affects Versions: 3.0.0
> Environment: Eclipse keppler, Android 4.1.2
>Reporter: Roy Ackermann
>
> Sometimes an error occurs when calling:
> navigator.camera.getPicture(onSuccessCapturePhoto, onFailCamera, { 
> targetWidth: 1200, targetHeight: 1200, quality: 65, destinationType: 
> Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true , 
> correctOrientation:true});
> Trace: error opening trace file: No such file or directory (2)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4678) Add HTTP Auth callback handlers to WebView/Client and delegate to plugins

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4678:
-

Component/s: Android

> Add HTTP Auth callback handlers to WebView/Client and delegate to plugins
> -
>
> Key: CB-4678
> URL: https://issues.apache.org/jira/browse/CB-4678
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Ian Clelland
>
> From this message http://markmail.org/message/5s4e7s5iwbmq46si, there is a 
> use case for intercepting the following two methods in Android:
> - WebViewClient.onReceivedHttpAuthRequest
> - WebView.getHttpAuthUsernamePassword
> We should put in stub methods in CordovaWebView and CordovaWebViewClient, and 
> plumb the callbacks through PluginManager to any interested plugins.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4590) chooseContact in CDVContacts crashes app

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4590:
-

Component/s: Plugin Contacts
 iOS

> chooseContact in CDVContacts crashes app
> 
>
> Key: CB-4590
> URL: https://issues.apache.org/jira/browse/CB-4590
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Contacts
>Affects Versions: 2.9.0
> Environment: iOS 6.1.4 on iPhone 5.
>Reporter: Daniel Morgan
>Priority: Critical
>  Labels: 2.9.0, contacts
>
> Using Cordova 2.9:
> In chooseContact I send the option in JS:
> var contactOptions = {allowsEditing: false};
> with the chooseContacts call, which then causes on line 194 in CDVContacts:
> pickerController.allowsEditing = (BOOL)[options existsValue : @"true" forKey 
> : @"allowsEditing"];
> To crash. When you put a breakpoint in to check the options dictionary it 
> comes back with
> { allowsEditing = 0; }
> and the crash in the logs from this line is:
> -[__NSCFBoolean compare:options:]: unrecognized selector sent to instance 
> 0x3ab59528
> 2013-08-15 10:46:50.081 in uncaughtExceptionHandler
> 2013-08-15 10:46:50.082 *** Terminating app due to uncaught exception 
> 'NSInvalidArgumentException', reason: '-[__NSCFBoolean compare:options:]: 
> unrecognized selector sent to instance 0x3ab59528' First throw call stack:
> (0x327ef3e7 0x3a4ea963 0x327f2f31 0x327f164d 0x32749208 0xc1071 0xc33f7 
> 0x11584d 0x1150e1 0x114cd7 0x114e63 0x114d8d 0x331074a1 0x327c48f7 0x327c415d 
> 0x327c2f2f 0x3273623d 0x327360c9 0x3631533b 0x346522b9 0x5cdf9 0x5cdd0)
> libc++abi.dylib: terminate called throwing an exception 
> If I comment the line out, the code executes with no crashes and I receive 
> the contact viewController, can select a contact and return back successfully 
> with the contacts data. 
> UPDATE: Contact I receive back (when that line is commented out) is a 
> different contact than the one I selected. The contact I receive exists in my 
> contacts though, but for example I choose "Chelsea" it brings back "Corey", 
> both are in my contacts, just different contact than anticipated.
> UPDATE (again): Reason why I was getting the above results is because I was 
> trying to filter with their id to find the contact afterwards. I understand 
> that the chooseContact method returns both (id, contact), but this is also 
> broken. When I print out the contact object in JS, I receive the following: 
> Contact 
> {"id":56,"rawId":null,"displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4542) Build failed during building android

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4542:
-

Component/s: CLI

> Build failed during building android
> 
>
> Key: CB-4542
> URL: https://issues.apache.org/jira/browse/CB-4542
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Shoaib
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I have installed Coredova along with Phonegap and installed node.js in my 
> system(ubuntu)
> by using following commands:
> Install Nodejs http://nodejs.org/
> Install Cordova 3.0.x
>  
>  $ sudo npm install -g cordova
> Install Phone Gap 3.0.x
>  $ sudo npm install -g phonegap
> Then i created project using phonegap command:
>  $ phonegap create hello
> Trying to run into my local by using following command:
>  $ phonegap local run andriod
> Now at first i am getting following error:
>  
> shoaib@shoaib:~/Documents/hello$ phonegap local run android
> [phonegap] adding the Android platform...
> [error] An error occured during creation of android sub-project. 
> /home/shoaib/.cordova/lib/android/cordova/3.0.0/bin/create: line 54: jar: 
> command not found
> This i solved by running following command:
> 
> ls -la /home/shoaib/.cordova/lib/android/cordova/3.0.0/bin
> Now when i again run 
> $ phonegap local run andriod
> I am getting below error:
>  
> root@shoaib:/home/shoaib/Documents/hello# phonegap local run android
> [phonegap] compiling Android...
> [error] An error occurred while building the android project. /bin/sh: 1: 
> /home/shoaib/Documents/hello/platforms/android/cordova/build: not found
> I am using Android SDK 17
> and version as 4.2.2 .
> Any solution for this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4613) Cordova run doesn't support file paths with apostrophes

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4613:
-

Component/s: CLI

> Cordova run doesn't support file paths with apostrophes
> ---
>
> Key: CB-4613
> URL: https://issues.apache.org/jira/browse/CB-4613
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: B T
>Priority: Minor
>
> Environment: Windows 7 32 bit, cordova -v 3.0.6
> Following the guide here: 
> http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html
> Step 1: npm install -g cordova
> Step 2: cordova create hello com.example.hello HelloWorld
> Step 3: cd hello
> Step 4: The following both produce the same error:
>   * cordova platform add android
>   * cordova build
> The error:
> [Error: An error occurred while running the android project. 'H:\billy's' is 
> not recognized as an internal or external c
> ommand,
> operable program or batch file.
> ]
> There is no other output.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4093) Unify Whitelist Implementations

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4093:
-

Component/s: WP8
 WP7
 Windows 8
 OSX
 mobile-spec
 iOS
 BlackBerry
 Android

> Unify Whitelist Implementations
> ---
>
> Key: CB-4093
> URL: https://issues.apache.org/jira/browse/CB-4093
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, BlackBerry, iOS, mobile-spec, OSX, Windows 8, 
> WP7, WP8
>Affects Versions: 3.0.0
>Reporter: Andrew Grieve
>Assignee: Ian Clelland
>
> ML Discussion: http://callback.markmail.org/thread/lqadhj3uqqtmohka
> Summary:
> Ditch the subdomains="true" attribute and standardize on what is described 
> here (minus allowing "chrome-extension" in the scheme):
> http://developer.chrome.com/extensions/match_patterns.html



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4708) injectPluginScript() can't find cordova_plugins.js when app is on an HTML file in a sub folder of www

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4708:
-

Component/s: CordovaJS

> injectPluginScript() can't find cordova_plugins.js when app is on an HTML 
> file in a sub folder of www
> -
>
> Key: CB-4708
> URL: https://issues.apache.org/jira/browse/CB-4708
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS
>Affects Versions: 3.0.0
> Environment: iOS / Xcode 4.6.3 (4H1503)
> OS X 10.8.4
>Reporter: Chris Emerson
>Assignee: Andrew Grieve
>  Labels: cordova_plugins.js,, injectPluginScript, plugins,
>
> Summary: 
> injectPluginScript() can't find cordova_plugins.js when app is on an HTML 
> file in a sub folder of www. 
> Details:
> I've confirmed that the cordova_plugins.js file that sits in the www folder 
> never gets loaded if the app has navigated to an html file in a sub folder of 
> www. 
> In my app/tests I have 14 plugins loading. The [moduleList] object that is 
> instantiated and set in cordova.js confirms this when I check 
> moduleList.length on the initial load of the app. However, when I check after 
> navigating to a html file in a sub folder of www the moduleList object is 
> empty. 
> The final confirmation of my theory/issue is that if I copy the current 
> cordova_plugins.js file to the sub folder where my app has navigated to the 
> moduleList object *does* get populated correctly, the finishPluginLoading() 
> in cordova.js finishes successfully and my plugins are available in the app 
> once again.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4583) onClick

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4583:
-

Component/s: Android

> onClick
> ---
>
> Key: CB-4583
> URL: https://issues.apache.org/jira/browse/CB-4583
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.0.0
> Environment: Eclipse keppler, Android 4.1.2
>Reporter: Roy Ackermann
>
> Sometimes an error occurs when you click the display
> Errors: 
> - singleCursorHandlerTouchEvent -getEditableSupport  FASLE 
> - webcoreglue: Should not happen: no rect-based-test nodes found



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4650:
-

Component/s: WP8
 iOS
 CLI
 BlackBerry
 Android

> Default native project templates should be overridable at project creation 
> time
> ---
>
> Key: CB-4650
> URL: https://issues.apache.org/jira/browse/CB-4650
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, CLI, iOS, WP8
>Affects Versions: 3.0.0
>Reporter: Ian Clelland
>Assignee: Ian Clelland
>
> The default native-code project templates for each platform should not be 
> unconditionally installed by the create scripts.
> There should be a command line option to specify the directory where the 
> project template can be found. If not present, then the default template 
> should be used.
> Custom templates should be subject to the same string substitution as their 
> default counterparts, so that it is easy to start a custom template as a 
> simple copy of the default.
> For platforms with a standard 'create' script, we can add a fourth argument 
> for the project template directory.
> {{bin/create [folder] [[packageName] [[appName] [templateDir]]]}}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4985) ios config.xml file version attribute should map to Version Number not Build number in xCode

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4985:
-

Component/s: iOS

> ios config.xml file version attribute should map to Version Number not Build 
> number in xCode
> 
>
> Key: CB-4985
> URL: https://issues.apache.org/jira/browse/CB-4985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
> Environment: ios
>Reporter: Brian Ritter
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When setting the version number in config.xml in the ./config.xml file, after 
> doing a "cordova prepare ios" command the the xCode (ios) version number 
> should be updated.
> Currently, this is set to the build number which is incorrect.
> I'd like to add a build number to the config file such that there was  a 
> proper build number and version number in the config file refliecte in ios ( 
> xcode ).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5028) Make whitelist rejection pop a visible dialog

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5028:
-

Component/s: iOS

> Make whitelist rejection pop a visible dialog
> -
>
> Key: CB-5028
> URL: https://issues.apache.org/jira/browse/CB-5028
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Tony Hursh
>Priority: Minor
>
> Judging from the number of times it comes up in different forums, whitelist 
> problems seem to be a recurrent pain point for new users. In XCode you get a 
> log message when an URL is rejected (if it's not running in Xcode the app 
> just fails silently, to all appearances). Maybe in addition to the log 
> message, a visible dialog could be popped up. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5108) Create platform specific bootstrap for Windows 8.1

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5108:
-

Component/s: Windows 8
 CordovaJS

> Create platform specific bootstrap for Windows 8.1
> --
>
> Key: CB-5108
> URL: https://issues.apache.org/jira/browse/CB-5108
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaJS, Windows 8
>Reporter: Maxime LUCE
>Assignee: Maxime LUCE
>
> Parent : [CB-5107|https://issues.apache.org/jira/browse/CB-5107]
> Create a new bootstrap for Windows 8.1.
> This new bootstrap must use WinJS 2.0



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5114) Windows 8.1 - Use a new proxy as old geolocation methods is deprecated

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5114:
-

Component/s: Windows 8

> Windows 8.1 - Use a new proxy as old geolocation methods is deprecated
> --
>
> Key: CB-5114
> URL: https://issues.apache.org/jira/browse/CB-5114
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Geolocation, Windows 8
>Reporter: Maxime LUCE
>Assignee: Maxime LUCE
>
> In WinJS 2.0 : Geolocation.Geocoordinate.Latitude, Longitude, Altitude has 
> been replaced by Geolocation.Geopoint.Position.Latitude, ...



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5025) WP7 localStorage.getItem unexpected behaviour.

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5025:
-

Component/s: WP7

> WP7 localStorage.getItem unexpected behaviour.
> --
>
> Key: CB-5025
> URL: https://issues.apache.org/jira/browse/CB-5025
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP7
>Reporter: Elvedin Hamzagic
>Priority: Minor
>  Labels: localStorage
>
> Javascript for WP7 localStorage.getItem returns string 'undefined' when 
> specified key exists and value is undefined. This scenario can be reproduced 
> by adding some key/value to localStorage, then removing it.
> The actual line in code in getItem function, which produce this behaviour, is:
> retVal = window.unescape(decodeURIComponent(this._result));
> The problem is that decodeURIComponent return string 'undefined' when input 
> is undefined, and this should be fixed somehow like this:
> retVal = this._result ? window.unescape(decodeURIComponent(this._result)) : 
> this._result;



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5109) Windows 8.1 - InAppBrowser

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5109:
-

Component/s: Windows 8

> Windows 8.1 - InAppBrowser
> --
>
> Key: CB-5109
> URL: https://issues.apache.org/jira/browse/CB-5109
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin InAppBrowser, Windows 8
>Reporter: Maxime LUCE
>Assignee: Maxime LUCE
>
> In Windows 8.1, there is a new WebView control.
> It can be used to create an InAppBrowser implementation.
> http://msdn.microsoft.com/en-us/library/windows/apps/dn301831.aspx



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5205) cordova command line help doesn't mention 4th argument for template override

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5205:
-

Component/s: CLI

> cordova command line help doesn't mention 4th argument for template override
> 
>
> Key: CB-5205
> URL: https://issues.apache.org/jira/browse/CB-5205
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Raymond Camden
>Priority: Minor
>
> At the command line, when you run "cordova" and get the printed help, the 
> create command does not mention the new (supposedly, it isn't working for me 
> but is documented as fixed) 4th argument to let you override the default 
> template.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5653) [WP8] make visible the version of the Cordova native lib

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5653:
-

Component/s: WP8

> [WP8] make visible the version of the Cordova native lib
> 
>
> Key: CB-5653
> URL: https://issues.apache.org/jira/browse/CB-5653
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: Marcel Kinard
>Priority: Minor
>
> See the parent task.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5652) [Android] make visible the version of the Cordova native lib

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5652:
-

Component/s: Android

> [Android] make visible the version of the Cordova native lib
> 
>
> Key: CB-5652
> URL: https://issues.apache.org/jira/browse/CB-5652
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android
>Reporter: Marcel Kinard
>Priority: Minor
>
> See the parent task.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5110) Create project template for Windows 8.1

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5110:
-

Component/s: Windows 8

> Create project template for Windows 8.1
> ---
>
> Key: CB-5110
> URL: https://issues.apache.org/jira/browse/CB-5110
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Reporter: Maxime LUCE
>Assignee: Maxime LUCE
>
> Create a specific project Template for Windows 8.1.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5379) Runtime discovery of installed plugins

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5379:
-

Component/s: iOS
 BlackBerry
 Android

> Runtime discovery of installed plugins
> --
>
> Key: CB-5379
> URL: https://issues.apache.org/jira/browse/CB-5379
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Android, BlackBerry, iOS
>Reporter: Braden Shepherdson
>Assignee: Braden Shepherdson
> Fix For: 3.4.0
>
>
> We want Cordova apps to be able to query what plugins (and versions) are 
> installed at runtime.
> Plugman is now injecting a tag of the kind:
> {code:xml}
> 
>   
>   
> 
> {code}
> into the platform's config.xml. Each platform should be parsing this and 
> exposing it to native plugins ({{PluginManager.getPluginList()}}, or 
> something like that) and exposing it to Javascript via the following {{exec}} 
> call:
> {code:javascript}
> cordova.exec('CordovaPlugins', 'getPluginList', [], ...);
> {code}
> The format of the exec call's response is a JS object whose keys are plugin 
> IDs and whose values are their versions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5379) Runtime discovery of installed plugins

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5379:
-

Component/s: WP8
 WP7
 Windows 8
 FirefoxOS

> Runtime discovery of installed plugins
> --
>
> Key: CB-5379
> URL: https://issues.apache.org/jira/browse/CB-5379
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Android, BlackBerry, FirefoxOS, iOS, Windows 8, WP7, WP8
>Reporter: Braden Shepherdson
>Assignee: Braden Shepherdson
> Fix For: 3.4.0
>
>
> We want Cordova apps to be able to query what plugins (and versions) are 
> installed at runtime.
> Plugman is now injecting a tag of the kind:
> {code:xml}
> 
>   
>   
> 
> {code}
> into the platform's config.xml. Each platform should be parsing this and 
> exposing it to native plugins ({{PluginManager.getPluginList()}}, or 
> something like that) and exposing it to Javascript via the following {{exec}} 
> call:
> {code:javascript}
> cordova.exec('CordovaPlugins', 'getPluginList', [], ...);
> {code}
> The format of the exec call's response is a JS object whose keys are plugin 
> IDs and whose values are their versions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5208) Adding WP7 platform: when project path contains spaces, .csproj and .sln files have incorrect generic names

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5208:
-

Component/s: WP7

> Adding WP7 platform: when project path contains spaces, .csproj and .sln 
> files have incorrect generic names
> ---
>
> Key: CB-5208
> URL: https://issues.apache.org/jira/browse/CB-5208
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP7
>Affects Versions: 3.1.0
> Environment: Windows 7 64 bit
>Reporter: Natalia Bartol
>
> Create your project in a location that contains space, i.e.
> 'C:\Users\natalia.b\my test workspace'
> Try to add wp7 platform. All seems to be fine, you'll see the log:
> Running bin/create for platform "wp7" with command: 
> ""C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0\wp7\bin\create"  
> "C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7" "org.codova" 
> "mymobile"" (output to follow)
> platformRoot = C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0\wp7
> repoRoot = C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0
> Creating Cordova-WP7 Project:
>   App Name : mymobile
>   Namespace : org.codova
>   Path : C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7
> CREATE SUCCESS :C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7
> But if you take a look at generated files you'll get:
> CordovaWP7AppProj.csproj
> CordovaWP7Solution.sln
> instead of
> mymobile.csproj
> mymobile.sln
> It won't be possible to launch WP7 emulator, as you'll get the error:
> error MSB3202: The project file "C:\Users\natalia.b\my test 
> workspace\mymobile\platforms\wp7\m.csproj" was not found. 
> [C:\Users\natalia.b\my test 
> workspace\mymobile\platforms\wp7\CordovaWP7Solution.sln]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4683) On adding android platform, only system-specific build files are created

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4683:
-

Component/s: CLI

> On adding android platform, only system-specific build files are created
> 
>
> Key: CB-4683
> URL: https://issues.apache.org/jira/browse/CB-4683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: B T
>Assignee: Lorin Beer
>Priority: Minor
>
> When running `cordova platform add android` on Windows, only .bat files are 
> created in platforms/android/cordova . This allows the project to be built on 
> windows *only*, and other platforms (ie linux or mac) have to do additional 
> work to be able to build the project. 
> Cordova CLI should put *all* system's build files into the project so that 
> people can collaborate on Cordova projects across systems without additional 
> effort.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5463) Add Preference for Android 4.4 Chrome Debugging

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5463:
-

Component/s: Android

> Add Preference for Android 4.4 Chrome Debugging
> ---
>
> Key: CB-5463
> URL: https://issues.apache.org/jira/browse/CB-5463
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Android
>Reporter: Joe Bowser
>
> This should be a config.xml preference.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5363) Need a better bug reporting message for when parsing the .cordova/config.json

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5363:
-

Component/s: CLI

> Need a better bug reporting message for when parsing the .cordova/config.json
> -
>
> Key: CB-5363
> URL: https://issues.apache.org/jira/browse/CB-5363
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.1.0
>Reporter: JennyGee
>Priority: Minor
>
> Error is not handled when there is an syntax error in the .JSON file and it 
> spits out garbage that is not indicative of the actual problem. 
> This was encountered especially when there was a single quote instead of 
> double quotes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5265) Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from library makes the status bar style back to black.

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5265:
-

Component/s: Plugins
 iOS

> Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from 
> library makes the status bar style back to black.
> --
>
> Key: CB-5265
> URL: https://issues.apache.org/jira/browse/CB-5265
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugins
>Affects Versions: 3.1.0
> Environment: iOS 7
>Reporter: Daniel Morgan
>  Labels: camera, ios7, statusbar-plugin
>
> We're using a black status bar and the StatusBarStyleLightContent to simulate 
> the pre-iOS 7 status bar with the status bar plugin.  When a user takes a 
> photo or choose from library the status bar style goes back to black; making 
> a black status bar  with black text. My quick fix is to add in CDVCamera 
> under navigationController:willShowViewController:animated to set the status 
> bar style back to white: [[UIApplication sharedApplication] 
> setStatusBarStyle:UIStatusBarStyleLightContent];, but of course this only 
> works for me since I want the status bar style to be white everywhere in my 
> application.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5366) WP8 Media plugin gives Warnings when compiling

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5366:
-

Component/s: WP8
 Plugin Media

> WP8 Media plugin gives Warnings when compiling
> --
>
> Key: CB-5366
> URL: https://issues.apache.org/jira/browse/CB-5366
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, WP8
>Affects Versions: Master, 3.2.0
> Environment: Windows 8 Pro x64
>Reporter: Carlos Santana
>Priority: Minor
>
> When installing media plugin and then doing a build it gives the user 
> warnings.
> To reproduce:
> cordova create mobile-spec
> cd mobile-spec
> cordova platform add wp8
> cordova plugin add org.apache.cordova.media
> cordova build -d
> Warnings below:
> Plugins\org.apache.cordova.media\AudioPlayer.cs(168,13): warning CS0612: 
> 'WPCordovaClassLib.Cordova.Commands.BaseCommand.InvokeCustomScript(WPCordovaClassLib.Cordova.ScriptCallback,
>  bool)' is obsolete
>  
> [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-mobilespec\platforms\wp8\HelloCordova.csproj]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5455) Build Script crashes when using Amazon APIs

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5455:
-

Component/s: Amazon FireOS

> Build Script crashes when using Amazon APIs
> ---
>
> Key: CB-5455
> URL: https://issues.apache.org/jira/browse/CB-5455
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Amazon FireOS
>Reporter: Joe Bowser
>
> See CB-5255, I ran into the same issue when testing FireOS.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5365) WP8 File-Transfer plugin gives Warnings when compiling

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5365:
-

Component/s: WP8
 Plugin File Transfer

> WP8 File-Transfer plugin gives Warnings when compiling
> --
>
> Key: CB-5365
> URL: https://issues.apache.org/jira/browse/CB-5365
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: Master, 3.2.0
> Environment: Windows 8 Pro x64
>Reporter: Carlos Santana
>Priority: Minor
>
> When installing file-transfer plugin and then doing a build it gives the user 
> warnings.
> To reproduce
> cordova create mobile-spec
> cd mobile-spec
> cordova platform add wp8
> cordova plugin add org.apache.cordova.file-transfer
> cordova build -d
> Warnings below:
> Building the projects in this solution one at a time. To enable parallel 
> build, please add the "/m" switch.
> Plugins\org.apache.cordova.file-transfer\FileTransfer.cs(309,30): warning 
> CS0168: The variable 'ex' is declared but never used 
> [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-mobilespec\platforms\wp8\H
> lloCordova.csproj]
> Plugins\org.apache.cordova.file-transfer\FileTransfer.cs(471,30): warning 
> CS0168: The variable 'ex' is declared but never used 
> [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-mobilespec\platforms\wp8\H
> lloCordova.csproj]
> Plugins\org.apache.cordova.file-transfer\FileTransfer.cs(797,30): warning 
> CS0168: The variable 'ex' is declared but never used 
> [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-mobilespec\platforms\wp8\H
> lloCordova.csproj]
> Plugins\org.apache.cordova.file-transfer\FileTransfer.cs(856,30): warning 
> CS0168: The variable 'ex' is declared but never used 
> [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-mobilespec\platforms\wp8\H
> lloCordova.csproj]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866176#comment-13866176
 ] 

Andrew Grieve commented on CB-5351:
---

Hmm, I guess I don't understand what it's for then. Why do you think that it's 
more appropriate? postMessage is harder to discover and untyped. We don't use 
it for the majority of plugin hooks, so why use it for splashscreen and menus 
(or conversely, why not have a single plugin hook that is postMessage instead 
of having what function hooks already exist)

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5488) deviceready event not firing with jQuery Mobile

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5488:
-

Component/s: iOS

> deviceready event not firing with jQuery Mobile
> ---
>
> Key: CB-5488
> URL: https://issues.apache.org/jira/browse/CB-5488
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.1.0
>Reporter: Federico Kereki
>
> If you use PhoneGap + jQuery + jQuery Mobile, the deviceready event doesn't 
> fire. Googling around, I found several similar reports, all pointing out that 
> if jQuery Mobile isn't included, the event fires.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5620) Removing a plugin that is not installed returns a nonsensical message

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5620:
-

Component/s: CLI

> Removing a plugin that is not installed returns a nonsensical message
> -
>
> Key: CB-5620
> URL: https://issues.apache.org/jira/browse/CB-5620
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: JennyGee
>Assignee: Josh Soref
>Priority: Trivial
>
> cordova plugin rm com.blackberry.app
> [Error: Plugin "com.blackberry.app" not added to project.]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5654) [BB10] make visible the version of the Cordova native lib

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5654:
-

Component/s: BlackBerry

> [BB10] make visible the version of the Cordova native lib
> -
>
> Key: CB-5654
> URL: https://issues.apache.org/jira/browse/CB-5654
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Marcel Kinard
>
> See the parent task.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5512) Error updating blackberry10 to 3.2 from 3.1

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5512:
-

Component/s: BlackBerry

> Error updating blackberry10 to 3.2 from 3.1
> ---
>
> Key: CB-5512
> URL: https://issues.apache.org/jira/browse/CB-5512
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.1.0, 3.2.0
>Reporter: Boston Dell-Vandenberg
>
> When running "$ cordova platform update blackberry10" to upgrade from Cordova 
> 3.1 to 3.2 it returns "ReferenceError: target is not defined".
> I was able to successfully update Android and iOS with no errors.
> Here is the full call stack:
> $ cordova platform update blackberry10 --verbose
> cordova library for "blackberry10" already exists. No need to download. 
> Continuing.
> ReferenceError: target is not defined
> at /usr/local/lib/node_modules/cordova/src/platform.js:121:52
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:574:44
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> at Function.Module.runMain (module.js:499:11)
> at startup (node.js:119:16)
> at node.js:901:3



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5265) Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from library makes the status bar style back to black.

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5265:
-

Labels: camera ios7 statusbar-plugin  (was: camera ios7 statusbar)

> Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from 
> library makes the status bar style back to black.
> --
>
> Key: CB-5265
> URL: https://issues.apache.org/jira/browse/CB-5265
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 3.1.0
> Environment: iOS 7
>Reporter: Daniel Morgan
>  Labels: camera, ios7, statusbar-plugin
>
> We're using a black status bar and the StatusBarStyleLightContent to simulate 
> the pre-iOS 7 status bar with the status bar plugin.  When a user takes a 
> photo or choose from library the status bar style goes back to black; making 
> a black status bar  with black text. My quick fix is to add in CDVCamera 
> under navigationController:willShowViewController:animated to set the status 
> bar style back to white: [[UIApplication sharedApplication] 
> setStatusBarStyle:UIStatusBarStyleLightContent];, but of course this only 
> works for me since I want the status bar style to be white everywhere in my 
> application.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5705) Android Library Project

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5705:
-

Component/s: Android

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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5692) Add icon to firefoxos

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5692:
-

Component/s: FirefoxOS

> Add icon to firefoxos
> -
>
> Key: CB-5692
> URL: https://issues.apache.org/jira/browse/CB-5692
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Axel Nennker
>
> Add icons to firefoxos and add "icons" field to manifest.webapp
> https://developer.mozilla.org/en-US/Apps/Developing/Manifest
> "icons": {
>   "30": "icon-30.png",
>   "60": "icon-60.png",
>   "128": "icon-128.png"
> }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5650) make visible the version of the Cordova native lib

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5650:
-

Component/s: WP8
 Ubuntu
 iOS
 BlackBerry
 Android

> make visible the version of the Cordova native lib
> --
>
> Key: CB-5650
> URL: https://issues.apache.org/jira/browse/CB-5650
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, iOS, Ubuntu, WP8
>Reporter: Marcel Kinard
>Priority: Minor
>
> We recently had a situation where a consumer had mismatched the runtime: one 
> version of cordova.js and another version of the Cordova native code. The 
> consumer gave us their compiled app, so we didn't have access to the native's 
> source in the project. We had an idea that it would be nice if the native 
> code compiled in some marker so we could tell what version it was without the 
> source. Perhaps issue a log on startup saying "Greetings from Cordova native 
> code 3.2.0", or have something compiled in that would appear in "strings 
> cordova.jar | grep version".
> See some discussion at http://markmail.org/thread/m4h4csvcq4cs3dcr



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5655) [Ubuntu] make visible the version of the Cordova native lib

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5655:
-

Component/s: Ubuntu

> [Ubuntu] make visible the version of the Cordova native lib
> ---
>
> Key: CB-5655
> URL: https://issues.apache.org/jira/browse/CB-5655
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Ubuntu
>Reporter: Marcel Kinard
>
> See parent task.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5706) Make cordova-ios/bin/create work on Windows

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5706:
-

Component/s: iOS

> Make cordova-ios/bin/create work on Windows
> ---
>
> Key: CB-5706
> URL: https://issues.apache.org/jira/browse/CB-5706
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Reporter: kpandian
>Priority: Minor
>
>  I try to create the ios app the following error generate. So pls the 
> solutions.
> C:\Documents and 
> Settings\Administrator\.cordova\lib\ios\cordova\3.3.0\bin\cre
> ate"' is not recognized as an internal or external command
> operable program or batch file.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4670) Navigating between pages in WebView does not trigger Talkback

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4670:
-

Component/s: Android

> Navigating between pages in WebView does not trigger Talkback
> -
>
> Key: CB-4670
> URL: https://issues.apache.org/jira/browse/CB-4670
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>  Labels: Accessibility
> Fix For: 3.4.0
>
>
> When using Mobile-Spec with Talkback, talkback does not work when going from 
> page to page.  This should be automatically handled by the WebView or the 
> browser.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4669) Talkback Accessibility Tool correctly calls the Splashscreen an Alert

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4669:
-

Component/s: Android

> Talkback Accessibility Tool correctly calls the Splashscreen an Alert
> -
>
> Key: CB-4669
> URL: https://issues.apache.org/jira/browse/CB-4669
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>  Labels: Accessibility
> Fix For: 3.4.0
>
>
> The splashscreen currently is a dialog, which the Talkback tool calls 
> "Alert".  This is distracting, and this should actually be the title of the 
> application, which is what happens when the application actually loads.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4880) add releasenotes.md for blackberry

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4880:
-

Component/s: BlackBerry

> add releasenotes.md for blackberry
> --
>
> Key: CB-4880
> URL: https://issues.apache.org/jira/browse/CB-4880
> Project: Apache Cordova
>  Issue Type: Task
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Lorin Beer
>Priority: Minor
> Fix For: 3.4.0
>
>
> as per http://wiki.apache.org/cordova/IOSReleaseChecklist
> BlackBerry platform requires a releasenotes.md file with filtered list of 
> commit logs.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4794) [ios] should be able to open links in Safari without needing InAppBrowser plugin

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4794:
-

Component/s: Plugin InAppBrowser

> [ios] should be able to open links in Safari without needing InAppBrowser 
> plugin
> 
>
> Key: CB-4794
> URL: https://issues.apache.org/jira/browse/CB-4794
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: CLI 3.0.9, Xcode 5.0, OSX 10.8.4
>Reporter: Owen
>
> #CB-362 seems to suggest 'external' links are only possible with 
> 'InApp'Browser plugin. The language use is not intuitive, and is not 
> mentioned in the docs. Also it would be beneficial not to need a plugin for 
> basic link behaviour.
> Tested using (whitelist="*"):
> http://www.google.com"; target="_system">_system
> http://www.google.com"; target="_blank">_blank
> Both open in current window.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4508) [BlackBerry10] Move unit tests to plugin repos

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4508:
-

Component/s: BlackBerry

> [BlackBerry10] Move unit tests to plugin repos
> --
>
> Key: CB-4508
> URL: https://issues.apache.org/jira/browse/CB-4508
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
>Priority: Minor
> Fix For: 3.4.0
>
>
> Removing them from cordova-blackberry:
> https://github.com/blackberry/cordova-blackberry/commit/349ed2dc08f35078b2b5634e836e1fe7f5169633



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5720) Add resource-file element to plugin.xml

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5720:
-

Component/s: Plugman

> Add resource-file element to plugin.xml
> ---
>
> Key: CB-5720
> URL: https://issues.apache.org/jira/browse/CB-5720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Axel Nennker
>
> Add support for  to a 
> plugin's plugin.xml
> The above example would copy the file glass.xml from the plugin's directory 
> to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in 
> res/xml or other directories.
> An example for Android would be an authenticator that is specified in 
> AndroidManifest.xml



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Comment Edited] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866167#comment-13866167
 ] 

Joe Bowser edited comment on CB-5351 at 1/9/14 1:23 AM:


I completely disagree.  I feel that postMessage is far more clean than adding 
new plugin functions, especially for this use case, which is already being done 
for splashScreen and the Menu.


was (Author: bowserj):
I completely disagree.  I feel that postMessage is far more clean than adding 
new plugin functions.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866167#comment-13866167
 ] 

Joe Bowser commented on CB-5351:


I completely disagree.  I feel that postMessage is far more clean than adding 
new plugin functions.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866155#comment-13866155
 ] 

Andrew Grieve commented on CB-5351:
---

Had a look a the plugin as well - seems the ask is to expose the context menu 
functions to plugins (seems reasonable to me). Probably we'd do this as new 
plugin functions rather than as postMessage() events. I think postMessage() is 
mainly for plugin->plugin communication.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866141#comment-13866141
 ] 

Joe Bowser commented on CB-5351:


Yeah, I saw that. It looks like based on the plugin that you could attach a 
Context Menu to literally anything.  

On another note, have you thought about trying to get this added to core? There 
would have to be a Windows Phone version for this at the very least, but you 
already have the iOS and Android ones.

> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866130#comment-13866130
 ] 

Abel Muiño commented on CB-5351:


Is the referenced plugin source code enough? If not, could you please elaborate 
on what would you need?

https://github.com/amuino/cordova-actionsheet/

An example of use would be tapping an item on a list an displaying available 
actions. In native apps this menu is usually triggered by long-tapping the 
element.

--
Typos courtesy of my iPhone



> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4524) .NET Framework version detected incorrectly

2014-01-08 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866067#comment-13866067
 ] 

Shazron Abdullah commented on CB-4524:
--

Was this resolved in 3.1.0 (per the FixVersion?) If not, should update 
FixVersion or remove it

> .NET Framework version detected incorrectly
> ---
>
> Key: CB-4524
> URL: https://issues.apache.org/jira/browse/CB-4524
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7, WP8
>Affects Versions: 3.0.0
> Environment: Windows 8, Visual Studio 2012, Windows Phone 8 SDK
> Microsoft (R)-Buildmodul, Version 4.0.30319.17929
> Microsoft .NET Framework, Version 4.0.30319.18051
>Reporter: Wolfgang Koller
>Assignee: Jesse MacFadyen
>  Labels: cordova, cordova-cli, framework, net-4.0
> Fix For: 3.1.0
>
>
> The project fails to create even though I have the latest Windows Phone 8 SDK 
> installed, including the correct .NET Framework version. This is caused by 
> the invalid regular expression to check the version number.
> On line 78 of "\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs.js" there is 
> a check for "version", however in my installed msbuild command the version is 
> output using an upper case 'V'. I guess this might be due to the German 
> version of the .NET Framework?!
> Changing the check to be case insensitive would certainly solve the problem, 
> although other language issues should be considered as well (e.g. if the word 
> "version" is written differently).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-2293) File Transfer of picture fails on every other picture

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2293:
-

Fix Version/s: (was: 2.8.0)

Since this was re-opened, removed FixVersion of 2.8.0

> File Transfer of picture fails on every other picture
> -
>
> Key: CB-2293
> URL: https://issues.apache.org/jira/browse/CB-2293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin File Transfer
>Affects Versions: 2.2.0, 2.3.0
> Environment: Tested on a Motorola Atrix HD(Android 4.1.2) as well as 
> a Samsung Galaxy S3(Android 4.1.1)
>Reporter: Amrit Kahlon
>Assignee: Ian Clelland
> Attachments: cordova-2.4.0rc1.jar
>
>
> When uploading pictures using the File Transfer function on android, the 
> first picture will upload fine. Then the second upload will give the 
> following error:
> 01-21 13:48:02.545: W/FileTransfer(8894): Error getting HTTP status code from 
> connection.
> 01-21 13:48:02.545: W/FileTransfer(8894): java.io.EOFException
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.io.Streams.readAsciiLine(Streams.java:203)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.createFileTransferError(FileTransfer.java:535)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.access$500(FileTransfer.java:62)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer$1.run(FileTransfer.java:437)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.lang.Thread.run(Thread.java:856)
> 01-21 13:48:02.555: E/FileTransfer(8894): 
> {"target":"http:\/\/xxx.xxx.xxx\/api\/photo_uploads\/create?version=2&api_key=x&source=androidapp-2.2.1","source":"file:\/\/\/storage\/sdcard0\/Android\/data\/com.hockeycommunity.hc_app\/cache\/resize.jpg?1358804880392","code":3}
> 01-21 13:48:02.555: E/FileTransfer(8894): java.net.SocketException: sendto 
> failed: EPIPE (Broken pipe)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:506)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.sendto(IoBridge.java:475)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.write(PlainSocketImpl.java:508)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:270)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.net.http.FixedLengthOutputStream.write(FixedLengthOutputStream.java:41)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.io.DataOutputStream.write(DataOutputStream.java:98)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer$1.run(FileTransfer.java:372)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.lang.Thread.run(Thread.java:856)
> 01-21 13:48:02.555: E/FileTransfer(8894): Caused by: 
> libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.Posix.sendtoBytes(Native Method)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.Posix.sendto(Posix.java:146)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.sendto(IoBridge.java:473)
> 01-21 13:48:02.555: E/FileTransfer(8894): ... 9 more
> 01-21 13:48:02.575: D/CordovaLog(8894): error: 
> {"code":3,"source":"file:///storage/sdcard0/Android/data/com.hockeycommunity.hc_app/cache/resize.jpg?13588048803

[jira] [Created] (CB-5748) Media status change not reported on recording start.

2014-01-08 Thread Niels Snoeck (JIRA)
Niels Snoeck created CB-5748:


 Summary: Media status change not reported on recording start.
 Key: CB-5748
 URL: https://issues.apache.org/jira/browse/CB-5748
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Media
Reporter: Niels Snoeck
Priority: Minor


The {{mediaStatus}} callback is not executed when audio recording starts on 
iOS. Expected behavior is to receive a call with the only parameter set to 
{{Media.MEDIA_RUNNING}}, equivalent to the behavior on Android.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5748) Media status change not reported on recording start.

2014-01-08 Thread Niels Snoeck (JIRA)

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

Niels Snoeck updated CB-5748:
-

Affects Version/s: 3.3.0

> Media status change not reported on recording start.
> 
>
> Key: CB-5748
> URL: https://issues.apache.org/jira/browse/CB-5748
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin Media
>Affects Versions: 3.3.0
>Reporter: Niels Snoeck
>Priority: Minor
>
> The {{mediaStatus}} callback is not executed when audio recording starts on 
> iOS. Expected behavior is to receive a call with the only parameter set to 
> {{Media.MEDIA_RUNNING}}, equivalent to the behavior on Android.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5351) Support context menu plugins with postMessage

2014-01-08 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865908#comment-13865908
 ] 

Joe Bowser commented on CB-5351:


I'm having a tricky time seeing how this use case would work. Where would we 
see the ContextMenus in Cordova? An example of this use case would help so that 
I can write tests against this.


> Support context menu plugins with postMessage
> -
>
> Key: CB-5351
> URL: https://issues.apache.org/jira/browse/CB-5351
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: Master
>Reporter: Abel Muiño
>Assignee: Joe Bowser
>
> There is [support in 
> `CordovaActivity`|https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaActivity.java#L1006-L1026]
>  for menu plugins.
> It would be great to have the same support for context menus. Currently we 
> need to tell the user to [modify their class in a similar 
> way|https://github.com/amuino/cordova-actionsheet/blob/master/plugin.xml#L29-L50].



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc

2014-01-08 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5504.


Resolution: Fixed

OK, I think we tied up all the loose ends finally.  We can close this.

> Telephone events are handled by the Device plugin, but Media needs them to 
> know to pause on incoming calls, etc
> ---
>
> Key: CB-5504
> URL: https://issues.apache.org/jira/browse/CB-5504
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Docs, Plugin Device, Plugin Media
>Affects Versions: 3.1.0
>Reporter: Tommy-Carlos Williams
>Assignee: Joe Bowser
>
> There is a telephony receiver in the Device plugin that sends a message to 
> all plugins so that they can handle incoming calls etc.
> Currently the only core plugin that listens for those messages is the Media 
> plugin so that it can pause playback when a call comes in.
> There is no documentation for this (before the great plugin break out, there 
> didn't need to be) so if you just add the Media plugin, audio playback does 
> not pause on an incoming or outgoing phone call.
> I am not advocating moving this into Media as there might be third party 
> plugins listening for this. However, I do think that at the least this needs 
> to be documented in the docs for the Media plugin/api and possibly even have 
> Device as a dependancy for Media.
> There's another bug that is related involving android permissions but I will 
> lodge that separately. (See: 
> [CB-5505|https://issues.apache.org/jira/browse/CB-5505])



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865892#comment-13865892
 ] 

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

Commit 0777a660bfba88bf8903b83e44e750747c9717b4 in branch refs/heads/master 
from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=0777a66 ]

CB-5504: Adding onDestroy to app plugin to deregister telephonyReceiver


> Telephone events are handled by the Device plugin, but Media needs them to 
> know to pause on incoming calls, etc
> ---
>
> Key: CB-5504
> URL: https://issues.apache.org/jira/browse/CB-5504
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Docs, Plugin Device, Plugin Media
>Affects Versions: 3.1.0
>Reporter: Tommy-Carlos Williams
>Assignee: Joe Bowser
>
> There is a telephony receiver in the Device plugin that sends a message to 
> all plugins so that they can handle incoming calls etc.
> Currently the only core plugin that listens for those messages is the Media 
> plugin so that it can pause playback when a call comes in.
> There is no documentation for this (before the great plugin break out, there 
> didn't need to be) so if you just add the Media plugin, audio playback does 
> not pause on an incoming or outgoing phone call.
> I am not advocating moving this into Media as there might be third party 
> plugins listening for this. However, I do think that at the least this needs 
> to be documented in the docs for the Media plugin/api and possibly even have 
> Device as a dependancy for Media.
> There's another bug that is related involving android permissions but I will 
> lodge that separately. (See: 
> [CB-5505|https://issues.apache.org/jira/browse/CB-5505])



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4862:
-

Labels: ios7 keyboard-plugin  (was: ios7)

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Reopened] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reopened CB-4862:
--


> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5747) Windows 8: DirectoryEntry.getDirectory fails when path contains directory separator

2014-01-08 Thread Matti Eerola (JIRA)

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

Matti Eerola updated CB-5747:
-

Description: 
Code:
{code:javascript}
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo/bar', {create:true}, function(newDir){

});
  });
{code}

Problem:
The directory separator for File Api is '/' (U+002F). So 'foo/bar' argument 
should be correct. src/windows8/FileProxy.js passes path attribute directly to 
storageFolder.createFolderAsync that uses backslash '\' (U+005c) as directory 
separator. The result is invalid path error from createFolderAsync.

This code works, but is nonstandard:
{code:javascript}
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo\\bar', {create:true}, function(newDir){

});
  });
{code}

  was:
Code:
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo/bar', {create:true}, function(newDir){

});
  });

Problem:
The directory separator for File Api is '/' (U+002F). So 'foo/bar' argument 
should be correct. src/windows8/FileProxy.js passes path attribute directly to 
storageFolder.createFolderAsync that uses backslash '\' (U+005c) as directory 
separator. The result is invalid path error from createFolderAsync.

This code works, but is nonstandard:
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo\\bar', {create:true}, function(newDir){

});
  });


added formatting

> Windows 8: DirectoryEntry.getDirectory fails when path contains directory 
> separator
> ---
>
> Key: CB-5747
> URL: https://issues.apache.org/jira/browse/CB-5747
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Windows 8
>Affects Versions: 3.3.0
> Environment: Windows 8.0 
>Reporter: Matti Eerola
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> Code:
> {code:javascript}
>   window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
> function(fs){
> fs.root.getDirectory('foo/bar', {create:true}, function(newDir){
> });
>   });
> {code}
> Problem:
> The directory separator for File Api is '/' (U+002F). So 'foo/bar' argument 
> should be correct. src/windows8/FileProxy.js passes path attribute directly 
> to storageFolder.createFolderAsync that uses backslash '\' (U+005c) as 
> directory separator. The result is invalid path error from createFolderAsync.
> This code works, but is nonstandard:
> {code:javascript}
>   window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
> function(fs){
> fs.root.getDirectory('foo\\bar', {create:true}, function(newDir){
> });
>   });
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-3481) MobileSpec - Compass test fails on all tests when device doesn't have compass support

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3481:
-

Fix Version/s: (was: 2.7.0)
   3.4.0

> MobileSpec - Compass test fails on all tests when device doesn't have compass 
> support
> -
>
> Key: CB-3481
> URL: https://issues.apache.org/jira/browse/CB-3481
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: compass, test
> Fix For: 3.4.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When the compass hardware is not supported on a device all of the compass 
> related tests will fail.  Rather than fail them all, fail the hardware check 
> and give the user a helpful message as to why the test failed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3481) MobileSpec - Compass test fails on all tests when device doesn't have compass support

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865852#comment-13865852
 ] 

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

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

CB-3481: Fixed the compass not supported issue

- added a new jasmine test to check if the compass hardware is supported
- added a custom matcher that trys to run a compass command, if a
COMPASS_NOT_SUPPORTED error is caught then the device doesn't support
compass.
- on failure of the hardware check, none of the other compass tests are
ran and a friendly message is shown to the user


> MobileSpec - Compass test fails on all tests when device doesn't have compass 
> support
> -
>
> Key: CB-3481
> URL: https://issues.apache.org/jira/browse/CB-3481
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: compass, test
> Fix For: 3.4.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When the compass hardware is not supported on a device all of the compass 
> related tests will fail.  Rather than fail them all, fail the hardware check 
> and give the user a helpful message as to why the test failed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-3481) MobileSpec - Compass test fails on all tests when device doesn't have compass support

2014-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-3481.
--

Resolution: Fixed

> MobileSpec - Compass test fails on all tests when device doesn't have compass 
> support
> -
>
> Key: CB-3481
> URL: https://issues.apache.org/jira/browse/CB-3481
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: compass, test
> Fix For: 3.4.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When the compass hardware is not supported on a device all of the compass 
> related tests will fail.  Rather than fail them all, fail the hardware check 
> and give the user a helpful message as to why the test failed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-5747) Windows 8: DirectoryEntry.getDirectory fails when path contains directory separator

2014-01-08 Thread Matti Eerola (JIRA)
Matti Eerola created CB-5747:


 Summary: Windows 8: DirectoryEntry.getDirectory fails when path 
contains directory separator
 Key: CB-5747
 URL: https://issues.apache.org/jira/browse/CB-5747
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Affects Versions: 3.3.0
 Environment: Windows 8.0 
Reporter: Matti Eerola
Assignee: Jesse MacFadyen
Priority: Minor


Code:
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo/bar', {create:true}, function(newDir){

});
  });

Problem:
The directory separator for File Api is '/' (U+002F). So 'foo/bar' argument 
should be correct. src/windows8/FileProxy.js passes path attribute directly to 
storageFolder.createFolderAsync that uses backslash '\' (U+005c) as directory 
separator. The result is invalid path error from createFolderAsync.

This code works, but is nonstandard:
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 5*1024*1024*1024, 
function(fs){
fs.root.getDirectory('foo\\bar', {create:true}, function(newDir){

});
  });



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4910) Request to reorganise configuration files

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865832#comment-13865832
 ] 

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

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

CB-4910 Update docs for CLI moving www/config.xml -> config.xml


> Request to reorganise configuration files
> -
>
> Key: CB-4910
> URL: https://issues.apache.org/jira/browse/CB-4910
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: CLI, Docs
>Reporter: Matt Gaunt
>
> What would be useful for future versions of Cordova projects built with the 
> cordova-cli is:
> 1.) Rename ".cordova" folder to simply "cordova" this means hosting projects 
> on github will more that likely include the cordova directory
> 2.) Move the config.xml file from the www diretory into the cordova directory 
> allowing build steps / tasks / tools to replace the contents of www without 
> breaking the build



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5602) Windows8. Fix File Api mobile spec tests

2014-01-08 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865790#comment-13865790
 ] 

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

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

Revert "Merge branch 'CB-5602' of 
https://github.com/sgrebnov/cordova-mobile-spec";

This reverts commit 0602f126abeab2f07af540b791c820b0ff5178e9, reversing
changes made to a8340a5063dc2a51dbb3f7eb88fe25646fe7c20b.


> Windows8. Fix File Api mobile spec tests
> 
>
> Key: CB-5602
> URL: https://issues.apache.org/jira/browse/CB-5602
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin File, Windows 8
>Reporter: Sergey Grebnov
>Assignee: Jesse MacFadyen
>
> Right now 10% of the file api mobile spec tests are failed due to issues in 
> File Api implementation on windows8. Sometimes app crashes during tests 
> execution. Must be fixed. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


  1   2   >