[jira] [Commented] (CB-3957) CordovaTests test for background colour is broken - wrong classname

2013-07-02 Thread Peter (JIRA)

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

Peter commented on CB-3957:
---

@Lisa: (??) I can't pull CRs. I am just a poor dumb user.

 CordovaTests test for background colour is broken - wrong classname
 ---

 Key: CB-3957
 URL: https://issues.apache.org/jira/browse/CB-3957
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.7.0
Reporter: Peter
Assignee: Lisa Seacat DeLuca
Priority: Minor

 The supplied test app (project CordovaViewTestActivity) has a button for 
 testing background colour.
 Code in index.html
 {code}
 button class=btn large 
 onclick=startActivity('org.apache.cordova.test.actions.backgroundcolor');Background
  Color/button
 {code}
 But the button does not work at all.
 It turns out there is a org/apache/cordova/test/backgroundcolor.class but 
 there is not a org/apache/cordova/test/*actions*/backgroundcolor.class. 
 It looks like this Activity class is simply in the wrong directory. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3835) AudioPlayer - Playing audio - Renaming error

2013-07-02 Thread Joram Teusink (JIRA)

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

Joram Teusink updated CB-3835:
--

Affects Version/s: 2.9.0

 AudioPlayer - Playing audio - Renaming error
 

 Key: CB-3835
 URL: https://issues.apache.org/jira/browse/CB-3835
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Affects Versions: 2.7.0, 2.8.0, 2.9.0
 Environment: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.3-4.2.2
Reporter: Joram Teusink
Assignee: Steve Gill
Priority: Minor

 When playing a media file (audio) from a url with AudioPlayer I get the 
 following error in the console (logcat):
 - AudioPlayer : Send a onStatus update for the new seek
 - AudioPlayer : renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 - AudioPlayer : FAILED renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 The code is the same as in de demos in the PhoneGap docs.
 No errors in the app and playback works fine. And I noticed that in the root 
 of the sdcard a tmprecording.3gp file was created. But did not see that one 
 coming back after deletion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3835) AudioPlayer - Playing audio - Renaming error

2013-07-02 Thread Joram Teusink (JIRA)

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

Joram Teusink updated CB-3835:
--

Labels: audioplayer media tmprecording.3gp  (was: audioplayer media)

 AudioPlayer - Playing audio - Renaming error
 

 Key: CB-3835
 URL: https://issues.apache.org/jira/browse/CB-3835
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Affects Versions: 2.7.0, 2.8.0, 2.9.0
 Environment: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.3-4.2.2
Reporter: Joram Teusink
Assignee: Steve Gill
Priority: Minor
  Labels: audioplayer, media, tmprecording.3gp

 When playing a media file (audio) from a url with AudioPlayer I get the 
 following error in the console (logcat):
 - AudioPlayer : Send a onStatus update for the new seek
 - AudioPlayer : renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 - AudioPlayer : FAILED renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 The code is the same as in de demos in the PhoneGap docs.
 No errors in the app and playback works fine. And I noticed that in the root 
 of the sdcard a tmprecording.3gp file was created. But did not see that one 
 coming back after deletion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3835) AudioPlayer - Playing audio - Renaming error

2013-07-02 Thread Joram Teusink (JIRA)

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

Joram Teusink updated CB-3835:
--

Environment: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.x and higher  
(was: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.3-4.2.2)

 AudioPlayer - Playing audio - Renaming error
 

 Key: CB-3835
 URL: https://issues.apache.org/jira/browse/CB-3835
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Affects Versions: 2.7.0, 2.8.0, 2.9.0
 Environment: PhoneGap + jQuery Mobile 1.3.x + Android 2.3.x and higher
Reporter: Joram Teusink
Assignee: Steve Gill
Priority: Minor
  Labels: audioplayer, media, tmprecording.3gp

 When playing a media file (audio) from a url with AudioPlayer I get the 
 following error in the console (logcat):
 - AudioPlayer : Send a onStatus update for the new seek
 - AudioPlayer : renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 - AudioPlayer : FAILED renaming /storage/emulated/0/tmprecording.3gp to 
 /storage/emulated/0/http://...rest of url
 The code is the same as in de demos in the PhoneGap docs.
 No errors in the app and playback works fine. And I noticed that in the root 
 of the sdcard a tmprecording.3gp file was created. But did not see that one 
 coming back after deletion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3762) notification.prompt doesn't accept an empty string for default text

2013-07-02 Thread Thomas K. (JIRA)

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

Thomas K. edited comment on CB-3762 at 7/2/13 12:48 PM:


The bug still exists in Android's cordova.js
The bug occurs because if() is false in JavaScript!

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360

  was (Author: katzlbt):
