Re: [Android] Refactoring for different engines

2014-03-05 Thread Michal Mocny
I haven't looked yet, but did you see: https://crosswalk-project.org/#wiki/crosswalk-cordova-android ? On Wed, Mar 5, 2014 at 10:20 PM, Andrew Grieve agri...@chromium.org wrote: First - very excited that you're working on this! Had a quick look. Not sure there's much to be gleaned yet. Once

Re: [Android] Refactoring for different engines

2014-03-05 Thread Michal Mocny
https://github.com/crosswalk-project/crosswalk-cordova-android First patch they landed, which claims to have min viable xwalk webview: https://github.com/crosswalk-project/crosswalk-cordova-android/commit/a04dedeb0204e7542d190312c6ae70c795a26e04 On Wed, Mar 5, 2014 at 11:37 PM, Michal Mocny mmo

Re: get config.xml data from js

2014-03-04 Thread Michal Mocny
On Tue, Mar 4, 2014 at 2:32 AM, Axel Nennker ignisvul...@gmail.com wrote: Just found this: chrome.runtime (Stable since Chrome 22.) http://developer.chrome.com/extensions/runtime#method-getManifest getManifest object chrome.runtime.getManifest() Obligatory:

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Michal Mocny
Cool. I haven't dug deep yet, but was curious how this compares to: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec.sh On Mon, Mar 3, 2014 at 5:15 PM, Martin Gonzalez Glez martin.c.glez.g...@gmail.com wrote: I've just made a command line script for Mobile spec

Re: [Vote] cordova@3.4.0-0.1.3 plugman@0.20.2

2014-03-04 Thread Michal Mocny
+1 On Tue, Mar 4, 2014 at 8:05 AM, Bryan Higgins br...@bryanhiggins.netwrote: +1 On Mon, Mar 3, 2014 at 9:48 PM, Ian Clelland iclell...@chromium.org wrote: +1 Tested from dist.apache.org, verified code matching hashes, signature and repositories. Verified CB-6151 fix. On

Re: Move Release Process Docs to cordova-docs

2014-03-04 Thread Michal Mocny
Great idea! On Tue, Mar 4, 2014 at 11:35 AM, Brian LeRoux b...@brian.io wrote: more discoverable for the community too +1 On Tue, Mar 4, 2014 at 7:22 AM, Andrew Grieve agri...@chromium.org wrote: Instead of the wiki. Would make it easier to track what changes are made to it, allow

Re: expose available platforms functionality

2014-03-04 Thread Michal Mocny
Not 100% sure this is what you are asking for, but: For cca we have a CLI command to check that environment is set up correct, and then checks which of Android/iOS are installed correctly (cca checkenv): https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/src/cca.js#L299 This is

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
asset ? http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md.html#Plugin%20Specification_asset_element On Tue, Mar 4, 2014 at 11:45 AM, Brian LeRoux b...@brian.io wrote: Seems to me that you want the plugin installation to copy the css file. its hacky, but you could use js-file [1] as a

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
Ah wait, that won't inject it into the page.. Sorry, misunderstood the problem. Why not just write JS that runs on startup (after domcontentready but delaying onpluginready) that injects the CSS? On Tue, Mar 4, 2014 at 12:07 PM, Michal Mocny mmo...@chromium.org wrote: asset ? http

Re: 3.4.0-x.x.x inaccessible through 'npm install cordova'

2014-03-04 Thread Michal Mocny
..last week I saw 0.1.1 published under the rc, even hours after Andrew claimed to release 0.1.2. I figured it was me/him who made a mistake, but given everything, and that npm have been blogging about all sorts of quirks.. yes, blame canad^H^H^H^H^H npm. -Michal On Tue, Mar 4, 2014 at 2:00

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
iPhone On Mar 4, 2014, at 9:25 AM, Brian LeRoux b...@brian.io wrote: oooh dirty I like it On Tue, Mar 4, 2014 at 9:17 AM, Michal Mocny mmo...@chromium.org wrote: Ah wait, that won't inject it into the page.. Sorry, misunderstood the problem. Why not just write JS that runs

Re: Monthly Hangouts!

2014-03-04 Thread Michal Mocny
Summarizing some more discussion points brought up recently: 3. Docs/translation scripts? 4. Plugins: (a) how to deal with plugin library dependancies, and (b) automatically injecting assets On Sat, Mar 1, 2014 at 5:20 PM, Tommy-Carlos Williams to...@devgeeks.orgwrote: Also might be neat if

Re: Delete some undocumented Android things?

2014-03-03 Thread Michal Mocny
On Mon, Mar 3, 2014 at 3:46 PM, Andrew Grieve agri...@chromium.org wrote: Because the majority of apps don't play audio. E.g. I checked TripCase, and the volume buttons change the media volume. I think the average user expect their volume buttons to change their ringer volume at all times.

Re: Delete some undocumented Android things?

2014-03-03 Thread Michal Mocny
suggestion sounds great, but isn't exactly super priority. -Michal On Mon, Mar 3, 2014 at 4:14 PM, Michal Mocny mmo...@chromium.org wrote: On Mon, Mar 3, 2014 at 3:46 PM, Andrew Grieve agri...@chromium.orgwrote: Because the majority of apps don't play audio. E.g. I checked TripCase

Re: [file plugin] Accessing physical device paths

2014-02-28 Thread Michal Mocny
Note to anyone reading this guide in the future: I think it is still not advisable to store or consume the result of entry.toNativeURL() in a way that your app depends on being stable. You should store the original path passed to getFile() etc only, and resolve toNativeURL() only at the time of

Re: get config.xml data from js

2014-02-28 Thread Michal Mocny
David already wrote a plugin for this a few months ago for us to use in the test harness: https://github.com/apache/cordova-labs/tree/cdvtest/cordova-plugin-appsettings I think he planned on proposing it for core but there was never really a reason for it. I guess now's a good time to get that

Re: get config.xml data from js

2014-02-28 Thread Michal Mocny
be a good idea to just have one core plugin (perhaps extend that one I linked) to include all config file values. Filed: https://issues.apache.org/jira/browse/CB-6139 -Michal On Fri, Feb 28, 2014 at 3:57 PM, Michal Mocny mmo...@chromium.org wrote: David already wrote a plugin for this a few months

Re: Pull Requests and Re-writing History

2014-02-28 Thread Michal Mocny
Does the squash keep original author info? I know the hashes change so they don't match up, but if we have the author and a reference to the PR in the commit, I think thats fine for me. Alternative is to ask the contributor to do the squash, which we do try to do, but its usually the

Re: get config.xml data from js

2014-02-28 Thread Michal Mocny
, Michal Mocny mmo...@chromium.org wrote: Now that I look a bit deeper, that plugin I only returns preferences specifically, not the entire contents of config.xml (name is not a preference). It also does not currently implement a way to inspect all

Re: Pull Requests and Re-writing History

2014-02-28 Thread Michal Mocny
doing this for several months now and haven't had anyone complain, so I don't think those submitting the PRs care too much. On Fri, Feb 28, 2014 at 5:51 PM, Michal Mocny mmo...@chromium.org wrote: Does the squash keep original author info? I know the hashes change so they don't

Re: [Vote] cordova@3.4.0-0.1.1 plugman@0.20.0

2014-02-27 Thread Michal Mocny
+1 On Thu, Feb 27, 2014 at 1:08 PM, Andrew Grieve agri...@chromium.org wrote: My understanding from all of the discussion from what Joe pointed out is that we do need to vote. It's not hard to put a copy on dist/ as well. On Thu, Feb 27, 2014 at 12:03 PM, Joe Schaefer

Re: [Vote] cordova@3.4.0-0.1.1 plugman@0.20.0

2014-02-27 Thread Michal Mocny
On Thu, Feb 27, 2014 at 2:06 PM, Josh Soref jso...@blackberry.com wrote: Andrew Grieve wrote: My understanding is (I believe) the same as what Josh said: Yes, I believe we¹re on the same page http://www.apache.org/dev/release#what does not mention being on dist/

Re: [Vote] cordova@3.4.0-0.1.1 plugman@0.20.0

2014-02-27 Thread Michal Mocny
jso...@blackberry.com wrote: Michal Mocny wrote: That isn't really criteria for a -1. Someone summed it up in another thread: no release is perfect, but if its better than the last one, +1. But if this is a rewrite that is actually a regression from the previous version, then perhaps

Re: Voting on past releases

2014-02-26 Thread Michal Mocny
it is intended to work. - Lorin On Tue, Feb 25, 2014 at 2:37 PM, sebb seb...@gmail.com wrote: On 25 February 2014 21:47, Michal Mocny mmo...@chromium.org wrote: Some tips, since I found this a pain to figure out. To verify the sha file matches: gpg --print-md SHA512 *.zip | diff

Re: [VOTE] Cordova 3.3.0

2014-02-26 Thread Michal Mocny
+1 On Wed, Feb 26, 2014 at 10:22 AM, James Jong wjamesj...@gmail.com wrote: +1 -James Jong On Feb 25, 2014, at 4:49 PM, Joe Bowser bows...@gmail.com wrote: +1 On Tue, Feb 25, 2014 at 12:27 PM, Steven Gill stevengil...@gmail.com wrote: Please review and vote on our past release of

Re: [VOTE] Cordova 3.2.0

2014-02-26 Thread Michal Mocny
+1 On Wed, Feb 26, 2014 at 10:21 AM, James Jong wjamesj...@gmail.com wrote: +1 -James Jong On Feb 26, 2014, at 12:39 AM, Don Coleman don.cole...@gmail.com wrote: +1 On Tue, Feb 25, 2014 at 4:55 PM, RUDD, Brett brettr...@gmail.com wrote: +1 On Feb 25, 2014, at 12:24, Steven

Re: [VOTE] Cordova 3.1.0

2014-02-26 Thread Michal Mocny
+1 On Wed, Feb 26, 2014 at 10:22 AM, James Jong wjamesj...@gmail.com wrote: +1 -James Jong On Feb 25, 2014, at 4:55 PM, RUDD, Brett brettr...@gmail.com wrote: +1 On Feb 25, 2014, at 12:21, Steven Gill stevengil...@gmail.com wrote: Please review and vote on our past release of

Re: [Vote] Cordova 2.9.1

2014-02-26 Thread Michal Mocny
wrote: +1 @purplecabbage risingj.com On Tue, Feb 25, 2014 at 2:08 PM, Michal Mocny mmo...@chromium.org wrote: As answered elsewhere: gpg --print-md SHA512 *.zip | diff - *.sha echo Exact match gpg --print-md MD5 *.zip | diff - *.md5 echo Exact match

Re: [VOTE] Cordova 2.9.0

2014-02-26 Thread Michal Mocny
+1 On Wed, Feb 26, 2014 at 10:21 AM, James Jong wjamesj...@gmail.com wrote: +1 -James Jong On Feb 26, 2014, at 10:02 AM, Ian Clelland iclell...@chromium.org wrote: -- cordova-docs does not match the released tag. The documentation in the release is from hash

Re: Improved integration between Apache and GitHub

2014-02-25 Thread Michal Mocny
This is a sweet improvement, but if I read correct, doesn't address our biggest headaches: 1. You still cannot merge in PR from github 2. We still cannot close PR ourselves 3. Commits already automatically comment on corresponding JIRA issues, so this change merely bumps the timing of automatic

Re: Improved integration between Apache and GitHub

2014-02-25 Thread Michal Mocny
and mention the PR by number? On Tue, Feb 25, 2014 at 6:33 AM, Michal Mocny mmo...@chromium.org wrote: This is a sweet improvement, but if I read correct, doesn't address our biggest headaches: 1. You still cannot merge in PR from github 2. We still cannot close PR ourselves

Re: Voting on past releases

2014-02-25 Thread Michal Mocny
Some tips, since I found this a pain to figure out. To verify the sha file matches: gpg --print-md SHA512 *.zip | diff - *.sha echo Exact match gpg --print-md MD5 *.zip | diff - *.md5 echo Exact match Oddly the output of gpg is different than that of sha512sum and md5sum so you cannot use

Re: [Vote] Cordova 2.9.1

2014-02-25 Thread Michal Mocny
As answered elsewhere: gpg --print-md SHA512 *.zip | diff - *.sha echo Exact match gpg --print-md MD5 *.zip | diff - *.md5 echo Exact match The awkwardness comes from gpg's format (there are threads online complaining about this). We should switch coho to just use sha512sum, etc. +1! On

Re: mobile-spec and releases: How do we test?

2014-02-24 Thread Michal Mocny
in there but there might be a better way ? [1] http://goo.gl/uhnwtz On Wed, Oct 30, 2013 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Sadly, we are approaching an in-between time of moving the mobile-spec tests out of the app and into plugins. We are still investigating the best

Re: [Vote] Cordova 3.4.0 release

2014-02-20 Thread Michal Mocny
So I was a bit curious to try this myself, so I ran: coho --repo cadence repo-clone coho --repo cadence foreach git remote -v coho --repo cadence foreach git show-ref 3.4.0 It seems that cordova-cli is included in the cadence release, but hasn't been tagged passed rc.2 yet? (also,

Re: [Vote] Cordova 3.4.0 release

2014-02-20 Thread Michal Mocny
(I was wrong about firefoxos, its just cli thats missing the tag) On Thu, Feb 20, 2014 at 1:58 PM, Brian LeRoux b...@brian.io wrote: C'mon Joe, its our job to help him. You can take the high road and then Sebb can start affording us the same courtesy. On Thu, Feb 20, 2014 at 10:16 AM, Joe

Re: [Vote] Cordova 3.4.0 release

2014-02-20 Thread Michal Mocny
, Michal Mocny mmo...@chromium.org wrote: (I was wrong about firefoxos, its just cli thats missing the tag) On Thu, Feb 20, 2014 at 1:58 PM, Brian LeRoux b...@brian.io wrote: C'mon Joe, its our job to help him. You can take the high road and then Sebb can start affording us the same

Re: [Vote] Cordova 3.4.0 release

2014-02-20 Thread Michal Mocny
and aligning our flows would be a good thing. We're pretty much forced to use it to tag now, whether we like it or not. On Thu, Feb 20, 2014 at 11:06 AM, Michal Mocny mmo...@chromium.org wrote: (I was wrong about firefoxos, its just cli thats missing the tag) On Thu, Feb 20

Re: [Vote] Cordova 3.4.0 release

2014-02-20 Thread Michal Mocny
to modify/delete a git tag? If so, then the git hashes ought to be provided, as accidents can happen. The mail archives should contain an immutable reference to the exact code in the repo that was used to build the release. On 20 February 2014 19:52, Michal Mocny mmo...@chromium.org wrote: Sebb

Re: [ANNOUNCE] Cordova 3.4.0 Released!

2014-02-20 Thread Michal Mocny
huzzah! On Thu, Feb 20, 2014 at 2:27 PM, Steven Gill stevengil...@gmail.com wrote: Woohoo! Congrats all. Blog post: http://cordova.apache.org/announcements/2014/02/20/cordova-340.html Tweet: https://twitter.com/apachecordova/status/436582745477615616

Re: [Vote] Cordova 3.4.0 release

2014-02-19 Thread Michal Mocny
On Wed, Feb 19, 2014 at 7:16 AM, Ian Clelland iclell...@chromium.orgwrote: On Wed, Feb 19, 2014 at 12:59 AM, purplecabbage purplecabb...@gmail.com wrote: IMO, If it was not in the release candidate, it should not be pushed into the release. If we need to turn around and do a 3.4.1 to

Re: Introducing

2014-02-18 Thread Michal Mocny
On Tue, Feb 18, 2014 at 10:56 AM, Gert-Jan Braas br...@steckelfisch.nlwrote: Hello, Hi! I'd like to introduce myself. My name is Gert-Jan Braas and since a few months I'm focussing on Cordova and FirefoxOS. My previous coding experience comprises java, a bit of python and various

Re: [Android] Apps restart instead of resume when brought to focus by clicking app icon

2014-02-15 Thread Michal Mocny
On Fri, Feb 14, 2014 at 5:26 PM, Joe Bowser bows...@gmail.com wrote: On Fri, Feb 14, 2014 at 12:28 PM, Michal Mocny mmo...@chromium.org wrote: Joe, I think you may have that backwards. singleTop means we don't get get restarted so avoid the issue of preserving state. If we leave

[Android] Apps restart instead of resume when brought to focus by clicking app icon

2014-02-14 Thread Michal Mocny
TLDR; AndroidManifest.xml activity needs: android:launchMode=singleTop -- can I add it? Quick search brings up: http://stackoverflow.com/questions/10122449/phonegap-android-application-restarting-instead-of-resuming-although-it-was-not ..which advises to add android:launchMode=singleTask to

Re: [Android] Apps restart instead of resume when brought to focus by clicking app icon

2014-02-14 Thread Michal Mocny
:08 PM, Michal Mocny mmo...@google.com wrote: TLDR; AndroidManifest.xml activity needs: android:launchMode=singleTop -- can I add it? Quick search brings up: http://stackoverflow.com/questions/10122449/phonegap-android-application-restarting-instead-of-resuming-although

Re: Platform update and breaking plug-ins

2014-02-10 Thread Michal Mocny
I mostly agree with Braden, except would like to see a top-level CLI command to do that automatically. `cordova upgrade` could re-add installed platforms and plugins in a temporary location, and swap it into your project root only if it completes successfully, and also moving your old version

Re: CB-5974, or, Re-thinking broken-by-default (Was: Re: Plugins Release!)

2014-02-05 Thread Michal Mocny
Honestly, my opinion on this: Leave the default as-is for now. We've just made huge changes to the API, which may have bugs / implications we haven't fully thought through. Lets let a subset of users upgrade to the new $MAJOR version, and a subset of those add the new preference. In a later

Re: Need to revert a CLI breaking change causing CB-5957

2014-02-05 Thread Michal Mocny
First off, Jesse I appreciate your respectable tone here, thank you. I agree, this is a sign that we generally don't test nearly enough on windows, and should fix that. As someone who also reviewed the work Mark was doing here, sorry this wasn't caught. I'll just add that I think the tests

Re: serving extra css

2014-02-04 Thread Michal Mocny
On Mon, Feb 3, 2014 at 6:58 PM, Josh Soref jso...@blackberry.com wrote: Michal wrote: Wouldn't this be better handled by Brian's dream of browser-as-a-platform? I haven¹t worked through all the details, but I don¹t think so. If you want to run the blackberry specific hooks and you browse

Re: Make cordova platform add ios work on Windows

2014-02-04 Thread Michal Mocny
With the app-harness, you actually can test on iOS from windows, so this is becoming a use case. So long as the pre-packaged native plugins running on the app-harness match version requirements for your app, you won't need to build the native bits locally. All we need is to serve web assets from

Re: Make cordova platform add ios work on Windows

2014-02-04 Thread Michal Mocny
..matter of fact, for those same reasons we should change the other platforms to support installation when check_reqs fail. I should be able to test Android using AH the exact same way without a full dev environment. On Tue, Feb 4, 2014 at 9:27 AM, Michal Mocny mmo...@chromium.org wrote

Re: Make cordova platform add ios work on Windows

2014-02-04 Thread Michal Mocny
that `create` lets them start the project, but then they can't build because they're missing javac or something else essential. I think there's an expectation that we at least let people know early if they're going to have a bad time later on. On Tue, Feb 4, 2014 at 9:30 AM, Michal Mocny mmo

Re: Make cordova platform add ios work on Windows

2014-02-04 Thread Michal Mocny
the decision to use the bundled JS code. Braden On Tue, Feb 4, 2014 at 9:44 AM, Michal Mocny mmo...@chromium.org wrote: I think we've previously also thrown around the idea of Installed vs Enabled (though the context I think was about plugins and being conditionally disabled on various

Re: serving extra css

2014-02-03 Thread Michal Mocny
Wouldn't this be better handled by Brian's dream of browser-as-a-platform? I understand that this solves your immediate problem, but I'm not sure extending serve is really the right long term solution for this. -Michal On Mon, Feb 3, 2014 at 2:01 PM, Josh Soref jso...@blackberry.com wrote:

Re: serving extra css

2014-02-03 Thread Michal Mocny
..also, your idea of automatically look for a well known file could be done within the application by feature detecting that its running in a desktop browser. Would it be prehibitive to dynamically inject the style on startup from the app itself? -Michal On Mon, Feb 3, 2014 at 6:25 PM, Michal

Re: Point release for CLI

2014-01-31 Thread Michal Mocny
+1 On Fri, Jan 31, 2014 at 4:38 PM, Steven Gill stevengil...@gmail.com wrote: +1 On Fri, Jan 31, 2014 at 1:20 PM, Andrew Grieve agri...@chromium.org wrote: cordova-3.3.1-0.3.0 has been up for only a day, and so I'm going to do another release of it today that just adds one commit:

Re: Blog post review for tools release (plz review)

2014-01-31 Thread Michal Mocny
Looks good. --searchpath and --copy-from / --link-to are notable enough to highlight? -Michal On Fri, Jan 31, 2014 at 4:46 PM, Steven Gill stevengil...@gmail.com wrote: ship it! On Fri, Jan 31, 2014 at 1:15 PM, Andrew Grieve agri...@chromium.org wrote: Mostly the same as my failed

Re: Blog post review for tools release (plz review)

2014-01-31 Thread Michal Mocny
advertised anyway... On Fri, Jan 31, 2014 at 2:00 PM, Michal Mocny mmo...@chromium.org wrote: Looks good. --searchpath and --copy-from / --link-to are notable enough to highlight? -Michal On Fri, Jan 31, 2014 at 4:46 PM, Steven Gill stevengil...@gmail.com wrote: ship

Re: Hooks?

2014-01-30 Thread Michal Mocny
Also, the hooks/ folder has moved out of .cordova/ and into the root. Probably this change hasn't shipped yet since we haven't been able to publish CLI to npm for such a long time (though I hear this is now resolved -- thanks Brian!). On Wed, Jan 29, 2014 at 5:27 PM, John M. Wargo

Cordova Hangout, January 29 2014 -- Meeting Notes

2014-01-29 Thread Michal Mocny
Monthly Hangout? - Good idea, ML message to establish time SSL Cert Pinning. - Android APIs are just not good enough? - Andrew asked the Android WebView team if there was any way to do this with existing WebView: no :( - We can write a custom plugin to do one off special type of requests?

Re: what part of npm is borken for us?

2014-01-29 Thread Michal Mocny
Yeah, publish. And apparently just for the cordova project, not for all others. On Wed, Jan 29, 2014 at 3:06 PM, Brian LeRoux b...@brian.io wrote: publish? (I just installed np)

Re: About PR and stale branches

2014-01-23 Thread Michal Mocny
One more note about Pull Requests: We don't get email notified about these right now, which is a bummer since we miss them for a while sometimes. If you bring them specifically to our attention by emailing the list you will usually find more success. Most importantly: Thanks for contributing and

Re: Configuring the File plugin

2014-01-23 Thread Michal Mocny
Those two sentences are not contradictory: new file plugin is broken on iOS by default.. by throwing an exception on initialize.. unless this new preference is set in the app's config.xml (which signals that the dev researched the issue and addressed it accordingly). The migration step to

Re: Review Request 17064: Add a CordovaError exception class for better error reporting in CLI

2014-01-20 Thread Michal Mocny
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17064/#review32315 --- Ship it! Ship It! - Michal Mocny On Jan. 20, 2014, 9:23 p.m

Re: Review Request 17064: Add a CordovaError exception class for better error reporting in CLI

2014-01-20 Thread Michal Mocny
Nit: s/fall/call/ src/cli.js https://reviews.apache.org/r/17064/#comment61031 Trivial Nit: whitespace (leading space inside if condition, no space before previous line's brace) - Michal Mocny On Jan. 20, 2014, 9:23 p.m., Mark Koudritsky wrote

Re: Review Request 16854: Use plugin search path in cordova-cli

2014-01-14 Thread Michal Mocny
Took a look at the patch, looks good. Seems you do some cleanup of plugin handling at the same time, which is nice, but you may want to consider splitting into two commits in case we want to revert just the search path bit. On Tue, Jan 14, 2014 at 10:29 AM, Michal Mocny mmo...@chromium.org

Re: Tools Release

2014-01-14 Thread Michal Mocny
Lets let cli search paths land? On Tue, Jan 14, 2014 at 10:58 AM, Andrew Grieve agri...@chromium.orgwrote: I'd like to do a tools release today or tomorrow. Any reason to postpone? If I don't hear back, I'll go ahead with it either this eve or tomorrow.

Re: Configuring the File plugin

2014-01-14 Thread Michal Mocny
I'll let Ian answer, but my understanding: - We are storing some files in the wrong place right now, but we need to continue storing in the wrong place by default for apps to not break on upgrade - We want to store files in a few new places that haven't been supported until now - We want to roll

Re: Configuring the File plugin

2014-01-14 Thread Michal Mocny
..and we are now discussing how best to balance config flexibility vs config grok-ability On Tue, Jan 14, 2014 at 1:48 PM, Michal Mocny mmo...@chromium.org wrote: I'll let Ian answer, but my understanding: - We are storing some files in the wrong place right now, but we need to continue

Re: Moving .cordova/config.json - cordova.json

2014-01-13 Thread Michal Mocny
subject matter, and maybe there is a better overall approach here. On Fri, Jan 10, 2014 at 10:19 PM, Michal Mocny mmo...@chromium.org wrote: On Fri, Jan 10, 2014 at 8:58 PM, Andrew Grieve agri...@chromium.org wrote: I've finished working on this for now and have marked the bug

Re: Submitting patches

2014-01-13 Thread Michal Mocny
Thats likely the best way. However, also email someone who looks after Tizen to get them take a look, since we are unfortunately not notified of PR automatically. Looking at the commit logs, its likely Paul Plaquette or Anis Kadri you want to ping. -Michal On Mon, Jan 13, 2014 at 7:29 AM,

Re: Moving .cordova/config.json - cordova.json

2014-01-10 Thread Michal Mocny
, 2014 at 12:07 PM, Brian LeRoux b...@brian.io wrote: ya agreed, we should aim to do something early Feb once everyone is back into the the flow On Mon, Jan 6, 2014 at 11:59 AM, Michal Mocny mmo...@chromium.org wrote: If we don't add a config.json by default, we need a new strategy

Re: [Android] Deprecation of Geolocation on Android

2014-01-10 Thread Michal Mocny
Adding support for play services based geolocation could come as a value add later. If the current implementation is broken and no one wants to work on it (seems to be the case since it hasn't been fixed yet), then Joe's suggestion to just drop it now and leave a no-op plugin that adds permission

Re: Review Request 16701: Add --searchpath option for local plugin search path

2014-01-08 Thread Michal Mocny
Mark, I think Jeff's point earlier was that he would like more documentation about the behavior / limitations, not that he thinks your choices were wrong. Personally I would rather have explicit multiple search paths than recursive search. That way we are less likely to hit ambiguity with

Re: IC: current state of IOS master

2014-01-08 Thread Michal Mocny
On Wed, Jan 8, 2014 at 3:53 PM, Andrew Grieve agri...@chromium.org wrote: Anyone object to me going through and deleting the stale copy of tests within plugins? +1. AFAIK they are not used for anything, are out of date, and are causing confusion. On Wed, Jan 8, 2014 at 12:40 PM, Ian

Re: Review Request 16739: Change --searchpath to use repeated flag instead of delimiter

2014-01-08 Thread Michal Mocny
--*path can be confusing when adding a single plugin, since it may be understood to represent the path to the plugin itself vs to the folder containing the plugin. On the other hand, I like the analogy to PATH variable, and we discussed earlier the equivalent compiler arguments (say -I for gcc)

Re: Introductory Developer Email

2014-01-07 Thread Michal Mocny
Ahoy Josh! Any specific parts of cordova that interest you most? On Mon, Jan 6, 2014 at 10:36 PM, Andrew Grieve agri...@chromium.org wrote: Awesome! Welcome to the team! On Mon, Jan 6, 2014 at 3:40 PM, Brian LeRoux b...@brian.io wrote: Right on, welcome to the fray Josh. On Mon,

Re: Moving www/config.xml - config.xml (within CLI)

2014-01-06 Thread Michal Mocny
1) Wouldn't it make more sense to default to the root config.xml if both are present? If you create a new project and import an old www project using a new CLI (--source or --link), you would get both configuration files (one at the root created by the template, and one inside your imported www).

Re: Moving .cordova/config.json - cordova.json

2014-01-06 Thread Michal Mocny
If we don't add a config.json by default, we need a new strategy for looking up paths for the root. I don't like naming the top-level config config.xml, but after some thoughts on it, I don't think we should rename it just right now. There are a lot of changes that would need to go along with

Re: IDE tweaks for CLI

2014-01-06 Thread Michal Mocny
We've quibbled over this before. Regardless of your preference or philosophy, at least some users are choosing/expecting to use IDE's and then complaining about it. I'm all for removing the barriers to all-CLI all the time (I'm also a vim guy), but these changes significantly appease confusion

Re: Moving www/config.xml - config.xml (within CLI)

2014-01-06 Thread Michal Mocny
make more sense as app.xml, since config.xml is the thing you're generating as an output. OTOH, there are a lot of tutorials blog posts that say put FOO in your config.xml, and so renaming it would be confusing in this context. On Mon, Jan 6, 2014 at 11:30 AM, Michal Mocny mmo...@chromium.org

Re: IDE tweaks for CLI

2014-01-06 Thread Michal Mocny
(More OT: I've gone through my fourth damaged microUSB cable on this last road trip. They bend so easily in the car.) On Mon, Jan 6, 2014 at 3:17 PM, Joe Bowser bows...@gmail.com wrote: On Mon, Jan 6, 2014 at 12:03 PM, Braden Shepherdson bra...@chromium.org wrote: I have had a patchy

Re: [proposal] Deprecate WP7 as a target platform

2013-12-13 Thread Michal Mocny
Great write up Jesse. +1 to syndicating it on the cordova blog. On Fri, Dec 13, 2013 at 9:29 AM, Marcel Kinard cmarc...@gmail.com wrote: Very nice writeup! Syndication will include a link to it from http://cordova.apache.org/blog/ ? On Dec 12, 2013, at 8:50 PM, Jesse

Re: Apache Cordova

2013-12-13 Thread Michal Mocny
Just to clarify, is your magazine doing its own investigation and summary, and you are just kindly giving us the opportunity to clarify points to cover, or, are you asking us to provide the description you plan to publish? Does anyone have a good de-facto answer to this question?

Re: Apache Cordova

2013-12-13 Thread Michal Mocny
, 2013 at 1:03 PM, Michal Mocny mmo...@chromium.org wrote: Just to clarify, is your magazine doing its own investigation and summary, and you are just kindly giving us the opportunity to clarify points to cover, or, are you asking us to provide the description you plan to publish? Does

Re: Deleting Plugin Docs

2013-12-13 Thread Michal Mocny
Mike, actually I think with this proposal it should be easier than ever to match plugin to docs specific to its version. The documentation would come bundled with the plugin, so you can find the README.md alongside wherever your plugin code resides, be that an old download, a plugman install, or

Re: Deleting Plugin Docs

2013-12-13 Thread Michal Mocny
, Michal Mocny mmo...@chromium.org wrote: Mike, actually I think with this proposal it should be easier than ever to match plugin to docs specific to its version. The documentation would come bundled with the plugin, so you can find the README.md alongside wherever your plugin code resides

Re: RELEASENOTES.md and coho

2013-12-11 Thread Michal Mocny
Also, for those downloading the zip, they cannot git log, right? On Wed, Dec 11, 2013 at 9:53 AM, Andrew Grieve agri...@chromium.org wrote: Release notes: - Keep people engaged in reading about Cordova - Make people want the new thing I think the best way to communicate release notes is to

Re: Benchmark comparison of classic webview and Chromium webview

2013-12-11 Thread Michal Mocny
TLDR before we get too excited: Js perf seems a huge win, but at the moment html canvas is not gpu accelerated, so canvas based apps are actually not doing so well. This is known and high priority for chrome-webview team, though I am not at all sure if it can be fixed in a minor patch of android

Re: RELEASENOTES.md and coho

2013-12-11 Thread Michal Mocny
RE: where to download: http://cordova.apache.org/#download (Theres a huge download button above-the-fold on cordova.io) Personally, I like summarized release notes in blog posts, but I do agree that committing a file that summarized git log into the same git repo is really not useful. And if

Re: RELEASENOTES.md and coho

2013-12-11 Thread Michal Mocny
Thanks for chiming in Dan! On Wed, Dec 11, 2013 at 1:48 PM, Dan Moore moore...@yahoo.com wrote: Hi folks, As a user, having all the release information in one place would be fantastic. I understand your desire to have a rapid release schedule (documented, as best as I can tell, here:

Re: Review Request 16099: Pass cli args to hooks, fix hooker.spec on windows.

2013-12-10 Thread Michal Mocny
author information? - Michal Mocny On Dec. 9, 2013, 10:38 p.m., Mark Koudritsky wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16099

Re: Windows Phone binary bridge

2013-12-09 Thread Michal Mocny
Where do you see an implementation using Array.apply(null, new Uint8Array(...)) ? We used to have this bug in ios/android binary bridge but that was patched many releases ago (unless there is a stray one somewhere that still needs fixing). On Mon, Dec 9, 2013 at 10:15 AM, Sergey Grebnov

Re: Review Request 16099: Pass cli args to hooks, fix hooker.spec on windows.

2013-12-09 Thread Michal Mocny
://reviews.apache.org/r/16099/#comment57536 Do we have sample hooks scripts that try to parse these environment variables? Seems right now these are comma separated without quotations, which seems fine, but not sure what the standard is for shell environment variable lists on windows etc.. - Michal

Re: coho last-week command

2013-12-09 Thread Michal Mocny
Thats way cool! Lets set up a bot to email the list on a set weekly schedule? Beats reading every email to cordova-commits. On Mon, Dec 9, 2013 at 2:24 PM, Andrew Grieve agri...@chromium.org wrote: In case anyone finds it useful, I've just pushed a new coho command that is a glorified git

Re: Cordova and Crosswalk

2013-12-08 Thread Michal Mocny
+1 to Renderer. I think that term is more applicable here anyway. On Sun, Dec 8, 2013 at 6:13 PM, Brian LeRoux b...@brian.io wrote: I like it but one small nit: we already use the term 'engine' to describe a downstream in plugins. Propose we call it 'renderer'. On Sat, Dec 7, 2013 at

Re: proposal to simplify hello world

2013-12-08 Thread Michal Mocny
(apache reviews has a fairly poor UI/UX, but has some fairly useful integration with JIRA and ML. Those benefits matter not for this patch. Since on this aside already, does anyone know a way to sign up for github emails for pull request code comments without getting spammed with one email for

Re: JAVA_HOME

2013-12-06 Thread Michal Mocny
I think I marked that fix version, and it was before we did an android 3.2.x point release. I was under the impression that the fix did already make it out in that point release and so we can update JIRA, but I guess I should make sure first. Are you saying that the fix isn't in the latest point

Re: JAVA_HOME

2013-12-06 Thread Michal Mocny
Or maybe we didn't do a point release for android.. On Fri, Dec 6, 2013 at 9:36 AM, Michal Mocny mmo...@chromium.org wrote: I think I marked that fix version, and it was before we did an android 3.2.x point release. I was under the impression that the fix did already make it out

Re: iOS webview size

2013-12-06 Thread Michal Mocny
320 sounds like the width of the first three generations of iphone (though the height is not 240 but 480). Perhaps you are emulating an older device? On Fri, Dec 6, 2013 at 9:28 AM, Maxime LUCE max...@somatic.fr wrote: Frame is fullscreen but frame content is sized Cordialement. Maxime

<    2   3   4   5   6   7   8   9   10   11   >