[E-devel] UI syntax, letter 2

2016-03-08 Thread Yakov Goldberg
Hello everyone, I had discussions with Tom and as a result updated wiki page. You can find it here: https://phab.enlightenment.org/w/ui_builders_format/ Most things are clear there are several questions to be discussed: * fixed indentation (4 spaces) or not fixed * Widget vs Elm.Widget: all wid

Re: [E-devel] UI syntax, letter 2

2016-03-08 Thread Leif Middelschulte
Hey, this is more of a question/feature request. Do you consider constraints definition compatible to Cassowary[0] (Apple speak: auto-layout) yet? An example of how such constraint definition could look like can be found in the following DSL: https://github.com/s4cha/Stevia Would be nice to hav

Re: [E-devel] UI syntax, letter 2

2016-03-08 Thread The Rasterman
On Tue, 08 Mar 2016 18:14:42 +0200 Yakov Goldberg said: > Hello everyone, > I had discussions with Tom and as a result updated wiki page. > > You can find it here: > https://phab.enlightenment.org/w/ui_builders_format/ > > > Most things are clear there are several questions to be discussed: >

Re: [E-devel] UI syntax, letter 2

2016-03-08 Thread David Seikel
On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) wrote: > > * fixed indentation (4 spaces) or not fixed > > i personally think 2 spaces is fine. 4 is just "too much". the reason > is most monospace fonts are taller than they are wide so "2" ends up > a nice diagonal like: Ar

Re: [E-devel] UI syntax, letter 2

