Re: amazon-fireos github mirror

2014-01-03 Thread Brian LeRoux
Hey Archana, you have to actually ping INFRA yourself. They have a mailing list and irc. (Sometimes commenting on the issue helps.) On Fri, Jan 3, 2014 at 6:30 PM, Naik, Archana wrote: > https://issues.apache.org/jira/browse/INFRA-7054 > > No mirror yet. Can someone in INFRA please follow up? >

amazon-fireos github mirror

2014-01-03 Thread Naik, Archana
https://issues.apache.org/jira/browse/INFRA-7054 No mirror yet. Can someone in INFRA please follow up? Thanks Archana

Re: Default template - size

2014-01-03 Thread Axel Nennker
I think that my questions go away when www/config.xml moves to config.xml. You have looked at the initial code and commented on it. Anything new on the current code? I will change the code tomorrow so that SRC becomes relatively to project-dir and remove the re/icon logic. Axel On Jan 3, 2014 10:1

Re: storage

2014-01-03 Thread Dick Van den Brink
I use this shim and use it for iOS and android and after patching it works great! The latest build is completely broken without patches, see my pull reqs on github and some others. I'm all for using this as a starting point but it has been broken for almost 4 months now without manually applyi

Re: Default template - size

2014-01-03 Thread Andrew Grieve
As long as they can specify the path to their icons, I think they can put them wherever they want. What input are you looking for? On Sat, Dec 21, 2013 at 4:14 PM, Axel Nennker wrote: > I suggest to move the icons to /res/icons/ and copy > them from there to the platform www. Although this has

Re: template?

2014-01-03 Thread Mark Koudritsky
On Fri, Jan 3, 2014 at 3:01 PM, Wargo, John wrote: > +1. JSON on the command line is...more complicated than it should be. > > IMHO We still need a way to pass in a template folder. Is there a reason > we're counting parameters rather than just exposing a tmpl=file_path > parameter that could be

RE: template?

2014-01-03 Thread Wargo, John
+1. JSON on the command line is...more complicated than it should be. IMHO We still need a way to pass in a template folder. Is there a reason we're counting parameters rather than just exposing a tmpl=file_path parameter that could be used (or not used) as needed on the command line? -Orig

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

2014-01-03 Thread Brian LeRoux
probably a good idea for the moment / at some we will have a config file reckoning! On Fri, Jan 3, 2014 at 11:34 AM, Andrew Grieve wrote: > Okay, yeah, reading that back to myself and it seems like a bad idea > (config.xml->app.xml). Probably would just add to confusion. > > So, top-level confi

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

2014-01-03 Thread Andrew Grieve
Okay, yeah, reading that back to myself and it seems like a bad idea (config.xml->app.xml). Probably would just add to confusion. So, top-level config.xml and top-level cordova.json. Maybe I could add to this that we don't create a cordova.json by default, since 99% most people shouldn't need it.

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

2014-01-03 Thread Brian LeRoux
actually, let me put this another way: I support .cordova/config.json -> cordova.json but I am not really interested in changing the name of ./www/config.xml to ./www/app.xml ...feels to me we could consolidate this entire sitation with a single well crafted configuration file (at the top level).

RE: storage

2014-01-03 Thread Parashuram Narasimhan (MS OPEN TECH)
I gave IndexedDB shim over websql a shot, but it is not 100% compliant and has some bugs - http://github.com/axemclion/indexeddbshim. I am working on fixing the bugs, but to the level it works, I tested and it works with Cordova well !! Could we use that as a starting point ? -Original Mes

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

2014-01-03 Thread Brian LeRoux
Sorry, I completely do not understand this at all. The proposal is to change the name of config.xml to ease confusions and add a new top level config file? On Fri, Jan 3, 2014 at 11:15 AM, Andrew Grieve wrote: > Just spoke with Ian and I now understand his point about cordova.json being > for b

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

2014-01-03 Thread Andrew Grieve
Just spoke with Ian and I now understand his point about cordova.json being for build environment, whereas config.xml is for application things. So, do think it'd be bad to have a cordova.json and a config.xml right next to each other. How about: config.xml -> app.xml - This will (hopefully) ea

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

2014-01-03 Thread Andrew Grieve
Looks like there's already a JIRA for this: https://issues.apache.org/jira/browse/CB-4910 On Thu, Jan 2, 2014 at 10:35 AM, Andrew Grieve wrote: > I'll make a JIRA issue on Tuesday and paste the link to it here. > > > On Thu, Jan 2, 2014 at 10:32 AM, Ross Gerbasi wrote: > >> Did this make it

Re: storage

2014-01-03 Thread Lucas Holmquist
you should checkout the Datamanager stuff that we've been working on, on the aerogear project https://github.com/aerogear/aerogear-js#datamanager It is designed to fallback to whatever is available on your platform On Jan 3, 2014, at 8:30 AM, Axel Nennker wrote: > Hi, > > I was wondering abou

Re: template?

2014-01-03 Thread Brian LeRoux
I'm all for this feature (and docs) but lets make it first class. Passing the internal JSON representation feels like a leaky abstraction. The CLI user should not know nor care about those internals and it would seem error prone. On Fri, Jan 3, 2014 at 9:24 AM, Mark Koudritsky wrote: > > Well.

Re: storage

2014-01-03 Thread Brian LeRoux
an indexeddb plugin would be a rad thing for the community to create and maintain ;) in seriousness: the file api is probably what you're really looking for if you want to read/write json on phones (you could even use it as a basis for an JS only plugin that polyfills indexeddb. On Fri, Jan 3, 2

Re: template?

2014-01-03 Thread Mark Koudritsky
> Well. I'm the one who "Fixed" this. > My bad, it's indeed Josh's change, sorry for getting confused about this, this was discussed at the time for a bit and I thought about doing the same but Josh did it before

Re: template?

2014-01-03 Thread Josh Soref
Well. I'm the one who "Fixed" this.  I'm obviously -1 on removing it without some more useful outcomes. Just backing things out without fixing underlying flaws is a waste of energy. Should I have backed out your glue because you broke the command line? Surely that's ridiculous.   It's really u

Re: template?

2014-01-03 Thread Josh Soref
Mark wrote: > Is there an ETA for it? Cordova works on a Cadence release cycle. It'll be in the next release which should be soon enough.  > Can you say where the valid keys are documented? I'm not sure there is a definitive list, it's basically anything that can end up in the project JSON. 

Re: template?

2014-01-03 Thread Mark Koudritsky
+1 for removing this JSON param. Passing JSON on command line is indeed frightening. The bit of internal api for passing another param with an object to create() to initialize config.json file was added by me for the use of mca.js This indeed caused a crash when there was a 4th cli param because

Re: template?

2014-01-03 Thread Josh Soref
It's intended. It matches the internal api. Before the system resulted in a crash when you passed a fourth argument.  This way you can do whatever you want. I probably should have spoken up when the -- bits were added and asked why they were necessary. ‎ ---

Re: template?

2014-01-03 Thread Ray Camden
On 1/3/14, 10:27 AM, "Mark Koudritsky" wrote: >The option to specify a template was added here, via --src or --link >command line args. >https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9b7fedf > >But it's not yet part of any released version. Is there an ETA for it? > >Passing a J

Re: template?

2014-01-03 Thread Andrew Grieve
If adding the 4th param wasn't intentional, should we remove it? Passing a JSON string via command line seems crazy. On Fri, Jan 3, 2014 at 11:27 AM, Mark Koudritsky wrote: > The option to specify a template was added here, via --src or --link > command line args. > https://git-wip-us.apache.or

Re: template?

2014-01-03 Thread John M. Wargo
sorry, not JSON file, but JSON string. On 1/3/2014 11:16 AM, John Wargo wrote: I thought I saw a thread a while back that said you'd be able to pass the CLI create command a path to a project folder that contains the web application template to use for the new project. I just installed 3.3 and

Re: template?

2014-01-03 Thread Mark Koudritsky
The option to specify a template was added here, via --src or --link command line args. https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9b7fedf But it's not yet part of any released version. Passing a JSON string as the 4th param to CLI does seem to work, even though originally it was

Re: template?

2014-01-03 Thread Josh Soref
There's a difference between the cli and the platform bin scripts. The platform bin scripts take a template directory or something. The cli takes JSON which can include a template directory. Yes. It's confusing. But it does work. ‎ --

template?

2014-01-03 Thread John Wargo
I thought I saw a thread a while back that said you'd be able to pass the CLI create command a path to a project folder that contains the web application template to use for the new project. I just installed 3.3 and according to the help, the 4th parameter points to a JSON file that contains ke

storage

2014-01-03 Thread Axel Nennker
Hi, I was wondering about the cross-platform experience of Storage. http://cordova.apache.org/docs/en/3.3.0/cordova_storage_storage.md.html#Storage It seems that there is no cross platform solution in Cordova, right? There are indexeddb shims that implement indexeddb on "all" platforms. Shouldn'

Re: Add resource-file element to plugin.xml

2014-01-03 Thread Axel Nennker
Although source-file could be used I think it is wrong to use source-file to copy files to or it's subdirectory. It just happens to work because on Android because the Android build system just compiles every file in /src and uses every file in /res to generate e.g gen/R.java On other platforms (i