Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3681C188D7 for ; Wed, 29 Jul 2015 19:15:38 +0000 (UTC) Received: (qmail 23270 invoked by uid 500); 29 Jul 2015 19:15:38 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 23236 invoked by uid 500); 29 Jul 2015 19:15:38 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 23222 invoked by uid 99); 29 Jul 2015 19:15:38 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 19:15:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A9644193AE7 for ; Wed, 29 Jul 2015 19:15:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.991 X-Spam-Level: *** X-Spam-Status: No, score=3.991 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rm5Uj0DMkdyu for ; Wed, 29 Jul 2015 19:15:28 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id B310B20DD8 for ; Wed, 29 Jul 2015 19:15:26 +0000 (UTC) Received: (qmail 23097 invoked by uid 99); 29 Jul 2015 19:15:25 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 19:15:25 +0000 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 68B1B1A06DC for ; Wed, 29 Jul 2015 19:15:25 +0000 (UTC) Received: by wicgb10 with SMTP id gb10so214080271wic.1 for ; Wed, 29 Jul 2015 12:15:23 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.174.194 with SMTP id bu2mr88058384wjc.76.1438197323977; Wed, 29 Jul 2015 12:15:23 -0700 (PDT) Received: by 10.28.6.131 with HTTP; Wed, 29 Jul 2015 12:15:23 -0700 (PDT) In-Reply-To: References: <004601d0ca17$30a40ae0$91ec20a0$@acm.org> Date: Wed, 29 Jul 2015 21:15:23 +0200 Message-ID: Subject: Re: Proposal editor development framework. From: jan i To: jan i Cc: "dev@corinthia.incubator.apache.org" , Dennis Hamilton Content-Type: multipart/alternative; boundary=089e0141a0069cdd98051c086870 --089e0141a0069cdd98051c086870 Content-Type: text/plain; charset=UTF-8 Just put the proposal in its pure form in wiki: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61309925 let keep the discussion in here, and make the actual changes in the wiki rgds jan i. On 29 July 2015 at 20:07, jan i wrote: > > > On 29 July 2015 at 17:56, Dennis E. Hamilton > wrote: > >> I think this is an interesting idea. >> >> I want to test my understanding. >> >> An important provision is the API and callbacks of layer 1, since code >> above layer 1 will rely on it, yes? >> > Correct, you can say the API of layer 1 is the ALv2 interface....below > might or might not be ALv2. > >> >> Then anyone could build a layer 1 implementation and substitute it for >> whatever the default/reference is. (I keep thinking that the default >> should not depend on Qt. I will not worry about that for now, so long as >> someone could build a branch that uses a different layer 1 that is fully >> ALv2 licensed.) >> > If you keep thinking that, then please come with some alternatives ? Peter > and I could not find any. > > but it is correct that anyone could build that. My suggestion is clear we > build a Qt version (as an EXAMPLE) and a test version, where the buttons > etc are activated from > e.g. config files. > >> >> A test of the design would need to be demonstration that non-Qt layer 1 >> are not too difficult and that they need not be disadvantaged relative to >> use of a Qt-based layer 1. >> > why the word "need". Why do you care how difficult it is ? that is not our > concern, our concern is solely to show that we have a clear separation > between the Qt > example implementation and the rest of corinthia. > > The licenses does not care about how difficult things are, or if we proof > the interface. > > >> >> I am unclear how layer 2 and above work independently, because of the >> stated relationship to an XML UI design file. I also don't quite see how a >> NULL version is testable as an editor, so that remains to be figured out as >> well. >> > the XML UI design file is ALv2 licensed, so no problem for layer 2. > > the NULL is a standard way to test UI applications, when you do not have > people sitting in front of the screen. You replace each API call with a > test module, that e.g. read interactions from a file. > >> >> Is this in line with the intention for this framework? >> > pretty much. > > rgds > jan i. > >> >> - Dennis >> >> -----Original Message----- >> From: jan i [mailto:jani@apache.org] >> Sent: Wednesday, July 29, 2015 05:45 >> To: dev@corinthia.incubator.apache.org >> Subject: Proposal editor development framework. >> >> [ ... ] >> I designed a framework (presented below), and just to be sureI checked it >> with another project (albeit java) who have similar problems. >> >> Framework (layers are bottom up) >> >> - Layer 0, Actual graphic implementation >> Operating system libs, Qt runtime, webkit etc. >> These are and cannot be part of our source release >> >> - Layer 1, glue kit and UI design >> This layer has 2 main functions: >> a) It reads a UI design specification (which happens to have Qt XML >> format), >> and creates the connection to layer 0 >> b) It contains an API and callbacks to the higher layers. >> >> Remember we only use a very limited part of a full scale UI, which reduces >> the size >> of this layer dramatically. This is the real critical point, if we cannot >> do a major reduction >> this framework will not work. >> >> We implement an example of this layer, and by accident we use Qt. Other >> developers >> might (and most importantly for license reasons "can do it") implement >> e.g. >> webkit. >> >> For test purposes we also implement a NULL version of this layer, thereby >> the editor can >> link without and third party source. >> >> We supply this source as EXAMPLE source, clearly marked as such. >> >> [ ... ] >> >> > --089e0141a0069cdd98051c086870--