Re: [E-devel] EFL ?

2013-01-06 Thread Cedric BAIL
On Mon, Jan 7, 2013 at 4:20 PM, Maxime Villard  wrote:
> EFL now requires valgrind. Valgrind doesn't exist on OpenBSD, and
> is experimental on FreeBSD and NetBSD. Is that really necessary?

It should not require it on system that don't have it that for sure. I
also think that it should only be enable for developer and debug
profile.
--
Cedric BAIL

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] EFL ?

2013-01-06 Thread Maxime Villard
Hi,
EFL now requires valgrind. Valgrind doesn't exist on OpenBSD, and
is experimental on FreeBSD and NetBSD. Is that really necessary?

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] GSoC_2011_Project_Ideas

2013-01-06 Thread David Seikel
On Mon, 7 Jan 2013 15:56:12 +0900 Cedric BAIL 
wrote:

> Hello,
> 
> On Sat, Jan 5, 2013 at 7:25 PM, Andreas Volz 
> wrote:
> > does anyone know about status from this two GSoC_2011_Project_Ideas?
> >
> > http://trac.enlightenment.org/e/wiki/GSoC_2011_Project_Ideas
> >
> >  Android EFL
> >
> > Present EFL as a standalone toolkit for use in NDK based Android
> > applications.
> >
> >  Java bindings for the EFL
> >
> > Create object oriented Java bindings for the Enlightenment
> > Foundation (Core) Libraries.
> >
> > Is there some work done?
> 
> No work done at this point for both of them and I would love to see an
> Android backend...

Android EFL is on my overwhelmingly lng TODO, but I'm not a student.
Otherwise, would love to get paid for it.  B-)

My embedded EFL project is using stuff that is aiming for Android.  I'd
be happy to mentor Android EFL.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] GSoC_2011_Project_Ideas

2013-01-06 Thread Cedric BAIL
Hello,

On Sat, Jan 5, 2013 at 7:25 PM, Andreas Volz  wrote:
> does anyone know about status from this two GSoC_2011_Project_Ideas?
>
> http://trac.enlightenment.org/e/wiki/GSoC_2011_Project_Ideas
>
>  Android EFL
>
> Present EFL as a standalone toolkit for use in NDK based Android
> applications.
>
>  Java bindings for the EFL
>
> Create object oriented Java bindings for the Enlightenment
> Foundation (Core) Libraries.
>
> Is there some work done?

No work done at this point for both of them and I would love to see an
Android backend...
--
Cedric BAIL

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] When will E_Connmn be supported in e_dbus ?

2013-01-06 Thread Gyuyoung Kim
Hi efl folks,

I'm planning to use E_Connman.h in WebKit EFL. However, build error occurs
by force. Please take a look at below code,

#ifndef E_CONNMAN_I_KNOW_THIS_API_IS_SUBJECT_TO_CHANGE
#error "E_Connman.h is an unstable API linked to upstream connman project"
#endif

Is there any plan to remove above code ? Or, will edbus(maybe 2.0 version?)
support eonnman ?

If there is any method I can use it, please let me know.

Cheers,
Gyuyoung
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] This trac is a shit [Fwd: #1900: SIGSEGV OpenBSD]

2013-01-06 Thread The Rasterman
On Mon, 7 Jan 2013 16:15:04 +1100 Dave  said:

>  In the year 2013, of the month of January, on the 6th day, Carsten Haitzler
> wrote:
> > On Sat, 5 Jan 2013 23:18:04 +1100 Dave  said:
> > > 
> > >  I'm not too sure of the benefits of a reverse proxy in this instance.
> > > It's easy enough to let iptables do dnat or load balancing, plus it's more
> > > convenient from an administration/maintenance perspective.
> > 
> > we have www.eorg, download.e.org, trac.e.org, etc. etc. ... and they all
> > point to the SAME ip. we don't have 20 ip's to go around - only 2. so we
> > can't use iptables for this. all these www domains share the same ip, thus
> > we have to route at the http "get" level... thus... reverse proxy.
> 
>  Since the websites point to the same IP, and I assume they all reside on the
> same server, it's possible to use a virutal hosting web service config.  This
> relies on the http "Host" header (required with any http command, especially
> if it's http1.1) to differentiate the different websites.  A reverse proxy
> would do exactly the same thing.  May as well cut the chain shorter and just
> forward the connection directly to the web server itself.

that's what we currently do... BUT we are going to split them to run on
different vm's - thus there needs to be a reverse proxy of some sort (reverse
squid, haproxy... doesn't much matter :)).

>  If you do need to temporarily reverse proxy any website, as part of
> migration, then Apache can do this individually on a per virtual host basis.
> 
> > >  By the sounds of it, top priority is migrating all services on e2 to a
> > > vm on the e5 system.  Which can't happen, until the vm host and router vm
> > > is active.  So, if monsieur beber needs help with any of these, my email
> > > address can be found above.
> > 
> > :) though.. vm's can be set up regardless. install an os (ubuntu, debian
> > probably best given old e2 was a debian SID setup). and then get a "dump" of
> > whats on e2 and have it work without routing... then its "Ready to go". it
> > just needs to be "updated at the last minute to latest content" before
> > going live. 
> 
>  Rsync is your friend here.  Create a shell script with the appropriate rsync
> commands, run it once to do the bulk transfer, then run it again just before
> doing the switch.  I've done this many times when moving a Linux server from
> physical to virtual, copying the whole system, not just service files.  Most
> of these switchovers are done in under a minute.

i know. :) i use rsync every day... been using it since like.. 1998 or so for my
own homedir. :) it depends how much data needs to be copied and how lazy you
are... and how good your link is. my link at home is 100mbit... so i get rather
lazy (i can sustain 30mbit or so between home and e.org and that link goes
across the pacific). :) it all depends on who does it. sure. rsync will do the
job. :) just pointing out that the setup can be done "given current state/data"
so all the right packages, config etc. is there and working and then just a
"last minute update before switching" can be done... it can even be done direct
from e2 to e5 that live in the same datacenter... :) 100mbit then :)

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [elementary]elm_widget: elm widget

2013-01-06 Thread Bluezery
I have changed patch a little.
Region show should be performed only for the objects which implement
elm_wdg_focus_region_get(), such as entry.
Otherwise, do not show region the object when it is focused.

2013/1/5 Bluezery :
> Hello,
>
> I have made a patch for fixing region show of widget focus in scroller.
> Previously, region show is not correct if focused object is not in the
> viewport of ther scroller
> Because region show calculation is done only by evas object geometry.
> But scroller object can know the viewport region in the scroller. It
> is different from evas object geometry.
>
> In my patch,
> if focused object is requested to be shown, focused object calculates
> it itself (by elm_widget_focus_region_get)  or evas geometry is
> gained.
> If parent is not scroller, geometry is changed by this parent for
> showing this parent in the scroller if grand parent is scroller.
> If parent is scroller, it find out whether the object is in the
> viewport of the scroller object (parent) and region to be shown is
> calculated.
>
> Please review this patch.
>
> --
> BRs,
> Kim.



-- 
BRs,
Kim.


elm_widget_focus.patch
Description: Binary data
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] This trac is a shit [Fwd: #1900: SIGSEGV OpenBSD]

2013-01-06 Thread Dave
 In the year 2013, of the month of January, on the 6th day, Carsten Haitzler 
wrote:
> On Sat, 5 Jan 2013 23:18:04 +1100 Dave  said:
> > 
> >  I'm not too sure of the benefits of a reverse proxy in this instance.
> > It's easy enough to let iptables do dnat or load balancing, plus it's more
> > convenient from an administration/maintenance perspective.
> 
> we have www.eorg, download.e.org, trac.e.org, etc. etc. ... and they all point
> to the SAME ip. we don't have 20 ip's to go around - only 2. so we can't use
> iptables for this. all these www domains share the same ip, thus we have to
> route at the http "get" level... thus... reverse proxy.

 Since the websites point to the same IP, and I assume they all reside on the
same server, it's possible to use a virutal hosting web service config.  This
relies on the http "Host" header (required with any http command, especially
if it's http1.1) to differentiate the different websites.  A reverse proxy
would do exactly the same thing.  May as well cut the chain shorter and just
forward the connection directly to the web server itself.

 If you do need to temporarily reverse proxy any website, as part of
migration, then Apache can do this individually on a per virtual host basis.

> >  By the sounds of it, top priority is migrating all services on e2 to a vm 
> > on
> > the e5 system.  Which can't happen, until the vm host and router vm is
> > active.  So, if monsieur beber needs help with any of these, my email 
> > address
> > can be found above.
> 
> :) though.. vm's can be set up regardless. install an os (ubuntu, debian
> probably best given old e2 was a debian SID setup). and then get a "dump" of
> whats on e2 and have it work without routing... then its "Ready to go". it 
> just
> needs to be "updated at the last minute to latest content" before going live. 

 Rsync is your friend here.  Create a shell script with the appropriate rsync
