Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-10 Thread The Rasterman
On Sat, 10 Aug 2013 10:06:35 -0300 Gustavo Sverzut Barbieri said: > > On 10/08/2013, at 02:18, Carsten Haitzler (The Rasterman) > wrote: > > > On Sat, 10 Aug 2013 01:15:00 -0300 Gustavo Sverzut Barbieri > > said: > > > >> > >> On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman) > >>

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-10 Thread Gustavo Sverzut Barbieri
On 10/08/2013, at 02:18, Carsten Haitzler (The Rasterman) wrote: > On Sat, 10 Aug 2013 01:15:00 -0300 Gustavo Sverzut Barbieri > said: > >> >> On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman) >> wrote: >> >>> On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri >>> said: >

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Sat, 10 Aug 2013 01:15:00 -0300 Gustavo Sverzut Barbieri said: > > On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman) > wrote: > > > On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri > > said: > > > >> Q comments: > >> > >> The state is low mem/bat, but it means a change

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Sat, 10 Aug 2013 01:12:11 -0300 Gustavo Sverzut Barbieri said: > > On 09/08/2013, at 23:55, Carsten Haitzler (The Rasterman) > wrote: > > > On Thu, 8 Aug 2013 13:04:58 -0300 Gustavo Sverzut Barbieri > > said: > > > > see below for inline comments :) > > > >> Hi all, > >> > >> Ecore prov

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread Gustavo Sverzut Barbieri
On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman) wrote: > On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri > said: > >> Q comments: >> >> The state is low mem/bat, but it means a change happened. You should use >> getter to figure out the on/off. Can change the name, but

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread Gustavo Sverzut Barbieri
On 09/08/2013, at 23:55, Carsten Haitzler (The Rasterman) wrote: > On Thu, 8 Aug 2013 13:04:58 -0300 Gustavo Sverzut Barbieri > said: > > see below for inline comments :) > >> Hi all, >> >> Ecore provides some main loop events for system signals such as TERM, >> QUIT, SIGUSR... however thes

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri said: > Q comments: > > The state is low mem/bat, but it means a change happened. You should use > getter to figure out the on/off. Can change the name, but I'm not too found > of a multiple level... People barely handle two and I guess

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread Gustavo Sverzut Barbieri
Q comments: The state is low mem/bat, but it means a change happened. You should use getter to figure out the on/off. Can change the name, but I'm not too found of a multiple level... People barely handle two and I guess more complex decisions should be done elsewhere, like the wm changing ioni

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread David Seikel
On Sat, 10 Aug 2013 12:09:29 +0900 Carsten Haitzler (The Rasterman) wrote: > On Thu, 8 Aug 2013 15:24:48 -0300 Gustavo Sverzut Barbieri > said: > > > On Thu, Aug 8, 2013 at 3:18 PM, Michael Blumenkrantz > > wrote: > > > On Thu, 8 Aug 2013 15:13:01 -0300 > > > Gustavo Sverzut Barbieri wrote: >

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Thu, 8 Aug 2013 15:24:48 -0300 Gustavo Sverzut Barbieri said: > On Thu, Aug 8, 2013 at 3:18 PM, Michael Blumenkrantz > wrote: > > On Thu, 8 Aug 2013 15:13:01 -0300 > > Gustavo Sverzut Barbieri wrote: > > > >> On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz > >> wrote: > >> > On Thu, 8

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Thu, 8 Aug 2013 13:04:58 -0300 Gustavo Sverzut Barbieri said: see below for inline comments :) > Hi all, > > Ecore provides some main loop events for system signals such as TERM, > QUIT, SIGUSR... however these are not all the system signals we have > or need. I want to propose the addition

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Thu, 8 Aug 2013 14:48:54 -0300 Gustavo Sverzut Barbieri said: > On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz > wrote: > > On Thu, 08 Aug 2013 17:16:40 +0100 > > Tom Hacohen wrote: > > > >> I like almost all of the suggestions. Apps need the information so they > >> can assist the sys

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Thu, 08 Aug 2013 17:16:40 +0100 Tom Hacohen said: > I like almost all of the suggestions. Apps need the information so they > can assist the system to behave better. > > One thing I don't like is the passing of information through the > signals. I think we just provide the notification and

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread The Rasterman
On Fri, 9 Aug 2013 01:10:09 -0300 Gustavo Sverzut Barbieri said: comments inline... > Hey, > > find the patches attached, they implement what I said. Also attached > is a small test app to print out the values when they change. One can > change it with: > > localectl set-locale LC_MESSAGES=en_

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread Gustavo Sverzut Barbieri
head's up that this is in git right now. On Fri, Aug 9, 2013 at 6:12 AM, Tom Hacohen wrote: > On 08/08/13 18:48, Gustavo Sverzut Barbieri wrote: >> On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz >> wrote: >>> On Thu, 08 Aug 2013 17:16:40 +0100 >>> Tom Hacohen wrote: >>> I like almost

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-09 Thread Tom Hacohen
On 08/08/13 18:48, Gustavo Sverzut Barbieri wrote: > On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz > wrote: >> On Thu, 08 Aug 2013 17:16:40 +0100 >> Tom Hacohen wrote: >> >>> I like almost all of the suggestions. Apps need the information so they >>> can assist the system to behave better.

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Gustavo Sverzut Barbieri
Hey, find the patches attached, they implement what I said. Also attached is a small test app to print out the values when they change. One can change it with: localectl set-locale LC_MESSAGES=en_US LC_CTYPE=pt_BR timedatectl set-timezone America/Sao_Paulo sudo date --set="00:00:00" hostnamectl s

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Gustavo Sverzut Barbieri
On Thu, Aug 8, 2013 at 3:18 PM, Michael Blumenkrantz wrote: > On Thu, 8 Aug 2013 15:13:01 -0300 > Gustavo Sverzut Barbieri wrote: > >> On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz >> wrote: >> > On Thu, 8 Aug 2013 14:48:54 -0300 >> > Gustavo Sverzut Barbieri wrote: >> > >> >> On Thu, Au

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Gustavo Sverzut Barbieri
On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz wrote: > On Thu, 8 Aug 2013 14:48:54 -0300 > Gustavo Sverzut Barbieri wrote: > >> On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz >> wrote: >> > On Thu, 08 Aug 2013 17:16:40 +0100 >> > Tom Hacohen wrote: >> > >> >> I like almost all of t

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Michael Blumenkrantz
On Thu, 8 Aug 2013 15:13:01 -0300 Gustavo Sverzut Barbieri wrote: > On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz > wrote: > > On Thu, 8 Aug 2013 14:48:54 -0300 > > Gustavo Sverzut Barbieri wrote: > > > >> On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz > >> wrote: > >> > On Thu, 0

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Michael Blumenkrantz
On Thu, 8 Aug 2013 14:48:54 -0300 Gustavo Sverzut Barbieri wrote: > On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz > wrote: > > On Thu, 08 Aug 2013 17:16:40 +0100 > > Tom Hacohen wrote: > > > >> I like almost all of the suggestions. Apps need the information so they > >> can assist the sy

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Gustavo Sverzut Barbieri
On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz wrote: > On Thu, 08 Aug 2013 17:16:40 +0100 > Tom Hacohen wrote: > >> I like almost all of the suggestions. Apps need the information so they >> can assist the system to behave better. >> >> One thing I don't like is the passing of information

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Michael Blumenkrantz
On Thu, 08 Aug 2013 17:16:40 +0100 Tom Hacohen wrote: > I like almost all of the suggestions. Apps need the information so they > can assist the system to behave better. > > One thing I don't like is the passing of information through the > signals. I think we just provide the notification and

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Tom Hacohen
I like almost all of the suggestions. Apps need the information so they can assist the system to behave better. One thing I don't like is the passing of information through the signals. I think we just provide the notification and let the user probe for whatever it needs. I don't like creating

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Iván Briano
They look useful, I'm looking forward to your patch implementing them. On Thu, Aug 8, 2013 at 1:04 PM, Gustavo Sverzut Barbieri wrote: > Hi all, > > Ecore provides some main loop events for system signals such as TERM, > QUIT, SIGUSR... however these are not all the system signals we have > or ne

[E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-08 Thread Gustavo Sverzut Barbieri
Hi all, Ecore provides some main loop events for system signals such as TERM, QUIT, SIGUSR... however these are not all the system signals we have or need. I want to propose the addition of the following events to ecore. However since these signals are not a single standard as existing UNIX signa