[jira] [Commented] (CB-3621) Overriding Back Button behavior can lead to inconsistent state

2013-07-04 Thread JIRA

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

Frederico Costa Galvão commented on CB-3621:


I think it would be better if we didn't have to override window.history.back.

The requested feature (be able to let the native event run AND be able to 
control 'backbutton' at the same time) can be achieved by changing the 'if' 
instead of the 'else' of said implementation.

I'm not familiar with the way callbacks are managed on cordova.js, and am very 
new to C# and WP8, but if it's possible to, right after 
cordova.fireDocumentEvent('backbutton');, get the result of the function 
bound to 'backbutton', we could set e.Cancel with it's value. This would mimic 
common DOM events, with 'false' preventing default behaviour.



 Overriding Back Button behavior can lead to inconsistent state 
 ---

 Key: CB-3621
 URL: https://issues.apache.org/jira/browse/CB-3621
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 2.8.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 2.9.0


 The current implementation does the following:
 - if the app has overridden the back button, by using 
 document.addEventListener, then the backbutton event is passed to the page, 
 and discarded.
 - else, the library will call window.history.back and if the page changes, 
 discard the event.
 In all other cases the event will be passed to the OS and the app will exit.
 It is possible that an app is overriding the backbutton, but still needs the 
 ability to exit at some point ( in response to a backbutton event ).
 If the page history has changed, then the framework would swallow the event, 
 so it is impossible to get this behavior.
 We need to either add a programmatic way to exit the app in response to a 
 back-button press, or find a way to signal the framework that even though I 
 am overriding the backbutton, the app should still pass the event on to the 
 OS.

--
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-3827) Modify content structure

2013-07-04 Thread Mike Sierra (JIRA)

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

Mike Sierra updated CB-3827:


Description: 
Restructure as follows:

1 Guides
  1.1 Overview
  1.2 The Cordova Command-line Interface
  1.3 Platform Guides
1.3.1 FOO Platform Guide
1.3.2 FOO Configuration
1.3.3 FOO Plugins
1.3.4 FOO Command-line Tools
1.3.5 Upgrading FOO
  1.4 API and Configuration Guide
1.4.1 Modifying Preferences
1.4.2 Basic Interaction
1.4.3 Device Sensors
1.4.4 Data Access
1.4.5 Network and Storage
1.4.6 Globalization
1.4.7 Domain Whitelisting
1.4.8 Privacy Guidelines
  1.5 Extended Hybrid Applications
1.5.1 Opening a Browser Window
1.5.2 Embedding a WebView
1.5.3 Adding a Plug-in [references various FOO Plugins]
  1.6 Distributing Applications
2 Reference
  2.1 API Reference
2.1.x [each API...]
  2.2 Configuration Reference
2.2.1 Shared Configuration Settings
2.2.2 [reference various FOO configurations]


  was:
Restructure as follows:

1 Guides
  1.1 Overview
  1.2 The Cordova Command-line Interface
  1.3 Platform Guides
1.3.1 FOO Platform Guide
1.3.2 FOO Configuration
1.3.3 FOO Plugins
1.3.4 FOO Command-line Utilities
1.3.5 Upgrading FOO
  1.4 API and Configuration Guide
1.4.1 Modifying Preferences
1.4.2 Basic Interaction
1.4.3 Device Sensors
1.4.4 Data Access
1.4.5 Network and Storage
1.4.6 Globalization
1.4.7 Domain Whitelisting
1.4.8 Privacy Guidelines
  1.5 Extended Hybrid Applications
1.5.1 Opening a Browser Window
1.5.2 Embedding a WebView
1.5.3 Adding a Plug-in [references various FOO Plugins]
  1.6 Distributing Applications
2 Reference
  2.1 API Reference
2.1.x [each API...]
  2.2 Configuration Reference
2.2.1 Shared Configuration Settings
2.2.2 [reference various FOO configurations]



 Modify content structure
 

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

 Restructure as follows:
 1 Guides
   1.1 Overview
   1.2 The Cordova Command-line Interface
   1.3 Platform Guides
 1.3.1 FOO Platform Guide
 1.3.2 FOO Configuration
 1.3.3 FOO Plugins
 1.3.4 FOO Command-line Tools
 1.3.5 Upgrading FOO
   1.4 API and Configuration Guide
 1.4.1 Modifying Preferences
 1.4.2 Basic Interaction
 1.4.3 Device Sensors
 1.4.4 Data Access
 1.4.5 Network and Storage
 1.4.6 Globalization
 1.4.7 Domain Whitelisting
 1.4.8 Privacy Guidelines
   1.5 Extended Hybrid Applications
 1.5.1 Opening a Browser Window
 1.5.2 Embedding a WebView
 1.5.3 Adding a Plug-in [references various FOO Plugins]
   1.6 Distributing Applications
 2 Reference
   2.1 API Reference
 2.1.x [each API...]
   2.2 Configuration Reference
 2.2.1 Shared Configuration Settings
 2.2.2 [reference various FOO configurations]

--
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-04 Thread ASF subversion and git services (JIRA)

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

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

Commit 5409661db6ff9691b9e7a7c6d47b51e5b07cf828 in branch refs/heads/master 
from [~bryanhiggins]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=5409661 ]

[CB-3720] [BlackBerry10] Remove File overrides (moving to plugin)


 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] [Commented] (CB-3193) Plugin breakout

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

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

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

Commit 08a2641cf76797797208159d6a2c2f3ca714a3bb in branch refs/heads/master 
from [~bryanhiggins]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=08a2641 ]

[CB-3193] [BlackBerry10] Remove all plugins from cordova-js


 Plugin breakout
 ---

 Key: CB-3193
 URL: https://issues.apache.org/jira/browse/CB-3193
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 2.8.0, 2.9.0, 3.0.0
Reporter: Brian LeRoux
 Fix For: 3.0.0


 Parent issue for plugin breakout effort.

--
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-4016) Consolidate plugin loading to one method only (cordova_plugins.js)

2013-07-04 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-4016:
---

I want to loop back with [~purplecabbage] or [~bennmapes] and check to make 
sure which plugin list loading method (script injection for .js file or XHR to 
.json file) should be considered the way.

 Consolidate plugin loading to one method only (cordova_plugins.js)
 --

 Key: CB-4016
 URL: https://issues.apache.org/jira/browse/CB-4016
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS, Plugman
Affects Versions: Master
Reporter: Shazron Abdullah
Assignee: Filip Maj
 Fix For: 3.0.0


 See ML discussion: http://markmail.org/thread/lujkv5jbwy4oenus
 Proposed to use the second method which is:
 b) Load cordova_plugins.js via script injection

--
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-4061) Automatic test spec name is wrong (file.spec.81)

2013-07-04 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4061.
---

   Resolution: Fixed
Fix Version/s: 3.0.0

Fixed in master

 Automatic test spec name is wrong (file.spec.81)
 

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


 in file.tests.js there are 2 automatic test cases called file.spec.81 should 
 have correct methods.
 It looks like cut/paste issue. The 2nd one should be renamed: file.spec.95 
 should have correct methods

--
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-4061) Automatic test spec name is wrong (file.spec.81)

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

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

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

Commit 981793865da73d4c6c0c9404ea2331c99a5241c5 in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=9817938 ]

[CB-4061] Fix copy-pasted spec id in file tests.


 Automatic test spec name is wrong (file.spec.81)
 

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

 in file.tests.js there are 2 automatic test cases called file.spec.81 should 
 have correct methods.
 It looks like cut/paste issue. The 2nd one should be renamed: file.spec.95 
 should have correct methods

--
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-4062) Test case file.spec.30 not waiting?

2013-07-04 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4062.
---

   Resolution: Fixed
Fix Version/s: 3.0.0

Thanks for submitting, fixed now!

 Test case file.spec.30 not waiting?
 ---

 Key: CB-4062
 URL: https://issues.apache.org/jira/browse/CB-4062
 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


 This test case seems to be missing the waitsFor(...) which is on all similar 
 test cases
 {code}
 waitsFor(function() { return getDir.wasCalled; }, getDir not called, 
 Tests.TEST_TIMEOUT);
 {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-4062) Test case file.spec.30 not waiting?

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

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

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

Commit def11a3c3352d80ecf049d00fef0432d92db60ed in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=def11a3 ]

[CB-4062] Fix for test that does not wait properly.


 Test case file.spec.30 not waiting?
 ---

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

 This test case seems to be missing the waitsFor(...) which is on all similar 
 test cases
 {code}
 waitsFor(function() { return getDir.wasCalled; }, getDir not called, 
 Tests.TEST_TIMEOUT);
 {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-4063) Test case file.spec.46 not waiting?

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

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

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

Commit b5bde7fc42f39224c0ad5b99174b71526f075a71 in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=b5bde7f ]

[CB-4063] Missing waitsFor call in file.spec.46.


 Test case file.spec.46 not waiting?
 ---

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

 This test case seems to be missing the waitsFor(...) which is on all similar 
 test cases
 {code}
 waitsFor(function() { return entryCallback.wasCalled; }, entryCallback never 
 called, Tests.TEST_TIMEOUT);
 {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] [Resolved] (CB-4063) Test case file.spec.46 not waiting?

2013-07-04 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4063.
---

   Resolution: Fixed
Fix Version/s: 3.0.0

Thanks!

 Test case file.spec.46 not waiting?
 ---

 Key: CB-4063
 URL: https://issues.apache.org/jira/browse/CB-4063
 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


 This test case seems to be missing the waitsFor(...) which is on all similar 
 test cases
 {code}
 waitsFor(function() { return entryCallback.wasCalled; }, entryCallback never 
 called, Tests.TEST_TIMEOUT);
 {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] [Updated] (CB-3827) Modify content structure

2013-07-04 Thread Mike Sierra (JIRA)

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

Mike Sierra updated CB-3827:


Description: 
Restructure as follows:

1 Guides
  1.1 Overview
  1.2 The Cordova Command-line Interface
  1.3 Platform Guides
1.3.1 FOO Platform Guide
1.3.2 FOO Configuration
1.3.3 FOO Plugins
1.3.4 FOO Webviews
1.3.5 FOO Command-line Tools
1.3.6 Upgrading FOO
  1.4 API and Configuration Guide
1.4.1 Modifying Preferences
1.4.2 Basic Interaction
1.4.3 Device Sensors
1.4.4 Data Access
1.4.5 Network and Storage
1.4.6 Globalization
1.4.7 Domain Whitelisting
1.4.8 Privacy Guidelines
  1.5 Extended Hybrid Applications
1.5.1 Opening a Browser Window
1.5.2 Embedding a WebView [references various FOO WebViews]
1.5.3 Adding a Plug-in [references various FOO Plugins]
  1.6 Distributing Applications
2 Reference
  2.1 API Reference
2.1.x [each API...]
  2.2 Configuration Reference
2.2.1 Shared Configuration Settings
2.2.2 [reference various FOO configurations]


  was:
Restructure as follows:

1 Guides
  1.1 Overview
  1.2 The Cordova Command-line Interface
  1.3 Platform Guides
1.3.1 FOO Platform Guide
1.3.2 FOO Configuration
1.3.3 FOO Plugins
1.3.4 FOO Command-line Tools
1.3.5 Upgrading FOO
  1.4 API and Configuration Guide
1.4.1 Modifying Preferences
1.4.2 Basic Interaction
1.4.3 Device Sensors
1.4.4 Data Access
1.4.5 Network and Storage
1.4.6 Globalization
1.4.7 Domain Whitelisting
1.4.8 Privacy Guidelines
  1.5 Extended Hybrid Applications
1.5.1 Opening a Browser Window
1.5.2 Embedding a WebView
1.5.3 Adding a Plug-in [references various FOO Plugins]
  1.6 Distributing Applications
2 Reference
  2.1 API Reference
2.1.x [each API...]
  2.2 Configuration Reference
2.2.1 Shared Configuration Settings
2.2.2 [reference various FOO configurations]



 Modify content structure
 

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

 Restructure as follows:
 1 Guides
   1.1 Overview
   1.2 The Cordova Command-line Interface
   1.3 Platform Guides
 1.3.1 FOO Platform Guide
 1.3.2 FOO Configuration
 1.3.3 FOO Plugins
 1.3.4 FOO Webviews
 1.3.5 FOO Command-line Tools
 1.3.6 Upgrading FOO
   1.4 API and Configuration Guide
 1.4.1 Modifying Preferences
 1.4.2 Basic Interaction
 1.4.3 Device Sensors
 1.4.4 Data Access
 1.4.5 Network and Storage
 1.4.6 Globalization
 1.4.7 Domain Whitelisting
 1.4.8 Privacy Guidelines
   1.5 Extended Hybrid Applications
 1.5.1 Opening a Browser Window
 1.5.2 Embedding a WebView [references various FOO WebViews]
 1.5.3 Adding a Plug-in [references various FOO Plugins]
   1.6 Distributing Applications
 2 Reference
   2.1 API Reference
 2.1.x [each API...]
   2.2 Configuration Reference
 2.2.1 Shared Configuration Settings
 2.2.2 [reference various FOO configurations]

--
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-4068) file.spec.32 waitsFor has wrong error message

2013-07-04 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4068.
---

   Resolution: Fixed
Fix Version/s: 3.0.0

Fixed, thanks for filing the issue!

 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
 Fix For: 3.0.0


 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] [Commented] (CB-4068) file.spec.32 waitsFor has wrong error message

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

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

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

Commit e1c4845c4d3d0fff5cfcd0a8a7ea773278934a7c in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=e1c4845 ]

[CB-4068] tweak callback waiting msg.


 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] [Commented] (CB-3827) Modify content structure

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

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

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

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

[CB-3827] rename img dirs  redirect links


 Modify content structure
 

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

 Restructure as follows:
 1 Guides
   1.1 Overview
   1.2 The Cordova Command-line Interface
   1.3 Platform Guides
 1.3.1 FOO Platform Guide
 1.3.2 FOO Configuration
 1.3.3 FOO Plugins
 1.3.4 FOO Webviews
 1.3.5 FOO Command-line Tools
 1.3.6 Upgrading FOO
   1.4 API and Configuration Guide
 1.4.1 Modifying Preferences
 1.4.2 Basic Interaction
 1.4.3 Device Sensors
 1.4.4 Data Access
 1.4.5 Network and Storage
 1.4.6 Globalization
 1.4.7 Domain Whitelisting
 1.4.8 Privacy Guidelines
   1.5 Extended Hybrid Applications
 1.5.1 Opening a Browser Window
 1.5.2 Embedding a WebView [references various FOO WebViews]
 1.5.3 Adding a Plug-in [references various FOO Plugins]
   1.6 Distributing Applications
 2 Reference
   2.1 API Reference
 2.1.x [each API...]
   2.2 Configuration Reference
 2.2.1 Shared Configuration Settings
 2.2.2 [reference various FOO configurations]

--
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-3827) Modify content structure

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

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

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

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

[CB-3827] fixed problem where supposed '.md' file actually became directory


 Modify content structure
 

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

 Restructure as follows:
 1 Guides
   1.1 Overview
   1.2 The Cordova Command-line Interface
   1.3 Platform Guides
 1.3.1 FOO Platform Guide
 1.3.2 FOO Configuration
 1.3.3 FOO Plugins
 1.3.4 FOO Webviews
 1.3.5 FOO Command-line Tools
 1.3.6 Upgrading FOO
   1.4 API and Configuration Guide
 1.4.1 Modifying Preferences
 1.4.2 Basic Interaction
 1.4.3 Device Sensors
 1.4.4 Data Access
 1.4.5 Network and Storage
 1.4.6 Globalization
 1.4.7 Domain Whitelisting
 1.4.8 Privacy Guidelines
   1.5 Extended Hybrid Applications
 1.5.1 Opening a Browser Window
 1.5.2 Embedding a WebView [references various FOO WebViews]
 1.5.3 Adding a Plug-in [references various FOO Plugins]
   1.6 Distributing Applications
 2 Reference
   2.1 API Reference
 2.1.x [each API...]
   2.2 Configuration Reference
 2.2.1 Shared Configuration Settings
 2.2.2 [reference various FOO configurations]

--
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-3827) Modify content structure

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

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

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

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

[CB-3827] redirect hard-coded HTML links based on new dir structure


 Modify content structure
 

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

 Restructure as follows:
 1 Guides
   1.1 Overview
   1.2 The Cordova Command-line Interface
   1.3 Platform Guides
 1.3.1 FOO Platform Guide
 1.3.2 FOO Configuration
 1.3.3 FOO Plugins
 1.3.4 FOO Webviews
 1.3.5 FOO Command-line Tools
 1.3.6 Upgrading FOO
   1.4 API and Configuration Guide
 1.4.1 Modifying Preferences
 1.4.2 Basic Interaction
 1.4.3 Device Sensors
 1.4.4 Data Access
 1.4.5 Network and Storage
 1.4.6 Globalization
 1.4.7 Domain Whitelisting
 1.4.8 Privacy Guidelines
   1.5 Extended Hybrid Applications
 1.5.1 Opening a Browser Window
 1.5.2 Embedding a WebView [references various FOO WebViews]
 1.5.3 Adding a Plug-in [references various FOO Plugins]
   1.6 Distributing Applications
 2 Reference
   2.1 API Reference
 2.1.x [each API...]
   2.2 Configuration Reference
 2.2.1 Shared Configuration Settings
 2.2.2 [reference various FOO configurations]

--
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-4075) Invalid access elements in mobile-spec config.xml

2013-07-04 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-4075:
-

 Summary: Invalid access elements in mobile-spec config.xml
 Key: CB-4075
 URL: https://issues.apache.org/jira/browse/CB-4075
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.0.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Blocker
 Fix For: 3.0.0


Access element origin attributes must contain scheme

http://www.w3.org/TR/widgets-access/#attributes

These are missing in the mobile-spec config.xml

--
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-4075) Invalid access elements in mobile-spec config.xml

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

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

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

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

[CB-4075] Add scheme to access origin attributes in config.xml


 Invalid access elements in mobile-spec config.xml
 -

 Key: CB-4075
 URL: https://issues.apache.org/jira/browse/CB-4075
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.0.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Blocker
 Fix For: 3.0.0


 Access element origin attributes must contain scheme
 http://www.w3.org/TR/widgets-access/#attributes
 These are missing in the mobile-spec config.xml

--
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-4076) [BlackBerry10] config.xml should support access origin element

2013-07-04 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-4076:
-

 Summary: [BlackBerry10] config.xml should support access origin 
element
 Key: CB-4076
 URL: https://issues.apache.org/jira/browse/CB-4076
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.0.0


BlackBerry uses 'uri' rather than w3c spec 'origin'.

We should add origin, but keep uri for backwards compatibility.

--
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-2293) File Transfer of picture fails on every other picture

2013-07-04 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-2293:
---

Thanks for this Jason. Likely this won't get looked at until after 3.0 (in a 
couple of weeks). I'm sure it'll get picked up soon after though.

 File Transfer of picture fails on every other picture
 -

 Key: CB-2293
 URL: https://issues.apache.org/jira/browse/CB-2293
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0, 2.3.0
 Environment: Tested on a Motorola Atrix HD(Android 4.1.2) as well as 
 a Samsung Galaxy S3(Android 4.1.1)
Reporter: Amrit Kahlon
Assignee: Ian Clelland
 Fix For: 2.8.0

 Attachments: cordova-2.4.0rc1.jar


 When uploading pictures using the File Transfer function on android, the 
 first picture will upload fine. Then the second upload will give the 
 following error:
 01-21 13:48:02.545: W/FileTransfer(8894): Error getting HTTP status code from 
 connection.
 01-21 13:48:02.545: W/FileTransfer(8894): java.io.EOFException
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 libcore.io.Streams.readAsciiLine(Streams.java:203)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 org.apache.cordova.FileTransfer.createFileTransferError(FileTransfer.java:535)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 org.apache.cordova.FileTransfer.access$500(FileTransfer.java:62)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 org.apache.cordova.FileTransfer$1.run(FileTransfer.java:437)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
 01-21 13:48:02.545: W/FileTransfer(8894): at 
 java.lang.Thread.run(Thread.java:856)
 01-21 13:48:02.555: E/FileTransfer(8894): 
 {target:http:\/\/xxx.xxx.xxx\/api\/photo_uploads\/create?version=2api_key=xsource=androidapp-2.2.1,source:file:\/\/\/storage\/sdcard0\/Android\/data\/com.hockeycommunity.hc_app\/cache\/resize.jpg?1358804880392,code:3}
 01-21 13:48:02.555: E/FileTransfer(8894): java.net.SocketException: sendto 
 failed: EPIPE (Broken pipe)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:506)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.IoBridge.sendto(IoBridge.java:475)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.net.PlainSocketImpl.write(PlainSocketImpl.java:508)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:270)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.net.http.FixedLengthOutputStream.write(FixedLengthOutputStream.java:41)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.io.DataOutputStream.write(DataOutputStream.java:98)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 org.apache.cordova.FileTransfer$1.run(FileTransfer.java:372)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 java.lang.Thread.run(Thread.java:856)
 01-21 13:48:02.555: E/FileTransfer(8894): Caused by: 
 libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.Posix.sendtoBytes(Native Method)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.Posix.sendto(Posix.java:146)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
 01-21 13:48:02.555: E/FileTransfer(8894): at 
 libcore.io.IoBridge.sendto(IoBridge.java:473)
 01-21 13:48:02.555: E/FileTransfer(8894): ... 9 more
 01-21 13:48:02.575: D/CordovaLog(8894): error: 
 

[jira] [Created] (CB-4077) CLI / Plugman can't remove dependency-only plugins

2013-07-04 Thread Ian Clelland (JIRA)
Ian Clelland created CB-4077:


 Summary: CLI / Plugman can't remove dependency-only plugins
 Key: CB-4077
 URL: https://issues.apache.org/jira/browse/CB-4077
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugman
Affects Versions: 3.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland


{{cordova plugin remove}} cannot delete dependency-only plugins, which do not 
have any platforms defined in their {{plugin.xml}} file. 
{{plugman.uninstall()}} is only called for platforms, not for the plugin itself.

I propose fixing this by separating the tasks of
* removing a plugin from a particular platform, and
* removing a plugin from the cordova project

Dependency-only projects need the second step to occur, but not the first.
Other plugins will have the first step run once per platform, and then the 
second step run once.

--
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-4078) correctOrientation is not working on camera.getPicture

2013-07-04 Thread aligo (JIRA)
aligo created CB-4078:
-

 Summary: correctOrientation is not working on camera.getPicture
 Key: CB-4078
 URL: https://issues.apache.org/jira/browse/CB-4078
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.9.0
Reporter: aligo
Assignee: Shazron Abdullah


Hi

I use cameraOptions below to get the FILE_URI and to display in img tag:

  correctOrientation: true
  quality: 50
  encodingType: Camera.EncodingType.JPEG
  targetWidth: 300
  targetHeight: 300
  destinationType: window.navigator.camera.DestinationType.FILE_URI
  sourceType: window.navigator.camera.PictureSourceType.PHOTOLIBRARY

But the picture displayed within wrong orientation.

--
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