2016-03-08 Thread The Rasterman
On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: > On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) > wrote: > > > > * fixed indentation (4 spaces) or not fixed > > > > i personally think 2 spaces is fine. 4 is just "too much". the reason > > is most monospace fonts are

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Tom Hacohen
On 08/03/16 18:14, Leif Middelschulte wrote: > Hey, > > this is more of a question/feature request. Do you consider constraints > definition compatible to Cassowary[0] (Apple speak: auto-layout) yet? > An example of how such constraint definition could look like can be found in > the following DS

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Simon Lees
On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: > >> On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) >> wrote: >> * fixed indentation (4 spaces) or not fixed >>> >>> i personally think 2 spaces is

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Tom Hacohen
On 09/03/16 14:44, Simon Lees wrote: > > > On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: >> On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: >> >>> On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) >>> wrote: >>> > * fixed indentation (4 spaces) or not f

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Simon Lees
On 03/09/2016 04:03 PM, Tom Hacohen wrote: > On 09/03/16 14:44, Simon Lees wrote: >> >> >> On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: >>> On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: >>> On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) wr

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Leif Middelschulte
> Am 09.03.2016 um 15:26 schrieb Tom Hacohen : > > On 08/03/16 18:14, Leif Middelschulte wrote: >> Hey, >> >> this is more of a question/feature request. Do you consider constraints >> definition compatible to Cassowary[0] (Apple speak: auto-layout) yet? >> An example of how such constraint def

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread thomasg
On Wed, Mar 9, 2016 at 3:44 PM, Simon Lees wrote: > 3 just messes with the musician in me that likes everything in multiples > of 4. > https://upload.wikimedia.org/wikipedia/commons/transcoded/b/b6/Waltz.oggtheora.ogv/Waltz.oggtheora.ogv.480p.webm Sorry, I just had to do this. :P --

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Felipe Magno de Almeida
On Wed, Mar 9, 2016 at 4:08 AM, David Seikel wrote: > On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) > wrote: > >> > * fixed indentation (4 spaces) or not fixed >> >> i personally think 2 spaces is fine. 4 is just "too much". the reason >> is most monospace fonts are taller th

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread The Rasterman
On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees said: > > > On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: > > On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: > > > >> On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) > >> wrote: > >> > * fixed indent

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread The Rasterman
On Wed, 9 Mar 2016 19:03:27 +0100 Leif Middelschulte said: > > > Am 09.03.2016 um 15:26 schrieb Tom Hacohen : > > > > On 08/03/16 18:14, Leif Middelschulte wrote: > >> Hey, > >> > >> this is more of a question/feature request. Do you consider constraints > >> definition compatible to Cassowary

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread David Seikel
On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees wrote: > 3 just messes with the musician in me that likes everything in > multiples of 4. No waltzes for you. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Descripti

Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread Simon Lees
On 03/10/2016 02:14 AM, Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees said: > >> >> >> On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: >>> On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said: >>> On Wed, 9 Mar 2016 15:39:45 +0900 Ca

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Yakov Goldberg
Thank you for all comments about indentation! :) Could you please direct part of your discussion passion to callback's and snippet's style :) On 03/08/2016 06:14 PM, Yakov Goldberg wrote: > Hello everyone, > I had discussions with Tom and as a result updated wiki page. > > You can find it here:

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Tom Hacohen
On 10/03/16 06:51, Simon Lees wrote: > > > On 03/10/2016 02:14 AM, Carsten Haitzler (The Rasterman) wrote: >> On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees said: >> >>> >>> >>> On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel said:

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Andrew Williams
Aside from the irony of insisting on 3, 5, 8 etc spaces elsewhere I really don't get the idea of defining language layout based on individuals text editor preferences. Everyone has a different setup so we have effectively free reign to define what works for us and require its followed. If folk are

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread The Rasterman
On Thu, 10 Mar 2016 07:51:01 +0100 Simon Lees said: > > > On 03/10/2016 02:14 AM, Carsten Haitzler (The Rasterman) wrote: > > On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees said: > > > >> > >> > >> On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: > >>> On Wed, 9 Mar 2016 17:08:54

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Hermet Park
efl already has a rule to have 3 spaces for edc and code. I don't think there is any necessities to have one more rules. :( -Original Message- From: "Carsten Haitzler" To: "Enlightenment developer list"; Cc: Sent: 2016-03-10 (목) 21:44:20 Subject: Re: [E-d

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Tom Hacohen
As I said, I don't like the space delimited "on". I prefer on("state,changed", cb) or on.state,changed(cb) or on:state,changed(cb) or on: state,changed(cb) I already said the "create" is an extremely bad idea, raster concurs. Variable manipulation is probably also a bad idea (as I said), though

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Tom Hacohen
On 09/03/16 06:39, Carsten Haitzler wrote: > On Tue, 08 Mar 2016 18:14:42 +0200 Yakov Goldberg said: > >> Hello everyone, >> I had discussions with Tom and as a result updated wiki page. >> >> You can find it here: >> https://phab.enlightenment.org/w/ui_builders_format/ >> >> >> Most things are cl

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread Andrew Williams
I agree with this all, especially the capitalisation - we need to focus more on consistency. Primary approach should be to provide the path of least surprise for new devs (whilst maintaining the efl way :)) Andy On Thu, 10 Mar 2016 at 17:40, Tom Hacohen wrote: > On 09/03/16 06:39, Carsten Haitz

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread The Rasterman
scussing formatting rules applied to everyone using this tool/file format. > -Original Message- > From: "Carsten Haitzler" > To: "Enlightenment developer > list"; Cc: > Sent: 2016-03-10 (목) 21:44:20 > Subject: Re: [E-devel] UI syntax, letter 2

Re: [E-devel] UI syntax, letter 2

2016-03-10 Thread The Rasterman
On Thu, 10 Mar 2016 17:39:58 + Tom Hacohen said: > On 09/03/16 06:39, Carsten Haitzler wrote: > > On Tue, 08 Mar 2016 18:14:42 +0200 Yakov Goldberg > > said: > > > >> Hello everyone, > >> I had discussions with Tom and as a result updated wiki page. > >> > >> You can find it here: > >> https

Re: [E-devel] UI syntax, letter 2

2016-03-11 Thread Simon Lees
On 03/11/2016 12:35 AM, Carsten Haitzler (The Rasterman) wrote: > On Thu, 10 Mar 2016 17:39:58 + Tom Hacohen said: > >> On 09/03/16 06:39, Carsten Haitzler wrote: >>> On Tue, 08 Mar 2016 18:14:42 +0200 Yakov Goldberg >>> said: >>> Hello everyone, I had discussions with Tom and as

Re: [E-devel] UI syntax, letter 2

2016-03-11 Thread Tom Hacohen
On 10/03/16 12:44, Carsten Haitzler wrote: > On Thu, 10 Mar 2016 07:51:01 +0100 Simon Lees said: > >> >> >> On 03/10/2016 02:14 AM, Carsten Haitzler (The Rasterman) wrote: >>> On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees said: >>> On 03/09/2016 08:29 AM, Carsten Haitzler (The Raste