codova-mobile-spec test case contacts.spec.21

2013-07-02 Thread Smith, Peter
I'm trying to understand the cordova-mobile-spec test case contacts.spec.21 update a contact. This test case clearly expects that saving over a contact email with an empty string will remove that email. But I didn't see any mention of this kind of functionality in the cordova

Windows 8 (not Phone 8) - native plugin support

2013-07-02 Thread Toplak Daniel
Hi, we are very interested in phonegap/cordova and we like the concept of HTML5/JS/CSS + native plugin APPs. We have created a proof of concept to embed a OpenGL Render Engine into a the Html-Views (not WebGL). The native plugin which renders on a native view is running on iOS and Android very

getPreferredLanguage platform inconsistencies

2013-07-02 Thread Jon Whitlock
Hi folks, Am currently playing with getPreferredLanguage on Android and am unsure if I have found an issue. In; https://github.com/apache/cordova-docs/blob/master/docs/en/edge/cordova/globalization/globalization.getPreferredLanguage.md Returns the language identifier string to the

Re: getPreferredLanguage platform inconsistencies

2013-07-02 Thread Simon MacDonald
This is a really good bug description. Can you open on at: https://issues.apache.org/jira/browse/CB Simon Mac Donald http://hi.im/simonmacdonald On Tue, Jul 2, 2013 at 11:23 AM, Jon Whitlock jon.whitl...@ostmodern.co.ukwrote: Hi folks, Am currently playing with getPreferredLanguage on

Re: codova-mobile-spec test case contacts.spec.21

2013-07-02 Thread Filip Maj
Great question, I have no idea myself! My guess is the test is incorrect.. Looking into git blame, looks like that test code has existed for almost a year and a half :s I imagine instead of setting the email to the empty string, the second email would be entirely removed. On 7/1/13 11:17 PM,

Re: CDVLogger went away in master

2013-07-02 Thread Marcel Kinard
Are there a scenarios where it would be good to not have Logger in an app, such as permissions, footprint, or just not needing any logging functionality? I'm having a tough time thinking of any, so I'd also say: +1 leaving Logger in core

Re: codova-mobile-spec test case contacts.spec.21

2013-07-02 Thread Simon MacDonald
If you set the email address to an empty string it should be removed from the contact. For some crazy reason the W3C API didn't provide a method/way to delete an email address, phone number, etc. So the convention for deleting an entry like an email address is to set it to the empty string. If

Re: building cordova 3.0

2013-07-02 Thread Brian LeRoux
Totally awesome idea. I've had this sitting in my inbox for a week so I decided to just use it as a stub in the wiki. Please edit! http://wiki.apache.org/cordova/WorkingWithThree On Mon, Jul 1, 2013 at 1:05 PM, Steven Gill stevengil...@gmail.com wrote: Great idea On Mon, Jul 1, 2013 at

Re: CDVLogger went away in master

2013-07-02 Thread Brian LeRoux
Its a good point about ios6+. I can't imagine anyone is developing for anything less (other than corodva@=2.9 legacy support). On Tue, Jul 2, 2013 at 11:44 AM, Michal Mocny mmo...@chromium.org wrote: To answer the question of why we may want to leave it out: - If you are using remote

Re: CDVLogger went away in master

2013-07-02 Thread Tyler Wilson
Another view: what percentage of developers use the console.log API during development? I would think that the vast majority do. So why add a step for a feature that most developers use or need? My Cordova work has been mostly done on-device, since I am using a custom plug-in that requires the

Re: cordova-ios pull request

2013-07-02 Thread Andrew Grieve
Great! Thanks for the pull request Carlos. I've patched it in! :) On Sat, Jun 29, 2013 at 7:10 PM, Carlos Rosquillas crosquil...@gmail.comwrote: Hi, I was working with cordova-cli and noticed .gitignore wasn't properly ignoring build directories. After some digging around and reading the

Re: jake btest for cordova-js at Cordova 2.7.0

2013-07-02 Thread Andrew Grieve
Hi Shingo, My take on this is that running the tests within a desktop browser (via btest) is there to help debug the tests, but we'd only consider them actually broken if they failed on jake test. That said, it'd be great if you figured out how to fix them! Andrew On Mon, Jul 1, 2013 at 10:35

Cordova BlackBerry PlayBook Support

2013-07-02 Thread Gord Tanner
I just read that the PlayBook is no longer getting BlackBerry 10 [1] which is kinda shitty since now the official support for cordova on BlackBerry is now 2 phones which have not been getting good market traction [2]. - Anyone from BlackBerry able to comment on the PlayBook? - Are you guys still

Re: CDVLogger went away in master

2013-07-02 Thread Andrew Grieve
Tyler - remote web inspector works for iOS 6 on device, not just in the simulator. I removed the logger since it got moved to the cordova-plugin-console repo. To be clear, is the proposal here to delete that repo? I'd like to see it remain *not* in core only because it can be written as a

Re: CDVLogger went away in master

2013-07-02 Thread Michal Mocny
perhaps platforms should support plugin dependencies? On Tue, Jul 2, 2013 at 3:57 PM, Andrew Grieve agri...@chromium.org wrote: Tyler - remote web inspector works for iOS 6 on device, not just in the simulator. I removed the logger since it got moved to the cordova-plugin-console repo. To

Re: Cordova Blog

2013-07-02 Thread Carlos Santana
Ok I have this working with jekyll and GitHub pages You can preview gh-pages branch here: http://csantanapr.github.io/cordova-blog/blog You can see repo here: https://github.com/csantanapr/cordova-blog Blog README: https://github.com/csantanapr/cordova-blog/blob/master/www/README.md All the

Re: CDVLogger went away in master

2013-07-02 Thread Brian LeRoux
I love that idea. Makes transitioning easy. On Jul 2, 2013 1:38 PM, Michal Mocny mmo...@chromium.org wrote: perhaps platforms should support plugin dependencies? On Tue, Jul 2, 2013 at 3:57 PM, Andrew Grieve agri...@chromium.org wrote: Tyler - remote web inspector works for iOS 6 on

Re: CDVLogger went away in master

2013-07-02 Thread Steven Gill
+1 to making it a platform dependency and keeping it as a plugin. On Tue, Jul 2, 2013 at 2:37 PM, Brian LeRoux b...@brian.io wrote: I love that idea. Makes transitioning easy. On Jul 2, 2013 1:38 PM, Michal Mocny mmo...@chromium.org wrote: perhaps platforms should support plugin

Re: Cordova Blog

2013-07-02 Thread Carlos Santana
JIRA item contains the svn diff for the Cordova Blog and is ready to be check in by a committer. https://issues.apache.org/jira/browse/CB-3997 Please review and let me know if you have any issues. --Carlos On Tue, Jul 2, 2013 at 4:38 PM, Carlos Santana csantan...@gmail.com wrote: Ok I have

Re: git commit: [CB-3965] [BlackBerry10] Update bb10 parser now that device config is global

2013-07-02 Thread Filip Maj
Hey Bryan can you update the tests for this? I get a slew of errors now that this commit is in there. Make sure to run the tests before committing folks! On 7/2/13 12:20 PM, bhigg...@apache.org bhigg...@apache.org wrote: Updated Branches: refs/heads/master2 a0966a2c1 - 627b23b83 [CB-3965]

Re: git commit: [CB-3965] [BlackBerry10] Update bb10 parser now that device config is global

2013-07-02 Thread Bryan Higgins
Whopps, sorry! Will fix once I'm back at a computer. On Tue, Jul 2, 2013 at 6:09 PM, Filip Maj f...@adobe.com wrote: Hey Bryan can you update the tests for this? I get a slew of errors now that this commit is in there. Make sure to run the tests before committing folks! On 7/2/13 12:20

using node modules in cordova plugins?

2013-07-02 Thread Don Coleman
I ripped a bunch of Javascript code out of my Cordova NFC plugin and created a NPM so I could reuse the code elsewhere. Now, that the code is improved and tested, I'd like the plugin to use the code from the node package. Are there good ways to do this? Have you seen any examples?

Re: Simulator stays black when giving package name

2013-07-02 Thread Filip Maj
Hey Christian, Thanks for submitting the issues to JIRA. I am slowly working through them. I'll be commenting on those threads as I get to them. Cheers. On 6/28/13 4:48 AM, Christian Grobmeier grobme...@gmail.com wrote: Hello, I did that: $ cordova create tab-iphone-2.2

Re: Developing Cordova plug-ins

2013-07-02 Thread Don Coleman
I develop plugins in a sample project, then copy the files into the plugman directory structure. If multiple projects use the plugin, I usually uninstall and re-install the plugin after making updates $ cordova plugin remove plugin_name $ cordova plugin add /path/to/plugin For cordovalib,

error when doing 'sudo npm install -g cordova'

2013-07-02 Thread Tyler Wilson
I get this when trying to install cordova cli: ... npm http 304 https://registry.npmjs.org/express npm ERR! TypeError: Invalid Version: 3.0.0alpha1 npm ERR! at new SemVer (/opt/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11) npm ERR! at SemVer.compare

Re: error when doing 'sudo npm install -g cordova'

2013-07-02 Thread Tyler Wilson
Sorry, ignore this. I should have 'google'd first. My apologies. - Tyler On Jul 2, 2013, at 9:48 PM, Tyler Wilson twil...@pulse-robotics.com wrote: I get this when trying to install cordova cli: ... npm http 304 https://registry.npmjs.org/express npm ERR! TypeError: Invalid Version:

Re: missing www resources

2013-07-02 Thread Tyler Wilson
Answer my own issue: it appears that at one point I had quit a project creation, so the www resources did not complete downloading and extracting. I deleted the .cordova folder and did another create, then waited. It is all good now. I promise you won't hear from me for a while now… Thank

Re: using node modules in cordova plugins?

2013-07-02 Thread Andrew Grieve
Hmm, I think it would work if you checked in the node_modules and then put the paths to the js files you want in your plugin.xml. Our require paths for the modules a bit different though, and might not work well if you have one npm module requiring another one. Maybe a better option in this case

Re: missing www resources

2013-07-02 Thread Don Coleman
I've seen this error too with 2.9.0. Deleting ~/.cordova fixed it. I have not been able to duplicate. On Tue, Jul 2, 2013 at 11:13 PM, Andrew Grieve agri...@chromium.org wrote: Hey Tyler, I think your feedback here is actually quite valuable. Thanks for testing out the CLI tools! As you