Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51F761066E for ; Wed, 12 Feb 2014 21:57:51 +0000 (UTC) Received: (qmail 95032 invoked by uid 500); 12 Feb 2014 21:57:51 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 94989 invoked by uid 500); 12 Feb 2014 21:57:50 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 94981 invoked by uid 99); 12 Feb 2014 21:57:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 21:57:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 21:57:45 +0000 Received: by mail-pb0-f45.google.com with SMTP id un15so9866182pbc.32 for ; Wed, 12 Feb 2014 13:57:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=lPerN0B4oNUBBtHxoZs37dyLINwa6B+vEuQY/suKVyk=; b=jn3QQJqRTsGSnyCxL2d5+5xRZPdgrdYMAsqnwwwEipH41hd8L6yOHtp3BtntwwRNWK IkqfXOLl04BPVxBrnf/Vz4ZTpW4NgSe58PX4a4Vip+epbSI6gTgUzCHBrEps/1freCZ5 UfAxDREAhV7Sz1mjj89AxxjNI6Hp9bNzFlVichkRfQMuYwgaSOLsUZ+eDIoef/xtiHJv bQW7paVssQspM4+LFpKasdk8Dn4PM/30Zz9PvmfyQw+2tPbD7Yaho7jvX8AmzS+UzxM+ SH6wT/gMLGFvHDwDgFEup0FK/bTtA/fGfGOmpGGgK38cA/RzVZnmI3J0vOhJcu1wUrHW 6abQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=lPerN0B4oNUBBtHxoZs37dyLINwa6B+vEuQY/suKVyk=; b=nDq87h3/BUcRlsxY19vKtXdRfXaHBaSOnKVW8bj/0whLhSdhOpRSsTZpXpf4d961+S QwxV0/Wz7Vya7mXLLfiKNAc+FqWKHiZgSBGfn+PBX0JA7H+6dAG+uOv6X5C0Xi6j21ST E5elebXrfkp1xph+1o4Gi9VLhaq6aucNHjwFs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=lPerN0B4oNUBBtHxoZs37dyLINwa6B+vEuQY/suKVyk=; b=FkkwntT8zNwC9nvFzUoGno7PIiLlqgFINc6YHVet+0TAzp+nOHZH5s5QEK4KSp4HGx yePwdyDjzWudkUxC/G27AP/PTThTOIcEHsrPmMgnMXQ3GTbC5CM35oleRc1U2CGTZMp7 hR2xqIGHrg6icon040oqcOixDROzHhC9euKZN3LIca/NDDpQrSjwqoxmy2HfbGFjS38j s8EbhlfYTisAznlk3S8OejeWCFurKVieCrA+Avj4AJQYRCP0uiBf7wbV3UlBqxFe9mJm SHjZpZ2M8Fskxj6QwzWbWLxQTjemloLWN+4xMP0MzOOJdUc43//KeMtKOzvU/RskXoUy Qy7Q== X-Gm-Message-State: ALoCoQn2DJTYnITCdBwA5XbwqNcEtDuoOA/jKoAev8HTBYQ723lSWtJQDUEwiw4euWKCYIKjZeQkkexne8b9tzI9Uq62mGmzB6PMFGjSEOk8aJJgTJCL0n3KKAs6bsMcRGE/S9MJpYWCOVi/KsTEFuW4altwFwvAvihSXz5+bAF+Sf14J4lJuxRmyN7BtWP6bztRydnOvxL5ZpKI/O0954fqPcxip1YbVQ== X-Received: by 10.67.3.97 with SMTP id bv1mr42015362pad.54.1392242243735; Wed, 12 Feb 2014 13:57:23 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.130.198 with HTTP; Wed, 12 Feb 2014 13:57:03 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Wed, 12 Feb 2014 16:57:03 -0500 X-Google-Sender-Auth: bqi8oLd5VzHhw7UjrVJlVaRE00c Message-ID: Subject: Re: cordova launcher icon support https://github.com/apache/cordova-cli/pull/126 To: Andrew Grieve Cc: dev Content-Type: multipart/alternative; boundary=047d7b15aeb161267a04f23ca811 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15aeb161267a04f23ca811 Content-Type: text/plain; charset=UTF-8 Another pull request came in last week: https://github.com/apache/cordova-cli/pull/29 It adds icons & splashscreens to both iOS and Android, and even uses imagemagick to generate them if it's available. Still looking it over. On Wed, Feb 12, 2014 at 4:37 PM, Andrew Grieve wrote: > > > > On Tue, Feb 11, 2014 at 3:43 PM, Brian LeRoux wrote: > >> Given we are the only 'widget spec' impl in use today I'm ok with >> diverging >> and not adding namespace confusion. Def want config to be explicit and not >> have magical implicit mappings. >> >> >> On Tue, Feb 11, 2014 at 12:24 PM, Axel Nennker > >wrote: >> >> > - My implementation does not use "id". Don't know what this or might >> mean. >> > Found it from your test in spec/test-config.xml > > >> > - I do not want to discuss the sense of xml namespaces in this issue >> if we >> > can avoid it. The current template config.xml defines two namespaces and >> > for this issue's implementation I do not want to change that. So I would >> > not drop the widget namespace and would not support >> > "platform"-without-prefix. >> > > Having gap:platform there makes the property seem like an second-class > maybe-not-supposed-to-be-there kind of attribute to me. > I'd be happy to change the default template to not reference the widget > spec and to make cordova's the default namespace if that will make your > inner XML validator rest at-ease, but I really feel strongly against having > XML namespaces creep in. I don't think that most devs know what they do, > and our tools wouldn't support you changing the gap: namespace prefix. > > > >> > - I would follow the phonegap example >> > >> > >> http://docs.build.phonegap.com/en_US/3.1.0/configuring_icons_and_splash.md.html#Icons%20and%20Splash%20Screens >> > that defines e.g. " >> > >> > > > gap:density="ldpi" /> >> > >> > " and I would like to don't parse the icon file to infer parameters. >> > Developers want need icons for their app on all platforms they support. >> So >> > they will create all of them in all polished sizes and densities. >> > My Android implementation puts icons without cdv:density into >> > "drawable/icon.png" regardless of width/height. >> > What behaviour would you suggest when both lines are present in one >> > config.xml >> > // would >> end up >> > in drawable-mdpi by your suggestion >> > >> // >> > would end up in drawable-mdpi too >> > > My thinking here was that density says the same thing as size, so I would > just not support density (or make size="mdpi" an alias for size="48"). > > > >> > >> > I think that developers know what is the "platform-way" for each >> platform. >> > On Android the usual way is to specify densities. >> > >> > - I would not use "size" because that is not w3c widget style. >> > >> > -- Axel >> > >> > >> > >> > 2014-02-11 20:22 GMT+01:00 Andrew Grieve : >> > >> > > Would love to move this along. Would like to get buy-in from others >> > > first though. >> > > >> > > The proposal in this PR is to add tags like: >> > > >> > > >> > >