The bug still exists in Android's cordova.js

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360
  
 notification.prompt doesn't accept an empty string for default text
 ---

 Key: CB-3762
 URL: https://issues.apache.org/jira/browse/CB-3762
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Dialogs
Affects Versions: 2.7.0, 2.8.0
Reporter: Todd Miller
Assignee: Steve Gill
Priority: Minor

 Specifying  as the last parameter for navigator.notification.prompt, the 
 prompt dialog will still show Default Text in the text input box. However, 
 putting a string of just a single space works (but also results in a space in 
 the text box).
 In additional seems like the default of Default Text isn't the best choice 
 from UX perspective. A default of an empty text box would make more sense.
 Changing line 5909 in cordova.js from:
 var _defaultText = (defaultText || Default text);
 to
 var _defaultText = (defaultText || );
 Resolves the issue and gives a blank text box by default. Documentation would 
 also need to be updated with the new default if this is adopted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3762) notification.prompt doesn't accept an empty string for default text

2013-07-02 Thread Thomas K. (JIRA)

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

Thomas K. edited comment on CB-3762 at 7/2/13 12:57 PM:


The bug still exists in Android's cordova.js
The bug occurs because if() is false in JavaScript, hence x =  || Default 
text results in x = Default text! 

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360

  was (Author: katzlbt):
The bug still exists in Android's cordova.js
The bug occurs because if() is false in JavaScript!

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360
  
 notification.prompt doesn't accept an empty string for default text
 ---

 Key: CB-3762
 URL: https://issues.apache.org/jira/browse/CB-3762
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Dialogs
Affects Versions: 2.7.0, 2.8.0
Reporter: Todd Miller
Assignee: Steve Gill
Priority: Minor

 Specifying  as the last parameter for navigator.notification.prompt, the 
 prompt dialog will still show Default Text in the text input box. However, 
 putting a string of just a single space works (but also results in a space in 
 the text box).
 In additional seems like the default of Default Text isn't the best choice 
 from UX perspective. A default of an empty text box would make more sense.
 Changing line 5909 in cordova.js from:
 var _defaultText = (defaultText || Default text);
 to
 var _defaultText = (defaultText || );
 Resolves the issue and gives a blank text box by default. Documentation would 
 also need to be updated with the new default if this is adopted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3762) notification.prompt doesn't accept an empty string for default text

2013-07-02 Thread Thomas K. (JIRA)

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

Thomas K. edited comment on CB-3762 at 7/2/13 12:59 PM:


The bug still exists in Android's cordova.js
The bug occurs because if() is false in JavaScript, hence x =  || Default 
text or also null, undefined results in x = Default text! 

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360

  was (Author: katzlbt):
The bug still exists in Android's cordova.js
The bug occurs because if() is false in JavaScript, hence x =  || Default 
text results in x = Default text! 

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/assets/www/cordova.js;h=873c068230e3706e13fb0b575ae3895521ba5acb;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3#l6360
  
 notification.prompt doesn't accept an empty string for default text
 ---

 Key: CB-3762
 URL: https://issues.apache.org/jira/browse/CB-3762
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Dialogs
Affects Versions: 2.7.0, 2.8.0
Reporter: Todd Miller
Assignee: Steve Gill
Priority: Minor

 Specifying  as the last parameter for navigator.notification.prompt, the 
 prompt dialog will still show Default Text in the text input box. However, 
 putting a string of just a single space works (but also results in a space in 
 the text box).
 In additional seems like the default of Default Text isn't the best choice 
 from UX perspective. A default of an empty text box would make more sense.
 Changing line 5909 in cordova.js from:
 var _defaultText = (defaultText || Default text);
 to
 var _defaultText = (defaultText || );
 Resolves the issue and gives a blank text box by default. Documentation would 
 also need to be updated with the new default if this is adopted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3720) Breakout File Plugin for BlackBerry

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

Commit c409079deeb221b13b40635da5f34b9fa14222e1 in branch refs/heads/bb10 from 
[~bryanhiggins]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=c409079 ]

[CB-3720] [BlackBerry10] Add BB10 File implementation


 Breakout File Plugin for BlackBerry
 ---

 Key: CB-3720
 URL: https://issues.apache.org/jira/browse/CB-3720
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry, Plugin File
Reporter: Steve Gill
Assignee: Bryan Higgins
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-02 Thread David Kemp (JIRA)

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

David Kemp reassigned CB-3397:
--

Assignee: David Kemp

 A way to control the width/height and x/y placement of the InAppBrowser 
 UIWebView on the screen
 ---

 Key: CB-3397
 URL: https://issues.apache.org/jira/browse/CB-3397
 Project: Apache Cordova
  Issue Type: Improvement
Affects Versions: 2.7.0
Reporter: Jan-Dirk Schuitemaker
Assignee: David Kemp
Priority: Minor
  Labels: Cordova, InAppBrowser

 Currently the inAppBrowser overlays your app. If you were able to set 
 position and heigth/width for the InAppBrowser UIWebView you could make it 
 look as if you are still in the app

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-02 Thread David Kemp (JIRA)

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

David Kemp commented on CB-3397:


Adding this requires a size, and a location (4 values). My preference would be 
to add these as an object that can be passed in. Unfortunately, the current 
implementation of window.open() uses an option argument that is a 
comma-delimited list of key-values pairs. 
Some options:
* modify the existing function signature by adding another option (seems odd)
* modify the signature to accept an array of key-values for the option 
parameter (might break things)
* add string options with a syntax like position=20;20, size=200;200

It seems like the last one is a little hacky, but safe and backward compatible.

Thoughts?


 A way to control the width/height and x/y placement of the InAppBrowser 
 UIWebView on the screen
 ---

 Key: CB-3397
 URL: https://issues.apache.org/jira/browse/CB-3397
 Project: Apache Cordova
  Issue Type: Improvement
Affects Versions: 2.7.0
Reporter: Jan-Dirk Schuitemaker
Assignee: David Kemp
Priority: Minor
  Labels: Cordova, InAppBrowser

 Currently the inAppBrowser overlays your app. If you were able to set 
 position and heigth/width for the InAppBrowser UIWebView you could make it 
 look as if you are still in the app

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3761) XHR Crash using Cordova

2013-07-02 Thread Lee Crossley (JIRA)

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

Lee Crossley commented on CB-3761:
--

This is still an issue in 2.9.0. Making the above change to the js fixes the 
IndexOutOfRangeException but we're not getting any callbacks, it seems to 
swallow any success / failure functions that have been defined as part of the 
local XHR.

 XHR Crash using Cordova
 ---

 Key: CB-3761
 URL: https://issues.apache.org/jira/browse/CB-3761
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.8.0
 Environment: Windows 8, Visual Studio 11, WP Simulator and Device
Reporter: Dillon Lucente
Assignee: Jesse MacFadyen

 Out of bounds crash when trying to use Cordova.js overridden XHR.
 Affected files: FileUtil.cs (readResourceAsText() line 707) and Cordova.js 
 (line 6258)
 Changes in the C# implementation haven't made their way back to the js 
 implementation. readResourceAsText() expects an array of 5 elements, but the 
 js is only supplying two arguments.
 Possible fixes:
 Change line 6258 of Cordova.js from:
 File, readResourceAsText, [alias._url]
 to:
 File, readResourceAsText, [alias._url, , 0, 0]
 Or change readResourceAsText() to not try to assign variables it doesn't use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3761) XHR Crash using Cordova

2013-07-02 Thread Lee Crossley (JIRA)

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

Lee Crossley commented on CB-3761:
--

By stealing the native XHRProxy.cs code and updating ajax requests to $.ajax({ 
url: XHRLOCAL/x-wmapp0:www/page.html }) or similar, everything works and 
CB-3761 will no longer be an issue.

 XHR Crash using Cordova
 ---

 Key: CB-3761
 URL: https://issues.apache.org/jira/browse/CB-3761
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.8.0
 Environment: Windows 8, Visual Studio 11, WP Simulator and Device
Reporter: Dillon Lucente
Assignee: Jesse MacFadyen

 Out of bounds crash when trying to use Cordova.js overridden XHR.
 Affected files: FileUtil.cs (readResourceAsText() line 707) and Cordova.js 
 (line 6258)
 Changes in the C# implementation haven't made their way back to the js 
 implementation. readResourceAsText() expects an array of 5 elements, but the 
 js is only supplying two arguments.
 Possible fixes:
 Change line 6258 of Cordova.js from:
 File, readResourceAsText, [alias._url]
 to:
 File, readResourceAsText, [alias._url, , 0, 0]
 Or change readResourceAsText() to not try to assign variables it doesn't use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3761) XHR Crash using Cordova

2013-07-02 Thread Lee Crossley (JIRA)

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

Lee Crossley edited comment on CB-3761 at 7/2/13 4:21 PM:
--

By stealing the native XHRProxy.cs code and updating ajax requests to 
$.ajax({
url: x-wmapp0:www/page.html
}) or similar, everything works and CB-3761 will no longer be an issue.

  was (Author: leecrossley):
By stealing the native XHRProxy.cs code and updating ajax requests to 
$.ajax({ url: XHRLOCAL/x-wmapp0:www/page.html }) or similar, everything works 
and CB-3761 will no longer be an issue.
  
 XHR Crash using Cordova
 ---

 Key: CB-3761
 URL: https://issues.apache.org/jira/browse/CB-3761
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.8.0
 Environment: Windows 8, Visual Studio 11, WP Simulator and Device
Reporter: Dillon Lucente
Assignee: Jesse MacFadyen

 Out of bounds crash when trying to use Cordova.js overridden XHR.
 Affected files: FileUtil.cs (readResourceAsText() line 707) and Cordova.js 
 (line 6258)
 Changes in the C# implementation haven't made their way back to the js 
 implementation. readResourceAsText() expects an array of 5 elements, but the 
 js is only supplying two arguments.
 Possible fixes:
 Change line 6258 of Cordova.js from:
 File, readResourceAsText, [alias._url]
 to:
 File, readResourceAsText, [alias._url, , 0, 0]
 Or change readResourceAsText() to not try to assign variables it doesn't use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4033) readAsText sensitively supports UTF-8

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

Commit d644b0aa542882beb3ee1bc030ca0426d68543f5 in branch refs/heads/master 
from [~max.woghiren]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=d644b0a ]

[CB-4033] Relaxed case-sensitivity of UTF-8.

FileReader.readAsText previously did not accept, for example, utf-8.

 readAsText sensitively supports UTF-8
 ---

 Key: CB-4033
 URL: https://issues.apache.org/jira/browse/CB-4033
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Max Woghiren
Assignee: Max Woghiren
Priority: Trivial
 Fix For: 3.0.0


 Using, for instance, UTF8 and utf-8 are not accepted, though they should 
 be.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3967) Add compiler-flags attribute to source-file tag

2013-07-02 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-3967:
---

I *think* I've found it but Shaz if you can confirm that'd be good :)

1. Select project
2. Select target
3. Click Build Phases
4. You can set stuff per-file under Compile Sources.

It looks like it adds {{settings = {COMPILER_FLAGS = -fno-objc-arc; };}} to 
the pbxproj file, under PBXBuildFile section.

 Add compiler-flags attribute to source-file tag
 ---

 Key: CB-3967
 URL: https://issues.apache.org/jira/browse/CB-3967
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugman
Reporter: Shazron Abdullah
Assignee: Filip Maj
 Fix For: 3.0.0


 Proposed for 3.0.0.
 ML thread: http://markmail.org/thread/3n5cogkp6yrx4ina
 *Summary:*
 Add a *compiler-flags* attribute (hyphenated instead of camel-cased to 
 conform to the spec style) to the *source-file* tag.
 *Scenarios:*
 - Adding third-party code (with lots of files) that are not ARC enabled, and 
 including them in an ARC project (3.0.0 will be ARC), you need to add the 
 *-fno-objc-arc* compiler flag to each non-ARC file
 - Adding third-party code (with lots of files) that are ARC enabled, and 
 including them in an non-ARC project (2.9.0 and below are non-ARC), you need 
 to add the *-fobjc-arc* compiler flag to each ARC file
 Plugins can be upgraded using the *__has_feature(objc_arc)* if they are 
 small, but this is problematic if you had to include the source files for the 
 Facebook SDK, for example (lots of files, maintenance nightmare if you were 
 to modify them). Pre-compiled binaries are unaffected.
 Example usage:
 {code}
 source-file src=FooBar.m compiler-flags=-fno-objc-arc /
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3005) Argument not supported if the start page URL contains argument

2013-07-02 Thread Olivier Goguel (JIRA)

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

Olivier Goguel commented on CB-3005:


OK. I've prepared a pull request (with a proper fix (not a hack anymore!) and 
the corresponding unit tests) : https://github.com/apache/cordova-ios/pull/65

 Argument not supported if the start page URL contains argument
 --

 Key: CB-3005
 URL: https://issues.apache.org/jira/browse/CB-3005
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
Reporter: Olivier Goguel
 Fix For: 3.1.0


 If the startPage contains arguments (ex: index.html?env=prod), Cordova 
 displays not found error, while it is a properly formatted URL.
 Tentative Fix: use relativeToURL instead of fileURLWithPath in 
 viewDidLoad/CDDViewController.h

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3965) [BlackBerry10] Remove prompts from 'platform add blackberry' now that device/simulator info is global

2013-07-02 Thread Bryan Higgins (JIRA)

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

Bryan Higgins resolved CB-3965.
---

Resolution: Fixed

 [BlackBerry10] Remove prompts from 'platform add blackberry' now that 
 device/simulator info is global
 -

 Key: CB-3965
 URL: https://issues.apache.org/jira/browse/CB-3965
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
Affects Versions: 2.8.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3770) can't install cordova CLI on Win7

2013-07-02 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-3770:
---

Thanks Mike!

 can't install cordova CLI on Win7
 -

 Key: CB-3770
 URL: https://issues.apache.org/jira/browse/CB-3770
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Docs
Affects Versions: 2.8.0
 Environment: Win7
Reporter: Mike Sierra
Assignee: Benn Mapes
Priority: Minor

 Run npm install -g cordova on Win7 machine with WinPhone7 SDK installed.  
 Fails to install. According to Benn, Seems to just be an error inside the 
 ripple-emulator

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3440) [BlackBerry10] Investigate failing File API specs

2013-07-02 Thread Bryan Higgins (JIRA)

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

Bryan Higgins commented on CB-3440:
---

Also need to investigate why there are 3 additional failing tests when 
re-running mobile-spec

 [BlackBerry10] Investigate failing File API specs
 -

 Key: CB-3440
 URL: https://issues.apache.org/jira/browse/CB-3440
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry
Affects Versions: 2.8.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.0.0


 error code mismatches
 exclusive attribute
 invalid file names (colon is allowed in QNX)
 seek

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3720) Breakout File Plugin for BlackBerry

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

Commit 5d4069d1bf3f2cb71fc99da4557a36013d72ca88 in branch refs/heads/master 
from [~bryanhiggins]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=5d4069d ]

[CB-3720] [BlackBerry10] Add BB10 File implementation

Reviewed by Jeffrey Heifetz jheif...@blackberry.com
Tested by Tracy Li t...@blackberry.com


 Breakout File Plugin for BlackBerry
 ---

 Key: CB-3720
 URL: https://issues.apache.org/jira/browse/CB-3720
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry, Plugin File
Reporter: Steve Gill
Assignee: Bryan Higgins
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3720) Breakout File Plugin for BlackBerry

2013-07-02 Thread Bryan Higgins (JIRA)

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

Bryan Higgins resolved CB-3720.
---

Resolution: Fixed

 Breakout File Plugin for BlackBerry
 ---

 Key: CB-3720
 URL: https://issues.apache.org/jira/browse/CB-3720
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry, Plugin File
Reporter: Steve Gill
Assignee: Bryan Higgins
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4066) [BlackBerry10] Can not build when no icon is specified in config.xml

2013-07-02 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-4066:
-

 Summary: [BlackBerry10] Can not build when no icon is specified in 
config.xml
 Key: CB-4066
 URL: https://issues.apache.org/jira/browse/CB-4066
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 2.9.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.0.0


config-parser.js adds default-icon.png to the manifest, but no such file is 
included in the repo

The preferred resolution is to remove this logic and rely on the system default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3997) Add a Blog section to cordova.apache.org

2013-07-02 Thread Carlos Santana (JIRA)

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

Carlos Santana commented on CB-3997:


Ok I have this working with jekyll and GitHub pages

You can preview gh-pages branch here:
http://csantanapr.github.io/cordova-blog/blog

You can see repo here:
https://github.com/csantanapr/cordova-blog

Blog README:
https://github.com/csantanapr/cordova-blog/blob/master/www/README.md

All the infrastructure is setup, only the blog is fully jekyll.

There is no blog entries yet. But they can be added by just adding a markdown 
file

I will try to figure out how to create a patch from git repo to put in apache 
svn

What do you think on creating a firt blog post: What's new in Cordova 2.9.0 ?


 Add a Blog section to cordova.apache.org
 

 Key: CB-3997
 URL: https://issues.apache.org/jira/browse/CB-3997
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Website
Reporter: Andrew Grieve
Assignee: Carlos Santana

 ML discussion: http://callback.markmail.org/thread/ubude5trywrzbi6g
 Set up Jekyll's blogging system at cordova.apache.org/blog

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3967) Add compiler-flags attribute to source-file tag

2013-07-02 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-3967:
---

Sent pull request to underlying node-xcode library to add support for this:

https://github.com/alunny/node-xcode/pull/13

Hopefully that can get merged in and pushed to npm, at which point we can 
gracefully integrate into plugman.

 Add compiler-flags attribute to source-file tag
 ---

 Key: CB-3967
 URL: https://issues.apache.org/jira/browse/CB-3967
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugman
Reporter: Shazron Abdullah
Assignee: Filip Maj
 Fix For: 3.0.0


 Proposed for 3.0.0.
 ML thread: http://markmail.org/thread/3n5cogkp6yrx4ina
 *Summary:*
 Add a *compiler-flags* attribute (hyphenated instead of camel-cased to 
 conform to the spec style) to the *source-file* tag.
 *Scenarios:*
 - Adding third-party code (with lots of files) that are not ARC enabled, and 
 including them in an ARC project (3.0.0 will be ARC), you need to add the 
 *-fno-objc-arc* compiler flag to each non-ARC file
 - Adding third-party code (with lots of files) that are ARC enabled, and 
 including them in an non-ARC project (2.9.0 and below are non-ARC), you need 
 to add the *-fobjc-arc* compiler flag to each ARC file
 Plugins can be upgraded using the *__has_feature(objc_arc)* if they are 
 small, but this is problematic if you had to include the source files for the 
 Facebook SDK, for example (lots of files, maintenance nightmare if you were 
 to modify them). Pre-compiled binaries are unaffected.
 Example usage:
 {code}
 source-file src=FooBar.m compiler-flags=-fno-objc-arc /
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3822) Rework SDK-specific content

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-3822] Update iOS Getting Started guide.

Conflicts:

docs/en/edge/guide/getting-started/ios/index.md


 Rework SDK-specific content
 ---

 Key: CB-3822
 URL: https://issues.apache.org/jira/browse/CB-3822
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Mike Sierra
Assignee: Mike Sierra

 Organize platform-specific content as fixed set of unnumbered subheads listed 
 below. Remove or move information extraneous to that core set of content.  
 Remove out-of-scope  redundant references to installing cordova or creating 
 projects; link CLI doc. For platforms not covered by the CLI, remove any 
 unnecessary references to non-CLI command-line tools from main exposition; 
 append summary in Command-line Utilities. Subheads:
  Requirements and Support
  Install the SDK
  Open a Project in the SDK
  Deploy to Emulator [from CLI  within SDK]
  Deploy to Device [from CLI  within SDK]
  Common Problems [hopefully optional]
  Command-line Utilities

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3822) Rework SDK-specific content

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-3822] iOS common problems


 Rework SDK-specific content
 ---

 Key: CB-3822
 URL: https://issues.apache.org/jira/browse/CB-3822
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Mike Sierra
Assignee: Mike Sierra

 Organize platform-specific content as fixed set of unnumbered subheads listed 
 below. Remove or move information extraneous to that core set of content.  
 Remove out-of-scope  redundant references to installing cordova or creating 
 projects; link CLI doc. For platforms not covered by the CLI, remove any 
 unnecessary references to non-CLI command-line tools from main exposition; 
 append summary in Command-line Utilities. Subheads:
  Requirements and Support
  Install the SDK
  Open a Project in the SDK
  Deploy to Emulator [from CLI  within SDK]
  Deploy to Device [from CLI  within SDK]
  Common Problems [hopefully optional]
  Command-line Utilities

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3822) Rework SDK-specific content

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-3822] iOS requirements  DSK installation


 Rework SDK-specific content
 ---

 Key: CB-3822
 URL: https://issues.apache.org/jira/browse/CB-3822
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Mike Sierra
Assignee: Mike Sierra

 Organize platform-specific content as fixed set of unnumbered subheads listed 
 below. Remove or move information extraneous to that core set of content.  
 Remove out-of-scope  redundant references to installing cordova or creating 
 projects; link CLI doc. For platforms not covered by the CLI, remove any 
 unnecessary references to non-CLI command-line tools from main exposition; 
 append summary in Command-line Utilities. Subheads:
  Requirements and Support
  Install the SDK
  Open a Project in the SDK
  Deploy to Emulator [from CLI  within SDK]
  Deploy to Device [from CLI  within SDK]
  Common Problems [hopefully optional]
  Command-line Utilities

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3822) Rework SDK-specific content

2013-07-02 Thread Michael Brooks (JIRA)

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

Michael Brooks commented on CB-3822:


The above commits are from [pull request 
#59|https://github.com/apache/cordova-docs/pull/59].

 Rework SDK-specific content
 ---

 Key: CB-3822
 URL: https://issues.apache.org/jira/browse/CB-3822
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Mike Sierra
Assignee: Mike Sierra

 Organize platform-specific content as fixed set of unnumbered subheads listed 
 below. Remove or move information extraneous to that core set of content.  
 Remove out-of-scope  redundant references to installing cordova or creating 
 projects; link CLI doc. For platforms not covered by the CLI, remove any 
 unnecessary references to non-CLI command-line tools from main exposition; 
 append summary in Command-line Utilities. Subheads:
  Requirements and Support
  Install the SDK
  Open a Project in the SDK
  Deploy to Emulator [from CLI  within SDK]
  Deploy to Device [from CLI  within SDK]
  Common Problems [hopefully optional]
  Command-line Utilities

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3770) can't install cordova CLI on Win7

2013-07-02 Thread Michael Brooks (JIRA)

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

Michael Brooks edited comment on CB-3770 at 7/2/13 10:09 PM:
-

Commit 
[39c290|https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=39c2903]
 removes the {{git}} dependency and downloads {{filmaj/node-xcode}} as a HTTP 
tarball.

  was (Author: mwbrooks):
Commit 
[39c290|https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=39c2903]
 removes the {{git}} dependency and downloaded {{filmaj/node-xcode}} as a HTTP 
tarball.
  
 can't install cordova CLI on Win7
 -

 Key: CB-3770
 URL: https://issues.apache.org/jira/browse/CB-3770
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Docs
Affects Versions: 2.8.0
 Environment: Win7
Reporter: Mike Sierra
Assignee: Benn Mapes
Priority: Minor

 Run npm install -g cordova on Win7 machine with WinPhone7 SDK installed.  
 Fails to install. According to Benn, Seems to just be an error inside the 
 ripple-emulator

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4060) npm dependency references a git repository

2013-07-02 Thread Michael Brooks (JIRA)

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

Michael Brooks resolved CB-4060.


Resolution: Fixed
  Assignee: Michael Brooks  (was: Filip Maj)

 npm dependency references a git repository
 --

 Key: CB-4060
 URL: https://issues.apache.org/jira/browse/CB-4060
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
 Environment: 
 https://github.com/apache/cordova-plugman/blob/master/package.json#L23
Reporter: Michael Brooks
Assignee: Michael Brooks

 *Problem:*
 {{npm}} throws a {{ENOGIT}} error when installing the {{plugman}} module on a 
 system that does not have git installed.
 This is a common scenario on a Windows machine, where many users will use 
 _node.js command prompt_ to interact with node applications. In order to 
 access git, the user must use _GitBash command prompt_ or add git to their 
 _node.js command prompt_ {{PATH}}.
 *Reason:*
 The {{package.json}} references the {{git}} repository 
 [filmaj/node-xcode|https://github.com/apache/cordova-plugman/blob/master/package.json#L23].
 *Solution:*
 The {{package.json}} should reference a published node module or a standard 
 HTTP address that references a tarball.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-456) Localstorage across program runs seems impossible in the Mac

2013-07-02 Thread Adam George (JIRA)

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

Adam George commented on CB-456:


I was able to get localStorage working in an OSX app. But I used MacGap (a fork 
of Phonegap)

I had to tinker around a bit:
http://stackoverflow.com/questions/10609644/localstorage-not-persisting-in-osx-app-xcode-4-3

I also had to use a private API `_setLocalStorageDatabasePath`, so don't know 
how that will go down with the approval process. I'll find out after I submit I 
guess.


Would be good to see a proper fix for this in Cordova.

 Localstorage across program runs seems impossible in the Mac
 

 Key: CB-456
 URL: https://issues.apache.org/jira/browse/CB-456
 Project: Apache Cordova
  Issue Type: Bug
  Components: OSX
Reporter: Shazron Abdullah
Priority: Minor
  Labels: audit

 Reported by: Ray Wang https://github.com/winterlightning
 The biggest problem I ran into developing in cocoa webkit is this: (I asked 
 the first question)
 http://stackoverflow.com/questions/8594822/how-do-you-set-localstorage-so-it-persist-across-program-runs
 http://stackoverflow.com/questions/8198453/local-storage-in-webview-is-not-persistent
 If someone has a proof of concept where localstorage actually works in cocoa 
 webkit that would be great

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3967) Add compiler-flags attribute to source-file tag

2013-07-02 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-3967:
--

+1

-- Posted from Bugbox for iPhone

 Add compiler-flags attribute to source-file tag
 ---

 Key: CB-3967
 URL: https://issues.apache.org/jira/browse/CB-3967
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugman
Reporter: Shazron Abdullah
Assignee: Filip Maj
 Fix For: 3.0.0


 Proposed for 3.0.0.
 ML thread: http://markmail.org/thread/3n5cogkp6yrx4ina
 *Summary:*
 Add a *compiler-flags* attribute (hyphenated instead of camel-cased to 
 conform to the spec style) to the *source-file* tag.
 *Scenarios:*
 - Adding third-party code (with lots of files) that are not ARC enabled, and 
 including them in an ARC project (3.0.0 will be ARC), you need to add the 
 *-fno-objc-arc* compiler flag to each non-ARC file
 - Adding third-party code (with lots of files) that are ARC enabled, and 
 including them in an non-ARC project (2.9.0 and below are non-ARC), you need 
 to add the *-fobjc-arc* compiler flag to each ARC file
 Plugins can be upgraded using the *__has_feature(objc_arc)* if they are 
 small, but this is problematic if you had to include the source files for the 
 Facebook SDK, for example (lots of files, maintenance nightmare if you were 
 to modify them). Pre-compiled binaries are unaffected.
 Example usage:
 {code}
 source-file src=FooBar.m compiler-flags=-fno-objc-arc /
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4002) Hook processing should ignore dotfiles

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

Commit cbbc7b6a708a7bb692b14cd4c78a1d3ae76b0839 in branch refs/heads/master2 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=cbbc7b6 ]

[CB-4002] Dont fire hooks or recurse into directories that begin with a dot.


 Hook processing should ignore dotfiles
 --

 Key: CB-4002
 URL: https://issues.apache.org/jira/browse/CB-4002
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.9.0
 Environment: cordova cli 2.9.0rc1
Reporter: Dan Moore
Assignee: Filip Maj
Priority: Trivial

 If you have any dotfiles (.scriptname.swp) in your .cordova/hooks/after_* 
 directory, a build will fail with this message:
 -
 /bin/sh: /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp: 
 Text file busy
 Error: Script 
 /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp exited 
 with non-zero status code. Aborting. Output: /bin/sh: 
 /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp: Text file 
 busy
 at /usr/local/lib/node_modules/cordova/src/hooker.js:85:30
 at 
 /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
 at ChildProcess.exithandler (child_process.js:641:7)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:735:16)
 at Process.ChildProcess._handle.onexit (child_process.js:802:5)
 -
 These dotfiles are there because I'm editing the script, and want to be able 
 to re-edit it quickly.  Sure would be nice if any files starting with dot 
 were ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-4013] minor, added space


 Globalization test cases 23,24 not quite doing what they claim.
 ---

 Key: CB-4013
 URL: https://issues.apache.org/jira/browse/CB-4013
 Project: Apache Cordova
  Issue Type: Test
  Components: mobile-spec
Affects Versions: 2.7.0
Reporter: Peter
Assignee: Lisa Seacat DeLuca
Priority: Minor

 The automated globalization tests (autotest\tests\globalization.tests.js) for 
 *spec.23* and *spec.24* test cases say that they are testing setting 
 type=wide but the code is not setting type:'wide'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-07-02 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4013.