commands, run it once to do the bulk transfer, then run it again just before
doing the switch.  I've done this many times when moving a Linux server from
physical to virtual, copying the whole system, not just service files.  Most
of these switchovers are done in under a minute.

 Cheers,
 dave.k


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Add omit feature to elm_index

2013-01-06 Thread Jaeun Choi
These patches turned out to have algorithmic problems as well,  
so the original author is gonna fix the code and update patches later.  
Thanks.  
 
Jaeun Choi 
 
-Original Message-
From: "Daniel Juyung Seo" 
To: "Enlightenment developer 
list"; 
Cc: 
Sent: 2013-01-05 (토) 03:32:57
Subject: Re: [E-devel] [PATCH] Add omit feature to elm_index

Dear Jaeun Choi, thanks for the patch.
I had a QUICK review of your FIRST patch and have many comments.
I need to do detail review later.
We really need to adopt gerrit soon.

1. Use of ELM_INDEX_DATA_GET_OR_RETURN_VAL
There are too many cases. Fix them all.

ELM_INDEX_DATA_GET(obj, sd);
if (!sd) return 0;
-->
ELM_INDEX_DATA_GET_OR_RETURN_VAL

2. Declare variables at the start of block.

There are too many cases. Fix them all.

   int xxx(void)
   {
  int x;
  do_something();
  int b;
  do_this();
  int a;
  do_maybe_this();
   }
-->
   int xxx(void)
   {
  int x, a, b;
  do_something();
  do_this();
   }

3. Combine some declarations?
Find and fix everything from your patch.

   int count;
   int rest;
   int numberofparts;
   int n;
-->
   int count, rest;
   int numberofparts, n;

4. Use _ for multi words variable.
Find and fix everything from your patch.

   int numberofparts;
-->
   int number_of_parts;

5. Lower case for variable.
Find and fix everything from your patch.

   int N = sd->items_count;
   int extraIndex;
->
   int n = sd->items_count;
   int extra_index;

6. Spaces
Find and fix everything from your patch.

   extraIndex=n-N;
   if (it->size==1) continue;
-->
   extra_index = n - m;
   if (it->size == 1) continue;

7. Use eina_stringshare_replace
Find and fix everything from your patch.

   eina_stringshare_del(it->vis_letter);
   it->vis_letter = eina_stringshare_add("");
-->
   eina_stringshare_replace(it->vis_letter, "");

8. check!! 
What is all the "check!!" things?

9. Braces
Find and fix everything from your patch.
   if (pw != sd->pwidth && ph != sd->pheight)
-->
   if ((pw != sd->pwidth) && (ph != sd->pheight))

10. Type Casting

   static void
   _index_box_refill_job(void *data)
   {
  _index_box_clear((Evas_Object *)data, sd->bx[0], 0);
  elm_index_level_go((Evas_Object *)data, sd->level);
   }
-->
   static void
   _index_box_refill_job(void *data)
   {
  Evas_Object *obj = data;
  _index_box_clear(obj, sd->bx[0], 0);
  elm_index_level_go(obj, sd->level);
   }

   ecore_job_add(_index_box_refill_job, (Evas_Object *)data);
-->
   ecore_job_add(_index_box_refill_job, data);

11. priv initialization
Actually all the members of priv is already initialized as 0 or NULL.
So you don't need to initialize it if the value equals to 0 or NULL;

_elm_index_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
   priv->max_grp_size = 0;
   priv->items_count = 0;
   priv->pwidth = 0;
   priv->pheight = 0;

I hope this will help you and your next patch will get better.
Thanks.

Daniel Juyung Seo (SeoZ)


On Thu, Jan 3, 2013 at 2:12 PM, 최자은 @naver.com> wrote:

> Hi all
>
> This patch adds some functions to elm_index for supporting omit feature.
>
> When elm_index has too many items, some items are cut out of the frame.
> This can be resolved by omitting some items in the middle so the whole
> index can be seen from the top to the bottom.
>
> The related source code is divided into three patches and this is patch #1.
> 1. algorithms to support omit feature (omit feature doesn't show)
> 2. layout applied code (omit feature shows)
> 3. align API
>
> This patch was originally made by Jihyeon Seol(jihyeon.s...@samsung.com)
> and EO was applied by me.
>
> Thanks.
>
> Jaeun Choi
>
>
>
> 
--
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel 
--
Master Visual Studio

Re: [E-devel] EFL tests and warnings

2013-01-06 Thread Cedric BAIL
Hello,

On Sat, Jan 5, 2013 at 11:59 PM, Gustavo Sverzut Barbieri
 wrote:
> EFL single tree is almost ready, now just missing Ethumb and Emotion, which
> should come easily and maybe I can finish them next week.

I have been thinking that maybe we should be able to do elementary in
fact now. As we have to webkit/efl backend, maybe we can move that
code out to a module API and compile them outside of efl tree. It
would also help by reducing the size of the thing to load at start
time and defer it until the application use an elm_web one.

> I need your help to review the warnings and remove them. Some libraries
> didn't use to build with all warnings on, and now they do. Some are bit
> annoying but can be fixed easily such as "parameter not used". Some need
> more care in order to avoid breakages during the fixes (shadow warnings, if
> you rename the inner variable and forget to replace every place, you'll get
> rid of the warning but will have a bug! be careful!)

Good point, we should kill this warning. I guess I will not be able to
help you during this week, but maybe next week. At least I will put
that on my todo.

> Also tests were forced into distcheck as they should be. But we need to fix
> tests in multiple fronts:
>  - make them pass (some evas tests are not passing!)
>  - make them silent (some tests wisely trigger error conditions, causing
> EINA_SAFETY or ENA_MAGIC or EINA_LOG to kick in and be loud. In these cases
> we must replace eina_log print callback and check if the error was issued,
> failing if not, hiding the message if it pass)

Same here.

> Eina used to do that for all tests, but now we have some for binshare and
> the eina magic, simple xml and eina value timeval are wrong. The eina
> timeval test is also bad, because it doesn't use CHECK's string comparison
> test and the error message is quite useless: strcmp(str, "...") == 0. where
> it could print both strings.

What is the current score of eina and eet coverage ratio ? I remember
that we are lacking a lot of test there, but maybe it did evolve in
the past months since I last checked.
--
Cedric BAIL

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] enlightenment: do not include when not available

2013-01-06 Thread Cedric BAIL
On Mon, Jan 7, 2013 at 3:18 AM, Thomas Petazzoni
 wrote:
>
> On uClibc,  is not necessarily installed, depending on the
> configuration. Enlightenment properly makes  optional, but
> uses __GLIBC__ to check if it is available or not. Unfortunately,
> uClibc defines __GLIBC__, so it is not the right way to decide if
>  is available.
>
> Instead, Enlightenment already has a configure.ac check for
> execinfo.h, so we simply use the result of this configure.ac check to
> decide whether execinfo.h is to be included or not.

In svn, thanks.

> Signed-off-by: Thomas Petazzoni 
> ---
> This patch applies on Enlightenment 1.7.4. I unfortunately haven't been
> able to find a Git repository of 1.7.4 on top of which I could base
> this patch.
>
> Index: b/src/bin/e.h
> ===
> --- a/src/bin/e.h
> +++ b/src/bin/e.h
> @@ -92,7 +92,7 @@
>  #  include 
>  # endif
>
> -# ifdef __GLIBC__
> +# ifdef HAVE_EXECINFO_H
>  #  include 
>  # endif
>
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



--
Cedric BAIL

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] evas: fix typo in XCB backend

2013-01-06 Thread Cedric BAIL
On Mon, Jan 7, 2013 at 3:17 AM, Thomas Petazzoni
 wrote:
> This typo prevents the XCB backend from building.

Thanks, in svn. As a remark, we do prefer patch attached with
ChangeLog and NEWS.

> Signed-off-by: Thomas Petazzoni 
> ---
> The patch applies on top of Evas 1.7.4. I've unfortunately not been
> able to find a Git tree on top of which I could base this patch on.
>
> Index: b/src/modules/engines/software_x11/evas_xcb_outbuf.c
> ===
> --- a/src/modules/engines/software_x11/evas_xcb_outbuf.c
> +++ b/src/modules/engines/software_x11/evas_xcb_outbuf.c
> @@ -871,7 +871,7 @@
>}
>  else
>{
> - int pixelb = evas_software_xcb_output_buffer_depth(obr->xob) / 
> 8;
> + int pixelb = evas_software_xcb_output_buffer_depth(obr->xcbob) 
> / 8;
>   int run;
>   int dstjump;
>
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



--
Cedric BAIL

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Dark authors list a bit too dark.

2013-01-06 Thread David Seikel
On Mon, 7 Jan 2013 08:57:31 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> On Mon, 7 Jan 2013 08:18:42 +1000 David Seikel 
> said:
> 
> > After ten minutes of looking and me pointing out how to see it, a
> > friend of mine was entirely unable to see the list of authors in the
> > "About Enlightenment" dialog using the default theme.  Black on dark
> > grey is barely visible.  Can we make it a bit more visible please?
> > 
> > In the end, she had to look at the web site to see the list of
> > authors.
> 
> 1. it wasnt meant to be "read".
> 2. you obviously havent seen any movies lately and seen the credits
> etc. 3. it was meant to be a subtle list of authors u barely notice
> until one day u go "oh wow.. that thing is an authors list!" when you
> finally notice it. it wasnt meant to be names in bright blinky
> lights. it was meant to be the way it is.

Like I said, she spent ten minutes looking for it, with prompting from
me about how to find it, and totally failed to see it.  She's not gonna
notice it suddenly one day and go "wow, cool".  I doubt she'll ever
look at that dialog again.

I'll ignore the rest of this telling me how to adjust MY monitor
properly.  It can be seen fine on MY monitor, without ten minutes of
searching, and she will tell you where to stick it if you told her she
needs to adjust HER monitor.  B-)

(Hint, her monitor is on the other side of the planet from me.  I'm not
flying to USA to adjusting it for her, she does not care that much.)

I don't remember being asked if I wanted my name so hard to see that
your average crappy uncalibrated monitor that most people have wont
ever see it in something they might glance quickly at once.  There's a
reason I asked her to look for my name.  :-P

On the other hand, when it is visible, I'm quite pleased that my name is
the first one that is clearly visible once the license has passed by
enough.  B-)

> 4. yes - its is mostly transparent black on grey. after having seen an
> abominable gammut on one of cedrics monitors, the lack of being able
> to see this text is most likely indicating a major problem with the
> quality of gammut response of your screen - take it as a hint that
> you need to either get a new screen that doesn't suck (and trust me
> new screen can suck just as much as old ones, so actually pay
> attention to quality and get some good sample images displaying on it
> before you buy it), or you do some adjusting of gammut:
> 
> simply playing with contrast and brightness is a first good step -
> bring up a pure black to pure white gradient - draw it in gimp for
> example (horizontal gradient the width of the screen, or almost). you
> SHOULD be able to see "dark greys" all the way right up until the
> black pixel - and see light greys all the way up until white, if it
> stops early with black being a large band - or white also, then you
> have a response issue and maybe contrast/brightness can help. look at
> the screen until what you SEE is pure black - or pure white (pay
> close attention), and then use the color picker tool to check the
> pixel value at that point - if its not black - then the display
> pipeline is throwing away pixel values. it's a REALLY good idea to
> fix this. if contrast/brightness on the monitor can't manage to fix
> this, OR (as in cedrics case) they add ugly banding to the gradient
> because they use an 8bit LUT for correction (poor for good quality
> art), then you can try adjusting on the gfx card end - some gpu's
> provide gamma correction tables. often they are also 8bit, but
> sometimes better. xgamma or the nvidia settings tool can do this
> (don't know about ati). ALSO if you are using VGA as opposed to DVI
> or HDMI, then this can hurt a lot as analogue signal will drop
> quality and possibly lose signal fidelity at the ends of the
> spectrum. using DVI or HDMI is a much better call (tho beware, DVI
> can also transport analogue RGB too... tho it mostly transports both
> the digital and the analogue and screen should be choosing the
> digital).
> 
> seriously. spend some time with your screen and some calibration. one
> of the reasons people rave about macs and OSX is that apple bother to
> calibrate their screens. they ensure that they all have the same
> gamma response so they same grey appears the same on every apple
> screen/product. in the pc/linux world this is rarely done and leads
> to the "it looks great to me" vs the "i can't even see it". then you
> fix it for the "i can't see it" people and then i go "but now its all
> ugly and washed out". you end up with never making everyone happy
> because people don't spend the time to even try make their screens
> display the same content. they often buy the cheapest screen in the
> store (with the biggest inch count) and then expect that all is
> perfect. it often is not. the reason its the cheapest screen is that
> the manufacturer has skimped and possibly either hasnt bothered
> coming up with a decent default calibration, or has poor qua

Re: [E-devel] Fun with 0.17.0

2013-01-06 Thread The Rasterman
On Mon, 7 Jan 2013 01:42:43 +1000 David Seikel  said:

> On Sun, 6 Jan 2013 16:33:03 +0100 Albin Tonnerre
>  wrote:
> 
> > On Fri, Jan 4, 2013 at 10:34 AM, Carsten Haitzler
> >  wrote:
> > > we upgraded major config version for e17 - thus yes - it gets wiped.
> > 
> > Just curious - what was the particular change that required the config
> > to get wiped?
> 
> Also just curious, isn't it one of the design features of eet that you
> can easily track what changes between versions of the files using it?
> No need to wipe.  Just write simple code to upgrade old config files
> when you read them.  That's how I'm using it in my projects.  I guess
> things are different with the e17 config stuff?

eet has no such feature. eet is a data structure serialiser/de-serialiser plus
image codec plus key-value file container handler. thats it. the rest is built
on top in "your code"

this was done not because we added 3 new items and want to merge the new values
in. i want ALL the config values set back to a default "sane state". for people
who have used e17 before and for many who have complained "i get problem X" or
"y happens" the solution has been to change the default config to, by default,
avoid the issue - eg it's a gfx driver issue and so it works for some, and not
for others, and thus it has a checkbox. the point was to "go back to baseline"
for everyone, to alleviate the "well it works for me" thing (because "me" has
some option set setup by default - e17's default, and the other has old crufty
config with a totally different setup and they havent CONSCIOUSLY changed it
within recent memory or every but just happen to be vastly different).

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Dark authors list a bit too dark.

2013-01-06 Thread The Rasterman
On Mon, 7 Jan 2013 08:18:42 +1000 David Seikel  said:

> After ten minutes of looking and me pointing out how to see it, a
> friend of mine was entirely unable to see the list of authors in the
> "About Enlightenment" dialog using the default theme.  Black on dark
> grey is barely visible.  Can we make it a bit more visible please?
> 
> In the end, she had to look at the web site to see the list of authors.

1. it wasnt meant to be "read".
2. you obviously havent seen any movies lately and seen the credits etc.
3. it was meant to be a subtle list of authors u barely notice until one day u
go "oh wow.. that thing is an authors list!" when you finally notice it. it
wasnt meant to be names in bright blinky lights. it was meant to be the way it
is.
4. yes - its is mostly transparent black on grey. after having seen an
abominable gammut on one of cedrics monitors, the lack of being able to see
this text is most likely indicating a major problem with the quality of gammut
response of your screen - take it as a hint that you need to either get a new
screen that doesn't suck (and trust me new screen can suck just as much as old
ones, so actually pay attention to quality and get some good sample images
displaying on it before you buy it), or you do some adjusting of gammut:

simply playing with contrast and brightness is a first good step - bring up a
pure black to pure white gradient - draw it in gimp for example (horizontal
gradient the width of the screen, or almost). you SHOULD be able to see "dark
greys" all the way right up until the black pixel - and see light greys all the
way up until white, if it stops early with black being a large band - or white
also, then you have a response issue and maybe contrast/brightness can help.
look at the screen until what you SEE is pure black - or pure white (pay close
attention), and then use the color picker tool to check the pixel value at that
point - if its not black - then the display pipeline is throwing away pixel
values. it's a REALLY good idea to fix this. if contrast/brightness on the
monitor can't manage to fix this, OR (as in cedrics case) they add ugly banding
to the gradient because they use an 8bit LUT for correction (poor for good
quality art), then you can try adjusting on the gfx card end - some gpu's
provide gamma correction tables. often they are also 8bit, but sometimes
better. xgamma or the nvidia settings tool can do this (don't know about ati).
ALSO if you are using VGA as opposed to DVI or HDMI, then this can hurt a lot
as analogue signal will drop quality and possibly lose signal fidelity at the
ends of the spectrum. using DVI or HDMI is a much better call (tho beware, DVI
can also transport analogue RGB too... tho it mostly transports both the
digital and the analogue and screen should be choosing the digital).

seriously. spend some time with your screen and some calibration. one of the
reasons people rave about macs and OSX is that apple bother to calibrate their
screens. they ensure that they all have the same gamma response so they same
grey appears the same on every apple screen/product. in the pc/linux world this
is rarely done and leads to the "it looks great to me" vs the "i can't even see
it". then you fix it for the "i can't see it" people and then i go "but now
its all ugly and washed out". you end up with never making everyone happy
because people don't spend the time to even try make their screens display the
same content. they often buy the cheapest screen in the store (with the biggest
inch count) and then expect that all is perfect. it often is not. the reason
its the cheapest screen is that the manufacturer has skimped and possibly
either hasnt bothered coming up with a decent default calibration, or has poor
quality panels that have low bit fidelity, bad response etc. etc. etc.

next time you buy a screen - spend some time with test images. gradients where
you KNOW you should see a grey, not a pure black or a pure white. for starters
this will be a big help. spend time with the screen controls so at least u can
figure out if its adjustable to make it "look right".

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Dark authors list a bit too dark.

2013-01-06 Thread Tom Hacohen
And with the other bit of text running of top of it, it's hard to even
understand that there's something going on there... :)


On Sun, Jan 6, 2013 at 10:18 PM, David Seikel  wrote:

> After ten minutes of looking and me pointing out how to see it, a
> friend of mine was entirely unable to see the list of authors in the
> "About Enlightenment" dialog using the default theme.  Black on dark
> grey is barely visible.  Can we make it a bit more visible please?
>
> In the end, she had to look at the web site to see the list of authors.
>
> --
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>


-- 
Tom.
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Dark authors list a bit too dark.

2013-01-06 Thread David Seikel
After ten minutes of looking and me pointing out how to see it, a
friend of mine was entirely unable to see the list of authors in the
"About Enlightenment" dialog using the default theme.  Black on dark
grey is barely visible.  Can we make it a bit more visible please?

In the end, she had to look at the web site to see the list of authors.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: acidx IN trunk/efl/src: lib/ecore_evas modules/ecore_evas/engines/x

2013-01-06 Thread David Seikel
On Mon, 31 Dec 2012 13:45:42 +0900 Cedric BAIL 
wrote:

> On Mon, Dec 31, 2012 at 1:37 PM, David Seikel 
> wrote:
> > On Mon, 31 Dec 2012 12:50:04 +0900 Cedric BAIL 
> > wrote:
> >
> >> On Mon, Dec 31, 2012 at 12:25 PM, David Seikel 
> >> wrote:
> >> > At the moment I'm looking at using an animator to call the
> >> > Irrlicht rendering calls at the EFL frame rate.  Irrlicht does
> >> > it's own make-current at this time, buried deep in it's rendering
> >> > functions.  If I remember, EFL callbacks are guaranteed to be
> >> > called in the main thread, so that you can safely call other EFL
> >> > functions and not worry about thread safety.  Certainly it will
> >> > be important to call the Irrlicht render functions on the same
> >> > thread that called it's init functions, which will most likely
> >> > be the main thread.
> >>
> >> Not really relevant to this thread, but you should just add an
> >> animator that do call evas_object_image_pixels_dirty_set on the
> >> Evas_Object_Image and make all Irrlicht handle in the callback set
> >> with evas_object_image_pixels_get_callback_set.
> >
> > It is relevant, the thread started talking about how async render
> > impacts EvasGL usage.  My concerns will be the concerns of anyone
> > trying to use some random 3D rendering library package with EFL.
> > EFL really only does 2D, it has no good support for 3D apps, it
> > needs a decent 3D render engine.  That's why I'm trying to get EFL
> > and Irrlicht to work well together.  I think Irrlicht is a good
> > match for EFL.  But my concern is not Irrlicht specific, it's a
> > general concern for other people using 3D libraries as well.  Or
> > even heavy GL users.
> 
> No, your concern were totally relevant, just my remark was not really
> relevant to the rest of the thread :-)
> 
> > I'll try that when I next get time to play with it.
> 
> Yep, let me know.
> 
> > I think that still leaves the problem of the non render calls now
> > likely to be in the wrong thread.  Setup stuff is likely to be done
> > in the main thread.  General tweakage of 3D engine stuff is likely
> > done outside of the render callback.  For example, your game
> > decides it's time to add some new 3D object, that decision is
> > likely not done in the render callback.  This sort of thing should
> > be well documented, and good examples of how to deal with async
> > EvasGL rendering, third party GL libraries, and heavy GL usage.
> 
> Indeed.

I tried your suggestion.  The animator now just sets the pixels dirty
(though in the case of not using OpenGL, it calls the
evas_object_image_pixels_get_callback_set() callback itself, coz
Evas_GL isn't running).  That callback is now responsible for setting
up all the Irrlicht stuff (if not previously setup), as well as calling
the Irrlicht render routines.

I suppose I could use similar methods for other non rendering Irrlicht
calls, set a flag that it needs to be done, then do it in that rendering
callback.  This at least makes for a neat "deferred rendering" system.
B-)

That still leaves the problem of shutting things down.  The image used
for the GL rendering has a delete callback set, and that delete
callback shuts down Evas_GL and Irrlicht.  I highly doubt this callback
is run on the render thread.  It might be a problem trying to set a
flag for one last frame of the animator to do the same "set a flag"
thing being done above, coz the image itself is in the process of
being deleted.  That's the example method of dealing with Evas_GL
shutdown, so the one most likely used.  Also the easy way, since the
deletion of the image is done for you, hence the reason for the
deletion callback.

Other than that, you would have to setup a complex series of events to
let the animator do one last frame, with the "you are being shutdown"
flag set, so Irrlicht can shut down in the same thread it started up
in.  Then once that has been done, you can shutdown Evas_GL and delete
the image.  Still gotta be careful about who shuts down what, with the
GL context and surface being shared.

Even if there was a direct "run this bit on the render thread" thingy,
it would still get complex on shut down I fear.  Also, still doing one
last make-current so the non Irrlicht GL stuff can shut down properly.
In my case, the ELM GLView gears example shaders and stuff needs to be
deleted.  So I guess the entire GL shutdown needs to be done in the
render thread.  Is there stuff for that yet?

But other than shutdown, I've managed to move all Irrlicht calls to the
evas_object_image_pixels_get_callback_set() callback.  Which in theory,
is called from the render thread.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills cur

[E-devel] [PATCH] enlightenment: do not include when not available

2013-01-06 Thread Thomas Petazzoni

On uClibc,  is not necessarily installed, depending on the
configuration. Enlightenment properly makes  optional, but
uses __GLIBC__ to check if it is available or not. Unfortunately,
uClibc defines __GLIBC__, so it is not the right way to decide if
 is available.

Instead, Enlightenment already has a configure.ac check for
execinfo.h, so we simply use the result of this configure.ac check to
decide whether execinfo.h is to be included or not.

Signed-off-by: Thomas Petazzoni 
---
This patch applies on Enlightenment 1.7.4. I unfortunately haven't been
able to find a Git repository of 1.7.4 on top of which I could base
this patch.

Index: b/src/bin/e.h
===
--- a/src/bin/e.h
+++ b/src/bin/e.h
@@ -92,7 +92,7 @@
 #  include 
 # endif
 
-# ifdef __GLIBC__
+# ifdef HAVE_EXECINFO_H
 #  include 
 # endif
 
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] evas: fix typo in XCB backend

2013-01-06 Thread Thomas Petazzoni

This typo prevents the XCB backend from building.

Signed-off-by: Thomas Petazzoni 
---
The patch applies on top of Evas 1.7.4. I've unfortunately not been
able to find a Git tree on top of which I could base this patch on.

Index: b/src/modules/engines/software_x11/evas_xcb_outbuf.c
===
--- a/src/modules/engines/software_x11/evas_xcb_outbuf.c
+++ b/src/modules/engines/software_x11/evas_xcb_outbuf.c
@@ -871,7 +871,7 @@
   }
 else
   {
- int pixelb = evas_software_xcb_output_buffer_depth(obr->xob) / 8;
+ int pixelb = evas_software_xcb_output_buffer_depth(obr->xcbob) / 
8;
  int run;
  int dstjump;
  
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fun with 0.17.0

2013-01-06 Thread David Seikel
On Sun, 6 Jan 2013 16:33:03 +0100 Albin Tonnerre
 wrote:

> On Fri, Jan 4, 2013 at 10:34 AM, Carsten Haitzler
>  wrote:
> > we upgraded major config version for e17 - thus yes - it gets wiped.
> 
> Just curious - what was the particular change that required the config
> to get wiped?

Also just curious, isn't it one of the design features of eet that you
can easily track what changes between versions of the files using it?
No need to wipe.  Just write simple code to upgrade old config files
when you read them.  That's how I'm using it in my projects.  I guess
things are different with the e17 config stuff?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fun with 0.17.0

2013-01-06 Thread Albin Tonnerre
On Fri, Jan 4, 2013 at 10:34 AM, Carsten Haitzler  wrote:
> we upgraded major config version for e17 - thus yes - it gets wiped.

Just curious - what was the particular change that required the config
to get wiped?

Thanks,
--
Albin

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: onefang trunk/efl/doc

2013-01-06 Thread David Seikel
On Sun, 6 Jan 2013 14:44:40 + Michael Blumenkrantz
 wrote:

> On Mon, 7 Jan 2013 00:41:18 +1000
> David Seikel  wrote:
> 
> > On Sun, 6 Jan 2013 14:34:04 + Michael Blumenkrantz
> >  wrote:
> > 
> > > On Sun,  6 Jan 2013 06:31:56 -0800
> > > "Enlightenment SVN"  wrote:
> > > 
> > > > Log:
> > > > ego--  I don't need to be listed twice.
> > > > 
> > > > Author:   onefang
> > > > Date: 2013-01-06 06:31:56 -0800 (Sun, 06 Jan 2013)
> > > > New Revision: 82302
> > > > Trac: http://trac.enlightenment.org/e/changeset/82302
> > > > 
> > > > Modified:
> > > >   trunk/efl/doc/main.dox 
> > > > 
> > > > Modified: trunk/efl/doc/main.dox
> > > > ===
> > > > --- trunk/efl/doc/main.dox  2013-01-06 14:19:23 UTC (rev
> > > > 82301) +++ trunk/efl/doc/main.dox   2013-01-06 14:31:56 UTC
> > > > (rev 82302) @@ -56,7 +56,6 @@
> > > >   * @author Daniel Zaoui 
> > > >   * @author David 'onefang' Seikel 
> > > >   * @author David Goodlad 
> > > > - * @author David Seikel 
> > > >   * @author Davide Andreoli 
> > > >   * @author Doyoun Kang 
> > > > 
> > > >   * @author Fabiano Fidêncio 
> > > > 
> > > 
> > > is this like how you also don't need to be CCed on every edevel
> > > thread?
> > 
> > Exactly. :-P
> > 
> 
> I respect your opinion

Where the definition of "respect" may vary considerably.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configs for gadgets with multiple instances

2013-01-06 Thread Igor Murzov
On Sun, 6 Jan 2013 00:08:38 +
Michael Blumenkrantz  wrote:

> On Sun, 6 Jan 2013 03:59:17 +0400
> Igor Murzov  wrote:
> 
> > On Fri, 4 Jan 2013 16:29:56 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Tue, 1 Jan 2013 23:30:49 +0400 Igor Murzov
> > >  said:
> > > 
> > > > Happy new year everyone!
> > > > 
> > > > While i was playing with eweather, i found out that when its gadget
> > > > is removed and module is unloaded, configuration gets lost.
> > > > At first i thought that this issue is specific to eweather and
> > > > that's some stupid bug, that went unnoticed.
> > > > But it looks like configs are handled this way intentionally.
> > > > If some gadget can have multiple instances, every instance gets
> > > > its own id. When user adds a new instance, NULL is passed to
> > > > _gc_init() as id. The same happens, if user unloaded a module in the
> > > > past for some reason, then changed his mind and loaded the module once
> > > > again. And you may expect that the last configuration is loaded in
> > > > this case, but NO... id gets incremented and you'll get the default
> > > > settings. That's very strange -- configurations are stored and never
> > > > reused again.
> > > > That doesn't feel like an expected behaviour to me. I would
> > > > expect GADCON_CLIENT_CONFIG_GET() to load the last available
> > > > configuration if id is NULL. Or maybe even last id but one when the
> > > > gadget that has the last id already exists. So some smart solution
> > > > may be required to fix the issue. Any ideas?
> > > > 
> > > 
> > > hmm module unload SHOULD be separate to the gadcon client config. i 
> > > designed
> > > them to be separate so u can "unload" and "load" a module and magically 
> > > the
> > > gadget appears where it was configured for before. of course each module 
> > > is in
> > > charge of remembering its OWN list of "instances" and names/id's for them 
> > > and
> > > corresponding config for that instance. the gadcon entry is separate and 
> > > when
> > > the gadcon inits it asks for a provider of that name/class - and if it 
> > > finds
> > > one (the module provides it) it asks it to init the gadget...
> > 
> > What you describing here works fine. Unloading module doesn't change 
> > gagdgets
> > position or configuration. 
> > But if gadget is removed and module is unloaded, then gadget's configuration
> > gets lost.
> > 
> > Let me explain.
> > 
> > If some module has only one configuration item in its config, then gadget
> > loads the config and uses settings stored in it, and everything is fine. 
> > 
> > Things are different with modules that have multiple configurations in 
> > their configs.
> > If some module has multiple configuration items in its config, then gadget
> > loads the config and then it searches for a specific configuration item that
> > has a specific id.
> > 
> > The thing is that if the gadget was removed, then next time when you decide
> > to add the new instance, that new instance gets NULL as its id in 
> > _gc_init().
> > And _gc_init() will call GADCON_CLIENT_CONFIG_GET(..., id) to get a 
> > configuration item. But GADCON_CLIENT_CONFIG_GET(..., NULL) won't get ANY of
> > the existing configurations in this case, it will simply generate a new id, 
> > which
> > will result in getting the default configuration. And that is not what 
> > users expect.
> > 
> > > the point was that we could ship default config FULLY populated with every
> > > gadget and then only the modules u want provide the gadgets and 
> > > non-provided
> > > modules are just left out with the user non-the-wiser.
> > 
> > I have no idea what you are talking about here :D
> > 
> > > something has gone wrong here. what you think should work... should.
> > 
> 
> if an instance is removed by the user, its config is deleted. this is 
> intentional.

To make things clearer, I changed config_item_get() in EWeather to demonstrate
how i think the function should look like. I've tried to comment everything,
I hope this will help to understand the code. Here it is:

--
EINTERN Config_Item *
_weather_config_item_get(Instance *inst, const char *id) 
{
   Config_Item *ci;
   char buf[128];

   /* try to find an item with the requested id */
   if (id)
 {
Eina_List *l;

EINA_LIST_FOREACH(weather_cfg->items, l, ci)
  {
 if (!ci->id) continue;
 if (!strcmp(ci->id, id))
 {
ci->inst = inst;
return ci; /* got it. return configuration item */
 }
  }
/* uh-oh, no such item in config */
id = NULL;
 }

   /* id is NULL, but we found previous configurations, so
   /* reuse the last one instead of setting default values */
   if (!id && weather_cfg->items)
 {
const char *p;
int num = 0;

ci = eina_list_last(weather_cfg->items)->data;
p = strrchr(ci->id, '.');
if 

Re: [E-devel] E SVN: onefang trunk/efl/doc

2013-01-06 Thread Michael Blumenkrantz
On Mon, 7 Jan 2013 00:41:18 +1000
David Seikel  wrote:

> On Sun, 6 Jan 2013 14:34:04 + Michael Blumenkrantz
>  wrote:
> 
> > On Sun,  6 Jan 2013 06:31:56 -0800
> > "Enlightenment SVN"  wrote:
> > 
> > > Log:
> > > ego--  I don't need to be listed twice.
> > > 
> > > Author:   onefang
> > > Date: 2013-01-06 06:31:56 -0800 (Sun, 06 Jan 2013)
> > > New Revision: 82302
> > > Trac: http://trac.enlightenment.org/e/changeset/82302
> > > 
> > > Modified:
> > >   trunk/efl/doc/main.dox 
> > > 
> > > Modified: trunk/efl/doc/main.dox
> > > ===
> > > --- trunk/efl/doc/main.dox2013-01-06 14:19:23 UTC (rev
> > > 82301) +++ trunk/efl/doc/main.dox 2013-01-06 14:31:56 UTC
> > > (rev 82302) @@ -56,7 +56,6 @@
> > >   * @author Daniel Zaoui 
> > >   * @author David 'onefang' Seikel 
> > >   * @author David Goodlad 
> > > - * @author David Seikel 
> > >   * @author Davide Andreoli 
> > >   * @author Doyoun Kang 
> > > 
> > >   * @author Fabiano Fidêncio 
> > > 
> > 
> > is this like how you also don't need to be CCed on every edevel
> > thread?
> 
> Exactly. :-P
> 

I respect your opinion

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: onefang trunk/efl/doc

2013-01-06 Thread David Seikel
On Sun, 6 Jan 2013 14:34:04 + Michael Blumenkrantz
 wrote:

> On Sun,  6 Jan 2013 06:31:56 -0800
> "Enlightenment SVN"  wrote:
> 
> > Log:
> > ego--  I don't need to be listed twice.
> > 
> > Author:   onefang
> > Date: 2013-01-06 06:31:56 -0800 (Sun, 06 Jan 2013)
> > New Revision: 82302
> > Trac: http://trac.enlightenment.org/e/changeset/82302
> > 
> > Modified:
> >   trunk/efl/doc/main.dox 
> > 
> > Modified: trunk/efl/doc/main.dox
> > ===
> > --- trunk/efl/doc/main.dox  2013-01-06 14:19:23 UTC (rev
> > 82301) +++ trunk/efl/doc/main.dox   2013-01-06 14:31:56 UTC
> > (rev 82302) @@ -56,7 +56,6 @@
> >   * @author Daniel Zaoui 
> >   * @author David 'onefang' Seikel 
> >   * @author David Goodlad 
> > - * @author David Seikel 
> >   * @author Davide Andreoli 
> >   * @author Doyoun Kang 
> > 
> >   * @author Fabiano Fidêncio 
> > 
> 
> is this like how you also don't need to be CCed on every edevel
> thread?

Exactly. :-P

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: onefang trunk/efl/doc

2013-01-06 Thread Michael Blumenkrantz
On Sun,  6 Jan 2013 06:31:56 -0800
"Enlightenment SVN"  wrote:

> Log:
> ego--  I don't need to be listed twice.
> 
> Author:   onefang
> Date: 2013-01-06 06:31:56 -0800 (Sun, 06 Jan 2013)
> New Revision: 82302
> Trac: http://trac.enlightenment.org/e/changeset/82302
> 
> Modified:
>   trunk/efl/doc/main.dox 
> 
> Modified: trunk/efl/doc/main.dox
> ===
> --- trunk/efl/doc/main.dox2013-01-06 14:19:23 UTC (rev 82301)
> +++ trunk/efl/doc/main.dox2013-01-06 14:31:56 UTC (rev 82302)
> @@ -56,7 +56,6 @@
>   * @author Daniel Zaoui 
>   * @author David 'onefang' Seikel 
>   * @author David Goodlad 
> - * @author David Seikel 
>   * @author Davide Andreoli 
>   * @author Doyoun Kang  
>   * @author Fabiano Fidêncio 
> 

is this like how you also don't need to be CCed on every edevel thread?

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Fix elc_naviframe to emit state signals for text part (elementary)

2013-01-06 Thread Daniel Juyung Seo
Thanks in svn!
But you should modify ChangeLog and NEWS when you fix a bug which was
existed in the previous release.
I did it for you this time.
http://trac.enlightenment.org/e/changeset/82300

And note if a bug exists in the branches, you also have fix the branch. We
call this "backport"
I did it for you too.
http://trac.enlightenment.org/e/changeset/82301

Thanks. Happy weekend.

Daniel Juyung Seo (SeoZ)


On Sun, Jan 6, 2013 at 10:37 PM, 조재현  wrote:

> Thank you for your advice :)
> I took your advice and then I simply took the signal emit code out of the
> if case.
> Please review this patch again.
>
> Thank you,
> Jaehyun Cho.
>
> -Original Message-
> From: "Daniel Juyung Seo"
> To: "Enlightenment developer list"&
> lt;enlightenment-devel@lists.sourceforge.net>;
> Cc:
> Sent: 2013-01-06 (일) 16:09:44
> Subject: Re: [E-devel] [Patch] Fix elc_naviframe to emit state signals for
> text part (elementary)
>
> Thanks. Good catch but these lines are already there so you can reuse it.
>
> + eina_stringshare_replace(&pair->part, part);
> + if (label)
> +   snprintf(buf, sizeof(buf), "elm,state,%s,show", part);
> + else
> +   snprintf(buf, sizeof(buf), "elm,state,%s,hide", part);
> + elm_object_signal_emit(VIEW(it), buf, "elm");
>
> Can you provide a better patch?
>
> Daniel Juyung Seo (SeoZ)
>
> On Sun, Jan 6, 2013 at 2:23 PM, 조재현 @naver.com>
> wrote:
>
> > Dear all,
> >
> > Hello. This is Jaehyun Cho.
> > Now, naviframe emits state signals (e.g. show or hide) for customized
> text
> > part (i.e. neither "elm.text.title" nor "elm.text.subtitle") which is
> going
> > to be appended to the item's text_list.
> > However, if the customized text parts change the text label when the
> text
> > parts are in the item's text_list, naviframe does not emit state
> signals
> > for them.
> > To resolve this issue, I added additional case in _item_text_set_hook
> to
> > handle the text part which is in the item's text_list.
> > (elementary/src/lib/elc_naviframe.c)
> > Please review this.
> >
> > Thank you,
> > Jaehyun Cho.
> >
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
> current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_123012
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> >
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Janitor/Docs task: need help

2013-01-06 Thread David Seikel
Now that I have started looking at this, some observations.

First, it could really do with some alphabetical sorting.  Is there
some method to get doxygen to deal with that?

Second, I'm listed twice in the authors, so are others.  I can see
that's due to inconsistencies in naming.  For instance, I'm down as
"David 'onefang' Seikel" and "David Seikel".

Thirdly, the Lua docs are really hard to find.  Only seem to be listed
in the "Related Pages" page, which is a long list of pages in random
order.  Hard to find anything in that list.

On Fri, 28 Dec 2012 19:33:55 -0200 Ulisses Furquim
 wrote:

> Hi,
> 
> On Fri, Dec 28, 2012 at 7:24 PM, Lucas De Marchi
>  wrote:
> > On Fri, Dec 28, 2012 at 6:08 PM, Gustavo Sverzut Barbieri
> >  wrote:
> >> Hi all,
> >>
> >> We're trying to improve the docs for the single tree efl, but we
> >> need some help. The task is simple, but most core devs won't have
> >> time to do it:
> >>
> >>  - move all doxygen docs from .c to .h
> >
> > I really hate our headers because of this.
> 
> Why? It's useful to have documentation there and not in the .c files
> so it's a bonus. :-)

While I agree that looking for the docs in .h files is A) natural, and
B) might be the only place you have to look if it's an installed
package, there's a problem with that theory for Edje Lua.  The
problem is that for Lua scripters, there is no include file.  The same
would apply to Embryo, and possibly other bindings.  For Edje Lua in
particular, putting the docs in the .c file makes sense, there's no
where else for them to go.  Which is fine according to my theories
above, Lua scripters are not gonna look in C header files for docs.

C coders on the other hand, will be looking in C header files to find
out what's available.  They'll stumble across the docs while they are in
there and not have to look any further for explanations.  If it's a
distro supplied package, they would have installed the relevant -dev
packages, then they'll have .h headers.  They wont have the .c source
files.

In both cases, the generated by doxygen files might be available where
the .c source code is not, so that keeps everyone happy.

I'll fix up my name, and link Edje Lua pages into the main Edje page,
but I'll leave the Edje Lua docs in the .c source file.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Fix elc_naviframe to emit state signals for text part (elementary)

2013-01-06 Thread 조재현
Thank you for your advice :)
I took your advice and then I simply took the signal emit code out of the if 
case.
Please review this patch again.
 
Thank you,
Jaehyun Cho.
 
-Original Message-
From: "Daniel Juyung Seo" 
To: "Enlightenment developer 
list"; 
Cc: 
Sent: 2013-01-06 (일) 16:09:44
Subject: Re: [E-devel] [Patch] Fix elc_naviframe to emit state signals for text 
part (elementary)

Thanks. Good catch but these lines are already there so you can reuse it.

+ eina_stringshare_replace(&pair->part, part);
+ if (label)
+   snprintf(buf, sizeof(buf), "elm,state,%s,show", part);
+ else
+   snprintf(buf, sizeof(buf), "elm,state,%s,hide", part);
+ elm_object_signal_emit(VIEW(it), buf, "elm");

Can you provide a better patch?

Daniel Juyung Seo (SeoZ)

On Sun, Jan 6, 2013 at 2:23 PM, 조재현 @naver.com> wrote:

> Dear all,
>
> Hello. This is Jaehyun Cho.
> Now, naviframe emits state signals (e.g. show or hide) for customized text
> part (i.e. neither "elm.text.title" nor "elm.text.subtitle") which is going
> to be appended to the item's text_list.
> However, if the customized text parts change the text label when the text
> parts are in the item's text_list, naviframe does not emit state signals
> for them.
> To resolve this issue, I added additional case in _item_text_set_hook to
> handle the text part which is in the item's text_list.
> (elementary/src/lib/elc_naviframe.c)
> Please review this.
>
> Thank you,
> Jaehyun Cho.
>
>
> 
--
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel 
Index: src/lib/elc_naviframe.c
===
--- src/lib/elc_naviframe.c	(revision 82299)
+++ src/lib/elc_naviframe.c	(working copy)
@@ -396,12 +396,12 @@
  eina_stringshare_replace(&pair->part, part);
  nit->text_list = eina_inlist_append(nit->text_list,
  EINA_INLIST_GET(pair));
- if (label)
-   snprintf(buf, sizeof(buf), "elm,state,%s,show", part);
- else
-   snprintf(buf, sizeof(buf), "elm,state,%s,hide", part);
- elm_object_signal_emit(VIEW(it), buf, "elm");
   }
+if (label)
+  snprintf(buf, sizeof(buf), "elm,state,%s,show", part);
+else
+  snprintf(buf, sizeof(buf), "elm,state,%s,hide", part);
+elm_object_signal_emit(VIEW(it), buf, "elm");
 elm_object_part_text_set(VIEW(it), part, label);
  }
 
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configs for gadgets with multiple instances

2013-01-06 Thread Igor Murzov
On Sun, 6 Jan 2013 00:08:38 +
Michael Blumenkrantz  wrote:

> On Sun, 6 Jan 2013 03:59:17 +0400
> Igor Murzov  wrote:
> 
> > On Fri, 4 Jan 2013 16:29:56 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Tue, 1 Jan 2013 23:30:49 +0400 Igor Murzov
> > >  said:
> > > 
> > > > Happy new year everyone!
> > > > 
> > > > While i was playing with eweather, i found out that when its gadget
> > > > is removed and module is unloaded, configuration gets lost.
> > > > At first i thought that this issue is specific to eweather and
> > > > that's some stupid bug, that went unnoticed.
> > > > But it looks like configs are handled this way intentionally.
> > > > If some gadget can have multiple instances, every instance gets
> > > > its own id. When user adds a new instance, NULL is passed to
> > > > _gc_init() as id. The same happens, if user unloaded a module in the
> > > > past for some reason, then changed his mind and loaded the module once
> > > > again. And you may expect that the last configuration is loaded in
> > > > this case, but NO... id gets incremented and you'll get the default
> > > > settings. That's very strange -- configurations are stored and never
> > > > reused again.
> > > > That doesn't feel like an expected behaviour to me. I would
> > > > expect GADCON_CLIENT_CONFIG_GET() to load the last available
> > > > configuration if id is NULL. Or maybe even last id but one when the
> > > > gadget that has the last id already exists. So some smart solution
> > > > may be required to fix the issue. Any ideas?
> > > > 
> > > 
> > > hmm module unload SHOULD be separate to the gadcon client config. i 
> > > designed
> > > them to be separate so u can "unload" and "load" a module and magically 
> > > the
> > > gadget appears where it was configured for before. of course each module 
> > > is in
> > > charge of remembering its OWN list of "instances" and names/id's for them 
> > > and
> > > corresponding config for that instance. the gadcon entry is separate and 
> > > when
> > > the gadcon inits it asks for a provider of that name/class - and if it 
> > > finds
> > > one (the module provides it) it asks it to init the gadget...
> > 
> > What you describing here works fine. Unloading module doesn't change 
> > gagdgets
> > position or configuration. 
> > But if gadget is removed and module is unloaded, then gadget's configuration
> > gets lost.
> > 
> > Let me explain.
> > 
> > If some module has only one configuration item in its config, then gadget
> > loads the config and uses settings stored in it, and everything is fine. 
> > 
> > Things are different with modules that have multiple configurations in 
> > their configs.
> > If some module has multiple configuration items in its config, then gadget
> > loads the config and then it searches for a specific configuration item that
> > has a specific id.
> > 
> > The thing is that if the gadget was removed, then next time when you decide
> > to add the new instance, that new instance gets NULL as its id in 
> > _gc_init().
> > And _gc_init() will call GADCON_CLIENT_CONFIG_GET(..., id) to get a 
> > configuration item. But GADCON_CLIENT_CONFIG_GET(..., NULL) won't get ANY of
> > the existing configurations in this case, it will simply generate a new id, 
> > which
> > will result in getting the default configuration. And that is not what 
> > users expect.
> > 
> > > the point was that we could ship default config FULLY populated with every
> > > gadget and then only the modules u want provide the gadgets and 
> > > non-provided
> > > modules are just left out with the user non-the-wiser.
> > 
> > I have no idea what you are talking about here :D
> > 
> > > something has gone wrong here. what you think should work... should.
> > 
> > 
> > -- Igor
> > 
> 
> if an instance is removed by the user, its config is deleted. this is 
> intentional.

No, configs are not deleted in this case. Configurations are still present in
config, when a gadget is removed and its module is unloaded, but they are not
getting reused anymore. 


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: barbieri IN trunk/devs: . ulisses

2013-01-06 Thread Ulisses Furquim
Thanks, everybody. Let's break everything. :-)

On Sunday, January 6, 2013, Daniel Juyung Seo wrote:

> Welcome back Ulisses Furquim Freire da Silva!
>
> Daniel Juyung Seo (SeoZ)
>
> On Sun, Jan 6, 2013 at 11:42 AM, Cedric BAIL  wrote:
>
> > On Sun, Jan 6, 2013 at 8:16 AM, Michael Blumenkrantz
> >  wrote:
> > > On Sat, 5 Jan 2013 21:10:20 -0200
> > > Gustavo Sverzut Barbieri  wrote:
> > >
> > >> On Sat, Jan 5, 2013 at 9:03 PM, Michael Blumenkrantz <
> > >> michael.blumenkra...@gmail.com> wrote:
> > >>
> > >> > On Sat,  5 Jan 2013 15:00:37 -0800
> > >> > "Enlightenment SVN"  wrote:
> > >> >
> > >> > > Log:
> > >> > > welcome ulisses back.
> > >> > >
> > >> > >   a bored director now wants to do some code for fun again...
> fixing
> > >> > >   thread stuff on weekends :-)
> > >> > >
> > >> > >
> > >> > >
> > >> > > Author:   barbieri
> > >> > > Date: 2013-01-05 15:00:35 -0800 (Sat, 05 Jan 2013)
> > >> > > New Revision: 82294
> > >> > > Trac: http://trac.enlightenment.org/e/changeset/82294
> > >> > >
> > >> > > Added:
> > >> > >   trunk/devs/ulisses/ trunk/devs/ulisses/id_dsa.pub
> > >> > trunk/devs/ulisses/info.txt
> > >> > >
> > >> > >
> > >> > > Property changes on: trunk/devs/ulisses/id_dsa.pub
> > >> > >
> ___
> > >> > > Added: svn:executable
> > >> > >+ *
> > >> > >
> > >> > >
> > >> >
> > >> > wholisses?
> > >>
> > >>
> > >> don't you remember him? uuu lisses... AKA my partner at profusion
> > :-)
> > >> he was at efl dev day as well, used to do code, but he was stuck with
> > the
> > >> boring part of the company that is the financials and bureaucracy,
> also
> > >> managing the communications teams (bluetooth, wifi and kernel), that
> is
> > not
> > >> that visible to EFL (aside from Lucas De Marchi). He also helped EFL
> > before
> > >> we created the company, doing the EFL bindings and friends.
> > >>
> > >>
> > >
> > > no, I remember, I was just making a joke based on his name and his
> > recent return. good to have you back, wifey!
> >
> > I am ashamed that I did understand your joke... And welcome back Ulisses
> !
> > --
> > Cedric BAIL
> >
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_123012
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
>  



-- 
Ulisses Furquim
ProFUSION embedded systems
http://profusion.mobi
Mobile: +55 19 9250 0942
Skype: ulissesffs
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: barbieri IN trunk/devs: . ulisses

2013-01-06 Thread Daniel Juyung Seo
Welcome back Ulisses Furquim Freire da Silva!

Daniel Juyung Seo (SeoZ)

On Sun, Jan 6, 2013 at 11:42 AM, Cedric BAIL  wrote:

> On Sun, Jan 6, 2013 at 8:16 AM, Michael Blumenkrantz
>  wrote:
> > On Sat, 5 Jan 2013 21:10:20 -0200
> > Gustavo Sverzut Barbieri  wrote:
> >
> >> On Sat, Jan 5, 2013 at 9:03 PM, Michael Blumenkrantz <
> >> michael.blumenkra...@gmail.com> wrote:
> >>
> >> > On Sat,  5 Jan 2013 15:00:37 -0800
> >> > "Enlightenment SVN"  wrote:
> >> >
> >> > > Log:
> >> > > welcome ulisses back.
> >> > >
> >> > >   a bored director now wants to do some code for fun again... fixing
> >> > >   thread stuff on weekends :-)
> >> > >
> >> > >
> >> > >
> >> > > Author:   barbieri
> >> > > Date: 2013-01-05 15:00:35 -0800 (Sat, 05 Jan 2013)
> >> > > New Revision: 82294
> >> > > Trac: http://trac.enlightenment.org/e/changeset/82294
> >> > >
> >> > > Added:
> >> > >   trunk/devs/ulisses/ trunk/devs/ulisses/id_dsa.pub
> >> > trunk/devs/ulisses/info.txt
> >> > >
> >> > >
> >> > > Property changes on: trunk/devs/ulisses/id_dsa.pub
> >> > > ___
> >> > > Added: svn:executable
> >> > >+ *
> >> > >
> >> > >
> >> >
> >> > wholisses?
> >>
> >>
> >> don't you remember him? uuu lisses... AKA my partner at profusion
> :-)
> >> he was at efl dev day as well, used to do code, but he was stuck with
> the
> >> boring part of the company that is the financials and bureaucracy, also
> >> managing the communications teams (bluetooth, wifi and kernel), that is
> not
> >> that visible to EFL (aside from Lucas De Marchi). He also helped EFL
> before
> >> we created the company, doing the EFL bindings and friends.
> >>
> >>
> >
> > no, I remember, I was just making a joke based on his name and his
> recent return. good to have you back, wifey!
>
> I am ashamed that I did understand your joke... And welcome back Ulisses !
> --
> Cedric BAIL
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [ml] Re: Alpha5: 7 patches and 1 bug

2013-01-06 Thread Joel Klinghed
On Sun, 6 Jan 2013 15:04:23 +0900
Carsten Haitzler (The Rasterman)  wrote:

[snip]

> > > 
> > > > > > * evas-1.7.2-configure-xorg.patch
> > > > > > Use X_CFLAGS when checking X11 and GL headers and X_LIBS
> > > > > > when checking X11 and GL libs.
> > > > > > Also use X_CFLAGS when compiling gl_common as GL headers
> > > > > > might use the same prefix.
> > > > > 
> > > > > ummm configure.ac is a lot different now... try again?
> > > > 
> > > > I've included an patch for the merged efl tree.
> > > > Also an updated patch for the evas-1.7 and ecore-1.7 branches.
> > > 
> > > no ecore one attached.
> > > 
> > > so now this is up to date... i'll base my comments on the efl
> > > merged patch. why do you use "X_CFLAGS" and "X_LIBS" (i also spot
> > > X_PRE_LIBS)? are they not detectable by just modifying your
> > > regular CFLAGS and LDFLAGS before configure is run? why does this
> > > need a special set of env vars? basically - what about the
> > > existing setup is broken/doesnt work right there? i smell some
> > > other issue...
> > 
> > Right, forgot the ecore one, included this time.
> > 
> > X_CFLAGS, X_LIBS, X_PRE_LIBS and X_EXTRA_LIBS are all set by
> > AC_PATH_XTRA. So not env vars.
> > They are more or less what x_cflags and x_libs ends up being.
> > 
> > AC_PATH_X on the other hand sets x_includes and x_libraries.
> > 
> > I could have used x_includes and x_libraries instead but then I
> > would had to move the header and lib checks below the x_lib,
> > x_cflags, x_libs calculations as I don't want to do that work twice.
> > 
> > To summarise, my problem is that AC_PATH_X and AC_PATH_XTRA full and
> > well find my X11 path (/usr/xorg as it happens) but the next test 
> > AC_CHECK_HEADER([X11/X.h]) fails because it doesn't use any of the
> > results from those macros.
> 
> ok... so here´s the question. it seems you are putting xorg in its
> own prefix ala the good old /usr/X11R6 (or /usr/xorg now)... which
> has kind of been dropped as a standard x location amongst a lot of
> distros/os's - why should this be handled specially anymore when
> adding -I/usr/xorg/include and -L/usr/xorg/lib to your $CFLAGS and
> $LDFLAGs (also maybe adjust LD_LIBRARY_PATH, PATH and
> PKG_CONFIG_PATH).. exactly like you need to do with every other
> package you install from scratch this is why fribidi was a problem
> - right? u put it in /usr/fribidi or something?) ... ? i'm just
> wondering here why we need to add even more autofluff special cases
> here when it's becoming increasingly less common and env vars solve
> the problem in a ingle universal common way for every case like
> this? :)

Well, for most packages you have some way of asking where it was
installed so you don't have to write infernal long CFLAGS and LDFLAGS.
You have pkg-config, *-config scripts and so on.
To me, the whole point of checking if and where a package is installed
is so compiling will just work on every dist and OS.

Old X11 you located by using xmkmf (which is what AC_PATH_X* does).
For Xorg you actually have nice pkg-config files but they are only used
for xcb.

The thing is, even if I put my Xorg in /usr/X11R6 the configure check
as they are now would not work. They *only* work if X11/Xlib.h is
places in /usr/include or /usr/local/include or one of the standard
includes. Same for libs as both AC_CHECK_HEADER and AC_CHECK_LIB
doesn't use x_includes or x_libraries that you later use to actually
compile everything.

But yes, it is unusual not to put your X11 files all over /usr
and /usr/X11R6. Perhaps because of all these broken configure
scripts? ;)

I can take that I'll have to add -I/usr/xorg/include -L/usr/xorg/lib64
to CFLAGS and LDFLAGS respectively but then I must ask, why do you
bother calling AC_PATH_X and AC_PATH_XTRA? You don't use it and unless
everything is accessible from /usr/include and /usr/lib anyway it wont
work as both the X11/X.h and XCreateImage in libX11.so checks will fail.

[snip]

/JK

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eeze in efl tree not properly detecting mount?

2013-01-06 Thread David Seikel
On Sun, 06 Jan 2013 11:25:47 +0100 Massimo Maiurana
 wrote:

> David Seikel, il 06/01/2013 11:16, ha scritto:
> 
> > Hmmm, something not right there.  Ubuntu 12.04 does not provide
> > any .pc files for util-linux
> 
> you need libmount-dev and libblkid-dev

Ah, libmount, not mount.  Thanks, put them both in and efl compiled now.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eeze in efl tree not properly detecting mount?

2013-01-06 Thread Massimo Maiurana
David Seikel, il 06/01/2013 11:16, ha scritto:

> Hmmm, something not right there.  Ubuntu 12.04 does not provide any .pc
> files for util-linux

you need libmount-dev and libblkid-dev

-- 

  Massimo Maiurana   GPG keyID #7044D601

  La fede e' credere in cio' che sai non essere vero
[Mark Twain]



signature.asc
Description: OpenPGP digital signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eeze in efl tree not properly detecting mount?

2013-01-06 Thread Michael Blumenkrantz
On Sun, 6 Jan 2013 20:16:50 +1000
David Seikel  wrote:

> I tried an update from SVN just now, using the merged EFL tree.  I got
> this -
> 
> 
> 
> configure: Start Eeze checks
> configure: error: pkg-config missing mount >= 2.20.0
> 
> and yet -
> 
> # mount --version
> mount from util-linux 2.20.1 (with libblkid and selinux support)
> 
> Hmmm, something not right there.  Ubuntu 12.04 does not provide any .pc
> files for util-linux, and there's no matching -dev package.  S, why
> is pkg-config looking for that, and failing to see that I have an
> adequate version?
> 

libmount has its own pc file. you don't have it.

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Eeze in efl tree not properly detecting mount?

2013-01-06 Thread David Seikel
I tried an update from SVN just now, using the merged EFL tree.  I got
this -



configure: Start Eeze checks
configure: error: pkg-config missing mount >= 2.20.0

and yet -

# mount --version
mount from util-linux 2.20.1 (with libblkid and selinux support)

Hmmm, something not right there.  Ubuntu 12.04 does not provide any .pc
files for util-linux, and there's no matching -dev package.  S, why
is pkg-config looking for that, and failing to see that I have an
adequate version?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel