[jira] [Comment Edited] (CB-13424) [cordova-osx] Not adding plugins to the osx platform

2018-07-02 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra edited comment on CB-13424 at 7/2/18 6:48 AM:
---

bq. As a side question, do you happen to know why the PR says closed instead of 
merged?

I uses coho to prepare the PR. coho adds a {{This closes #32}} to the commit 
message:
https://github.com/apache/cordova-common/commit/7bf9627f0135c6b3518292660b6e07e6f5815926

which then automatically closes the PR. 


was (Author: tripod):
bq. As a side question, do you happen to know why the PR says closed instead of 
merged?

I uses coho to prepare the PR. coho adds a {{This closes #32}} to the commit 
message:
https://github.com/apache/cordova-common/commit/7bf9627f0135c6b3518292660b6e07e6f5815926



> [cordova-osx] Not adding plugins to the osx platform
> 
>
> Key: CB-13424
> URL: https://issues.apache.org/jira/browse/CB-13424
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Reporter: José Expósito
>Assignee: Tobias Bocanegra
>Priority: Blocker
>
> cordova plugin add does not work on macOS.
> It is necessary to open "platforms/osx/HelloCordova.xcodeproj" and manually 
> add the plugin to "platforms/osx/HelloCordova/config.xml":
> {code}
> 
>  xmlns="http://www.w3.org/ns/widgets; 
> xmlns:cdv="http://cordova.apache.org/ns/1.0;>
> [...]
> 
> 
> 
> [...]
> 
> {code}
> I noticed this happens with Cordova core plugins with official macOS support 
> like cordova-plugin-device or cordova-plugin-file.
> Also experimented while migrating cordova-plugin-camera:
> https://github.com/apache/cordova-plugin-camera/pull/290



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13424) [cordova-osx] Not adding plugins to the osx platform

2018-07-02 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra commented on CB-13424:
---

bq. As a side question, do you happen to know why the PR says closed instead of 
merged?

I uses coho to prepare the PR. coho adds a {{This closes #32}} to the commit 
message:
https://github.com/apache/cordova-common/commit/7bf9627f0135c6b3518292660b6e07e6f5815926



> [cordova-osx] Not adding plugins to the osx platform
> 
>
> Key: CB-13424
> URL: https://issues.apache.org/jira/browse/CB-13424
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Reporter: José Expósito
>Assignee: Tobias Bocanegra
>Priority: Blocker
>
> cordova plugin add does not work on macOS.
> It is necessary to open "platforms/osx/HelloCordova.xcodeproj" and manually 
> add the plugin to "platforms/osx/HelloCordova/config.xml":
> {code}
> 
>  xmlns="http://www.w3.org/ns/widgets; 
> xmlns:cdv="http://cordova.apache.org/ns/1.0;>
> [...]
> 
> 
> 
> [...]
> 
> {code}
> I noticed this happens with Cordova core plugins with official macOS support 
> like cordova-plugin-device or cordova-plugin-file.
> Also experimented while migrating cordova-plugin-camera:
> https://github.com/apache/cordova-plugin-camera/pull/290



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-14099) Cordova OSX - Apps not working with Plugins

2018-06-26 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra updated CB-14099:
--
Component/s: cordova-common

> Cordova OSX - Apps not working with Plugins
> ---
>
> Key: CB-14099
> URL: https://issues.apache.org/jira/browse/CB-14099
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-common, cordova-osx
> Environment: Cordova 8.0
> osx "El capitan"
>  
>Reporter: Jose Antonio Silva Korhonen
>Assignee: Tobias Bocanegra
>Priority: Major
> Fix For: Master
>
>
> It's not possible to get any app with any compatible plugins working on osx.
> 1 - Create a barebone Cordova App
>  * cordova create myapp org.apache.myapp myapp
> 2 - Add osx platform
>  * cordova platform add osx
> 3 - Add any plugin compatible with osx, for example cordova-plugin-file
>  * cordova plugin add cordova-plugin-file
> 4 - Run the App
>  * cordova run osx
> 5 - The App doesn't trigger "device ready"
>   The app stays on the state "CONNECTING TO DEVICE" for ever.
>   It's expect that is shown "DEVICE IS READY". If you remove all plugins from 
> the app then "DEVICE IS READY" is shown
>  
> On older versions of cordova osx this procedure worked.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-14099) Cordova OSX - Apps not working with Plugins

2018-06-26 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra resolved CB-14099.
---
   Resolution: Fixed
Fix Version/s: Master

> Cordova OSX - Apps not working with Plugins
> ---
>
> Key: CB-14099
> URL: https://issues.apache.org/jira/browse/CB-14099
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-common, cordova-osx
> Environment: Cordova 8.0
> osx "El capitan"
>  
>Reporter: Jose Antonio Silva Korhonen
>Assignee: Tobias Bocanegra
>Priority: Major
> Fix For: Master
>
>
> It's not possible to get any app with any compatible plugins working on osx.
> 1 - Create a barebone Cordova App
>  * cordova create myapp org.apache.myapp myapp
> 2 - Add osx platform
>  * cordova platform add osx
> 3 - Add any plugin compatible with osx, for example cordova-plugin-file
>  * cordova plugin add cordova-plugin-file
> 4 - Run the App
>  * cordova run osx
> 5 - The App doesn't trigger "device ready"
>   The app stays on the state "CONNECTING TO DEVICE" for ever.
>   It's expect that is shown "DEVICE IS READY". If you remove all plugins from 
> the app then "DEVICE IS READY" is shown
>  
> On older versions of cordova osx this procedure worked.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14099) Cordova OSX - Apps not working with Plugins

2018-06-26 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra commented on CB-14099:
---

thanks [~erisu]. you're correct it fails for me, too.

with the fix of the PR, it works.

> Cordova OSX - Apps not working with Plugins
> ---
>
> Key: CB-14099
> URL: https://issues.apache.org/jira/browse/CB-14099
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
> Environment: Cordova 8.0
> osx "El capitan"
>  
>Reporter: Jose Antonio Silva Korhonen
>Assignee: Tobias Bocanegra
>Priority: Major
>
> It's not possible to get any app with any compatible plugins working on osx.
> 1 - Create a barebone Cordova App
>  * cordova create myapp org.apache.myapp myapp
> 2 - Add osx platform
>  * cordova platform add osx
> 3 - Add any plugin compatible with osx, for example cordova-plugin-file
>  * cordova plugin add cordova-plugin-file
> 4 - Run the App
>  * cordova run osx
> 5 - The App doesn't trigger "device ready"
>   The app stays on the state "CONNECTING TO DEVICE" for ever.
>   It's expect that is shown "DEVICE IS READY". If you remove all plugins from 
> the app then "DEVICE IS READY" is shown
>  
> On older versions of cordova osx this procedure worked.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14099) Cordova OSX - Apps not working with Plugins

2018-06-26 Thread Tobias Bocanegra (JIRA)


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

Tobias Bocanegra commented on CB-14099:
---

[~jask] I tested your steps above with and without the changes of 
https://github.com/apache/cordova-common/pull/32 and in both cases I couldn't 
reproduce your problems.

> Cordova OSX - Apps not working with Plugins
> ---
>
> Key: CB-14099
> URL: https://issues.apache.org/jira/browse/CB-14099
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
> Environment: Cordova 8.0
> osx "El capitan"
>  
>Reporter: Jose Antonio Silva Korhonen
>Assignee: Tobias Bocanegra
>Priority: Major
>
> It's not possible to get any app with any compatible plugins working on osx.
> 1 - Create a barebone Cordova App
>  * cordova create myapp org.apache.myapp myapp
> 2 - Add osx platform
>  * cordova platform add osx
> 3 - Add any plugin compatible with osx, for example cordova-plugin-file
>  * cordova plugin add cordova-plugin-file
> 4 - Run the App
>  * cordova run osx
> 5 - The App doesn't trigger "device ready"
>   The app stays on the state "CONNECTING TO DEVICE" for ever.
>   It's expect that is shown "DEVICE IS READY". If you remove all plugins from 
> the app then "DEVICE IS READY" is shown
>  
> On older versions of cordova osx this procedure worked.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-10601) AppStore rejects cordova-osx application

2018-04-17 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10601:
---

bq. ...don't even own an apple device. 

:-) ok. but somehow you need to build the app and then upload it to the App 
Store. AFAIK, this is only possible using XCode on a Mac. So if you really want 
to have your app supporting macOS, you should have the hardware to build and 
test it.

bq. Is there a better place to find some in the community ...

I would try the cordova dev list: https://cordova.apache.org/contact/
I don't think that many read those jira issue comments :-)



> AppStore rejects cordova-osx application
> 
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>  Labels: triaged
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-10601) AppStore rejects cordova-osx application

2018-04-16 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10601:
---

Hi,
I'm happy to review and apply a patch :-) It shouldn't be too difficult to quit 
the application if the main window is closed.
This should probably already be enough to get the app passing the App store 
validation.



> AppStore rejects cordova-osx application
> 
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>  Labels: triaged
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13825) Outdated node_modules

2018-01-30 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-13825.
---
   Resolution: Fixed
Fix Version/s: 4.1.0

> Outdated node_modules
> -
>
> Key: CB-13825
> URL: https://issues.apache.org/jira/browse/CB-13825
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.1.0
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
>Priority: Major
> Fix For: 4.1.0
>
>
> Commit  [f7db769af|https://github.com/apache/cordova-osx/pull/43] updated 
> cordova-common to v2.1.0 without updating node_modules. This means that 
> pinning cordova-osx to the github repo in config.xml fails to install plugins 
> with the following error:
> Installing "cordova-plugin-whitelist" for osx
>  Failed to install 'cordova-plugin-whitelist':TypeError: Cannot read property 
> 'get' of undefined
>  at Api.addPlugin (platforms/osx/cordova/Api.js:187:25)
>  at handleInstall (cordova-lib/src/plugman/install.js:611:6)
>  at node_modules/cordova-lib/src/plugman/install.js:407:28
>  at _fulfilled (node_modules/cordova-lib/node_modules/q/q.js:787:54)
>  at self.promiseDispatch.done 
> (node_modules/cordova-lib/node_modules/q/q.js:816:30)
>  at Promise.promise.promiseDispatch 
> (node_modules/cordova-lib/node_modules/q/q.js:749:13)
>  at node_modules/cordova-lib/node_modules/q/q.js:509:49
>  at flush (node_modules/cordova-lib/node_modules/q/q.js:108:17)
>  at _combinedTickCallback (internal/process/next_tick.js:131:7)
>  at process._tickCallback (internal/process/next_tick.js:180:9)
>  Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You 
> might need to try adding it again. Error: TypeError: Cannot read property 
> 'get' of undefined
>  
> A straightforward solution would be to update node_modules (cordova-ios seems 
> to do this regularly). Could we use a dependency manager (e.g. yarn)? Any 
> other suggestions?
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13824) (Swift 4) Plugin class not found

2018-01-30 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-13824.
---
   Resolution: Fixed
Fix Version/s: 4.1.0

>  (Swift 4) Plugin class not found
> -
>
> Key: CB-13824
> URL: https://issues.apache.org/jira/browse/CB-13824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-osx
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
>Priority: Minor
> Fix For: 4.1.0
>
>
> After upgrading to Xcode 9.2 (Swift 4), some plugins were not found. Plugin 
> method execution fails with the following message: "CDVPlugin class X 
> (pluginName: Y) does not exist".
> Closer inspection reveals that NSClassFromString returns nil for plugins 
> implemented in Swift. Prefixing the class with the module name fixes the 
> issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-11483) Add support for native calls into javascript

2018-01-30 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-11483.
---
Resolution: Won't Fix

no longer needed, I guess.

> Add support for native calls into javascript
> 
>
> Key: CB-11483
> URL: https://issues.apache.org/jira/browse/CB-11483
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>Priority: Major
> Fix For: Master
>
>
> The current cordova exec for osx is missing the {{nativeEvalAndFetch}} 
> methods that allow direct calls into cordova.
> see: https://github.com/apache/cordova-osx/pull/35



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-3021) Can no longer import CDVPlugin.h from plugin Objective-C++ code

2018-01-30 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-3021:
-
Fix Version/s: 4.1.0

> Can no longer import CDVPlugin.h from plugin Objective-C++ code
> ---
>
> Key: CB-3021
> URL: https://issues.apache.org/jira/browse/CB-3021
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 2.6.0
> Environment: XCode 4.6.1
> OSX 10.8.3
>Reporter: Ryan Willoughby
>Assignee: Shazron Abdullah
>Priority: Major
>  Labels: C++, OSX, Plugins, iOS
> Fix For: 4.1.0
>
>
> As of 2.6.0, importing CDVPlugin.h from C++ source code results in compile 
> errors:
> /CordovaLib/Classes/CDVPlugin.h:26:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:27:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:28:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:29:17: Default initialization of an object of 
> const type 'NSString *const'
> Install this plugin in a Cordova 2.6.0 project to reproduce:
> https://github.com/wildabeast/BarcodeScanner



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-3021) Can no longer import CDVPlugin.h from plugin Objective-C++ code

2018-01-30 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-3021.
--
Resolution: Fixed

> Can no longer import CDVPlugin.h from plugin Objective-C++ code
> ---
>
> Key: CB-3021
> URL: https://issues.apache.org/jira/browse/CB-3021
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 2.6.0
> Environment: XCode 4.6.1
> OSX 10.8.3
>Reporter: Ryan Willoughby
>Assignee: Shazron Abdullah
>Priority: Major
>  Labels: C++, OSX, Plugins, iOS
> Fix For: 4.1.0
>
>
> As of 2.6.0, importing CDVPlugin.h from C++ source code results in compile 
> errors:
> /CordovaLib/Classes/CDVPlugin.h:26:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:27:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:28:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:29:17: Default initialization of an object of 
> const type 'NSString *const'
> Install this plugin in a Cordova 2.6.0 project to reproduce:
> https://github.com/wildabeast/BarcodeScanner



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13449) Added support for 1024x1024 app icon

2017-10-15 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-13449.
---
   Resolution: Fixed
Fix Version/s: 4.0.0

> Added support for 1024x1024 app icon
> 
>
> Key: CB-13449
> URL: https://issues.apache.org/jira/browse/CB-13449
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: 4.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-13449) Added support for 1024x1024 app icon

2017-10-15 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-13449:
-

 Summary: Added support for 1024x1024 app icon
 Key: CB-13449
 URL: https://issues.apache.org/jira/browse/CB-13449
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-osx
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Resolved] (CB-13304) Forward non file:// URLs to system

2017-09-26 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-13304.
---
   Resolution: Fixed
Fix Version/s: Master

> Forward non file:// URLs to system
> --
>
> Key: CB-13304
> URL: https://issues.apache.org/jira/browse/CB-13304
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.0.1
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The WebView delegate opens all URL requests in-app. This is necessary to load 
> local assets, but not desirable for opening non file:// URLs (i.e. 
> http/https). The latter should be handled by the system, that is, open in the 
> user's default browser.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Reopened] (CB-13304) Forward non file:// URLs to system

2017-09-21 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra reopened CB-13304:
---

ok. I think the new PR is better. eventually, we need to check the config of 
the whitelist plugin. but since we didn't respect it currently, it's not 
mandatory at this point in time.

> Forward non file:// URLs to system
> --
>
> Key: CB-13304
> URL: https://issues.apache.org/jira/browse/CB-13304
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.0.1
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
>
> The WebView delegate opens all URL requests in-app. This is necessary to load 
> local assets, but not desirable for opening non file:// URLs (i.e. 
> http/https). The latter should be handled by the system, that is, open in the 
> user's default browser.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Issue Comment Deleted] (CB-13304) Forward non file:// URLs to system

2017-09-20 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-13304:
--
Comment: was deleted

(was: I don't like this approach, since it will not be possible to create a 
kiosk application that loads the content from an external site. if you want to 
open urls in the system browser, use the inappbroswer plugin.)

> Forward non file:// URLs to system
> --
>
> Key: CB-13304
> URL: https://issues.apache.org/jira/browse/CB-13304
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.0.1
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
>
> The WebView delegate opens all URL requests in-app. This is necessary to load 
> local assets, but not desirable for opening non file:// URLs (i.e. 
> http/https). The latter should be handled by the system, that is, open in the 
> user's default browser.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Resolved] (CB-13304) Forward non file:// URLs to system

2017-09-20 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-13304.
---
Resolution: Won't Fix

I don't like this approach, since it will not be possible to create a kiosk 
application that loads the content from an external site. if you want to open 
urls in the system browser, use the inappbroswer plugin.

> Forward non file:// URLs to system
> --
>
> Key: CB-13304
> URL: https://issues.apache.org/jira/browse/CB-13304
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 4.0.1
>Reporter: Alberto Lalama
>Assignee: Tobias Bocanegra
>
> The WebView delegate opens all URL requests in-app. This is necessary to load 
> local assets, but not desirable for opening non file:// URLs (i.e. 
> http/https). The latter should be handled by the system, that is, open in the 
> user's default browser.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Resolved] (CB-12339) On OS X platform, closing the main window leaves the app open but you can't restore the main view

2017-08-17 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-12339.
---
   Resolution: Fixed
Fix Version/s: 4.2.0

> On OS X platform, closing the main window leaves the app open but you can't 
> restore the main view
> -
>
> Key: CB-12339
> URL: https://issues.apache.org/jira/browse/CB-12339
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-osx
>Affects Versions: 6.4.0
> Environment: macOS Sierra
>Reporter: Paul Connolley
>Assignee: Tobias Bocanegra
>Priority: Minor
> Fix For: 4.2.0
>
>
> (I do apologise if this is covered in the documentation but I couldn't find 
> any mention of it anywhere. Also, this is my first ticket here so I apologise 
> if I'm putting this in the wrong place!)
> 1. I created a new Cordova app and added the osx platform (cordova platform 
> add osx) and then ran `cordova run osx`.
> 2. The app built with no problems and launched the app.
> 3. I then clicked the 'close' button on the app and it closed the main window
> 4. Then I clicked the app icon in the dock - expecting it to restore the main 
> window - but nothing happened.
> This seems a little odd but I'd have expected either:
> * The app to close when clicking the close button; or
> * The window to be restored after clicking the dock icon
> Ideally, it'd be lovely if there was a way to decide which of the above 
> behaviours was available. At the least, I'd probably expect one of these as a 
> default.
> Any help would be appreciated here. If I'm being dim and it's in the 
> documentation, my apologies!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (CB-12844) Escape backslashes when creating a PBXShellScriptBuildPhase

2017-05-28 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra reassigned CB-12844:
-

Assignee: Shazron Abdullah  (was: Tobias Bocanegra)

[~shazron] can you take over? thanks.

> Escape backslashes when creating a PBXShellScriptBuildPhase
> ---
>
> Key: CB-12844
> URL: https://issues.apache.org/jira/browse/CB-12844
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-osx
>Affects Versions: 7.0.0, 6.4.0, 6.5.0
> Environment: MacOS 10.12.4
> Xcode 8.3.2 (8E2002)
> Cordova 6.5.0
> node-xcode 0.9.0
>Reporter: Nicholas Rawlings
>Assignee: Shazron Abdullah
>Priority: Minor
>
> Hooks can use the `node-xcode` package, which was contributed to the Cordova 
> project about a month ago, to modify an Xcode project.  When using 
> `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in 
> the passed script are not properly escaped.  Unescaped backslashes can break 
> the expected behavior of the shell script and result in a malformed *.pbxproj 
> file.
> The solution should be as simple as modifying the 
> `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes  
> with escaped ones in the same way that double quote characters are handled:
> ```javascript
> function pbxShellScriptBuildPhaseObj(obj, options, phaseName) {
> obj.name = '"' + phaseName + '"';
> obj.inputPaths = options.inputPaths || [];
> obj.outputPaths = options.outputPaths || [];
> obj.shellPath = options.shellPath;
> obj.shellScript = '"' + options.shellScript.replace(/"/g, 
> '\\"').replace(/\\/g, '') + '"';
> return obj;
> }
> ```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12339) On OS X platform, closing the main window leaves the app open but you can't restore the main view

2017-01-10 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-12339:
---

this is indeed a bug. thanks for reporting.

> On OS X platform, closing the main window leaves the app open but you can't 
> restore the main view
> -
>
> Key: CB-12339
> URL: https://issues.apache.org/jira/browse/CB-12339
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 6.4.0
> Environment: macOS Sierra
>Reporter: Paul Connolley
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> (I do apologise if this is covered in the documentation but I couldn't find 
> any mention of it anywhere. Also, this is my first ticket here so I apologise 
> if I'm putting this in the wrong place!)
> 1. I created a new Cordova app and added the osx platform (cordova platform 
> add osx) and then ran `cordova run osx`.
> 2. The app built with no problems and launched the app.
> 3. I then clicked the 'close' button on the app and it closed the main window
> 4. Then I clicked the app icon in the dock - expecting it to restore the main 
> window - but nothing happened.
> This seems a little odd but I'd have expected either:
> * The app to close when clicking the close button; or
> * The window to be restored after clicking the dock icon
> Ideally, it'd be lovely if there was a way to decide which of the above 
> behaviours was available. At the least, I'd probably expect one of these as a 
> default.
> Any help would be appreciated here. If I'm being dim and it's in the 
> documentation, my apologies!



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

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



[jira] [Commented] (CB-12258) JavaScript Debugger shows loading icon instead of source when halted on breakpoint

2016-12-16 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-12258:
---

I noticed the same. it's very annoying. It used to work, so it might be a 
problem that came with a recent safari/webkit update.

> JavaScript Debugger shows loading icon instead of source when halted on 
> breakpoint
> --
>
> Key: CB-12258
> URL: https://issues.apache.org/jira/browse/CB-12258
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
> Environment: OSX 10.11.6 El Capitan, macbook pro 2014, brew, node, 
> cordova *6.4.0*, all tools @latest at the time of writing
>Reporter: Michael P.
>Assignee: Tobias Bocanegra
>
> When not debugging the source js files are viewable in web debugger, but the 
> second the debugger is halted on some breakpoint all source files disappear 
> and there is only a loading indicator where the source is supposed to be. 
> When I "continue script execution" (the play button), the source reappears 
> even showing for a second the line in green where it was halted (as it is 
> supposed to do while debugging). I just had to reinstall my system, so now on 
> a completely fresh install of all the tools, the problem persists. 
> I guess the problem lies with safari's/the webview's debugger, but I have no 
> idea on how to tackle it. On normal webpages in safari it works though.



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

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



[jira] [Resolved] (CB-12006) Add OSX support for paramedic

2016-10-12 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-12006.
---
Resolution: Not A Problem

I just realized that it is already supported.

> Add OSX support for paramedic
> -
>
> Key: CB-12006
> URL: https://issues.apache.org/jira/browse/CB-12006
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Paramedic
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> It would be great to have OSX support.



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

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



[jira] [Created] (CB-12006) Add OSX support for paramedic

2016-10-12 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-12006:
-

 Summary: Add OSX support for paramedic
 Key: CB-12006
 URL: https://issues.apache.org/jira/browse/CB-12006
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Paramedic
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


It would be great to have OSX support.



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

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



[jira] [Commented] (CB-11955) InAppBrowser - Add support for OSX

2016-10-05 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11955:
---

yes please, go ahead. thanks!

> InAppBrowser - Add support for OSX
> --
>
> Key: CB-11955
> URL: https://issues.apache.org/jira/browse/CB-11955
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin InAppBrowser
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> It would be great to support cordova-osx in the InAppBrowserPlugin.



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

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



[jira] [Created] (CB-11955) InAppBrowser - Add support for OSX

2016-10-04 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11955:
-

 Summary: InAppBrowser - Add support for OSX
 Key: CB-11955
 URL: https://issues.apache.org/jira/browse/CB-11955
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin InAppBrowser
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
Priority: Minor


It would be great to support cordova-osx in the InAppBrowserPlugin.



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

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



[jira] [Commented] (CB-11945) Suppress webview's default right context menu

2016-10-04 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11945:
---

yes. but only if {{WebKitDeveloperExtras}} is set.

I think we should:

- disable the context menu by default
- if {{WebKitDeveloperExtras}} is set, enable it
- (try to remove the link-related context menu entries - maybe also by 
configuration)
- document to use the InAppBrowser plugin for opening links.

> Suppress webview's default right context menu
> -
>
> Key: CB-11945
> URL: https://issues.apache.org/jira/browse/CB-11945
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: PwLin
>Assignee: Tobias Bocanegra
>
> Currently upon right clicking on an anchor link, a default webveiw's context 
> menu is shown to the user:
> Open Link
> Open Link In New Window
> Download Linked File
> Copy Link
> 
> Share ► 
> As "Open Link In New Window" and "Download Linked File" options do not 
> function at all, it might be a better idea to disable right clicking on a 
> page all together in order to conform with general Cordova behavior in other 
> supported platforms.



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

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



[jira] [Closed] (CB-10521) Add OS X platform to docs

2016-10-04 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra closed CB-10521.
-

> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



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

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



[jira] [Updated] (CB-10521) Add OS X platform to docs

2016-10-04 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10521:
--
Fix Version/s: (was: Master)

> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



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

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



[jira] [Resolved] (CB-11948) Modal dialog (window.confirm) opens behind fullscreen window and cannot be closed

2016-10-04 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-11948.
---
Resolution: Fixed

> Modal dialog (window.confirm) opens behind fullscreen window and cannot be 
> closed
> -
>
> Key: CB-11948
> URL: https://issues.apache.org/jira/browse/CB-11948
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> Opening a modal dialog with {{window.prompt()}} opens it behind the 
> fullscreen and cannot be closed anymore.



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

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



[jira] [Commented] (CB-11948) Modal dialog (window.confirm) opens behind fullscreen window and cannot be closed

2016-10-04 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11948:
---

found a solution, thanks to:
  http://stackoverflow.com/questions/20354874/nswindow-levels-and-modal-dialogs

{quote}
The problem seems to be that [NSWindow beginSheet...] internally calls 
setLevel: on the target modal window with a value lower than 
NSStatusWindowLevel, so the modal dialog is displayed behind its parent window. 
The same happens when using an NSAlert from a window with higher window level, 
the alert is displayed behind.
{quote}



{quote}
one thing that comes to mind is to check if NSAlert uses a special NSWindow 
subclass you could make a category on it and hook the setLevel: method via 
swizzling (here is an example of extending an existing method via swizzling). 
there is nothing stopping you from doing this in a plain NSWindow subclass 
either.
{quote}

> Modal dialog (window.confirm) opens behind fullscreen window and cannot be 
> closed
> -
>
> Key: CB-11948
> URL: https://issues.apache.org/jira/browse/CB-11948
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> Opening a modal dialog with {{window.prompt()}} opens it behind the 
> fullscreen and cannot be closed anymore.



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

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



[jira] [Created] (CB-11948) Modal dialog (window.confirm) opens behind fullscreen window and cannot be closed

2016-10-04 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11948:
-

 Summary: Modal dialog (window.confirm) opens behind fullscreen 
window and cannot be closed
 Key: CB-11948
 URL: https://issues.apache.org/jira/browse/CB-11948
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: 4.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
 Fix For: Master


Opening a modal dialog with {{window.prompt()}} opens it behind the fullscreen 
and cannot be closed anymore.



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

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



[jira] [Updated] (CB-11743) processes started with `cordova run` eventually stalls NSLog.

2016-08-23 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11743:
--
Summary: processes started with `cordova run` eventually stalls NSLog.  
(was: processes started with `cordova run` eventually stall on NSLog.)

> processes started with `cordova run` eventually stalls NSLog.
> -
>
> Key: CB-11743
> URL: https://issues.apache.org/jira/browse/CB-11743
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> running the app with {{cordova run}} uses the {{spawn.js}} which eventually 
> executre {{child_process.spawn}}. although the stdio pipes should inherit to 
> the parent process, they somehow don't.
> when the app write a lot to stdout, eg with NSLog, then eventually the nodejs 
> buffer get full and the app blocks and gets unresponsive.
> solution:
> - avoid using {{stdio:'inherit'}} and pipe the stdios instead.
> - or figure out why inherit doesn't work



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

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



[jira] [Created] (CB-11743) processes started with `cordova run` eventually stall on NSLog.

2016-08-23 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11743:
-

 Summary: processes started with `cordova run` eventually stall on 
NSLog.
 Key: CB-11743
 URL: https://issues.apache.org/jira/browse/CB-11743
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: 4.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
 Fix For: Master


running the app with {{cordova run}} uses the {{spawn.js}} which eventually 
executre {{child_process.spawn}}. although the stdio pipes should inherit to 
the parent process, they somehow don't.

when the app write a lot to stdout, eg with NSLog, then eventually the nodejs 
buffer get full and the app blocks and gets unresponsive.

solution:
- avoid using {{stdio:'inherit'}} and pipe the stdios instead.
- or figure out why inherit doesn't work



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

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



[jira] [Updated] (CB-11715) iOS Simulator hangs on Endless App Loading/Launching Screen. No Err Msgs.

2016-08-16 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11715:
--
Component/s: (was: OSX)

> iOS Simulator hangs on Endless App Loading/Launching Screen. No Err Msgs.
> -
>
> Key: CB-11715
> URL: https://issues.apache.org/jira/browse/CB-11715
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.3.1
> Environment: osx 10.11.6, el capitan, Simulator 9.3, using Xcode 7.3 
> (but also hangs if Simulator launched directly from Terminal)  iOS-deply 
> 1.8.6, Cordova 6.3.1 (native platform version 4.2.0)
>Reporter: Amy Johnson
>Assignee: Tobias Bocanegra
>  Labels: beginner, newbie
>
> --I'm new to this, so I apologize for any mistakes. 
> --When I try to launch my Cordova app in Simulator (from Xcode or Terminal), 
> Simulator gets stuck on an endless loading screen. 
> (Cordova emulate iOS...  Endless loading screen.) (The build succeeds.)
> --By "endless," I mean that I have let it run overnight, and it still appears 
> to be loading (blue bar spiraling near bottom of screen) in the morning. 
> --This loading problem is probably due to a mistake on my end, but it seems 
> like it might be a Cordova bug that there are no error messages. 
> Here is my system log shown in Xcode after I launch Simulator from there:
> 2016-08-16 21:54:12.449 myApp[10960:414442] DiskCookieStorage changing policy 
> from 2 to 0, cookie file: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Data/Application/72317999-A72E-455C-A8B9-E47E3F25614E/Library/Cookies/co.domainName.myApp.binarycookies
> 2016-08-16 21:54:12.645 myApp[10960:414442] Apache Cordova native platform 
> version 4.2.0 is starting.
> 2016-08-16 21:54:12.646 myApp[10960:414442] Multi-tasking -> Device: YES, 
> App: YES
> 2016-08-16 21:54:12.677 myApp[10960:414442] 
> Started backup to iCloud! Please be careful.
> Your application might be rejected by Apple if you store too much data.
> For more information please read "iOS Data Storage Guidelines" at:
> https://developer.apple.com/icloud/documentation/data-storage/
> To disable web storage backup to iCloud, set the BackupWebStorage preference 
> to "local" in the Cordova config.xml file
> 2016-08-16 21:54:12.785 myApp[10960:414442] Using UIWebView
> 2016-08-16 21:54:12.788 myApp[10960:414442] [CDVTimer][handleopenurl] 
> 0.137031ms
> 2016-08-16 21:54:12.789 myApp[10960:414442] Unlimited access to network 
> resources
> 2016-08-16 21:54:12.790 myApp[10960:414442] 
> [CDVTimer][intentandnavigationfilter] 1.496971ms
> 2016-08-16 21:54:12.790 myApp[10960:414442] [CDVTimer][gesturehandler] 
> 0.087976ms
> 2016-08-16 21:54:12.839 myApp[10960:414442] [CDVTimer][file] 49.188972ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][intercom] 24.819970ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][TotalPluginStartup] 
> 76.799035ms
> 2016-08-16 21:54:13.734 myApp[10960:414442] Resetting plugins due to page 
> load.
> 2016-08-16 21:54:14.497 myApp[10960:414442] Finished load of: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Bundle/Application/A1C67A1E-3AC6-4A7A-AEC0-095B89C3B2D9/myApp.app/www/index_cordova.html?cordova=
> Again, I apologize for any mistakes, as I'm new to both Cordova and this 
> forum.



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

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



[jira] [Commented] (CB-11670) Config.xml option to disable/change top menu items, icons

2016-08-05 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11670:
---

in order to change the menus, you need to edit the {{MainViewController.xib}} 
and add/remove the menu items you desire. But then you also need to provide the 
action handlers, which have to be in objc, for example call your JS code from 
there. As this all is not so easy, there is no simple way of controlling this 
via config file. Maybe you could create a plugin that manipulates the main menu.

As a side note: the OSX cordova port is mainly targeted for kiosk like apps, 
that run fullscreen and have no desktop interaction. Similar to the mobile 
apps, which don't have menus either. if you need a more sophisticated cross 
platform javascript framework for building desktop apps, I suggest to look into 
[electron|http://electron.atom.io/]



> Config.xml option to disable/change top menu items, icons
> -
>
> Key: CB-11670
> URL: https://issues.apache.org/jira/browse/CB-11670
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
> Environment: Mac OSX Elcapitan
>Reporter: Abhishek Jha
>Assignee: Tobias Bocanegra
>  Labels: documentation, easyfix
>
> Hello,
> By default the cordova-osx app loads with a pre-assumed icon, pre-assumed top 
> menu with edit, search etc but not everybody needs them. Infact we need the 
> ability to change these from any of these ways in our cordova code:
> 1. be it js 
> 2. or html meta tags 
> 3. or config.xml
> So that our app can use only things we want. 
> This request is keeping in mind that people using cordova-osx have only 
> html/css/js/cordova experience and no experience in xcode or objective-c.
> And also for the short term until this is fixed, please tell me how to change 
> the menu, icons etc in cordova-osx from xcode or whatever and put it in the 
> github/documentation so that people dont ask same question again.
> Thanks



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

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



[jira] [Commented] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-07-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11387:
---

found a workaround for ant, by explicitely set the env.PWD:

For Example:
{noformat}






{noformat}

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0, 6.3.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Updated] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-07-21 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11387:
--
Affects Version/s: 6.3.0

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0, 6.3.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Resolved] (CB-11510) OSX app doesn't properly span all vertical displays

2016-06-29 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-11510.
---
Resolution: Fixed

> OSX app doesn't properly span all vertical displays
> ---
>
> Key: CB-11510
> URL: https://issues.apache.org/jira/browse/CB-11510
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> in OSX, when several displays are attached to a computer that are not 
> arranged horizontally, the cordova player doesn't properly fullscreen. 
> if the arrangement doesn't fit into a rectangle it should create a bounding 
> box.



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

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



[jira] [Created] (CB-11510) OSX app doesn't properly span all vertical displays

2016-06-29 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11510:
-

 Summary: OSX app doesn't properly span all vertical displays
 Key: CB-11510
 URL: https://issues.apache.org/jira/browse/CB-11510
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: 4.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
 Fix For: Master


in OSX, when several displays are attached to a computer that are not arranged 
horizontally, the cordova player doesn't properly fullscreen. 

if the arrangement doesn't fit into a rectangle it should create a bounding box.



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

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



[jira] [Resolved] (CB-9918) CDVInvokedUrlCommand.argumentAtIndex returns WebUndefined instead of nil

2016-06-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-9918.
--
   Resolution: Fixed
Fix Version/s: Master

> CDVInvokedUrlCommand.argumentAtIndex returns WebUndefined instead of nil
> 
>
> Key: CB-9918
> URL: https://issues.apache.org/jira/browse/CB-9918
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> compared to iOS, the {{argumentAtIndex}} returns undefined instead of nil



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

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



[jira] [Updated] (CB-11459) Cordova 6.2.0 overscroll and UI bounce IOS

2016-06-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11459:
--
Component/s: (was: OSX)

> Cordova 6.2.0  overscroll and UI bounce IOS
> ---
>
> Key: CB-11459
> URL: https://issues.apache.org/jira/browse/CB-11459
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.2.0
> Environment: Ionic 2 Application (Angular 2 and Typescript) with 
> Cordova 6.2.0. IOS Platform.
>Reporter: Adil Shaikh
>Assignee: Shazron Abdullah
>
> The UI bounces and Over Scrolls even after placing the following in the 
> config.xml
>  
>   
>   



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

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



[jira] [Created] (CB-11483) Add support for native calls into javascript

2016-06-24 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11483:
-

 Summary: Add support for native calls into javascript
 Key: CB-11483
 URL: https://issues.apache.org/jira/browse/CB-11483
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: 4.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
 Fix For: Master


The current cordova exec for osx is missing the {{nativeEvalAndFetch}} methods 
that allow direct calls into cordova.

see: https://github.com/apache/cordova-osx/pull/35



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

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



[jira] [Updated] (CB-11400) Add ability to set different binary name and display name (OSX)

2016-06-08 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11400:
--
Component/s: (was: Android)
 (was: iOS)
 OSX

> Add ability to set different binary name and display name (OSX)
> ---
>
> Key: CB-11400
> URL: https://issues.apache.org/jira/browse/CB-11400
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: OSX
>Reporter: Tobias Bocanegra
>Priority: Minor
>
> I would like to use a different value for the binary filenames (.ipa/.apk) 
> and the app display name. Currently  in config.xml is used for both.
> If I set  to the value I want for the binary name, I have to manually 
> edit app_name in res/values/strings.xml and CFBundleDisplayName in 
> *-Info.plist.
> On the other hand, if I set  to the value I want for the display name, 
> I can manually rename the binaries, but the iOS .ipa file still contains an 
> .app file with the display name, and CFBundleExecutable still has the display 
> name.



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

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



[jira] [Comment Edited] (CB-10916) Add ability to set different binary name and display name

2016-06-08 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra edited comment on CB-10916 at 6/9/16 2:15 AM:
---

shouldn't we add this feature for all platforms?
at least for OSX, this would be useful as well.

I created a follow up bug to OSX: CB-11400


was (Author: tripod):
shouldn't we add this feature for all platforms?
at least for OSX, this would be useful as well.

> Add ability to set different binary name and display name
> -
>
> Key: CB-10916
> URL: https://issues.apache.org/jira/browse/CB-10916
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Android, iOS
>Reporter: Jacob Weber
>Priority: Minor
>
> I would like to use a different value for the binary filenames (.ipa/.apk) 
> and the app display name. Currently  in config.xml is used for both.
> If I set  to the value I want for the binary name, I have to manually 
> edit app_name in res/values/strings.xml and CFBundleDisplayName in 
> *-Info.plist.
> On the other hand, if I set  to the value I want for the display name, 
> I can manually rename the binaries, but the iOS .ipa file still contains an 
> .app file with the display name, and CFBundleExecutable still has the display 
> name.



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

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



[jira] [Commented] (CB-10916) Add ability to set different binary name and display name

2016-06-08 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10916:
---

shouldn't we add this feature for all platforms?
at least for OSX, this would be useful as well.

> Add ability to set different binary name and display name
> -
>
> Key: CB-10916
> URL: https://issues.apache.org/jira/browse/CB-10916
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Android, iOS
>Reporter: Jacob Weber
>Priority: Minor
>
> I would like to use a different value for the binary filenames (.ipa/.apk) 
> and the app display name. Currently  in config.xml is used for both.
> If I set  to the value I want for the binary name, I have to manually 
> edit app_name in res/values/strings.xml and CFBundleDisplayName in 
> *-Info.plist.
> On the other hand, if I set  to the value I want for the display name, 
> I can manually rename the binaries, but the iOS .ipa file still contains an 
> .app file with the display name, and CFBundleExecutable still has the display 
> name.



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

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



[jira] [Created] (CB-11400) Add ability to set different binary name and display name (OSX)

2016-06-08 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11400:
-

 Summary: Add ability to set different binary name and display name 
(OSX)
 Key: CB-11400
 URL: https://issues.apache.org/jira/browse/CB-11400
 Project: Apache Cordova
  Issue Type: Wish
  Components: Android, iOS
Reporter: Tobias Bocanegra
Priority: Minor


I would like to use a different value for the binary filenames (.ipa/.apk) and 
the app display name. Currently  in config.xml is used for both.

If I set  to the value I want for the binary name, I have to manually 
edit app_name in res/values/strings.xml and CFBundleDisplayName in *-Info.plist.

On the other hand, if I set  to the value I want for the display name, I 
can manually rename the binaries, but the iOS .ipa file still contains an .app 
file with the display name, and CFBundleExecutable still has the display name.



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

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



[jira] [Commented] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-08 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11387:
---

sure I could fix all my invocations. but I think this is something that broke 
from 6.1.1 to 6.2.
this also affect executing cordova from IntelliJ, AppCode, WebStorm, Eclipse 
and could be a problem for those users as well.

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Commented] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-07 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11387:
---

the problem lies in the way how the PWD is resolved. in 
{{utils.cdProjectRoot()}} \[0\] it does:

{code}
if (!origCwd) {
origCwd = process.env.PWD || process.cwd();
}
{code}

but the {{process.env.PWD}} does not reflect the CWD of the current process. 
This is a problem when invoking a process via java (see \[1\]). It does not set 
the process.env.PWD.

the following java test illustrates this:

{code}
import java.io.File;
import sun.misc.IOUtils;

public class test {
public static void main(String[]args) throws Exception {

System.console().printf("Executing Node Script in '/'\n");
String[] cmd = {
"/data/nvm/versions/node/v4.2.6/bin/node",
"-e",
"console.log('pwd: %s, cwd: %s', process.env.PWD, 
process.cwd());"
};
Process p = Runtime.getRuntime().exec(cmd, null, new 
File("/").getCanonicalFile());
p.waitFor();
byte[] out = IOUtils.readFully(p.getInputStream(), -1, false);
System.console().writer().write(new String(out));
out = IOUtils.readFully(p.getErrorStream(), -1, false);
System.console().writer().write(new String(out));
System.console().flush();
System.console().printf("done\n");
}
}
{code}

When executing this in my home i get:

{noformat}
$ java -cp . test
Executing Node Script in '/'
pwd: /Users/tripod, cwd: /
done
{noformat}

\[0\] 
https://github.com/apache/cordova-lib/blob/c7f8b8c6e02ac7e5bd7b2ce5937b47dfcbb94e5f/cordova-lib/src/cordova/util.js#L131
\[1\] 
https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Commented] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-07 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11387:
---

thanks [~shazron] I can take a look and try to fix it. just assign the bug to 
me.

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0
>Reporter: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Comment Edited] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-07 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra edited comment on CB-11387 at 6/7/16 5:21 PM:
---

{noformat}
$ ant test
Buildfile: /Users/tripod/tmp/testfail/CB-11387-Example/build.xml

test:
 [exec] /Users/tripod/tmp/testfail/CB-11387-Example/testdir
   [delete] Deleting directory 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms
   [delete] Deleting directory 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins
 [exec] No scripts found for hook "before_platform_add".
 [exec] No version supplied. Retrieving version from config.xml...
 [exec] Adding ios project...
 [exec] PlatformApi successfully found for platform ios
 [exec] iOS project created with cordova-ios@4.1.1
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "before_prepare".
 [exec] Checking config.xml for saved platforms that haven't been added to 
the project
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "after_prepare".
 [exec] Checking config.xml for saved plugins that haven't been added to 
the project
 [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding 
it to the project
 [exec] No scripts found for hook "before_plugin_add".
 [exec] Calling plugman.fetch on plugin "cordova-plugin-whitelist@1"
 [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
 [exec] Copying plugin 
"/Users/tripod/.npm/cordova-plugin-whitelist/1.2.2/package" => 
"/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins/cordova-plugin-whitelist"
 [exec] Calling plugman.install on plugin 
"/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins/cordova-plugin-whitelist"
 for platform "ios
 [exec] Installing "cordova-plugin-whitelist" for ios
 [exec] Running command: 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms/ios/cordova/version
 [exec] Command finished with error code 0: 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms/ios/cordova/version
 [exec] Finding scripts for "before_plugin_install" hook from plugin 
cordova-plugin-whitelist on ios platform only.
 [exec] No scripts found for hook "before_plugin_install".
 [exec] Install start for "cordova-plugin-whitelist" on ios.
 [exec] Beginning processing of action stack for ios project...
 [exec] Action stack processing complete.
 [exec] Install complete for cordova-plugin-whitelist on ios.
 [exec] Finding scripts for "after_plugin_install" hook from plugin 
cordova-plugin-whitelist on ios platform only.
 [exec] No scripts found for hook "after_plugin_install".
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "after_plugin_add".
 [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it to 
the project
 [exec] No scripts found for hook "before_plugin_add".
 [exec] No version specified for null, retrieving version from config.xml
 [exec] No version for null saved in config.xml
 [exec] Attempting to use npm info for null to choose a compatible release
 [exec] Failed to restore plugin "cordova-testplugin" from config.xml. You 
might need to try adding it again. Error: Error: Invalid package.json
 [exec] Saving ios@4.1.1 into platforms.json
 [exec] No scripts found for hook "after_platform_add".
{noformat}

and when executed 

[jira] [Commented] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-07 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-11387:
---

{noformat}
$ ant test
Buildfile: /Users/tripod/tmp/testfail/CB-11387-Example/build.xml

test:
 [exec] /Users/tripod/tmp/testfail/CB-11387-Example/testdir
   [delete] Deleting directory 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms
   [delete] Deleting directory 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins
 [exec] No scripts found for hook "before_platform_add".
 [exec] No version supplied. Retrieving version from config.xml...
 [exec] Adding ios project...
 [exec] PlatformApi successfully found for platform ios
 [exec] iOS project created with cordova-ios@4.1.1
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "before_prepare".
 [exec] Checking config.xml for saved platforms that haven't been added to 
the project
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "after_prepare".
 [exec] Checking config.xml for saved plugins that haven't been added to 
the project
 [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding 
it to the project
 [exec] No scripts found for hook "before_plugin_add".
 [exec] Calling plugman.fetch on plugin "cordova-plugin-whitelist@1"
 [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
 [exec] Copying plugin 
"/Users/tripod/.npm/cordova-plugin-whitelist/1.2.2/package" => 
"/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins/cordova-plugin-whitelist"
 [exec] Calling plugman.install on plugin 
"/Users/tripod/tmp/testfail/CB-11387-Example/testdir/plugins/cordova-plugin-whitelist"
 for platform "ios
 [exec] Installing "cordova-plugin-whitelist" for ios
 [exec] Running command: 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms/ios/cordova/version
 [exec] Command finished with error code 0: 
/Users/tripod/tmp/testfail/CB-11387-Example/testdir/platforms/ios/cordova/version
 [exec] Finding scripts for "before_plugin_install" hook from plugin 
cordova-plugin-whitelist on ios platform only.
 [exec] No scripts found for hook "before_plugin_install".
 [exec] Install start for "cordova-plugin-whitelist" on ios.
 [exec] Beginning processing of action stack for ios project...
 [exec] Action stack processing complete.
 [exec] Install complete for cordova-plugin-whitelist on ios.
 [exec] Finding scripts for "after_plugin_install" hook from plugin 
cordova-plugin-whitelist on ios platform only.
 [exec] No scripts found for hook "after_plugin_install".
 [exec] Checking for any plugins added to the project that have not been 
installed in ios platform
 [exec] No differences found between plugins added to project and installed 
in ios platform. Continuing...
 [exec] Generating config.xml from defaults for platform "ios"
 [exec] Wrote out iOS Bundle Identifier to "io.cordova.hellocordova"
 [exec] Wrote out iOS Bundle Version to "0.0.1"
 [exec] iOS Product Name has not changed (still "HelloCordova")
 [exec] updated project successfully
 [exec] No scripts found for hook "after_plugin_add".
 [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it to 
the project
 [exec] No scripts found for hook "before_plugin_add".
 [exec] No version specified for null, retrieving version from config.xml
 [exec] No version for null saved in config.xml
 [exec] Attempting to use npm info for null to choose a compatible release
 [exec] Failed to restore plugin "cordova-testplugin" from config.xml. You 
might need to try adding it again. Error: Error: Invalid package.json
 [exec] Saving ios@4.1.1 into platforms.json
 [exec] No scripts found for hook "after_platform_add".
{noformat}

> Relative plugin resolution does not work when cordova is 

[jira] [Updated] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-06 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11387:
--
Attachment: CB-11387-Example.zip

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.2.0
>Reporter: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Created] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-06 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11387:
-

 Summary: Relative plugin resolution does not work when cordova is 
executed as sub process
 Key: CB-11387
 URL: https://issues.apache.org/jira/browse/CB-11387
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 6.2.0
Reporter: Tobias Bocanegra


(this used to work in 6.1.1)

if {{cordova platform add}} is invoked as subprocess (for example in an 
ant-script), the plugin spec resolution for relative plugins doesn't work.

for example:

{noformat}
  
{noformat}

See the attached script. when running with ant it shows:

{noformat}
$ ant test
Buildfile: /Users/tripod/tmp/testfail/foo/build.xml

test:
 [exec] /Users/tripod/tmp/testfail/foo/testdir
   [delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/platforms
   [delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
 [exec] Adding ios project...
 [exec] iOS project created with cordova-ios@4.1.1
 [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding 
it to the project
 [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
 [exec] Installing "cordova-plugin-whitelist" for ios
 [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it to 
the project
 [exec] Failed to restore plugin "cordova-testplugin" from config.xml. You 
might need to try adding it again. Error: Error: Invalid package.json
{noformat}

please note, that ant sets the pwd correctly.

when running from command line:

{noformat}
$ cd testdir; cordova platform add ios
Adding ios project...
iOS project created with cordova-ios@4.1.1
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
Installing "cordova-testplugin" for ios
{noformat}






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

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



[jira] [Updated] (CB-10601) AppStore rejects cordova-osx application

2016-05-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10601:
--
Summary: AppStore rejects cordova-osx application  (was: App cordova-osx 
refused)

> AppStore rejects cordova-osx application
> 
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>  Labels: triaged
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



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

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



[jira] [Resolved] (CB-10383) Cannot add platform osx (even though it is available)

2016-05-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10383.
---
Resolution: Cannot Reproduce

closing for now. please reopen if you still have issues.

> Cannot add platform osx (even though it is available)
> -
>
> Key: CB-10383
> URL: https://issues.apache.org/jira/browse/CB-10383
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 5.4.1
> Environment: OS X El Capitan@10.11.2, homebrew@0.9.5, npm@3.3.9
>Reporter: Michael P.
>  Labels: triaged
>
> {color:green}
> MacBook-Pro-2:workspacemobile mp4$ cordova create test
> Creating a new cordova project.
> MacBook-Pro-2:workspacemobile mp4$ cd test
> MacBook-Pro-2:test mp4$ cordova platform add osx
> {color}
> {color:red}
> Error: Failed to fetch platform osx
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: No compatible version found: cordova-osx@'>=4.0.0 <4.1.0'
> Valid install targets:
> ["3.4.1"]
> {color}



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

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



[jira] [Resolved] (CB-10597) Cordova-OSX Platforms Release Feb 11, 2016

2016-05-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10597.
---
   Resolution: Fixed
Fix Version/s: 4.0.0

> Cordova-OSX Platforms Release Feb 11, 2016
> --
>
> Key: CB-10597
> URL: https://issues.apache.org/jira/browse/CB-10597
> Project: Apache Cordova
>  Issue Type: Task
>  Components: OSX
>Reporter: Steve Gill
>Assignee: Tobias Bocanegra
> Fix For: 4.0.0
>
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md;



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

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



[jira] [Closed] (CB-10597) Cordova-OSX Platforms Release Feb 11, 2016

2016-05-24 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra closed CB-10597.
-

> Cordova-OSX Platforms Release Feb 11, 2016
> --
>
> Key: CB-10597
> URL: https://issues.apache.org/jira/browse/CB-10597
> Project: Apache Cordova
>  Issue Type: Task
>  Components: OSX
>Reporter: Steve Gill
>Assignee: Tobias Bocanegra
> Fix For: 4.0.0
>
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md;



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

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



[jira] [Closed] (CB-10707) Add OS X to platform support page

2016-05-23 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra closed CB-10707.
-

thanks.

> Add OS X to platform support page
> -
>
> Key: CB-10707
> URL: https://issues.apache.org/jira/browse/CB-10707
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> https://cordova.apache.org/docs/en/latest/guide/support/index.html is missing 
> osx



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

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



[jira] [Resolved] (CB-11002) Enable hidden accelerated rendering settings by default

2016-04-01 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-11002.
---
   Resolution: Fixed
Fix Version/s: Master

> Enable hidden accelerated rendering settings by default
> ---
>
> Key: CB-11002
> URL: https://issues.apache.org/jira/browse/CB-11002
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> the default settings of a webview does not enable accelerated rendering:
> {noformat}
> WebKitAccelerated2dCanvasEnabled = 0;
> WebKitAcceleratedDrawingEnabled = 0;
> WebKitCanvasUsesAcceleratedDrawing = 0;
> {noformat}
> they should be enabled by default.



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

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



[jira] [Updated] (CB-11002) Enable hidden accelerated rendering settings by default

2016-04-01 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11002:
--
Description: 
the default settings of a webview does not enable accelerated rendering:

{noformat}
WebKitAccelerated2dCanvasEnabled = 0;
WebKitAcceleratedDrawingEnabled = 0;
WebKitCanvasUsesAcceleratedDrawing = 0;
{noformat}

they should be enabled by default.

  was:
the default settings of a webview does not enable accelerated rendering:

{noformat}
WebKitAccelerated2dCanvasEnabled = 0;
WebKitAcceleratedDrawingEnabled = 0;
WebKitCacheModelPreferenceKey = 0;
WebKitCanvasUsesAcceleratedDrawing = 0;
{noformat}

they should be enabled by default.


> Enable hidden accelerated rendering settings by default
> ---
>
> Key: CB-11002
> URL: https://issues.apache.org/jira/browse/CB-11002
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> the default settings of a webview does not enable accelerated rendering:
> {noformat}
> WebKitAccelerated2dCanvasEnabled = 0;
> WebKitAcceleratedDrawingEnabled = 0;
> WebKitCanvasUsesAcceleratedDrawing = 0;
> {noformat}
> they should be enabled by default.



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

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



[jira] [Created] (CB-11002) Enable hidden accelerated rendering settings by default

2016-03-31 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11002:
-

 Summary: Enable hidden accelerated rendering settings by default
 Key: CB-11002
 URL: https://issues.apache.org/jira/browse/CB-11002
 Project: Apache Cordova
  Issue Type: Improvement
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


the default settings of a webview does not enable accelerated rendering:

{noformat}
WebKitAccelerated2dCanvasEnabled = 0;
WebKitAcceleratedDrawingEnabled = 0;
WebKitCacheModelPreferenceKey = 0;
WebKitCanvasUsesAcceleratedDrawing = 0;
{noformat}

they should be enabled by default.



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

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



[jira] [Commented] (CB-10966) OSX app does not run second time

2016-03-25 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10966:
---

* did you try with the latest version 4.0.1 ? 
* can you try to open the javascript console and see if there are any errors?
* when you do a {{platform remove osx}} / {{platform add osx}}, does it work 
again?

> OSX app does not run second time
> 
>
> Key: CB-10966
> URL: https://issues.apache.org/jira/browse/CB-10966
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 3.5.0
> Environment: OS X El Capitan
>Reporter: Kiran Dasari
>Assignee: Tobias Bocanegra
>
> Tried building a small helloworld application. It runs fine first time but 
> getting error when I run second time.
> - Installed Cordova client on mac machine 
> - Transferred the code files from Visual Studio to mac machine and Cordova 
> client to build the app
> - The app runs fine and we were able to display system information using 
> Cordova device plugin. Please see attached screenshot
> However the app runs only once and displays information. When we try to build 
> the app again it builds successfully but do not run. We tried running the app 
> via Xcode and are seeing the below. For some reason deviceready event is not 
> firing
> 2016-03-10 14:09:21.217 HelloCordova[5651:150870] deviceready has not fired 
> after 5 seconds.
> 2016-03-10 14:09:21.218 HelloCordova[5651:150870] Channel not fired: 
> onCordovaInfoReady



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

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



[jira] [Commented] (CB-10733) deviceready not fired - OSX

2016-02-29 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10733:
---

the network plugin is not supported with OSX. I can only assume that the 
initialization of the plugin somehow prevents cordova from starting correctly.
if possible, remove from your project for the OSX builds.

since there is no proper way to ignore a plugin on platform level, all of the 
plugins need to play nice with all potential platforms. this is IMO a flaw in 
the current plugin framework. 

> deviceready not fired - OSX
> ---
>
> Key: CB-10733
> URL: https://issues.apache.org/jira/browse/CB-10733
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 6.0.0
> Environment: Darwin 10.11.2, Xcode 7.2.1, 
> cordova-plugin-network-information 1.2.0, platform osx 4.0.0
>Reporter: Laurent Zubiaur
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> Hi, deviceready is not fired on platform osx (4.0.0) when network plugin is 
> installed (1.2.0). 
> Console:
> [Log] deviceready has not fired after 5 seconds. (cordova.js, line 974)
> [Log] Channel not fired: onCordovaConnectionReady (cordova.js, line 967)



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

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



[jira] [Resolved] (CB-10722) Cannot find module 'semver' (OSX platform)

2016-02-28 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10722.
---
   Resolution: Fixed
Fix Version/s: Master

there was a problem during npm packaging and some of the modules got lost :-(. 
the problem was fixed in CB-10668, and a new release will be cut soon.

in the meantime, you can add the platform via git url:

{noformat}
$ cordova platform add https://github.com/apache/cordova-osx.git#4.0.0
{noformat}


> Cannot find module 'semver' (OSX platform)
> --
>
> Key: CB-10722
> URL: https://issues.apache.org/jira/browse/CB-10722
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, OSX
>Affects Versions: 6.0.0
> Environment: OSX 10.11.2
> Xcode 7.2.1
> node 5.7.0
> npm 3.6.0
>Reporter: Laurent Zubiaur
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> When adding OSX platform I get the following error (Cannot find module 
> 'semver') although semver is installed.
> $ cordova platform add osx
> Adding osx project...
> Running command: 
> /Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/create 
> /Users/lzubiaur/Dev/projects/node/tests/platforms/osx io.cordova.hellocordova 
> HelloCordova
> module.js:341
> throw err;
> ^
> Error: Cannot find module 'semver'
> at Function.Module._resolveFilename (module.js:339:15)
> at Function.Module._load (module.js:290:25)
> at Module.require (module.js:367:17)
> at require (internal/module.js:16:19)
> at Object. 
> (/Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:37:14)
> at Module._compile (module.js:413:34)
> at Object.Module._extensions..js (module.js:422:10)
> at Module.load (module.js:357:32)
> at Function.Module._load (module.js:314:12)
> at Module.require (module.js:367:17)
> Error: 
> /Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/create: 
> Command failed with exit code 1



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

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



[jira] [Created] (CB-10707) Add OS X to platform support page

2016-02-26 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10707:
-

 Summary: Add OS X to platform support page
 Key: CB-10707
 URL: https://issues.apache.org/jira/browse/CB-10707
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs, OSX
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
Priority: Minor


https://cordova.apache.org/docs/en/latest/guide/support/index.html is missing 
osx



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

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



[jira] [Commented] (CB-10603) Harmonize the use of [ios|osx]-CFBundle[Identifier|version]

2016-02-23 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10603:
---

+1 for keeping the prefixes

> Harmonize the use of [ios|osx]-CFBundle[Identifier|version]
> ---
>
> Key: CB-10603
> URL: https://issues.apache.org/jira/browse/CB-10603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
> osx_CFBundleIndentifier:
> - 
> https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
> - 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Comment Edited] (CB-10603) Harmonize the use of [ios|osx]-CFBundle[Identifier|version]

2016-02-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra edited comment on CB-10603 at 2/23/16 6:52 AM:


the current commons code uses {{ios-CFBundleVersion}} and 
{{ios-CFBundleIdentifier}}:
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L106
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L132

Now with OSX in the game there could be similar new attributes 
{{osx-CFBundleVersion}} and {{osx-CFBundleIdentifier}} or we could deprecate 
the {{ios-*}} ones and just use their plain names without prefix.

suggest:
- use {{CFBundleVersion}} and {{CFBundleIdentifier}} of iOS and OSX platform.
- deprecate {{ios-CFBundleVersion}} and {{ios-CFBundleIdentifier}}

drawback:
- using the un-prefixed attribute names would prevent a project of having 
different versions/identifiers for the ios and osx platforms. if one wants to 
evolve them separately, it would then need to use some hooks to tweak the 
config.xml.

counter argument:
- windows and android also use prefixed versions, so maybe its better to keep 
this pattern consistent.


was (Author: tripod):
the current commons code uses {{ios-CFBundleVersion}} and 
{{ios-CFBundleIdentifier}}:
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L106
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L132

Now with OSX in the game there could be similar new attributes 
{{osx-CFBundleVersion}} and {{osx-CFBundleIdentifier}} or we could deprecate 
the {{ios-*}} ones and just use their plain names without prefix.

suggest:
- use {{CFBundleVersion}} and {{CFBundleIdentifier}} of iOS and OSX platform.
- deprecate {{ios-CFBundleVersion}} and {{ios-CFBundleIdentifier}}

drawback:
- using the un-prefixed attribute names would prevent a project of having 
different versions/identifiers for the ios and osx platforms. if one wants to 
evolve them separately, it would then need to use some hooks to tweak the 
config.xml.

> Harmonize the use of [ios|osx]-CFBundle[Identifier|version]
> ---
>
> Key: CB-10603
> URL: https://issues.apache.org/jira/browse/CB-10603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
> osx_CFBundleIndentifier:
> - 
> https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
> - 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Commented] (CB-10603) Harmonize the use of [ios|osx]-CFBundle[Identifier|version]

2016-02-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10603:
---

the current commons code uses {{ios-CFBundleVersion}} and 
{{ios-CFBundleIdentifier}}:
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L106
- 
https://github.com/apache/cordova-lib/blob/6.0.0/cordova-common/src/ConfigParser/ConfigParser.js#L132

Now with OSX in the game there could be similar new attributes 
{{osx-CFBundleVersion}} and {{osx-CFBundleIdentifier}} or we could deprecate 
the {{ios-*}} ones and just use their plain names without prefix.

suggest:
- use {{CFBundleVersion}} and {{CFBundleIdentifier}} of iOS and OSX platform.
- deprecate {{ios-CFBundleVersion}} and {{ios-CFBundleIdentifier}}

drawback:
- using the un-prefixed attribute names would prevent a project of having 
different versions/identifiers for the ios and osx platforms. if one wants to 
evolve them separately, it would then need to use some hooks to tweak the 
config.xml.

> Harmonize the use of [ios|osx]-CFBundle[Identifier|version]
> ---
>
> Key: CB-10603
> URL: https://issues.apache.org/jira/browse/CB-10603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
> osx_CFBundleIndentifier:
> - 
> https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
> - 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Updated] (CB-10603) Harmonize the use of [ios|osx]-CFBundle[Identifier|version]

2016-02-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10603:
--
Component/s: iOS

> Harmonize the use of [ios|osx]-CFBundle[Identifier|version]
> ---
>
> Key: CB-10603
> URL: https://issues.apache.org/jira/browse/CB-10603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
> osx_CFBundleIndentifier:
> - 
> https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
> - 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Updated] (CB-10603) Harmonize the use of [ios|osx]-CFBundle[Identifier|version]

2016-02-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10603:
--
Summary: Harmonize the use of [ios|osx]-CFBundle[Identifier|version]  (was: 
Cleanup use of ios_CFBundleIdentifier / osx_CFBundleIndentifier)

> Harmonize the use of [ios|osx]-CFBundle[Identifier|version]
> ---
>
> Key: CB-10603
> URL: https://issues.apache.org/jira/browse/CB-10603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: triaged
>
> There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
> osx_CFBundleIndentifier:
> - 
> https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
> - 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Resolved] (CB-10521) Add OS X platform to docs

2016-02-22 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10521.
---
   Resolution: Fixed
Fix Version/s: Master

> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



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

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



[jira] [Resolved] (CB-10646) Platform specific icons not copied to xcode project

2016-02-18 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10646.
---
   Resolution: Fixed
Fix Version/s: Master

> Platform specific icons not copied to xcode project
> ---
>
> Key: CB-10646
> URL: https://issues.apache.org/jira/browse/CB-10646
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: 4.0.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> the app icons are not copied to the xcode project.



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

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



[jira] [Created] (CB-10646) Platform specific icons not copied to xcode project

2016-02-18 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10646:
-

 Summary: Platform specific icons not copied to xcode project
 Key: CB-10646
 URL: https://issues.apache.org/jira/browse/CB-10646
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: 4.0.0
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


the app icons are not copied to the xcode project.



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

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



[jira] [Commented] (CB-10601) App cordova-osx refused

2016-02-13 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10601:
---

So far OSX wasn't release officially. so I guess nobody cared.

> App cordova-osx refused
> ---
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



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

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



[jira] [Commented] (CB-10386) Use of NDK is not supported with cordova-android 5.1

2016-02-12 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10386:
---

wouldn't it be better to create a {{gradle.properties}} file instead of just 
adding the build arguments? this way it also works OOTB with android studio.

> Use of NDK is not supported with cordova-android 5.1
> 
>
> Key: CB-10386
> URL: https://issues.apache.org/jira/browse/CB-10386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Nikhil Khandelwal
>
> REPRO:
> 1. Create a cordova project
> 2. Add android platform
> 3. Add a plugin that depends on NDK e.g.:
> λ cordova plugin add cordova-plugin-crosswalk-webview
> 4. Build cordova:
> λ cordova build android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_60
> embedded
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'D:\apps\app\platforms\android\build.gradle' line: 185
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Error: NDK integration is deprecated in the current plugin.  Consider 
> > trying the new experimental plugin.  For details, see 
> > http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  
> > Set "android.useDeprecatedNdk=true" in gradle.properties to continue using 
> > the current NDK integration.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> Total time: 8.628 secs
> ERROR building one of the platforms: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"



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

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



[jira] [Updated] (CB-10601) App cordova-osx refused

2016-02-12 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10601:
--
Priority: Minor  (was: Major)

> App cordova-osx refused
> ---
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



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

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



[jira] [Commented] (CB-10601) App cordova-osx refused

2016-02-12 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10601:
---

At the current state, OSX platform main purpose is to provide a runtime for 
Kiosk like applications. They usually run fullscreen.
But I agree that we could improve the behaviour to follow the guidelines for 
single-window apps.

feel free to provide a patch :-)

> App cordova-osx refused
> ---
>
> Key: CB-10601
> URL: https://issues.apache.org/jira/browse/CB-10601
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: cyril souti
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> I've published a cordova application based on cordova-osx but it refused due 
> to :
> The user interface is not consistent with the OS X Human Interface Guidelines.
> We have found that when the user closes the main application window there is 
> no menu item to re-open it. The app should implement a Window menu that lists 
> the main window so it can be reopened, or provide similar functionality in 
> another menu item. OS X Human Interface Guidelines, state that "The menu bar 
> [a]lways contains [a] Window menu".
> Alternatively, if the application is a single-window app, it might be 
> appropriate to save data and quit the app when the main window is closed. 
> For information on managing windows in Mac OS X, please review the following 
> sections in Apple Human Interface Guidelines:
> * The Menu Bar and Its Menus
> * The Window Menu
> * The File Menu
> * Clicking in the Dock
> * Window Behavior
> It accepted with ios.



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

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



[jira] [Created] (CB-10602) Deprecate the use of `ios-package` for OSX features.

2016-02-12 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10602:
-

 Summary: Deprecate the use of `ios-package` for OSX features.
 Key: CB-10602
 URL: https://issues.apache.org/jira/browse/CB-10602
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


the current config parser allows to use of {{osx-package}} and {{ios-package}} 
for plugin configurations:

https://github.com/apache/cordova-osx/blob/80c0c6fb970c26acaa3abf62200154a30dc634d0/CordovaLib/CordovaLib/Classes/Commands/CDVConfigParser.m#L77

In order to be more consistent and potentially avoid conflicts, we should only 
allow {{osx-package}}



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

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



[jira] [Created] (CB-10603) Cleanup use of ios_CFBundleIdentifier / osx_CFBundleIndentifier

2016-02-12 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10603:
-

 Summary: Cleanup use of ios_CFBundleIdentifier / 
osx_CFBundleIndentifier
 Key: CB-10603
 URL: https://issues.apache.org/jira/browse/CB-10603
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


There seems to be a mismatch with the use of ios_CFBundleIdentifier and 
osx_CFBundleIndentifier:

- 
https://github.com/apache/cordova-osx/blob/cbfa7a531bb2a0a0e39fda14edaaff0e4a146b63/bin/templates/scripts/cordova/lib/prepare.js#L131
- 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/osx_parser.js#L71



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

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



[jira] [Resolved] (CB-10572) Mobilespec tests not working for OSX

2016-02-11 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10572.
---
Resolution: Fixed

> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



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

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



[jira] [Resolved] (CB-10570) Compilation error on case sensitive filesustem

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10570.
---
Resolution: Fixed

> Compilation error on case sensitive filesustem
> --
>
> Key: CB-10570
> URL: https://issues.apache.org/jira/browse/CB-10570
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> {noformat}
> : ../CDVBridge.m:21:9: fatal error: 'JavascriptCore/JavascriptCore.h' file 
> not found
> [exec] #import
> With OSX 10.11.13, cordova 6.0.0, Xcode 7.2.1 ?
> {noformat}



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

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



[jira] [Updated] (CB-10570) Compilation error on case sensitive filesustem

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10570:
--
Fix Version/s: Master

> Compilation error on case sensitive filesustem
> --
>
> Key: CB-10570
> URL: https://issues.apache.org/jira/browse/CB-10570
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> {noformat}
> : ../CDVBridge.m:21:9: fatal error: 'JavascriptCore/JavascriptCore.h' file 
> not found
> [exec] #import
> With OSX 10.11.13, cordova 6.0.0, Xcode 7.2.1 ?
> {noformat}



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

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



[jira] [Created] (CB-10572) Mobilespec tests not working for OSX

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10572:
-

 Summary: Mobilespec tests not working for OSX
 Key: CB-10572
 URL: https://issues.apache.org/jira/browse/CB-10572
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
 Fix For: Master


The mobile spec don't work. when you run them, the window opens but non of the 
tests work.



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

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



[jira] [Created] (CB-10581) Remove deprecated methods

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10581:
-

 Summary: Remove deprecated methods
 Key: CB-10581
 URL: https://issues.apache.org/jira/browse/CB-10581
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


before releasing OSX, the deprecated methods should be removed from the api:

{noformat}
-[CDVCommandDelegate execute:]
-[CDVCommandDelegate registerPlugin:withClassName:]
{noformat}




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

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



[jira] [Created] (CB-10580) file.spec.25 fails on OSX

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10580:
-

 Summary: file.spec.25 fails on OSX
 Key: CB-10580
 URL: https://issues.apache.org/jira/browse/CB-10580
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


{noformat}
file.spec.25 DirectoryEntry.getDirectory: create new dir with space 
resolveLocalFileSystemURL with encoded URI
{noformat}



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

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



[jira] [Resolved] (CB-10580) file.spec.25 fails on OSX

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10580.
---
Resolution: Not A Problem

bummer...just realized that this test is excluded.

> file.spec.25 fails on OSX
> -
>
> Key: CB-10580
> URL: https://issues.apache.org/jira/browse/CB-10580
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> {noformat}
> file.spec.25 DirectoryEntry.getDirectory: create new dir with space 
> resolveLocalFileSystemURL with encoded URI
> {noformat}



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

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



[jira] [Created] (CB-10579) WebSQL mobilespec tests don't work on OSX

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10579:
-

 Summary: WebSQL mobilespec tests don't work on OSX
 Key: CB-10579
 URL: https://issues.apache.org/jira/browse/CB-10579
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


WebSQL tests currently fail on OSX:

{noformat}
org.apache.cordova.mobilespec.tests.storage.tests >> Session Storage HTML 5 
Storage HTML 5 Storage storage.spec.18 Should be able to create and drop tables

SecurityError: SecurityError: DOM Exception 18
{noformat}




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

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



[jira] [Created] (CB-10582) Clean up code before release

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10582:
-

 Summary: Clean up code before release
 Key: CB-10582
 URL: https://issues.apache.org/jira/browse/CB-10582
 Project: Apache Cordova
  Issue Type: Improvement
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


Various classes need code cleanup.



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

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



[jira] [Resolved] (CB-10581) Remove deprecated methods

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10581.
---
   Resolution: Fixed
Fix Version/s: Master

> Remove deprecated methods
> -
>
> Key: CB-10581
> URL: https://issues.apache.org/jira/browse/CB-10581
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> before releasing OSX, the deprecated methods should be removed from the api:
> {noformat}
> -[CDVCommandDelegate execute:]
> -[CDVCommandDelegate registerPlugin:withClassName:]
> {noformat}



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

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



[jira] [Resolved] (CB-10582) Clean up code before release

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10582.
---
   Resolution: Fixed
Fix Version/s: Master

> Clean up code before release
> 
>
> Key: CB-10582
> URL: https://issues.apache.org/jira/browse/CB-10582
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> Various classes need code cleanup.



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

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



[jira] [Updated] (CB-10545) Mobilespec: Connection to the other side lost

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-10545:
--
Component/s: (was: OSX)

> Mobilespec: Connection to the other side lost
> -
>
> Key: CB-10545
> URL: https://issues.apache.org/jira/browse/CB-10545
> Project: Apache Cordova
>  Issue Type: Test
>  Components: iOS
>Reporter: Omar Mefire
>Priority: Minor
>  Labels: found-by-ci
>
> Link:
> https://ci.apache.org/builders/cordova-ios/builds/1666/steps/running-tests/logs/stdio
> ===
> File Content:
> CompileAssetCatalog build/device/mobilespec.app mobilespec/Images.xcassets
> cd /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios
> export 
> PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/buildbot/Developer/android-sdk-macosx/tools:/Users/buildbot/Developer/android-sdk-macosx/platform-tools"
> /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format 
> human-readable-text --notices --warnings --export-dependency-info 
> /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/build/mobilespec.build/Debug-iphoneos/mobilespec.build/assetcatalog_dependencies
>  --output-partial-info-plist 
> /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/build/mobilespec.build/Debug-iphoneos/mobilespec.build/assetcatalog_generated_info.plist
>  --app-icon AppIcon --launch-image LaunchImage --compress-pngs 
> --enable-on-demand-resources YES --target-device iphone --target-device ipad 
> --minimum-deployment-target 8.0 --platform iphoneos --compile 
> /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/build/device/mobilespec.app
>  
> /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/mobilespec/Images.xcassets
> remoteFailed: [Failure instance: Traceback (failure with no frames):  'twisted.internet.error.ConnectionLost'>: Connection to the other side was 
> lost in a non-clean fashion.
> ]



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

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



[jira] [Created] (CB-10570) Compilation error on case sensitive filesustem

2016-02-09 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10570:
-

 Summary: Compilation error on case sensitive filesustem
 Key: CB-10570
 URL: https://issues.apache.org/jira/browse/CB-10570
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


{noformat}
: ../CDVBridge.m:21:9: fatal error: 'JavascriptCore/JavascriptCore.h' file not 
found
[exec] #import

With OSX 10.11.13, cordova 6.0.0, Xcode 7.2.1 ?
{noformat}




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

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



[jira] [Commented] (CB-10570) Compilation error on case sensitive filesustem

2016-02-09 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10570:
---

see https://github.com/apache/cordova-osx/pull/30

> Compilation error on case sensitive filesustem
> --
>
> Key: CB-10570
> URL: https://issues.apache.org/jira/browse/CB-10570
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> {noformat}
> : ../CDVBridge.m:21:9: fatal error: 'JavascriptCore/JavascriptCore.h' file 
> not found
> [exec] #import
> With OSX 10.11.13, cordova 6.0.0, Xcode 7.2.1 ?
> {noformat}



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

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



[jira] [Commented] (CB-10525) Review all config.xml preferences to their effect in OS X

2016-02-03 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra commented on CB-10525:
---

from https://cordova.apache.org/docs/en/latest/config_ref/index.html:

- Fullscreen (see impact on OSX Specific 'WindowSize')
- DisallowOverscroll (not supported on osx, docu ok)
- BackgroundColor (not supported on osx, docu ok)
- HideKeyboardFormAccessoryBar (not supported on osx. docu ok)
- Orientation (not supported on osx, docu ok)

todo:
- clarify {{Fullscreen}} in code and documenation
- replace hardcoded strings in code by constants and add docu
- update documentation
- clean up default config.xml 
https://github.com/apache/cordova-osx/blob/master/bin/templates/project/__PROJECT_NAME__/config.xml

> Review all config.xml preferences to their effect in OS X
> -
>
> Key: CB-10525
> URL: https://issues.apache.org/jira/browse/CB-10525
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> The default config.xml provides lot of preferences that are not supported or 
> recognized on OSX. This needs to be reviews and documented.



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

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



[jira] [Created] (CB-10525) Review all config.xml preferences to their effect in OS X

2016-02-03 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10525:
-

 Summary: Review all config.xml preferences to their effect in OS X
 Key: CB-10525
 URL: https://issues.apache.org/jira/browse/CB-10525
 Project: Apache Cordova
  Issue Type: Improvement
  Components: OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


The default config.xml provides lot of preferences that are not supported or 
recognized on OSX. This needs to be reviews and documented.



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

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



[jira] [Created] (CB-10521) Add OS X platform to docs

2016-02-03 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-10521:
-

 Summary: Add OS X platform to docs
 Key: CB-10521
 URL: https://issues.apache.org/jira/browse/CB-10521
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs, OSX
Affects Versions: Master
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra


With the upcoming initial release of OSX we also need to provide documentation.



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

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



[jira] [Resolved] (CB-10085) Implement and expose PlatformApi for OS X

2016-02-02 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10085.
---
   Resolution: Fixed
Fix Version/s: Master

> Implement and expose PlatformApi for OS X
> -
>
> Key: CB-10085
> URL: https://issues.apache.org/jira/browse/CB-10085
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>  Labels: PlatformApi
> Fix For: Master
>
>
> (will wait for iOS to complete to get a good starting point for copy-paste :-)



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

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



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

2016-01-26 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-2415:
-
Assignee: (was: Tobias Bocanegra)

> On iOS the ajax error/fail callback is not called after server returns error 
> code 401/unauthorized
> --
>
> Key: CB-2415
> URL: https://issues.apache.org/jira/browse/CB-2415
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.2.0
> Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, 
> cordova 2.2
>Reporter: Zach White
>  Labels: 401, BasicAuth, core
>
> I am seeing the same issue as reported in 
> [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax 
> calls with Authorization header set are not returning but are timing out when 
> the authorization credentials are invalid.



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

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



  1   2   3   >