---

   Resolution: Fixed
Fix Version/s: 3.0.0
 Assignee: Filip Maj  (was: Lisa Seacat DeLuca)

Merged in, thanks Lisa!

 Globalization test cases 23,24 not quite doing what they claim.
 ---

 Key: CB-4013
 URL: https://issues.apache.org/jira/browse/CB-4013
 Project: Apache Cordova
  Issue Type: Test
  Components: mobile-spec
Affects Versions: 2.7.0
Reporter: Peter
Assignee: Filip Maj
Priority: Minor
 Fix For: 3.0.0


 The automated globalization tests (autotest\tests\globalization.tests.js) for 
 *spec.23* and *spec.24* test cases say that they are testing setting 
 type=wide but the code is not setting type:'wide'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-07-02 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-4013] fixed to include type=wide


 Globalization test cases 23,24 not quite doing what they claim.
 ---

 Key: CB-4013
 URL: https://issues.apache.org/jira/browse/CB-4013
 Project: Apache Cordova
  Issue Type: Test
  Components: mobile-spec
Affects Versions: 2.7.0
Reporter: Peter
Assignee: Lisa Seacat DeLuca
Priority: Minor

 The automated globalization tests (autotest\tests\globalization.tests.js) for 
 *spec.23* and *spec.24* test cases say that they are testing setting 
 type=wide but the code is not setting type:'wide'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4026) config.xml whitelist not respected in android

2013-07-02 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4026.
---

Resolution: Cannot Reproduce

I cannot reproduce this issue. Used your code exactly and tested on an actual 
Android device.

I am going to chalk this issue up to an issue with the emulator.

Be warned that the whitelist is VERY fickle/tricky. For example, setting the 
whitelist to w3schools.com resulted in NO response coming back, but setting 
it to http://www.w3schools.com/*; worked.

 config.xml whitelist not respected in android
 -

 Key: CB-4026
 URL: https://issues.apache.org/jira/browse/CB-4026
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.9.0
 Environment: $ cordova -v
 2.9.0
 $ npm -v
 1.3.1
 Centos 6
Reporter: Dan Moore
Assignee: Filip Maj
 Attachments: index.js


 I can create a sample application and change the whitelist to restrict the 
 host, but the app in the emulator can still access other hosts.
 To replicate: 
 * cordova create Bar1; cd Bar1; cordova platforms add android; 
 * edit the access line in www/config.xml to be 'access origin=example.com 
 /'
 * update index.js to be the file attached.
 * build and deploy the app to the emulator
 Expected: 
 no network access will be allowed
 Reality:
 you see a console.log line (via adb logcat) with XML text in it
 I tested this in my android 2.3.3 emulator.  I googled for 'android emulator 
 ignores whitelist phonegap' but didn't see anything relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4068) file.spec.32 waitsFor has wrong error message

2013-07-02 Thread Peter (JIRA)
Peter created CB-4068:
-

 Summary: file.spec.32 waitsFor has wrong error message
 Key: CB-4068
 URL: https://issues.apache.org/jira/browse/CB-4068
 Project: Apache Cordova
  Issue Type: Test
  Components: mobile-spec
Affects Versions: 2.7.0
Reporter: Peter
Assignee: Filip Maj
Priority: Trivial


Error message in file.spec.32 is backwards:

says:
getDir was called

should say:
getDir was *never* called


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4069) Setting empty emails should remove the email from Contact. mobile-spec test case fails

2013-07-02 Thread Peter (JIRA)
Peter created CB-4069:
-

 Summary: Setting empty emails should remove the email from 
Contact. mobile-spec test case fails
 Key: CB-4069
 URL: https://issues.apache.org/jira/browse/CB-4069
 Project: Apache Cordova
  Issue Type: Test
  Components: Android, mobile-spec
Affects Versions: 2.7.0
 Environment: Galaxy Nexus emulator
Reporter: Peter
Assignee: Joe Bowser
Priority: Minor


Refer to dev mailing list: http://markmail.org/message/ks5pfvfdz3u2n6wl

The cordova-mobile-spec contact.specs.21 test case expects that setting an 
empty email address will remove that email from the contact.

I have debugged into ContactAccessorSdk5.modifyContact and it seems that 
Android implementation currently has no such logic to handle this.

So the device API test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3997) Add a Blog section to cordova.apache.org

2013-07-02 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3997:
---

Awesome work! We'll have to come up with a first blog post before we check it 
in though, or else it will go live with the example blog post :P.

I like the idea of What's new in 2.9.0.

 Add a Blog section to cordova.apache.org
 

 Key: CB-3997
 URL: https://issues.apache.org/jira/browse/CB-3997
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Website
Reporter: Andrew Grieve
Assignee: Carlos Santana
 Attachments: cordova-blog.diff, cordova-blog-svn-status.txt


 ML discussion: http://callback.markmail.org/thread/ubude5trywrzbi6g
 Set up Jekyll's blogging system at cordova.apache.org/blog

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira