incubator-cordova-android pull request: Test pull request

2012-02-19 Thread Git at Apache
GitHub user jukka opened the pull request at
https://github.com/apache/incubator-cordova-android/pull/7


Test pull request

Simple fix; mostly to test that GitHub pull request notifications really do 
work as expected (INFRA-4331)


You can merge this pull request into a Git repository by running
$ git pull https://github.com/jukka/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/7.patch


incubator-cordova-ios pull request: added option to prevent cropping during resize in CDVCamera class

2012-02-19 Thread Git at Apache
GitHub user collingo opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/5


added option to prevent cropping during resize in CDVCamera class

During a recent project I needed to resize images from the camera without 
cropping. This helps reduce the file size, especially when dealing with the 
high res camera on the iPhone 4S, without losing any of the original shot.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/collingo/incubator-cordova-ios preventCrop

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/5.patch


incubator-cordova-weinre pull request: Fixed a typo

2012-02-20 Thread Git at Apache
GitHub user fenghaitao opened the pull request at
https://github.com/apache/incubator-cordova-weinre/pull/2


Fixed a typo

If ~/.weinre/server.properties does not exist, we will see the 
following error because of this typo.

node.js:134 

throw e; // process.nextTick error, or 'error' event on first tick

error: ReferenceError: options is not defined

stack: 
   cli.coffee:66  - getDotWeinreServerProperties()


You can merge this pull request into a Git repository by running
$ git pull https://github.com/fenghaitao/incubator-cordova-weinre master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-weinre/pull/2.patch


incubator-cordova-weinre pull request: Update README.md

2012-02-20 Thread Git at Apache
GitHub user pmuellr closed the pull request at
https://github.com/apache/incubator-cordova-weinre/pull/1


Update README.md

left the old callback-weinre doc link in there, but noted it is legacy

added the currently non-existant apache cordova main site link


You can merge this pull request into a Git repository by running
$ git pull https://github.com/pmuellr/incubator-cordova-weinre patch-1

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-weinre/pull/1.patch


incubator-cordova-weinre pull request: Fixed a typo

2012-02-20 Thread Git at Apache
GitHub user fenghaitao synchronized the pull request at
https://github.com/apache/incubator-cordova-weinre/pull/2


Fixed a typo

If ~/.weinre/server.properties does not exist, we will see the 
following error because of this typo.

node.js:134 

throw e; // process.nextTick error, or 'error' event on first tick

error: ReferenceError: options is not defined

stack: 
   cli.coffee:66  - getDotWeinreServerProperties()


You can merge this pull request into a Git repository by running
$ git pull https://github.com/fenghaitao/incubator-cordova-weinre master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-weinre/pull/2.patch


incubator-cordova-android pull request: Fixed multibyte filename at FileTransfer.

2012-02-20 Thread Git at Apache
GitHub user okamototk synchronized the pull request at
https://github.com/apache/incubator-cordova-android/pull/2


Fixed multibyte filename at FileTransfer.

File upload with multibyte filename is broken. 

Fixed it.



You can merge this pull request into a Git repository by running
$ git pull https://github.com/okamototk/incubator-cordova-android 
fixed-upload-multibytefilename

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/2.patch


incubator-cordova-android pull request: Fixed create.bat and create.js

2012-02-20 Thread Git at Apache
GitHub user kameturu synchronized the pull request at
https://github.com/apache/incubator-cordova-android/pull/3


Fixed create.bat and create.js

- change file/dir path
- create.bat: add command line parameter %1 %2 %3
- check: copy of a file has finished


You can merge this pull request into a Git repository by running
$ git pull https://github.com/kameturu/incubator-cordova-android windows_create

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/3.patch


incubator-cordova-android pull request: Added catch/throw around dialog dismiss

2012-02-20 Thread Git at Apache
GitHub user obrand synchronized the pull request at
https://github.com/apache/incubator-cordova-android/pull/1


Added catch/throw around dialog dismiss

I have noticed that when going back the stack in the browser, often it causes a 
crash due to the dialog being dismissed. This seems to be a well known issue in 
Android. For now I have added a try/catch with no-op around the dismiss.

The typical exception is:

java.lang.IllegalArgumentException: View not attached to window manager
at 
android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:486)
at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:306)
at 
android.view.WindowManagerImpl$CompatModeWrapper.removeView(WindowManagerImpl.java:129)
at android.app.Dialog.dismissDialog(Dialog.java:306)
at android.app.Dialog.access$000(Dialog.java:73)
at android.app.Dialog$1.run(Dialog.java:110)
at android.app.Dialog.dismiss(Dialog.java:296)
at com.phonegap.DroidGap.spinnerStop(DroidGap.java:1067)
at com.phonegap.DroidGap$GapViewClient$1$1.run(DroidGap.java:1528)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4126)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)


You can merge this pull request into a Git repository by running
$ git pull https://github.com/obrand/incubator-cordova-android dialog

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/1.patch


incubator-cordova-android pull request: Test pull request

2012-02-20 Thread Git at Apache
GitHub user jukka synchronized the pull request at
https://github.com/apache/incubator-cordova-android/pull/7


Test pull request

Simple fix; mostly to test that GitHub pull request notifications really do 
work as expected (INFRA-4331)


You can merge this pull request into a Git repository by running
$ git pull https://github.com/jukka/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/7.patch


incubator-cordova-android pull request: Proposed new Cordova API demo app

2012-02-20 Thread Git at Apache
GitHub user libbybaldwin synchronized the pull request at
https://github.com/apache/incubator-cordova-android/pull/5


Proposed new Cordova API demo app


Closed / Opened Pull request after some minor fixes.




You can merge this pull request into a Git repository by running
$ git pull https://github.com/libbybaldwin/incubator-cordova-android 
libbybaldwin-new-demo-app

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/5.patch


incubator-cordova-android pull request: Add access to mac information

2012-02-27 Thread Git at Apache
GitHub user Johnny-Ray opened the pull request at
https://github.com/apache/incubator-cordova-android/pull/8


Add access to mac information

Working on network diagnostic tools. Would like to be able to access mac 
information.

Thanks,

Johnny


You can merge this pull request into a Git repository by running
$ git pull https://github.com/Johnny-Ray/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/8.patch


incubator-cordova-ios pull request: Updating Geolocation plugin to match W3C specification

2012-03-29 Thread Git at Apache
GitHub user filmaj opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/8


Updating Geolocation plugin to match W3C specification

My branch on my cordova-js fork has a new interface + tests for updating the 
Geolocation functionality to adhere to the W3C specification. There also exists 
a pull request for this.

Attached in this pull request are the necessary changes to the native iOS code 
for the geolocation plugin.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/filmaj/incubator-cordova-ios geoupdate

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/8.patch



incubator-cordova-android pull request: Don't create spurious backup files ...

2012-04-02 Thread Git at Apache
GitHub user samsonjs opened the pull request at
https://github.com/apache/incubator-cordova-android/pull/17


Don't create spurious backup files when creating a project

sed's -i flag was missing its argument, so files that were modified ended up 
being duplicated with the original having the suffix "-e". This is clearly not 
the intended behaviour.

The solution is to pass an empty string along with -i so no backup files are 
created.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/samsonjs/incubator-cordova-android patch-1

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-android/pull/17.patch



incubator-cordova-ios pull request: Fixes cb-361 & use timeout to turn off ...

2012-04-03 Thread Git at Apache
GitHub user becka11y opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/9


Fixes cb-361 & use timeout to turn off compass sensor

Update for unified JS to remove headingRepeats parameter and
refactored to use timeout to turn off heading sensor (matches current 
implementation
of Android).
Updated to pass options.filter into getHeading to indicate a watch by Filter 
request

While we may refactor in a future release not to rely on a timeout, I had to 
make some change in order for the sensor to be turned off since previous to the 
unified JS, iOS was relying on a repeats parameter that no longer exists.  I 
used a timeout option to be consistent with the current Android implementation. 

As discussed on the list, I added suppor for watching the iOS compass via a 
filter value but hacking the options.filter parameter into the call to 
getHeading.  If there is a filter param,  call watchHeadingFilter to start 
monitoring compass changes based on the filter.  This also requires a change to 
the UnifiedJS compass.js (see 
https://github.com/becka11y/incubator-cordova-js/tree/watchFilter)  That branch 
needs work to fix the unit tests before committing. 


You can merge this pull request into a Git repository by running
$ git pull https://github.com/becka11y/incubator-cordova-ios watchFilter

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/9.patch



incubator-cordova-mobile-spec pull request: Fixes CB-439 CompassHeading tim...

2012-04-04 Thread Git at Apache
GitHub user becka11y opened the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/3


Fixes CB-439 CompassHeading timestamp in milliseconds

Just want to give folks a chance to comment.  Our docs indicate that 
CompassHeading.timestamp is represented in milliseconds.  It got changed to a 
Date object in unified JS.  Making this change to set it back to milliseconds.  
 Have also updated mobile-spec:  
https://github.com/becka11y/incubator-cordova-mobile-spec/tree/cb439Timestamp

Please ignore Simon's commit 25824ddb -in this request as it is already 
commited in apache-git.  Unfortunately my origin is ahead of github apache.  


You can merge this pull request into a Git repository by running
$ git pull https://github.com/becka11y/incubator-cordova-mobile-spec 
cb439Timestamp

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-mobile-spec/pull/3.patch



incubator-cordova-mobile-spec pull request: fixed html errors, and various ...

2012-04-04 Thread Git at Apache
GitHub user purplecabbage opened the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/4


fixed html errors, and various html tweaks, doctype,   javascript:




You can merge this pull request into a Git repository by running
$ git pull https://github.com/purplecabbage/incubator-cordova-mobile-spec 
FixMarkup

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-mobile-spec/pull/4.patch



incubator-cordova-mobile-spec pull request: Fix CB-448 update non-ascii app...

2012-04-05 Thread Git at Apache
GitHub user becka11y opened the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/5


Fix CB-448 update non-ascii append file test

Update the non-ascii file write and append test to read back
written/appended data and compare that result and length
to initial JavaScript length rather than comparing written length.

Just wanted to give folks a chance to test this on other platforms before I 
committed.  I modified this because iOS encodes the data before writing to the 
file system and thus the bytes written does NOT match the length of the 
original JavaScript string.   


You can merge this pull request into a Git repository by running
$ git pull https://github.com/becka11y/incubator-cordova-mobile-spec cb448append

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-mobile-spec/pull/5.patch



incubator-cordova-mobile-spec pull request: Fixes CB-439 CompassHeading tim...

2012-04-05 Thread Git at Apache
Github user becka11y closed the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/3



incubator-cordova-mobile-spec pull request: Update auto media tests to try ...

2012-04-05 Thread Git at Apache
Github user becka11y closed the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/2



incubator-cordova-mobile-spec pull request: Updating contacts tests

2012-04-05 Thread Git at Apache
Github user becka11y closed the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/1



incubator-cordova-mobile-spec pull request: Fix CB-448 update non-ascii app...

2012-04-05 Thread Git at Apache
Github user becka11y closed the pull request at
https://github.com/apache/incubator-cordova-mobile-spec/pull/5



incubator-cordova-ios pull request: Change FileTransfer download to not use...

2012-04-06 Thread Git at Apache
GitHub user marcuswu opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/10


Change FileTransfer download to not use a blocking call

I have converted the download command from using the blocking NSData 
dataWithContentsOfURL: call to use a NSURLConnection so that performance is 
improved.

I added on to the existing delegate rather than creating a second one for the 
download. Additionally, I am checking the HTTP status code on the response so 
we don't end up saving an error page and returning success.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/marcuswu/incubator-cordova-ios CB-442

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/10.patch



incubator-cordova-ios pull request: Fixes cb-361 & use timeout to turn off ...

2012-04-06 Thread Git at Apache
Github user becka11y closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/9



incubator-cordova-mac pull request: Stripped out artifacts from pre ASF and...

2012-04-06 Thread Git at Apache
GitHub user RandyMcMillan opened the pull request at
https://github.com/apache/incubator-cordova-mac/pull/1


Stripped out artifacts from pre ASF and added ASF License notifications. 

Stripped out artifacts from pre ASF and added ASF License notifications. 


You can merge this pull request into a Git repository by running
$ git pull https://github.com/RandyMcMillan/incubator-cordova-mac master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-mac/pull/1.patch



incubator-cordova-mac pull request: Stripped out artifacts from pre ASF and...

2012-04-06 Thread Git at Apache
Github user RandyMcMillan closed the pull request at
https://github.com/apache/incubator-cordova-mac/pull/1



incubator-cordova-ios pull request: Makefile: add `| head -n 1` to filter s...

2012-04-06 Thread Git at Apache
Github user mobilemind closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/7



incubator-cordova-ios pull request: Change FileTransfer download to not use...

2012-04-07 Thread Git at Apache
Github user marcuswu closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/10



incubator-cordova-mac pull request: Update ReadMe.md

2012-04-07 Thread Git at Apache
GitHub user RandyMcMillan opened the pull request at
https://github.com/apache/incubator-cordova-mac/pull/2


Update ReadMe.md

ScreenShot link was wrong. Quick edit to fix


You can merge this pull request into a Git repository by running
$ git pull https://github.com/RandyMcMillan/incubator-cordova-mac patch-1

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-mac/pull/2.patch



incubator-cordova-docs pull request: Added correct destinationType for Came...

2012-04-10 Thread Git at Apache
GitHub user ryanstewart opened the pull request at
https://github.com/apache/incubator-cordova-docs/pull/6


Added correct destinationType for Camera examples

Specified the destionationType.DATA_URL for the examples that use base64 
encoding. 


You can merge this pull request into a Git repository by running
$ git pull https://github.com/ryanstewart/incubator-cordova-docs CB-470

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-docs/pull/6.patch



incubator-cordova-docs pull request: Added destinationType.DATA_URL to Came...

2012-04-10 Thread Git at Apache
GitHub user ryanstewart opened the pull request at
https://github.com/apache/incubator-cordova-docs/pull/7


Added destinationType.DATA_URL to Camera Examples

Modified full examples in Edge.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/ryanstewart/incubator-cordova-docs CB-470

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-docs/pull/7.patch



incubator-cordova-docs pull request: Added destinationType.DATA_URL to Came...

2012-04-10 Thread Git at Apache
Github user ryanstewart closed the pull request at
https://github.com/apache/incubator-cordova-docs/pull/7



incubator-cordova-docs pull request: Added correct destinationType for Came...

2012-04-10 Thread Git at Apache
Github user ryanstewart closed the pull request at
https://github.com/apache/incubator-cordova-docs/pull/6



incubator-cordova-ios pull request: Remove extra newlines from before conte...

2012-04-10 Thread Git at Apache
GitHub user mobz opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/11


Remove extra newlines from before content-length header

Having a double newline after previous header causes content-length to become 
part of the body


You can merge this pull request into a Git repository by running
$ git pull https://github.com/mobz/incubator-cordova-ios patch-1

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/11.patch



incubator-cordova-ios pull request: Remove extra newlines from before conte...

2012-04-10 Thread Git at Apache
Github user mobz closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/11



incubator-cordova-ios pull request: iOS camera targetWidth/Height don't mat...

2012-04-11 Thread Git at Apache
GitHub user mobz opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/12


iOS camera targetWidth/Height don't match the documentation

This change introduces a sizing param to camera.getPicture, which supports two 
modes (matching the css3 background size names) CONTAIN which does what the 
documentation and other platforms do, and COVER which does what cordova-ios 
currently does. This sets CONTAIN to be the default.

Fixes CB-54 and CB-183


You can merge this pull request into a Git repository by running
$ git pull https://github.com/mobz/incubator-cordova-ios master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/12.patch



incubator-cordova-ios pull request: iOS camera targetWidth/Height don't mat...

2012-04-11 Thread Git at Apache
Github user mobz closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/12



incubator-cordova-ios pull request: fix js undefined reference for Cordova

2012-04-13 Thread Git at Apache
GitHub user tribalvibes opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/13


fix js undefined reference for Cordova

There are two injected javascript refs to `Cordova` which should now be 
`cordova`. These were causing an undefined ref exception at runtime.

These commits also enhance debug logging of exec's to not include the debug log 
call itself, making the log output more useful, and also announce whitelisted 
urls being opened.



You can merge this pull request into a Git repository by running
$ git pull https://github.com/tribalvibes/incubator-cordova-ios master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/13.patch



incubator-cordova-ios pull request: fix js undefined reference for Cordova

2012-04-15 Thread Git at Apache
Github user tribalvibes closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/13



incubator-cordova-ios pull request: CB-263: adjust splash screen position b...

2012-04-19 Thread Git at Apache
GitHub user tqc opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/14


CB-263: adjust splash screen position based on orientation and status bar size

Fix for https://issues.apache.org/jira/browse/CB-263

Modifies the splash screen setup in CDVViewController so that positioning 
matches the standard iOS loading image.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/tqc/incubator-cordova-ios splashscreen

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/14.patch



incubator-cordova-docs pull request: Device Platform values were incorrect ...

2012-04-24 Thread Git at Apache
GitHub user tpryan opened the pull request at
https://github.com/apache/incubator-cordova-docs/pull/8


Device Platform values were incorrect for iOS

I updated device platform to reflect actual values returned by call to 
device.platform. 


You can merge this pull request into a Git repository by running
$ git pull https://github.com/tpryan/incubator-cordova-docs master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-docs/pull/8.patch



incubator-cordova-weinre pull request: quick start

2012-04-25 Thread Git at Apache
GitHub user lmjabreu opened the pull request at
https://github.com/apache/incubator-cordova-weinre/pull/3


quick start

Suggest adding quick start notes. I downloaded and built weinre only to find it 
was available ( a couple of minor releases old ) via npm.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/lmjabreu/incubator-cordova-weinre master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-weinre/pull/3.patch



incubator-cordova-ios pull request: CB-263: adjust splash screen position b...

2012-04-25 Thread Git at Apache
Github user tqc closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/14



incubator-cordova-weinre pull request: quick start

2012-04-25 Thread Git at Apache
Github user lmjabreu closed the pull request at
https://github.com/apache/incubator-cordova-weinre/pull/3



incubator-cordova-ios pull request: added option to prevent cropping during...

2012-04-26 Thread Git at Apache
Github user collingo closed the pull request at
https://github.com/apache/incubator-cordova-ios/pull/5



incubator-cordova-ios pull request: https://issues.apache.org/jira/browse/C...

2012-04-30 Thread Git at Apache
GitHub user RandyMcMillan opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/15


https://issues.apache.org/jira/browse/CB-610

https://issues.apache.org/jira/browse/CB-610


You can merge this pull request into a Git repository by running
$ git pull https://github.com/RandyMcMillan/incubator-cordova-ios 
RetinaCaptureEdit

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/15.patch



incubator-cordova-docs pull request: Whitelist Guide

2012-05-04 Thread Git at Apache
GitHub user nathanpc opened the pull request at
https://github.com/apache/incubator-cordova-docs/pull/9


Whitelist Guide

I've created a simple whitelist guide for developers that are updating to the 
latest version and having some confusions with this new feature.


You can merge this pull request into a Git repository by running
$ git pull https://github.com/nathanpc/incubator-cordova-docs master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-docs/pull/9.patch



incubator-cordova-android pull request: Add enablePlugins(true) to appView ...

2012-05-07 Thread Git at Apache
GitHub user DeLongey opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/18

Add enablePlugins(true) to appView for extra functionality

This pull request includes an update to DroidGap.java to enable plugins by 
default. The use case for this is to allow for additional functionality 
out-of-the-box without writing more Cordova plugins.

A specific advantage gained is the ability to use Flash to enable 
websockets, a positive workaround for the fizzled Websocket branch. Such 
libraries like the gimite/web-socket-js flash fallback can be used.

By enabling plugins by default, this will also enable more Cordova users 
who have many feature requests on platforms like PhoneGap Build.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/DeLongey/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/18.patch







incubator-cordova-android pull request: Add enablePlugins(true) to appView ...

2012-05-08 Thread Git at Apache
Github user DeLongey closed the pull request at:

https://github.com/apache/incubator-cordova-android/pull/18



incubator-cordova-android pull request: add volumeupbutton/volumedownbutton...

2012-05-09 Thread Git at Apache
GitHub user revolunet opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/19

add volumeupbutton/volumedownbutton events

just added volumeup/volumedown events in the java and tested that the 
events are dispatched into the webview. works fine.

thanks

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/revolunet/incubator-cordova-android volumebtns

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/19.patch


commit b323f329cc185fba87ace193d6fd7e93373b1af2
Author: Julien Bouquillon 
Date:   2012-05-09T17:04:11-07:00

add volumeupbutton/volumedownbutton events





incubator-cordova-wp7 pull request: Visual Studio Package

2012-05-10 Thread Git at Apache
GitHub user pcibraro opened a pull request:

https://github.com/apache/incubator-cordova-wp7/pull/2

Visual Studio Package

I created a visual studio package that automatically deploys the project 
template in the right place. No need to perform manual steps to install the 
template in visual studio.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pcibraro/incubator-cordova-wp7 master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-wp7/pull/2.patch


commit 6a593af62363d76ff5aaf4a3c885263ed531820d
Author: pcibraro 
Date:   2012-05-10T11:45:20-07:00

Created VS Package for automatically deploying the project template into 
visual studio





incubator-cordova-ios pull request: 2 fixes

2012-05-11 Thread Git at Apache
GitHub user afinlayson opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/16

2 fixes 

As I mentioned on here

http://groups.google.com/group/phonegap/browse_thread/thread/4e367acfadb5947f/fd4ea2d92f610695
I have a fix that opens up CDVSound to allow AVSession category to be set 
by the app, not by phonegap. It will however behave the exact same way as it 
does now for those who don't care.

I have also fixed the crash I've been seeing with the camera. It looks like 
CDVCamera was being released before the CameraDelegate was done with it. I've 
created a work around so the delegate behaves like a retain property instead of 
an assign.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afinlayson/incubator-cordova-ios master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/16.patch


commit 7cd38cb4d7997a2df052aa1513f0df9f4ac446ea
Author: Alex Finlayson 
Date:   2012-05-11T11:37:43-07:00

CB-391 fix wasn't solving our issue. We still saw a lot of crashes when 
taking photos.
I noticed that CDVCamera wasn't being retained when it was setting the 
delegate. This means that when the Camera Delegate was called it would be in 
the autorelease pool long enough to call
- (void)imagePickerController:(UIImagePickerController*)picker 
didFinishPickingMediaWithInfo:(NSDictionary*)info
but 'self' would be released mid way through the call, meaning it would 
crash on a call like
[self imageByScalingNotCroppingForSize:image toSize:cameraPicker.targetSize]

commit ac622ef331a33f24983047fc1064ac5536323884
Author: Alex Finlayson 
Date:   2012-05-11T11:38:32-07:00

AVInstance is a singleton. This is extremely well designed to allow the app 
to set the way the audio is to be heard across the app.
Overriding it to AVAudioSessionCategoryPlayback, means there is no control 
over when sounds should be heard.
I understand the desire to allow developers to hear sound even if they have 
the audio muted, but Apple has been known to reject apps
that play sound incorrectly (aka playing background music when the mute 
switch is on).
Adding it back in as a class method means that at the very least a native 
developer can change the avaudiosession as expected.
I've left the functionality the same, but opened it up to allow an easy way 
to change the category.
I'll look into opening this up from javascript as it becomes necessary.

commit 364edd7158c8701ed8d1535716f10da40e4679ed
Author: Alex Finlayson 
Date:   2012-05-11T11:51:45-07:00

I think the original way of having one category will only confuse people 
trying to record stuff.
This should simplify it, and give control to those who absolutely need it.





incubator-cordova-ios pull request: [CB-623] Logger functionality separated...

2012-05-14 Thread Git at Apache
GitHub user pmuellr opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/17

[CB-623] Logger functionality separated from (debug) console

This commit adds an implementation of the Logger plugin to the
iOS version of Cordova.

- added the key/vals to the three Cordova.plist files
- added the Cordova.m implementation
- "edited" the .xcodeproj (ie the .pbxproj) file to
  add the Cordova.m source to the targets Cordova and
  CordovaLib targets

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pmuellr/incubator-cordova-ios CB-623

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/17.patch


commit 53ae0ef9fcb093e515746bd6c4d6536fc969b337
Author: Patrick Mueller 
Date:   2012-05-14T08:24:42-07:00

[CB-623] Logger functionality separated from (debug) console

This commit adds an implementation of the Logger plugin to the
iOS version of Cordova.

- added the key/vals to the three Cordova.plist files
- added the Cordova.m implementation
- "edited" the .xcodeproj (ie the .pbxproj) file to
  add the Cordova.m source to the targets Cordova and
  CordovaLib targets





incubator-cordova-android pull request: Fixed the issue for override backbu...

2012-05-14 Thread Git at Apache
GitHub user 13leaf opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/20

Fixed the issue for override backbutton(other system button) can not 
intercept native rightly in some platform.

...ton(like back) as wish.

before onKeyUp,onKeyDown may handle back button.See 
http://developer.android.com/reference/android/app/Activity.html#onKeyDown(int, 
android.view.KeyEvent).
Although it says onKeyDown only perform onBackPressed() immediately when 
the targetSdk version is lower than 5.
I make DroidGap override onBackPressed(),and breakpoint for that.
I see onKeyDown will always handle onBackPressed(),even my emulator's sdk 
version is 2.2.
After that,I test it in Sumsung P1000(2.2),the result is same.
So I change cordova's onKeyUp to onKeyDown.I think that can help for 
intercept system key quickly and right.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/13leaf/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/20.patch


commit c1efe757fb85c3a251b98a62cfe0a37c29f862c2
Author: 13leaf 
Date:   2012-05-14T18:52:41-07:00

use onKeyUp to intercept system key event don't help override system 
button(like back) as wish.
before onKeyUp,onKeyDown may handle back button.See 
http://developer.android.com/reference/android/app/Activity.html#onKeyDown(int, 
android.view.KeyEvent).
Although it says onKeyDown only perform onBackPressed() immediately when 
the targetSdk version is lower than 5.
I make DroidGap override onBackPressed(),and breakpoint for that.
I see onKeyDown will always handle onBackPressed(),even my emulator's sdk 
version is 2.2.
After that,I test it in Sumsung P1000(2.2),the result is same.
So I change cordova's onKeyUp to onKeyDown.I think that can help for 
intercept system key quickly and right.





incubator-cordova-android pull request: Add Android 4.0 workaround for link...

2012-05-16 Thread Git at Apache
GitHub user viafirma opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/21

Add Android 4.0 workaround for links with params

Android 4.0.x has a known bug [1] while accessing local files with
params:

file://file.html?param=2

This commit adds a workaround for this problem by removing the params
part of the local URI before accessing the file.

[1] http://code.google.com/p/android/issues/detail?id=17535

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/viafirma/incubator-cordova-android 
icecream_workaround

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/21.patch


commit 45680a562e31364d8cf0c386a703531884281bcd
Author: Juan G. Hurtado 
Date:   2012-05-15T23:37:40-07:00

Add Android 4.0 workaround for links with params

Android 4.0.x has a known bug [1] while accessing local files with
params:

file://file.html?param=2

This commit adds a workaround for this problem by removing the params
part of the local URI before accessing the file.

[1] http://code.google.com/p/android/issues/detail?id=17535





incubator-cordova-android pull request: [CB-792] Add HTTP status code to Fi...

2012-05-17 Thread Git at Apache
GitHub user don opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/22

[CB-792] Add HTTP status code to FileTransferError



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/don/incubator-cordova-android CB-792

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/22.patch


commit 5dacb8d2d5bb1e8a9806f07185f510a608586f15
Author: Don Coleman 
Date:   2012-05-17T11:51:41-07:00

[CB-792] Add HTTP status code to FileTransferError





incubator-cordova-mobile-spec pull request: [CB-798] FileTransfer tests for...

2012-05-17 Thread Git at Apache
GitHub user don opened a pull request:

https://github.com/apache/incubator-cordova-mobile-spec/pull/6

[CB-798] FileTransfer tests for HTTP status



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/don/incubator-cordova-mobile-spec CB-798

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-mobile-spec/pull/6.patch


commit ad8662038f9086513128bd74f5e4460199517295
Author: Don Coleman 
Date:   2012-05-17T11:37:04-07:00

[CB-798] FileTransfer tests for HTTP status





incubator-cordova-ios pull request: Updating Geolocation plugin to match W3...

2012-05-17 Thread Git at Apache
Github user filmaj closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/8



incubator-cordova-ios pull request: [CB-623] Logger functionality separated...

2012-05-17 Thread Git at Apache
Github user pmuellr closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/17



incubator-cordova-ios pull request: [CB-794] Add HTTP status code to FileTr...

2012-05-17 Thread Git at Apache
GitHub user don opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/18

[CB-794] Add HTTP status code to FileTransferError object for iOS

see https://github.com/apache/incubator-cordova-mobile-spec/pull/6 for the 
tests

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/don/incubator-cordova-ios CB-794

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/18.patch


commit 3cf20915fa90084989f729f8ff2991100e58b5f4
Author: Don Coleman 
Date:   2012-05-17T18:20:21-07:00

[CB-794] Add HTTP status code to FileTransferError object for iOS





incubator-cordova-blackberry-webworks pull request: [CB-793] Add HTTP statu...

2012-05-19 Thread Git at Apache
GitHub user don opened a pull request:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/1

[CB-793] Add HTTP status code to FileTransferError object

http_status is included in the error object (unless it is null)

2 unit tests fail because they return a CONNECTION_ERR instead of 
FILE_NOT_FOUND_ERR.
 * FileTransfer download method should handle bad file path
 * FileTransfer upload method should handle bad file path

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/don/incubator-cordova-blackberry-webworks 
CB-793

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/1.patch


commit 125cc6c23a7a0037a3a55731772757b209c183a9
Author: Don Coleman 
Date:   2012-05-19T15:49:18-07:00

[CB-793] Add HTTP status code to FileTransferError object





incubator-cordova-ios pull request: openInSafari

2012-05-20 Thread Git at Apache
GitHub user RandyMcMillan opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/19

openInSafari

https://issues.apache.org/jira/browse/CB-362

Adding

-(BOOL)webView:(UIWebView *)webView
shouldStartLoadWithRequest:(NSURLRequest *)request
navigationType:(UIWebViewNavigationType)navigationType;
{
NSURL *requestURL =[ [ request URL ] retain ];
if ( ( [ [ requestURL scheme ] isEqualToString: @"http" ] || [ [
requestURL scheme ] isEqualToString: @"https" ] || [ [ requestURL
scheme ] isEqualToString: @"mailto" ])
&& ( navigationType == UIWebViewNavigationTypeLinkClicked ) ) {
return ![ [ UIApplication sharedApplication ] openURL: [
requestURL autorelease ] ];
}
[ requestURL release ];
return YES;
}

to the MainViewController.m works like a charm.

Maybe i'm misinterpreting the issue.


Additionally



-(BOOL)webView:(UIWebView *)webView 
shouldStartLoadWithRequest:(NSURLRequest *)request 
navigationType:(UIWebViewNavigationType)navigationType; 
{
NSURL *requestURL =[ [ request URL ] retain ]; 
if ( ( [ [ requestURL scheme ] isEqualToString: @"http" ] || [ [ 
requestURL scheme ] isEqualToString: @"https" ] || [ [ requestURL scheme ] 
isEqualToString: @"mailto" ]) 
&& ( navigationType == UIWebViewNavigationTypeLinkClicked || 
navigationType == UIWebViewNavigationTypeOther ) ) { 
return ![ [ UIApplication sharedApplication ] openURL: [ requestURL 
autorelease ] ]; 
} 
[ requestURL release ]; 
return YES; 
}


the 

|| navigationType == UIWebViewNavigationTypeOther maybe be added. 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/RandyMcMillan/incubator-cordova-ios 
openInSafari

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/19.patch


commit 4d619e4d7e388bdfa9146a59b08abe76f890648b
Author: RandyMcMillan 
Date:   2012-05-20T07:37:24-07:00

openInSafari

https://issues.apache.org/jira/browse/CB-362

Adding

-(BOOL)webView:(UIWebView *)webView
shouldStartLoadWithRequest:(NSURLRequest *)request
navigationType:(UIWebViewNavigationType)navigationType;
{
NSURL *requestURL =[ [ request URL ] retain ];
if ( ( [ [ requestURL scheme ] isEqualToString: @"http" ] || [ [
requestURL scheme ] isEqualToString: @"https" ] || [ [ requestURL
scheme ] isEqualToString: @"mailto" ])
&& ( navigationType == UIWebViewNavigationTypeLinkClicked ) ) {
return ![ [ UIApplication sharedApplication ] openURL: [
requestURL autorelease ] ];
}
[ requestURL release ];
return YES;
}

to the MainViewController.m works like a charm.

Maybe i'm misinterpreting the issue.





incubator-cordova-docs pull request: Link to ContactAddress didn't work.

2012-05-21 Thread Git at Apache
GitHub user colinfrei opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/10

Link to ContactAddress didn't work.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/colinfrei/incubator-cordova-docs patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/10.patch


commit 3457258fe7986f09394ffe832f506ae0f293376d
Author: Colin Frei 
Date:   2012-05-21T01:56:43-07:00

Link to ContactAddress didn't work.





incubator-cordova-android pull request: Contact selection using native Andr...

2012-05-21 Thread Git at Apache
GitHub user siamak-haschemi opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/23

Contact selection using native Android wiget



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/siamak-haschemi/incubator-cordova-android 
master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/23.patch


commit 3118a18968c9d416a096df88661855548e7c98be
Author: Siamak Haschemi 
Date:   2012-05-21T07:38:08-07:00

Contact selection for Android





incubator-cordova-docs pull request: Link to ContactAddress didn't work.

2012-05-21 Thread Git at Apache
Github user colinfrei closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/10



incubator-cordova-ios pull request: Fixes CB-819 fail callback not invoked ...

2012-05-22 Thread Git at Apache
GitHub user becka11y opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/20

Fixes CB-819 fail callback not invoked - code review

Problem was that on iPad when popover controller is used,
the fail callback was not getting called when the popover was
dismissed w/o picking an image.  Added a delay to the callback to JavaScript
since the app will hang if the callback contains a JavaScript alert.
Also removed clause to close popover from imagePickerDidCancel
because that method is not called when the popover is used.
Also deprecated closePicker since it is not
used within the Cordova code.  Deprecated in the off chance a plugin
is using - will remove in 2.0.   

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/becka11y/incubator-cordova-ios 
cb819popoverCancel

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/20.patch


commit 8be82b9a339b6629adca735c7d1c0c4fa46702e4
Author: Becky Gibson 
Date:   2012-05-21T14:11:35-07:00

Fixes CB-819 fail callback not invoked

Problem was that on iPad when popover controller is used,
the fail callback was not getting called when the popover was
dismissed w/o picking an image.  Added a delay to the callback to JavaScript
since the app will hang if the callback contains a JavaScript alert.
Also removed clause to close popover from imagePickerDidCancel
because that method is not called when the popover is used.
Also deprecated closePicker since it is not
used within the Cordova code.  Deprecated in the off chance a plugin
is using - will remove in 2.0.





incubator-cordova-ios pull request: Fixes CB-819 fail callback not invoked ...

2012-05-22 Thread Git at Apache
Github user becka11y closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/20



incubator-cordova-android pull request: Fix issue with getPicture() and no ...

2012-05-23 Thread Git at Apache
Github user yimingkuan closed the pull request at:

https://github.com/apache/incubator-cordova-android/pull/16



incubator-cordova-docs pull request: refs CB-767 iOS Permissions - code rev...

2012-05-23 Thread Git at Apache
GitHub user becka11y opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/11

refs CB-767 iOS Permissions - code review

I've updated the permissions sections for iOS. Issuing as a pull request 
before I commit to give folks a chance to review.   
Only "exceptions" for iOS were Device and Storage.  For Device I just 
listed that no plugin is required and for storage that no plugin is needed. 


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/becka11y/incubator-cordova-docs 767iOS

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/11.patch


commit 9091293eeacaf9c411da99e0837a5fb19552d23b
Author: Becky Gibson 
Date:   2012-05-23T08:19:58-07:00

refs CB-767 iOS Permissions

updated the permissions sections for iOS





incubator-cordova-docs pull request: [CB-790] Add HTTP status code to FileT...

2012-05-23 Thread Git at Apache
GitHub user don opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/12

[CB-790] Add HTTP status code to FileTransferError



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/don/incubator-cordova-docs CB-790

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/12.patch


commit 7ac9a2d688d36ca67d58e0f04db7bade95efba00
Author: Don Coleman 
Date:   2012-05-23T13:03:21-07:00

[CB-790] Add HTTP status code to FileTransferError





incubator-cordova-android pull request: [CB-792] Add HTTP status code to Fi...

2012-05-24 Thread Git at Apache
Github user don closed the pull request at:

https://github.com/apache/incubator-cordova-android/pull/22



incubator-cordova-blackberry-webworks pull request: [CB-793] Add HTTP statu...

2012-05-24 Thread Git at Apache
Github user don closed the pull request at:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/1



incubator-cordova-docs pull request: refs CB-767 iOS Permissions - code rev...

2012-05-24 Thread Git at Apache
Github user becka11y closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/11



incubator-cordova-docs pull request: Fixed typo in Storage documentation

2012-05-24 Thread Git at Apache
GitHub user basicxman opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/13

Fixed typo in Storage documentation

HTML titles contained Contact instead of Storage.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/basicxman/incubator-cordova-docs 
fix_storage_title_tag

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/13.patch


commit 5794d308eb0b73ff77ac976d1653e0025be54782
Author: Andrew Horsman 
Date:   2012-05-24T18:04:07-07:00

Fixed typo in Storage documentation, HTML titles contained Contact instead 
of Storage.





incubator-cordova-android pull request: fixed a typo in CupcakeLocalStorage

2012-05-25 Thread Git at Apache
GitHub user dominiklaubach opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/24

fixed a typo in CupcakeLocalStorage



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dominiklaubach/incubator-cordova-android 
master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/24.patch


commit 27f3d169ffc858cc2a73d771f76df10af72e6557
Author: dominiklaubach 
Date:   2012-05-25T03:27:36-07:00

fixed a typo in CupcakeLocalStorage





incubator-cordova-android pull request: fixed a typo in CupcakeLocalStorage

2012-05-25 Thread Git at Apache
Github user dominiklaubach closed the pull request at:

https://github.com/apache/incubator-cordova-android/pull/24



incubator-cordova-ios pull request: fixes CB-56 popover placement - code re...

2012-05-25 Thread Git at Apache
GitHub user becka11y opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/21

fixes CB-56 popover placement - code review

Modified takePicture() to accept an options dictionary
with parameters defining the placement of the popover
image picker on the iPad.  Created a static to test for
valid arrow placement values.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/becka11y/incubator-cordova-ios popover

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/21.patch


commit bebfd7aaeb691ad0341feeab2f0c9d5328b1c3a9
Author: Becky Gibson 
Date:   2012-05-24T08:51:22-07:00

fixes CB-56 popover placement

Modified takePicture() to accept an options dictionary
with parameters defining the placement of the popover
image picker on the iPad.  Created a static to test for
valid arrow placement values.





incubator-cordova-ios pull request: fixes CB-56 popover placement - code re...

2012-05-25 Thread Git at Apache
Github user becka11y closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/21



incubator-cordova-android pull request: Storage: fix calling failQuery java...

2012-05-25 Thread Git at Apache
GitHub user davibe opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/25

Storage: fix calling failQuery javascript function

Storage.java calls a non existent fail() function instead of failQuery 
function

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/davibe/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/25.patch


commit ccd4365922789defc39e6b7e2a32a7a2fc534610
Author: Davide Bertola 
Date:   2012-05-25T23:46:57-07:00

Fix calling  cordova.plugin.storage.failQuery function from native code





incubator-cordova-android pull request: Fix to help JS compressors not vari...

2012-05-29 Thread Git at Apache
GitHub user will-quast opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/26

Fix to help JS compressors not variable rename vars used in cordova.exec's 
eval.

A change to lib/android/exec.js has broken Google Closure Compiler's 
compressed version.

// If a result was returned
if (r.length > 0) {
var v;
eval("v="+r+";");

// If status is OK, then return value back to caller
if (v.status === cordova.callbackStatus.OK) {

is compressed to 

if(h.length>0){eval("v="+h+";");if((void 
0).status===g.callbackStatus.OK){

which does not work.

I would suggest using JSON.parse instead, but this requires a small change 
to PluginResult.java to return valid JSON.

I have made a pull request in both incubator-cordova-js and 
incubator-cordova-android.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/will-quast/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/26.patch


commit ed94d0dd30831810eeb8c28523d08934c521ae00
Author: William Quast 
Date:   2012-05-29T16:59:31-07:00

Make PluginResult return valid JSON so the JS side can use JSON.parse





incubator-cordova-android pull request: Fix to help JS compressors not vari...

2012-05-30 Thread Git at Apache
Github user will-quast closed the pull request at:

https://github.com/apache/incubator-cordova-android/pull/26



incubator-cordova-docs pull request: Fixes CB-856 - new iOS camera options

2012-06-04 Thread Git at Apache
GitHub user becka11y opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/14

Fixes CB-856 - new iOS camera options

Added documentation for new camera option for iOS, popoverOption
and its associated CameraPopoverOptions object.

Only issue is that new CameraPopoverOptions does not appear in the right 
hand side index and is a separate page (although all of the links work).  I'll 
need some help on file organization to fix that.  

Has also been pointed out that new CameraConstant PopoverArrowDirection 
should not be available on all platforms and should be iOS specific.  Changing 
that would modify this documentation, slightly. 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/becka11y/incubator-cordova-docs CB-856

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/14.patch


commit 8b0403cd5cae94f6d472fb9a5722e076bce32c2d
Author: Becky Gibson 
Date:   2012-06-04T07:20:16-07:00

Fixes CB-856 - new iOS camera options

Added documentation for new camera option for iOS, popoverOption
and its associated CameraPopoverOptions object.





incubator-cordova-docs pull request: Fixed typo in the webOS documentation

2012-06-05 Thread Git at Apache
GitHub user zahlenhelfer opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/15

Fixed typo in the webOS documentation



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/zahlenhelfer/incubator-cordova-docs master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/15.patch


commit 5de1e4f9a9babddf88aa80077c07d3d06594cef3
Author: Marcus Ross 
Date:   2012-06-04T11:31:29-07:00

Fixing typo line 51: use webOS instead of android





incubator-cordova-android pull request: Update master

2012-06-05 Thread Git at Apache
GitHub user quanta42 opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/27

Update master

(CB-861) Header support for PhoneGap's FileTransfer (download).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/quanta42/incubator-cordova-android patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/27.patch


commit 07197e2a569473ec373f95dbb0b26915b53fb1e6
Author: quanta42 
Date:   2012-06-05T11:49:45-07:00

Update master





incubator-cordova-ios pull request: Update master

2012-06-05 Thread Git at Apache
GitHub user quanta42 opened a pull request:

https://github.com/apache/incubator-cordova-ios/pull/22

Update master

(CB-765) Header support for PhoneGap's FileTransfer (Upload method)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/quanta42/incubator-cordova-ios patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-ios/pull/22.patch


commit 343a0ec8bc2a24f0c650b1e5c12046e0f4b2d79f
Author: quanta42 
Date:   2012-06-05T12:19:37-07:00

Update master





incubator-cordova-android pull request: (CB-861) Header support for PhoneGa...

2012-06-05 Thread Git at Apache
GitHub user quanta42 opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/28

(CB-861) Header support for PhoneGap's FileTransfer (download)



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/quanta42/incubator-cordova-android master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/28.patch


commit 6bf70c43392dab99fa57439e72906b0ef7ece93e
Author: quanta42 
Date:   2012-06-05T11:54:38-07:00

Update master





incubator-cordova-docs pull request: Whitelist Guide

2012-06-08 Thread Git at Apache
Github user nathanpc closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/9



incubator-cordova-docs pull request: Device Platform values were incorrect ...

2012-06-08 Thread Git at Apache
Github user tpryan closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/8



incubator-cordova-ios pull request: [CB-794] Add HTTP status code to FileTr...

2012-06-08 Thread Git at Apache
Github user don closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/18



incubator-cordova-docs pull request: [CB-790] Add HTTP status code to FileT...

2012-06-08 Thread Git at Apache
Github user don closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/12



incubator-cordova-docs pull request: Fixed typo in Storage documentation

2012-06-08 Thread Git at Apache
Github user basicxman closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/13



incubator-cordova-docs pull request: Added start guides md and image assets

2012-06-08 Thread Git at Apache
Github user yoheishimomae closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/3



incubator-cordova-docs pull request: Copied over Get Started Guide form Pho...

2012-06-08 Thread Git at Apache
Github user yoheishimomae closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/2



incubator-cordova-docs pull request: Added cordova icons/logos.

2012-06-08 Thread Git at Apache
Github user yoheishimomae closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/1



incubator-cordova-ios pull request: https://issues.apache.org/jira/browse/C...

2012-06-09 Thread Git at Apache
Github user RandyMcMillan closed the pull request at:

https://github.com/apache/incubator-cordova-ios/pull/15



incubator-cordova-docs pull request: Fixes CB-856 - new iOS camera options

2012-06-11 Thread Git at Apache
Github user becka11y closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/14



incubator-cordova-android pull request: Preference for showing the app titl...

2012-06-12 Thread Git at Apache
GitHub user dpogue opened a pull request:

https://github.com/apache/incubator-cordova-android/pull/29

Preference for showing the app title bar

This does not change the default behaviour, and will only show the title 
bar when the showTitle preference is true. This allows apps to show and make 
use of the ActionBar in Android 3.x and 4.0.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dpogue/incubator-cordova-android patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-android/pull/29.patch


commit 80ee6c1a9184754bdf431cf45470747237b3b86c
Author: Darryl Pogue 
Date:   2012-06-12T10:03:50-07:00

Support showing the app title bar through a preference.

This does not change the default behaviour, and will only show the title 
bar when the showTitle preference is true. This allows apps to show and make 
use of the ActionBar in Android 3.x and 4.0.





incubator-cordova-blackberry-webworks pull request: ./bin/create script for...

2012-06-12 Thread Git at Apache
GitHub user filmaj opened a pull request:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/2

./bin/create script for unix and windows

I've added a bash and WScript script to the repo that uses the old 
ANT-based build script under the hood. This lines up our CLI tooling with the 
other platforms.

Please note that this does not remove the old way of creating and managing 
projects; you can still use the ANT approach.

I would love to get some feedback from other folks about the new create 
script to see how it works out. Would like to get another pair of eyes/devs to 
try it out :)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/filmaj/incubator-cordova-blackberry-webworks 
create

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/2.patch


commit 7c610d64540744951687810114e7768a3fe5dcdd
Author: Tim Kim 
Date:   2012-06-05T14:43:23-07:00

Updating to 1.8.0

commit 245c2c67f43014507f7e54c4133f391f3e13d17a
Author: Tim Kim 
Date:   2012-06-12T15:12:03-07:00

1.8.1

commit 5f3fbff20666f11ef5bf4de71acec1860e60078a
Author: Fil Maj 
Date:   2012-06-12T18:19:30-07:00

[CB-606] Added create script for unix and windows

commit 2329a568c8677dd701698362117fe4fc7d11f3b6
Author: Fil Maj 
Date:   2012-06-12T18:23:49-07:00

removed node modules from version control, whoops





incubator-cordova-blackberry-webworks pull request: ./bin/create script for...

2012-06-13 Thread Git at Apache
Github user filmaj closed the pull request at:

https://github.com/apache/incubator-cordova-blackberry-webworks/pull/2



incubator-cordova-docs pull request: Add 1.7.0 Japanese translation files

2012-06-21 Thread Git at Apache
GitHub user keiko713 opened a pull request:

https://github.com/apache/incubator-cordova-docs/pull/16

Add 1.7.0 Japanese translation files

I translated 1.7.0 documents to Japanese.
Please take a look if you have time.
I'm going to translate 1.8.1 as well.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/keiko713/incubator-cordova-docs master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-cordova-docs/pull/16.patch


commit ff664c356bd774183c5c23662dadb805575bf409
Author: Keiko Oda 
Date:   2012-06-07T16:35:19-07:00

copy docs/en/1.7.0 to docs/jp/1.7.0

commit e8792d0e029a65ffe2fc2ffc0069e3d98cd99de8
Author: Keiko Oda 
Date:   2012-06-09T19:03:20-07:00

Change language from English to Japanese in config.json, translate index.md

commit 7735808075da53d06865f80d9e8aff52e5ada8dc
Author: Keiko Oda 
Date:   2012-06-09T19:04:55-07:00

Translate files related to accelerometer

commit c8a73f9521bc478cbcc70d186267839ae675d4cb
Author: Keiko Oda 
Date:   2012-06-10T01:14:22-07:00

Translate files related to camera

commit 1001ef0d10b08f621010a8cfc5b697c640eb3da3
Author: Keiko Oda 
Date:   2012-06-10T14:24:09-07:00

Translate files related to compass

commit 499310757e71ef0ccee3bd059db7b82c83695a57
Author: Keiko Oda 
Date:   2012-06-10T14:53:08-07:00

Translate files related to connection

commit a46fc6ca2438f02a39edac4b92b39052e0a10866
Author: Keiko Oda 
Date:   2012-06-12T11:27:22-07:00

Translate files related to contacts

commit cd655cc1fbdc8579d0494434bf7d4eaeb17a0dfb
Author: Keiko Oda 
Date:   2012-06-12T14:05:35-07:00

Translate files related to device

commit e356bba59abbb879f8b1b8e06bc4d1037c4d974c
Author: Keiko Oda 
Date:   2012-06-12T19:41:21-07:00

Translate files related to events

commit 7e250c9de81608de9e40290fc0eeaa8c3d6245ba
Author: Keiko Oda 
Date:   2012-06-13T23:34:30-07:00

Translate files related to file, fix some long vowel mistakes

commit f4129a692840a1dfdd580820bbe75b37792e6e3f
Author: Keiko Oda 
Date:   2012-06-14T02:50:25-07:00

Translate files related to geolocation

commit 03648cdcc6eca4742f5061831c1fa59647d493c9
Author: Keiko Oda 
Date:   2012-06-14T23:36:27-07:00

Translate files related to media

commit a8112de8e08f918416db77934b3ba4081efada89
Author: Keiko Oda 
Date:   2012-06-15T13:49:12-07:00

Translate files related to capture

commit 65cddbb00dcace1e5da64985ea46fdc33b05ef03
Author: Keiko Oda 
Date:   2012-06-15T14:30:16-07:00

Translate files related to notification

commit 0f7aab1dc85f3b9b9005e59a426fc800f8d7334f
Author: Keiko Oda 
Date:   2012-06-15T16:04:30-07:00

Translate files related to storage

commit 734c825b53e1bfb6214471c7d2ce065dd40009c4
Author: Keiko Oda 
Date:   2012-06-16T09:52:59-07:00

Translate files related to getting-started

commit a625da133881db595dd97f861d4f926f32aafbd9
Author: Keiko Oda 
Date:   2012-06-17T23:23:25-07:00

Change ガイド to Guides

commit 9585487ee919b4d2c113f0cedde479eb327519aa
Author: Keiko Oda 
Date:   2012-06-21T11:40:47-07:00

Merge branch 'master' of https://github.com/apache/incubator-cordova-docs





incubator-cordova-docs pull request: Adds a link to the formal File API

2012-06-25 Thread Git at Apache
Github user cfjedimaster closed the pull request at:

https://github.com/apache/incubator-cordova-docs/pull/5



  1   2   >