Re: [E-devel] [Patch] elm_genlist - added new feature : genlist edit mode

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 10:15:34 +0900 Daniel Juyung Seo 
said:

none - i had my say. :) commitsors

> Any comments on this patch?
> 
> Daniel Juyung Seo (SeoZ)
> 
> On Tue, May 3, 2011 at 8:00 PM, Seunggyun Kim  wrote:
> > Thanks for your review.
> >
> > I attached fixed source diff code.
> > Since I uploaded first diff code, genlist item realize function and item edc
> > had been changed by cedric.
> > So I also fixed my code according to the latest genlist code.
> > This version supports edit mode selection handling.
> >
> > Please review about this.
> > Thanks.
> >
> > -Original Message-
> > From: Daniel Juyung Seo [mailto:seojuyu...@gmail.com]
> > Sent: Thursday, April 21, 2011 5:31 PM
> > To: Seunggyun Kim
> > Cc: enlightenment-devel@lists.sourceforge.net
> > Subject: Re: [E-devel] [Patch] elm_genlist - added new feature : genlist
> > edit mode
> >
> > Dear Seunggyun,
> > I have some comments.
> >
> > 1) Formatting.
> >    There are many wrong formatting: indentation, braces, using one line
> > after if, alignment of function declaration, trailing whitespaces and etc.
> >
> > 2) Exception for selection.
> >    There are some exception handling code for selection. Is there any reason
> > to do this?
> >
> > 3) It will be better to move _edit_mode_item_unrealize() above it->realized
> > = EINA_FALSE;
> >   Because after unrealizing all instances of that item, we can say the item
> > is unrealized.
> >
> > @@ -1917,6 +1934,7 @@ _item_unrealize(Elm_Genlist_Item *it, Eina_Bool ca
> >      it->states = NULL;
> >      it->realized = EINA_FALSE;
> >      it->want_unrealize = EINA_FALSE;
> >  +   if (it->wd->edit_mode) _edit_mode_item_unrealize(it);
> >   }
> >
> > 4) Missing braces in if statement.
> >     Unnecessary {, } for one liner.
> >
> > +                       if (it->wd->edit_mode && it->itc->edit_item_style)
> > +                         {
> > +                            _edit_mode_item_controls(it, it->scrl_x,
> > it->scrl_y);
> > +                         }
> >
> > 5) How about 'position' or something else instead of 'controls'?
> >     Just a suggestion, if you mind just leave it :)
> >
> >>> _edit_mode_item_controls()
> >
> > 6) Why two braces?
> >    And it's not reasonable check wd->edit_mode inside
> > _edit_mode_item_realize().
> >    Because it's not possible to go that line if it's not in an edit mode.
> >
> >>> if ((it->wd->edit_mode))
> >
> > 7) Just return wd->edit_mode.
> >
> >>> if (wd->edit_mode) return EINA_TRUE;
> >>> else return EINA_FALSE;
> >
> > 8) Use !! for Eina_Bool type parameter in EAPIs.
> >
> >>> wd->edit_mode = edit_mode;
> > wd->edit_mode = !!edit_mode;
> >
> > This workarounds application programmer's mistake.
> >
> > 9) How about using elm_genlist_realized_items_get() API?
> >
> >>> EINA_INLIST_FOREACH(wd->blocks, itb)
> >>>   {
> >>>     if (itb->realized)
> >>>       {
> >>>         EINA_LIST_FOREACH(itb->items, l, it)
> >>>           {
> >>>              if (it->flags != ELM_GENLIST_ITEM_GROUP && it->realized)
> >
> >
> > 10) Missing braces.
> >
> >>> if (it->flags != ELM_GENLIST_ITEM_GROUP && it->realized)
> > if ((it->flags != ELM_GENLIST_ITEM_GROUP) && (it->realized))
> >
> > There are more of it. Please check all.
> >
> > 11) Use __UNUSED__ for not used parameters.
> >
> > 12) Space between if and (.
> >
> >>> if(!tit->checked)
> >
> > 13) Fix warnings.
> >    If you don't have enough warnings, add "-W -Wall -Wextra" to CFLAGS.
> >
> > 14) Seg fault.
> >    It's not working when I go to "Genlist Edit" menu. It's killed.
> >
> > Hmm I'm not sure if only I have problems with running genlist edit in
> > elementary_test.
> > It has a seg fault.
> >
> > Other e-developers, please test this.
> >
> > Thank you.
> > Daniel Juyung Seo (SeoZ)
> >
> > On Tue, Apr 19, 2011 at 4:32 PM, Seunggyun Kim 
> > wrote:
> > Thanks for your review :)
> >
> > I attached fixed source diff code.
> >
> > The edit edc is like below table.
> > -
> > | elm.edit.icon.1 |       elm.swallow.edit.content       |  elm.edit.icon,2
> > |
> > -
> >
> > Now it is showing only edit mode set animation.
> > If this is committed, I'll send another patch about edit mode unset
> > animation.
> >
> > Thanks:)
> >
> >
> > -Original Message-
> > From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com]
> > Sent: Monday, April 18, 2011 7:41 PM
> > To: Seunggyun Kim
> > Cc: enlightenment-devel@lists.sourceforge.net
> > Subject: Re: [E-devel] [Patch] elm_genlist - added new feature : genlist
> > edit mode
> >
> > On Sat, 16 Apr 2011 17:30:13 +0900 Seunggyun Kim 
> > said:
> >
> > i'm rather happy that i now get to grumble about much more esoteric things
> > in
> > patches :)
> >
> > ... why is ediit_mode not Eina_Bool and even better it's together with all
> > the
> > other Eina_Bool var:1 fields? this leads to much better struct packing.
> > 

Re: [E-devel] E SVN: raster trunk/evas_generic_loaders/src/bin/pdf

2011-05-13 Thread Vincent Torri


On Fri, 13 May 2011, Enlightenment SVN wrote:

> Log:
> fix pdf loader to
>
>  1. handle load options for dpi and load size
>  2. handle pdf crop region properly
>  3. handle landscape oriented pdf's properly and render right.
>
>
>
> Author:   raster
> Date: 2011-05-13 00:45:22 -0700 (Fri, 13 May 2011)
> New Revision: 59362
> Trac: http://trac.enlightenment.org/e/changeset/59362
>
> Modified:
>  trunk/evas_generic_loaders/src/bin/pdf/main.cpp
>
> Modified: trunk/evas_generic_loaders/src/bin/pdf/main.cpp
> ===
> --- trunk/evas_generic_loaders/src/bin/pdf/main.cpp   2011-05-13 06:10:13 UTC 
> (rev 59361)
> +++ trunk/evas_generic_loaders/src/bin/pdf/main.cpp   2011-05-13 07:45:22 UTC 
> (rev 59362)
> @@ -31,15 +31,18 @@
> SplashOutputDev *output_dev;
>
> ::Page *page;
> -int width = 0;
> -int height = 0;
> -void *data;
> +int width = 0, height = 0;
> +int crop_width = 0, crop_height = 0;
> +void *data = NULL;
> +double dpi = -1.0;
>
> static int shm_fd = -1;
> static int shm_size = 0;
> static void *shm_addr = NULL;
> static char shmfile[1024] = "";
>
> +#define DEF_DPI 72.0
> +
> static void
> shm_alloc(int dsize)
> {
> @@ -93,10 +96,12 @@
>shm_fd = -1;
> }
>
> -Eina_Bool poppler_init(const char *file, int page_nbr, double dpi, int 
> size_w, int size_h)
> +Eina_Bool poppler_init(const char *file, int page_nbr, int size_w, int 
> size_h)
> {
>Object obj;
>SplashColor white;
> +   double w, h, cw, ch;
> +   int rot;
>
>if (!file || !*file)
>  return EINA_FALSE;
> @@ -131,42 +136,49 @@
>if (!page || !page->isOk())
>  goto del_pdfdoc;
>
> -   width = page->getMediaWidth();
> -   height = page->getMediaHeight();
> -
> +   w = page->getMediaWidth();
> +   h = page->getMediaHeight();
> +   cw = page->getCropWidth();
> +   ch = page->getCropHeight();
> +   rot = page->getRotate();
> +   if (cw > w) cw = w;
> +   if (ch > h) ch = h;
> +   if ((rot == 90) || (rot == 270))
> + {
> +double t;
> +// swap width & height
> +t = w; w = h; h = t;
> +// swap crop width & height
> +t = cw; cw = ch; ch = t;
> + }
> +
>if ((size_w > 0) || (size_h > 0))
>  {
> -/* FIXME: tell poller to render at the new width and height
> -unsigned int w2 = width, h2 = height;
> -if (size_w > 0)
> +double w2 = cw, h2 = ch;
> +
> +w2 = size_w;
> +h2 = (size_w * ch) / cw;
> +if (h2 > size_h)
>   {
> - w2 = size_w;
> - h2 = (size_w * h) / w;
> - if ((size_h > 0) && (h2 > size_h))
> -   {
> -  unsigned int w3;
> -  h2 = size_h;
> -  w3 = (size_h * w) / h;
> -  if (w3 > w2)
> - w2 = w3;
> -   }
> -  }
> -else if (size_h > 0)
> -  {
>  h2 = size_h;
> - w2 = (size_h * w) / h;
> + w2 = (size_h * cw) / ch;
>   }
> -width = w2;
> -height = h2;
> - */
> +D("x %3.3fx%3.3f\n", w2, h2);
> +if (w2 > h2) dpi = (w2 * DEF_DPI) / cw;
> +else dpi = (h2 * DEF_DPI) / ch;
>  }
> -   else if (dpi > 0.0)
> +
> +   if (dpi > 0.0)
>  {
> -/* FIXME: tell poppler to render at this size
> -width = (width * dpi) / 72.0;
> -height = (height * dpi) / 72.0;
> - */
> +cw = (cw * dpi) / DEF_DPI;
> +ch = (ch * dpi) / DEF_DPI;
> +w = (w * dpi) / DEF_DPI;
> +h = (h * dpi) / DEF_DPI;
>  }
> +   width = w;
> +   height = h;
> +   crop_width = cw;
> +   crop_height = ch;
>
>return EINA_TRUE;
>
> @@ -185,11 +197,13 @@
>delete globalParams;
> }
>
> -void poppler_load_image(double dpi, int size_w, int size_h)
> +void poppler_load_image(int size_w, int size_h)
> {
>SplashOutputDev *output_dev;
>SplashColor  white;
>SplashColorPtr   color_ptr;
> +   DATA32  *src, *dst;
> +   int  y;
>
>white[0] = 255;
>white[1] = 255;
> @@ -202,19 +216,25 @@
>
>output_dev->startDoc(pdfdoc->getXRef());
>
> -   if (dpi <= 0.0) dpi = 72.0;
> +   if (dpi <= 0.0) dpi = DEF_DPI;
>
> -   page->display(output_dev,
> - dpi, dpi, 0,
> - false, false, false,
> - pdfdoc->getCatalog());
> +   page->displaySlice(output_dev, dpi, dpi,
> +  0, false, false,
> +  0, 0, width, height,
> +  false, pdfdoc->getCatalog());

would it be possible to know whether or not one has to crop ? ::display() 
is faster than ::displaySlice() (and we would just do a memcpy below, and 
not a loop).

Vincent

>color_ptr = output_dev->getBitmap()->getDataPtr();
>
> -   shm_alloc(width * height * sizeof(DATA32));
> -   if (!shm_addr)
> - goto del_outpput_dev;
> +   shm_alloc(crop_width * crop_height

[E-devel] Announcement - Support for Evas to load XCF, XCF.GZ and PDF files

2011-05-13 Thread The Rasterman
Just thought I'd do some announcing for those not keenly following every SVN
commit.

Something that was pending a while back in discussions was the fact that Evas
uses modules to load image formats, BUT some image formats are in one or more
of the following categories:

1. There is a decoder library, but it is buggy and crashes a lot, taking down
apps with it.
2. There is a decoder library but it is GPL, thus forcing all Evas using apps
to become GPL which is not acceptable.

A little while ago i created a "generic loader" for Evas. It's been lurking in
SVN for a little while now in trunk. This is a generic "stdin/shm file/tmp file
loader". What it does is it EXECUTES (and opens a pipe) to an EXECUTABLE that
it just dumbly runs. This executable is "evas_image_loader.EXTENSION" and must
be in your $PATH. if it exists and can be run, evas runs it and reads the
standard output. For a pdf file (X.pdf or X.Pdf or X.PDF) evas tries to run
evas_image_loader.pdf (it turns the extension into lowercase always). For xcf
files it tries to run evas_image_loader.xcf. As xcf files can be gzipped (and
thus be named X.xcf.gz) it will try and run evas_image_loader.xcf.gz and so on.
If none of these extension/type specific loader executables can be run or
exist, then evas tries to run evas_image_loader (with no extension) as a last
resort, hoping that maybe there is a generic "catch all" program (or script
even) that could load something. Note that this isn't necessarily desirable,
but it's a fallback feature I put in just in case someone wants to use it.

This is just the generic "I will run whatever you stick in $PATH" loader. It
doesn't care what is there - just provide it. Thanks to some work by me,
porting over the old Imlib2 xcf loader (and making it also handle gzip xcf's)
and some excellent work by Vincent Torri, in SVN you will see a
evas_generic_loaders "app". This compile currently 2 generic binary executable
loaders. One for XCF (and XCF.GZ files) and one for PDF's. All you need to do
is compile and install this and as long as the binaries are in your $PATH...
evas can now load these file formats. PDF actually even can load selected pages
from a pdf (provide the page number as a key (in a string) to the evas image
file set api like "0" for the 0th (first) path, "3" for the 4th page, "87" for
the 88th page and so on. default is 0 if no key is given. it even supports
pre-scaling and rendering the page at a requested DPI or scale size if you use
the evas load options. XCF's will merge all visible layers into a single image
with alpha. So this is an announce that the generic loaders are now working and
beginning to get useful. Thanks to Vincent for the PDF work and thanks to CK
for the original XCF loader work for imlib2. Packagers may want to start
packaging this. Yes - it's 0.0.9 (not even 0.1) but it works. i'd want to fill
it out a bit more (support scale-down multiplies like jpeg loader does in pdf
loader, make the shmfile support shared code, add a RAW loader that uses
libraw, and add documentation).

For anyone interested in writing more loaders (eg a RAW one or a PS loader that
uses ghostscript etc.), here's how things work.

First - read the XCF and PDF loaders. very much specifically just main(). the
rest of the code is format specific. Now keep in mind how the generic loader
system works:

1. generic loader opens up a one-way pipe of stdout from the executable to the
generic loader module. That means it is parsing ALL stdout from the loader.
Don't print anything to stdout you don't want to send to the loader module. use
stderr if you have to debug.
2. the generic loader executable is passed the following parameters:
executable /path/to/file [options]
  there is ALWAYS a filepath as the first argument and then extra options can
be one or more of:
  -key KEYNAME
(load the file given and look for KEYNAME "key" inside the file - useful
for holding a page number for a PDF for example, or a key inside a database or
zip file etc.)
  -head
(only load the header of the file and produce the metadata like size, alpha
channel etc. and then print "done" as evas doesn't want the image data itself
yet and this is considered the most expensive part to decode)
  -opt-scale-down-by FACTOR 
(scale the image DOWN by a factor of FACTOR, 1 == dont scale down, 2 ==
scale down to half width and height, 4 == scale down to 1/4 width and height
and so on - loader may limit scale down to powers of 2 and to a limited range
if it wants, and it shouldn't allow scaling to produce a 0x0 image (limit to 1
pixel in each dimension as a minimum))
  -opt-dpi DPI
(when decoding use the given DPI if it is a scalable vector graphic. DPI
is actually the real DPI multiplied by 1000 as an integer, so a DPI of 45.3
will be supplied as 45300, or a DPI of 72.0 is 72000)
  -opt-size W H
(decode the image so it will fit WITHIN the WxH region in pixels (scale
down if needed or possible, and optionally can scale up if desired). sho

Re: [E-devel] [Patch] elm_conform patch from Prince

2011-05-13 Thread The Rasterman
On Wed, 04 May 2011 15:57:11 +0900 Daniel Juyung Seo 
said:

+1. commit it :)

> Dear all, this is revised patch from Prince.
> Please find his email and attached patch.
> Please review this.
> Thanks.
> Daniel Juyung Seo.
> 
> --- Original Message ---
> Sender : PRINCE KUMAR DUBEY 
> Date : 2011-04-29 17:33 (GMT+09:00)
> Title : Re: [Patch] elm_conform patch
> 
> Dear Mr. Seo,
> The below issues have been fixed. Verified with and without
> HAVE_ELEMENTARY_X flags.
> So, Can you please post the attached elm_conformant patch.
> 
> Change Log: 1.  Virtual Keypad support added.
> 2. Support added to look up for Top most Scroller in the focused object
> hierarchy inside conformant
> and its Resize Event is handled to realign the Visible content area.
> 3. New API  "elm_conformant_content_area_get" added to get the content area
> of the widget.
> 
> Thank You,
> 
> Regards,
> Prince
> 
> 
> -Original Message-
> From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] 
> Sent: Tuesday, May 03, 2011 8:09 PM
> To: Daniel Juyung Seo
> Cc: enlightenment-devel@lists.sourceforge.net
> Subject: Re: [E-devel] [Patch] elm_conform patch from Prince
> 
> On Fri, 29 Apr 2011 09:38:01 +0900 Daniel Juyung Seo
> 
> said:
> 
> small things:
> 
> +   Evas_Object *conformant = (Evas_Object *) data;
>  ^ remove space before data
> 
> +EAPI Evas_Object*
> ^ add space before *
> 
> otherwise... commit! :)
> 
> > Dear all, this is an email from Prince.
> > Please find his email and attachment.
> > Thanks.
> > Daniel Juyung Seo (SeoZ)
> > 
> > --- Original Message ---
> > 
> > Sender : PRINCE KUMAR DUBEY
> > Date : 2011-04-28 17:38 (GMT+09:00)
> > Title : elm_conformant SVN Patch.
> > 
> > Dear Mr Seo,
> > 
> > Can you please post the attached elm_conform patch to EFL community.
> > This patch consist of:
> > 1. Virtual Keypad Support.
> > 2. New API "elm_conformant_content_area_get" added.
> >  
> > Please let me know if you want more information.
> >  
> > Thank You,
> > Regards,
> > Prince
> > 
> 
> 
> -- 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Announcement] elm API changes in box, table, toolbar

2011-05-13 Thread The Rasterman
On Thu, 5 May 2011 12:00:16 +0900 Daniel Juyung Seo  said:

cool! tnx!

> Dear all,
> Some elm API names are changed according to API naming refactoring.
> As evas used 'homogeneous' instead of 'homogenous', elm will follow
> the convention.
> 
> [API Changes]
> elm_box_homogenous_set --> elm_box_homogeneous_set
> elm_box_homogenous_get --> elm_box_homogeneous_get
> elm_table_homogenous_set --> elm_table_homogeneous_set
> elm_table_homogenous_get --> elm_table_homogeneous_get
> elm_toolbar_homogenous_set --> elm_toolbar_homogeneous_set
> elm_toolbar_homogenous_get --> elm_toolbar_homogeneous_get
> 
> Existing APIs are there but set as EINA_DEPRECATED.
> These will be removed some time later or when the elm v1.0 will be released.
> New APIs are already added. So you can just use new APIs.
> I will change some codes which is using deprecated APIs in trunk gradually.
> 
> Thank you.
> Daniel Juyung Seo (SeoZ)
> 
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] What are the builtin elementary shortcuts and how to disable them

2011-05-13 Thread The Rasterman
On Thu, 5 May 2011 09:12:11 +0200 Laszlo KREKACS
 said:

> Hi Raster,
> 
> Thank you for the explanation. Im not really hurry, I can easily wait
> some months to be implemented:)
> I already bounded Ctrl-C to Ctrl-D and Ctrl-V to Ctrl-G. I need used
> to it, but I can survive it:)
> 
> As for the Tab, I implemented it as it jumps to the next cell, but
> immediatly it jumps one cell
> back from software. It is a real ugly hack, but could not really bound
> to another key, as
> it is so wired in my hand (using terminals).
> 
> An another question: How to turn off Capslock from software? Is there
> an ecore.x. function
> to do it? I can detect (with key_down_handler) when CapsLock is
> pressed, so I can
> use some internal variable for state keeping. I often press it by
> mistake (as I use both
> capslock and shift too), so would be nice to disable it.

hmmm are you sure you want to turn this off in your app? the general solution
here is xmodmap and change your keyboard mapping to make capslock something
else more useful... ?

> Bests,
>  Laszlo
> 
> 
> On Sat, Apr 2, 2011 at 9:27 AM, Laszlo KREKACS
>  wrote:
> > Hi,
> >
> > I know at least these:
> > Tab - It cycles over the elementary.Entry on the gui. Just like how in
> > a webbrowser.
> >         I want to kill it, because I want to implement bash-like
> > completion with Tab key.
> >
> > Ctrl-C - It is used for copying in elementary.Entry. I want to kill it
> > because,
> >      1. Copying is currently broken anyway.
> >      2. I want to implement copy myself.
> > So I want to give visual feedback to the user (like changing a RECT
> > behind the elementary entry).
> > And also I want to copy the current entry's content WITHOUT selecting
> > it. Just like how
> > a spreadsheet works (oo.org calc for example).
> >
> > Ctrl-V - It used for pasting. It pasts the clipboard content at the cursor.
> >  But I want to REPLACE the content of the elementary.Entry with the
> > clipboard's content.
> >
> > Is there any other builtin shortcuts?
> >
> > Im using events like this:
> > When I create the elementary.Entry I add on_key_down_add callback to the
> > entry.
> >
> > But even if I return FALSE in this callback the builtin handling still
> > gets processed.
> > So when I display bash-completion hints on the gui (this is what my
> > callback method do),
> > it also jumps to the next elementary.Entry.
> >
> > Maybe its not FALSE what I should return, but some ecore constant?
> >
> > Bests,
> >  Laszlo
> >
> > ps: Im using python-elementary and  revision 58156
> >
> 
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] What about a 1.1?

2011-05-13 Thread The Rasterman
On Sun, 08 May 2011 14:41:47 +0300 Tom Hacohen
 said:

eina is pretty good to go - only thing thats up for debate is eina_object
stuff.. i've been meaning to look at it but haven't gotten to it. but that's
beside the point...

current blocker is evas. for an evas 1.1 we need to make sure all new features
are debugged and tested and working. everything in evas is.. EXCEPT:
  1. masking (general clip anything to anything - not 100% tested and
definitely buggy in many cases)
  2. mesh maps (untested)
  3. filters (not 100% tested and buggy in cases)

proxy i think is doing ok. though we should add a few more tests to expedite
methinks.

the reason evas is a blocker is edje. ecore and many things on top now
depend on new features in evas in trunk, so they cant go 1.1 until evas does.

once the above new features in evas are sorted we can pump out 1.1's over a
period of days or a week or 2. embryo doesn't need a 1.1 at this stage.

> Hey all,
> 
> What about releasing a 1.1? I think the amount of changes (and bug
> fixes) done on Eina, Edje, Ecore and Evas (did I miss anything that
> received a lot of attention?) justify a 1.1.
> 
> There's really no reason why not to, and users will surely be happy with
> getting all the changes with a "stable" stamp on them.
> 
> What do you think?
> 
> --
> Tom.
> 
> 
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] evas object for polyline?

2011-05-13 Thread The Rasterman
On Wed, 11 May 2011 21:53:44 +0300 Mika Laitio  said:

> >>http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html
> >>
> >> was the most uptodate example I found from smart object creation
> >> altought it still used "evas_smart_new" which has now been replaced with
> >> struct Evas_Smart_Class and evas_smart_class_new method.
> >
> > what kind of enlightenment widget? elm? e17 itself? or just inside your app?
> 
> I think it would be cool to have generic "xy graph widget" like 
> filedialogs, clocks, etc. in elementary. I assume that once done in that

don't see how it's useful for file dialogs or clocks... tho for things like
"cpu monitor graphs" and stuff i can see a use.

> way, one could then re-use it on apps by creating edje file for example 
> with editje and then setup there some default values like:

ok. so this would make elm depend on cairo. that's a much bigger leap. one i'd
be, currently, unwilling to make.

> - size and position
> - title
> - x-axis unit
> - y-axis unit
> - max and min x and y values
> - some kind of grid_size_x and grid_size_y and values to indicate grid 
> size and sub-values shown in axises
> - colors used for drawing axises (r,g,b,a)
> - colors used for displaying caption texts (r,g,b,a)
> - backround image/color
> - array of values to show
> 
> Of course it should be possible to override these values set to edje 
> file later from the code.

that makes life much more difficult. the fact that the style, look, feel etc.
cant be abstracted into a theme if you just draw with cairo and edje right now
has nothing much of use here. at BEST you could use edje to provide parts of
the graph - like the lines themselves and a polyline really is just a series of
objects rotated and joined together. edje could then provide the look of the
line segments themselves. but then what about the space between line and graph
boundary (eg filling in the area under a graph and so on).

basically you're opening up a can of worms as to how to do this and i think
that before you jump into "make an elm widget and use cairo"... this needs to
be solved at the edje level - what things does "drawing a graph" need and can
it be abstracted by edje, and if so, how?

> So you still think, I should write the graph drawing code with cairo and 
> then try to find out example code from Barbieri howto render cairo graph 
> to image that could be used by this widget.

above. i think this is time to look at it from the edje side of things. as such
almost all of what u need could be accomplished via evas's map feature and
mapping quad points with filled in image content. i can begin to consider how
this might be implemented, but edje probably needs a new primitive. a bit like
dragable parts were a feature of a primitive created just so sliders and
scrollbars can be made easily, and the textblock paret now has a whole entry
blob of code behind it for editing text.. we probably need to look at a
multi-segment part/element that can have N input values (eg 0.0 to 1.0) along a
given axis and then edje defines how to display the line itself, the filled in
regions above/below the line, how to limit the 3 of segments to a minimum size
or maximum count for the primitive, and then it has to actually implement this
using evas objects.

i know it sounds hard, but doing things so they are later flexible and
abstracted is. it can be done, but the place imho is edje. elm later can just
take this edje feature and "drive it" at a higher level, much like elm_entry.

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e17 todo

2011-05-13 Thread The Rasterman
just fyi:

http://trac.enlightenment.org/e/wiki/Release

i've knocked off another item (environment var config)... anyone lurking with a
desire to do things... please go attack an item on the list (put your name
there so we know u're doing it)... those with names there... what's the status?

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mathieu Taillefumier
Hi,

> just fyi:
>
> http://trac.enlightenment.org/e/wiki/Release
>
> i've knocked off another item (environment var config)... anyone lurking with 
> a
> desire to do things... please go attack an item on the list (put your name
> there so we know u're doing it)... those with names there... what's the 
> status?
>

I am taking care of the backlight support. So far, I have all the basic 
working code for the xrandr extension (backlight setting with acpi keys, 
dimming, etc...) but I lack the following items

- necessary code for setting a dedicated backlight with each app.
- dialog box for setting the backlight extensions (maybe go as an 
advanced setting of the screen dialog box).
- acpi code for setting the backlight property (Is it useful nowadays ?)
- a nice little box indicating the backlight level when it is changed 
(edje kind of thing, related to themes).
- find a way to update backlight when modified by an other program 
(xbacklight for instance).

what the code do for now is simple :

- we can set the backlight independently for each output.
- dimming is activated and working.
- increase and/or decrease the backlight intensity is implemented.

Mathieu

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Bruno Dilly
On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler  wrote:
> just fyi:
>
> http://trac.enlightenment.org/e/wiki/Release
>
> i've knocked off another item (environment var config)... anyone lurking with 
> a
> desire to do things... please go attack an item on the list (put your name
> there so we know u're doing it)... those with names there... what's the 
> status?

I would be glad to help with connman module, but I require more
information about what is desired before starting.
Who made the description could elaborate a bit more about it ?

Thanks in advance.

>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  said:

> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
> wrote:
> > just fyi:
> >
> > http://trac.enlightenment.org/e/wiki/Release
> >
> > i've knocked off another item (environment var config)... anyone lurking
> > with a desire to do things... please go attack an item on the list (put
> > your name there so we know u're doing it)... those with names there...
> > what's the status?
> 
> I would be glad to help with connman module, but I require more
> information about what is desired before starting.
> Who made the description could elaborate a bit more about it ?

aaah ok. well here's a list:

1. gui-wise knowing if a network is secured or not is not obvious (in the
selection list) - a little lock icon would be good. as opposed to colors. sure
- needs some gfx work.
2. also sorting by signal strength OR name is good and make sure it doesnt
update so often to make it hard to select a network (sometimes)
3. signal strength in the gadget i've never seen updated and i've never see
the popup list of ap's show signal strength.
3. no way to specifically disable connman on specific devices. eg "please
ignore eth1" or "ignore usb0" etc. there is the ability to do this in connman -
there's a gnome gui to fiddle with this, just nothing in e.
4. no way to FORGET networks (delete them from your list) and even just list
remembered networks that you have
5. no way to set up a static ip, gateway, dns and so on for specific networks.
only dhcp.
6. no way to have a "network profile" - eg for eth0 be able to switch from
"home" to "work" (home is dhcp, work is static ip for example)
7. nothing to set up http proxies for specific network configs (enviornment
variables if not some system config services/setups - i havent looked into
what these are that lets things like firefox auto change proxy setup etc.
without env var)
8. no manual entry of an essid if its not broadcasting (for hidden networks)
9. i'd love to see it be able to ping the gateway or some specific ip address
or host (global config and per-network config) so it can detect when the
network went down and try a re-connect or move to a new network that does work.
10. i'd love to see a nicer notification popup when it connects or disconnects
so you know it stopped working or is changing

that's a "off the top of my head" list right now.

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Bruno Dilly
On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler  wrote:
> On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  said:
>
>> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
>> wrote:
>> > just fyi:
>> >
>> > http://trac.enlightenment.org/e/wiki/Release
>> >
>> > i've knocked off another item (environment var config)... anyone lurking
>> > with a desire to do things... please go attack an item on the list (put
>> > your name there so we know u're doing it)... those with names there...
>> > what's the status?
>>
>> I would be glad to help with connman module, but I require more
>> information about what is desired before starting.
>> Who made the description could elaborate a bit more about it ?
>
> aaah ok. well here's a list:
>
> 1. gui-wise knowing if a network is secured or not is not obvious (in the
> selection list) - a little lock icon would be good. as opposed to colors. sure
> - needs some gfx work.
> 2. also sorting by signal strength OR name is good and make sure it doesnt
> update so often to make it hard to select a network (sometimes)
> 3. signal strength in the gadget i've never seen updated and i've never see
> the popup list of ap's show signal strength.
> 3. no way to specifically disable connman on specific devices. eg "please
> ignore eth1" or "ignore usb0" etc. there is the ability to do this in connman 
> -
> there's a gnome gui to fiddle with this, just nothing in e.
> 4. no way to FORGET networks (delete them from your list) and even just list
> remembered networks that you have
> 5. no way to set up a static ip, gateway, dns and so on for specific networks.
> only dhcp.
> 6. no way to have a "network profile" - eg for eth0 be able to switch from
> "home" to "work" (home is dhcp, work is static ip for example)
> 7. nothing to set up http proxies for specific network configs (enviornment
> variables if not some system config services/setups - i havent looked into
> what these are that lets things like firefox auto change proxy setup etc.
> without env var)
> 8. no manual entry of an essid if its not broadcasting (for hidden networks)
> 9. i'd love to see it be able to ping the gateway or some specific ip address
> or host (global config and per-network config) so it can detect when the
> network went down and try a re-connect or move to a new network that does 
> work.
> 10. i'd love to see a nicer notification popup when it connects or disconnects
> so you know it stopped working or is changing
>
> that's a "off the top of my head" list right now.

But it's a great start point. Thank you.
If anybody else has some more ideas / complains, please drop here as well.

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

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 14:25:40 +0200 Mathieu Taillefumier
 said:

> Hi,
> 
> > just fyi:
> >
> > http://trac.enlightenment.org/e/wiki/Release
> >
> > i've knocked off another item (environment var config)... anyone lurking
> > with a desire to do things... please go attack an item on the list (put
> > your name there so we know u're doing it)... those with names there...
> > what's the status?
> >
> 
> I am taking care of the backlight support. So far, I have all the basic 
> working code for the xrandr extension (backlight setting with acpi keys, 
> dimming, etc...) but I lack the following items
> 
> - necessary code for setting a dedicated backlight with each app.

do we really need that?

> - dialog box for setting the backlight extensions (maybe go as an 
> advanced setting of the screen dialog box).

you can just have a new dialog box for this - thats easy enough - copy and
paste a simple one from somewhere and modify as needed. as such i can only
think of a few things config needs:

1. if there is no randr backlight, and there is more than 1 /sys or acpi
backlight control, be able to choose which one to control.
2. set some "enumerated" backlight levels. "default" (eg 100%), "idle" (eg
50%), "sleep" (eg 0%), and then power management will set the backlight TO the
"default", "idle" or "sleep" states
3. idle timeout between default and idle

eg idle timeout could be 10 secs, and sleep be 5 mins (screensaver set to kick
in at 6mins to go completely blank).

> - acpi code for setting the backlight property (Is it useful nowadays ?)

yes. nvidia drivers dont support randr backlight for example. you have to go
direct to the backlight controls - well not just acpi /sys/... stuff. there's
several places you'll find backlight controls. use randr IF its there, if not,
find a /sys or /acpi backlight control and modify that.

> - a nice little box indicating the backlight level when it is changed 
> (edje kind of thing, related to themes).

steal all the code from mixer gadget - for its gadget and popup. thats what u
need there. :)

> - find a way to update backlight when modified by an other program 
> (xbacklight for instance).

for now i'd say use a poller like battery and temperature and make it poll by
default every 32ticks (4seconds). allow setting poll interval. should also GET
the backlight value first every time you try and modify it.

> what the code do for now is simple :
> 
> - we can set the backlight independently for each output.
> - dimming is activated and working.
> - increase and/or decrease the backlight intensity is implemented.
> 
> Mathieu
> 
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 09:52:19 -0300 Bruno Dilly  said:

> On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler 
> wrote:
> > On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  said:
> >
> >> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
> >> wrote:
> >> > just fyi:
> >> >
> >> > http://trac.enlightenment.org/e/wiki/Release
> >> >
> >> > i've knocked off another item (environment var config)... anyone lurking
> >> > with a desire to do things... please go attack an item on the list (put
> >> > your name there so we know u're doing it)... those with names there...
> >> > what's the status?
> >>
> >> I would be glad to help with connman module, but I require more
> >> information about what is desired before starting.
> >> Who made the description could elaborate a bit more about it ?
> >
> > aaah ok. well here's a list:
> >
> > 1. gui-wise knowing if a network is secured or not is not obvious (in the
> > selection list) - a little lock icon would be good. as opposed to colors.
> > sure
> > - needs some gfx work.
> > 2. also sorting by signal strength OR name is good and make sure it doesnt
> > update so often to make it hard to select a network (sometimes)
> > 3. signal strength in the gadget i've never seen updated and i've never see
> > the popup list of ap's show signal strength.
> > 3. no way to specifically disable connman on specific devices. eg "please
> > ignore eth1" or "ignore usb0" etc. there is the ability to do this in
> > connman - there's a gnome gui to fiddle with this, just nothing in e.
> > 4. no way to FORGET networks (delete them from your list) and even just list
> > remembered networks that you have
> > 5. no way to set up a static ip, gateway, dns and so on for specific
> > networks. only dhcp.
> > 6. no way to have a "network profile" - eg for eth0 be able to switch from
> > "home" to "work" (home is dhcp, work is static ip for example)
> > 7. nothing to set up http proxies for specific network configs (enviornment
> > variables if not some system config services/setups - i havent looked into
> > what these are that lets things like firefox auto change proxy setup etc.
> > without env var)
> > 8. no manual entry of an essid if its not broadcasting (for hidden networks)
> > 9. i'd love to see it be able to ping the gateway or some specific ip
> > address or host (global config and per-network config) so it can detect
> > when the network went down and try a re-connect or move to a new network
> > that does work.
> > 10. i'd love to see a nicer notification popup when it connects or
> > disconnects so you know it stopped working or is changing
> >
> > that's a "off the top of my head" list right now.
> 
> But it's a great start point. Thank you.
> If anybody else has some more ideas / complains, please drop here as well.

sure! :) dont get me wrong. the connman ui works right now.. just for very
simple/limited use. i know that it cant do EVERY esoteric thing people need or
want day 1, but.. it should cover most real life needs because people really
NEED their network and if they cant set it up in e.. they will go somewhere
else. :)

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Bruno Dilly
On Fri, May 13, 2011 at 9:56 AM, Carsten Haitzler  wrote:
> On Fri, 13 May 2011 09:52:19 -0300 Bruno Dilly  said:
>
>> On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler 
>> wrote:
>> > On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  
>> > said:
>> >
>> >> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
>> >> wrote:
>> >> > just fyi:
>> >> >
>> >> > http://trac.enlightenment.org/e/wiki/Release
>> >> >
>> >> > i've knocked off another item (environment var config)... anyone lurking
>> >> > with a desire to do things... please go attack an item on the list (put
>> >> > your name there so we know u're doing it)... those with names there...
>> >> > what's the status?
>> >>
>> >> I would be glad to help with connman module, but I require more
>> >> information about what is desired before starting.
>> >> Who made the description could elaborate a bit more about it ?
>> >
>> > aaah ok. well here's a list:
>> >
>> > 1. gui-wise knowing if a network is secured or not is not obvious (in the
>> > selection list) - a little lock icon would be good. as opposed to colors.
>> > sure
>> > - needs some gfx work.
>> > 2. also sorting by signal strength OR name is good and make sure it doesnt
>> > update so often to make it hard to select a network (sometimes)
>> > 3. signal strength in the gadget i've never seen updated and i've never see
>> > the popup list of ap's show signal strength.
>> > 3. no way to specifically disable connman on specific devices. eg "please
>> > ignore eth1" or "ignore usb0" etc. there is the ability to do this in
>> > connman - there's a gnome gui to fiddle with this, just nothing in e.
>> > 4. no way to FORGET networks (delete them from your list) and even just 
>> > list
>> > remembered networks that you have
>> > 5. no way to set up a static ip, gateway, dns and so on for specific
>> > networks. only dhcp.
>> > 6. no way to have a "network profile" - eg for eth0 be able to switch from
>> > "home" to "work" (home is dhcp, work is static ip for example)
>> > 7. nothing to set up http proxies for specific network configs (enviornment
>> > variables if not some system config services/setups - i havent looked into
>> > what these are that lets things like firefox auto change proxy setup etc.
>> > without env var)
>> > 8. no manual entry of an essid if its not broadcasting (for hidden 
>> > networks)
>> > 9. i'd love to see it be able to ping the gateway or some specific ip
>> > address or host (global config and per-network config) so it can detect
>> > when the network went down and try a re-connect or move to a new network
>> > that does work.
>> > 10. i'd love to see a nicer notification popup when it connects or
>> > disconnects so you know it stopped working or is changing
>> >
>> > that's a "off the top of my head" list right now.
>>
>> But it's a great start point. Thank you.
>> If anybody else has some more ideas / complains, please drop here as well.
>
> sure! :) dont get me wrong. the connman ui works right now.. just for very
> simple/limited use. i know that it cant do EVERY esoteric thing people need or
> want day 1, but.. it should cover most real life needs because people really
> NEED their network and if they cant set it up in e.. they will go somewhere
> else. :)

No, I'm not getting you wrong. Actually I was trying to say your "top
of my head" list was a great start point, but it probably sounded
ambiguous.
So I can improve our connman ui. That's the idea =)

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

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mathieu Taillefumier

> do we really need that?

I do not think so but others might want to have lower backlight when 
browsing etc... Personnaly I do not find that practical, but it is 
matter of taste.

>
>> - dialog box for setting the backlight extensions (maybe go as an
>> advanced setting of the screen dialog box).
>
> you can just have a new dialog box for this - thats easy enough - copy and
> paste a simple one from somewhere and modify as needed. as such i can only
> think of a few things config needs:
>
> 1. if there is no randr backlight, and there is more than 1 /sys or acpi
> backlight control, be able to choose which one to control.
> 2. set some "enumerated" backlight levels. "default" (eg 100%), "idle" (eg
> 50%), "sleep" (eg 0%), and then power management will set the backlight TO the
> "default", "idle" or "sleep" states
> 3. idle timeout between default and idle
>
> eg idle timeout could be 10 secs, and sleep be 5 mins (screensaver set to kick
> in at 6mins to go completely blank).

I will add the sleep mode. For now, I have default and idle modes. It is 
nothing to add.

>
>> - acpi code for setting the backlight property (Is it useful nowadays ?)
>
> yes. nvidia drivers dont support randr backlight for example. you have to go
> direct to the backlight controls - well not just acpi /sys/... stuff. there's
> several places you'll find backlight controls. use randr IF its there, if not,
> find a /sys or /acpi backlight control and modify that.

Thanks. I Forgot that nvidia is ways behind with the xrandr extension. 
The backlight controls for the nvidia driver are a real mess (they 
change the brightness not the actual backlight) and accessing the 
backlight registers needs a specific driver (that is not in the kernel 
by default). I will have to search for that.

>> - a nice little box indicating the backlight level when it is changed
>> (edje kind of thing, related to themes).
>
> steal all the code from mixer gadget - for its gadget and popup. thats what u
> need there. :)
>
>> - find a way to update backlight when modified by an other program
>> (xbacklight for instance).
>
> for now i'd say use a poller like battery and temperature and make it poll by
> default every 32ticks (4seconds). allow setting poll interval. should also GET
> the backlight value first every time you try and modify it.

It was more or lest my intention, i.e. I will use a timer and check that 
backlight property did not change outside e17. it is simple to do that. 
I will code that today if I have time.
>

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 15:32:04 +0200 Mathieu Taillefumier
 said:

> 
> > do we really need that?
> 
> I do not think so but others might want to have lower backlight when 
> browsing etc... Personnaly I do not find that practical, but it is 
> matter of taste.
> 
> >
> >> - dialog box for setting the backlight extensions (maybe go as an
> >> advanced setting of the screen dialog box).
> >
> > you can just have a new dialog box for this - thats easy enough - copy and
> > paste a simple one from somewhere and modify as needed. as such i can only
> > think of a few things config needs:
> >
> > 1. if there is no randr backlight, and there is more than 1 /sys or acpi
> > backlight control, be able to choose which one to control.
> > 2. set some "enumerated" backlight levels. "default" (eg 100%), "idle" (eg
> > 50%), "sleep" (eg 0%), and then power management will set the backlight TO
> > the "default", "idle" or "sleep" states
> > 3. idle timeout between default and idle
> >
> > eg idle timeout could be 10 secs, and sleep be 5 mins (screensaver set to
> > kick in at 6mins to go completely blank).
> 
> I will add the sleep mode. For now, I have default and idle modes. It is 
> nothing to add.
> 
> >
> >> - acpi code for setting the backlight property (Is it useful nowadays ?)
> >
> > yes. nvidia drivers dont support randr backlight for example. you have to go
> > direct to the backlight controls - well not just acpi /sys/... stuff.
> > there's several places you'll find backlight controls. use randr IF its
> > there, if not, find a /sys or /acpi backlight control and modify that.
> 
> Thanks. I Forgot that nvidia is ways behind with the xrandr extension. 
> The backlight controls for the nvidia driver are a real mess (they 
> change the brightness not the actual backlight) and accessing the 
> backlight registers needs a specific driver (that is not in the kernel 
> by default). I will have to search for that.

actually i see the backlight controls in:

/proc/acpi/video/NGFX/LCD/brightness
/proc/acpi/video/NGFX/CRT/brightness
/proc/acpi/video/NGFX/HDMI/brightness
/sys/devices/virtual/backlight/acpi_video0/brightness
/sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::radio/brightness
/sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::assoc/brightness
/sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::tx/brightness
/sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::rx/brightness
/sys/devices/pci:00/:00:1c.1/:03:00.0/leds/mmc0::/brightness
/sys/devices/pci:00/:00:1c.1/:03:00.4/leds/mmc1::/brightness

for example. some of these are led's for network and sd card slots, not the
screen.brightness controls also floating about in /proc

on another laptop with a radeon it's:
/proc/acpi/video/VGA/DFP1/brightness
/proc/acpi/video/VGA/TV/brightness
/proc/acpi/video/VGA/CRT/brightness
/proc/acpi/video/VGA/LCD/brightness

as well as more in /sys... pick the one thats used :) (probably LCD). i've
found others in other weird places. but whenever xrandr doesn't work - the
fallback is to go to /proc or /sys - also dont assume users will have the
latest and greatest of drivers and kernels so even if a newer driver does work,
an older may not, so need to go to /proc or /sys

> >> - a nice little box indicating the backlight level when it is changed
> >> (edje kind of thing, related to themes).
> >
> > steal all the code from mixer gadget - for its gadget and popup. thats what
> > u need there. :)
> >
> >> - find a way to update backlight when modified by an other program
> >> (xbacklight for instance).
> >
> > for now i'd say use a poller like battery and temperature and make it poll
> > by default every 32ticks (4seconds). allow setting poll interval. should
> > also GET the backlight value first every time you try and modify it.
> 
> It was more or lest my intention, i.e. I will use a timer and check that 
> backlight property did not change outside e17. it is simple to do that. 
> I will code that today if I have time.

use a poller, not timer. :) see other modules like above :)

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mathieu Taillefumier
Hi,

> actually i see the backlight controls in:
>
> /proc/acpi/video/NGFX/LCD/brightness
> /proc/acpi/video/NGFX/CRT/brightness
> /proc/acpi/video/NGFX/HDMI/brightness
> /sys/devices/virtual/backlight/acpi_video0/brightness
> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::radio/brightness
> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::assoc/brightness
> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::tx/brightness
> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::rx/brightness
> /sys/devices/pci:00/:00:1c.1/:03:00.0/leds/mmc0::/brightness
> /sys/devices/pci:00/:00:1c.1/:03:00.4/leds/mmc1::/brightness
>
> for example. some of these are led's for network and sd card slots, not the
> screen.brightness controls also floating about in /proc
>
> on another laptop with a radeon it's:
> /proc/acpi/video/VGA/DFP1/brightness
> /proc/acpi/video/VGA/TV/brightness
> /proc/acpi/video/VGA/CRT/brightness
> /proc/acpi/video/VGA/LCD/brightness
>
> as well as more in /sys... pick the one thats used :) (probably LCD). i've
> found others in other weird places. but whenever xrandr doesn't work - the
> fallback is to go to /proc or /sys - also dont assume users will have the
> latest and greatest of drivers and kernels so even if a newer driver does 
> work,
> an older may not, so need to go to /proc or /sys

Thanks ;). It is just that setting up backlight level on laptop with 
nvidia card does not necessary works with acpi methods. Lot of people 
have trouble with it (even me with my sony laptop on nvidia card) that 
is why is not as simple as it seems. Anyway, I agree that I should not 
assume that everyone will have the latest kernels+xorg+nvidia (amd) 
stack on their computer. For now, I want to finish the xrandr part and 
the dialog box and then I will tackle the acpi method.

 - a nice little box indicating the backlight level when it is changed
 (edje kind of thing, related to themes).
>>>
>>> steal all the code from mixer gadget - for its gadget and popup. thats what
>>> u need there. :)
>>>
 - find a way to update backlight when modified by an other program
 (xbacklight for instance).
>>>
>>> for now i'd say use a poller like battery and temperature and make it poll
>>> by default every 32ticks (4seconds). allow setting poll interval. should
>>> also GET the backlight value first every time you try and modify it.
>>
>> It was more or lest my intention, i.e. I will use a timer and check that
>> backlight property did not change outside e17. it is simple to do that.
>> I will code that today if I have time.
>
> use a poller, not timer. :) see other modules like above :)
>
Ok. I will check the battery modules to see how to use them.

Mathieu

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] evas_cache_image_size_set bug fix

2011-05-13 Thread 박지연


Hi~

I think there is some problem in evas_cache_image_size_set function.

In function , it create new evas_cache_image im2.
But it set original evas_cache_image im's reference to 1 and not set im2's 
reference.

There is problem below scenario.


1. object 1 file set 
-> it create Image entry 1 and object1->engine_data= image entry 1
-> image entry 1's rerences =1
2. object 2 file set same path and size with 1   
-> object1->engine_data= image entry 1
-> image entry 1's rerences =2
3. object 3 file set same path and size with 1   
-> object1->engine_data= image entry 1
-> image entry 1's rerences =3
4. object 3 call evas_object_image_size_set
->it calls evas_cache_image_size_set
->here it create new image entry 2.
-> but it change image entry 1's reference to 1
5. If object 2 deleted, image entry 1 also disappeared. (because 
_evas_cache_image_dirty_add(image entry 1) is called and ref is 1.
6. when object 1 is rendered, the image entry of object 1 is already free, so 
it make problem. 


So this patch solve these problem. 

But I have still question. 
Even though application calls evas_object_image_size_set related with object 3, 
it maybe must not evas_cache_image_size_set.
It make cache image 1 (which object 1 and object 2 reference) dirty. 
Thanks. 


evas_cache_image_size_set.patch
Description: Binary data
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] What about a 1.1?

2011-05-13 Thread Cedric BAIL
On Fri, May 13, 2011 at 11:29 AM, Carsten Haitzler  wrote:
> On Sun, 08 May 2011 14:41:47 +0300 Tom Hacohen
>  said:
>
> eina is pretty good to go - only thing thats up for debate is eina_object
> stuff.. i've been meaning to look at it but haven't gotten to it. but that's
> beside the point...
>
> current blocker is evas. for an evas 1.1 we need to make sure all new features
> are debugged and tested and working. everything in evas is.. EXCEPT:
>  1. masking (general clip anything to anything - not 100% tested and
> definitely buggy in many cases)
>  2. mesh maps (untested)
>  3. filters (not 100% tested and buggy in cases)
>
> proxy i think is doing ok. though we should add a few more tests to expedite
> methinks.
>
> the reason evas is a blocker is edje. ecore and many things on top now
> depend on new features in evas in trunk, so they cant go 1.1 until evas does.
>
> once the above new features in evas are sorted we can pump out 1.1's over a
> period of days or a week or 2. embryo doesn't need a 1.1 at this stage.

I have a bad news. I don't know how to solve it yet, but as epp now
produce result on one line, it means embryo_cc needs to handle huge
line fine or things break badly. So either I fix embryo, and we need
to do a 1.1 of embryo or we fix epp to produce multiple line macro. I
would prefer to just fix embryo, but if some one as an opinion before
I do that change, I would prefer to ear it soon :-)

For information, this is breaking calaos theme.
-- 
Cedric BAIL

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] bug in wlan E-MODULES-EXTRA/wlan

2011-05-13 Thread PaulTT
found a bug in there, willing to write a patch, where can i post it?
directly here on enlightenment-devel, or for modules should i write
somewhere else, or to someone else?


thanx

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] Announcement - Support for Evas to load XCF, XCF.GZ and PDF files

2011-05-13 Thread Gustavo Sverzut Barbieri
On Fri, May 13, 2011 at 2:50 PM, Wido  wrote:

> Excelent!!! but what is the first impact for non-developers users?
>

End Users = more image formats supported, like gimp (xcf) and pdf.

Proprietary Users = you can use Evas (declared BSD, really LGPL due Eina) in
your proprietary application and use GPL library loaders as they're out of
process, thus no license linkage problems.

General Users = safety, if any of these loaders crash or hung, the main
program/process will not crash.

Problems: this is not as fast as a native loader, so we'll not move every
(if any!) loader to be external.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] bug in wlan E-MODULES-EXTRA/wlan

2011-05-13 Thread Lucas De Marchi
Hi Paul

On Fri, May 13, 2011 at 3:21 PM, PaulTT  wrote:
> found a bug in there, willing to write a patch, where can i post it?
> directly here on enlightenment-devel, or for modules should i write
> somewhere else, or to someone else?


You can send to this mailing list and CC whoever wrote that module. A
quick "svn log" points out that it isn't updated for a long time
(except translations) and some fixups and also that you need to CC
Christopher Michael .


regards,
Lucas De Marchi

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mike Blumenkrantz
On Fri, 13 May 2011 17:41:29 +0200
Mathieu Taillefumier  wrote:

> Hi,
> 
> > actually i see the backlight controls in:
> >
> > /proc/acpi/video/NGFX/LCD/brightness
> > /proc/acpi/video/NGFX/CRT/brightness
> > /proc/acpi/video/NGFX/HDMI/brightness
> > /sys/devices/virtual/backlight/acpi_video0/brightness
> > /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::radio/brightness
> > /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::assoc/brightness
> > /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::tx/brightness
> > /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::rx/brightness
> > /sys/devices/pci:00/:00:1c.1/:03:00.0/leds/mmc0::/brightness
> > /sys/devices/pci:00/:00:1c.1/:03:00.4/leds/mmc1::/brightness
> >
> > for example. some of these are led's for network and sd card slots, not the
> > screen.brightness controls also floating about in /proc
> >
> > on another laptop with a radeon it's:
> > /proc/acpi/video/VGA/DFP1/brightness
> > /proc/acpi/video/VGA/TV/brightness
> > /proc/acpi/video/VGA/CRT/brightness
> > /proc/acpi/video/VGA/LCD/brightness
> >
> > as well as more in /sys... pick the one thats used :) (probably LCD). i've
> > found others in other weird places. but whenever xrandr doesn't work - the
> > fallback is to go to /proc or /sys - also dont assume users will have the
> > latest and greatest of drivers and kernels so even if a newer driver does
> > work, an older may not, so need to go to /proc or /sys
> 
> Thanks ;). It is just that setting up backlight level on laptop with 
> nvidia card does not necessary works with acpi methods. Lot of people 
> have trouble with it (even me with my sony laptop on nvidia card) that 
> is why is not as simple as it seems. Anyway, I agree that I should not 
> assume that everyone will have the latest kernels+xorg+nvidia (amd) 
> stack on their computer. For now, I want to finish the xrandr part and 
> the dialog box and then I will tackle the acpi method.
> 
>  - a nice little box indicating the backlight level when it is changed
>  (edje kind of thing, related to themes).
> >>>
> >>> steal all the code from mixer gadget - for its gadget and popup. thats
> >>> what u need there. :)
> >>>
>  - find a way to update backlight when modified by an other program
>  (xbacklight for instance).
> >>>
> >>> for now i'd say use a poller like battery and temperature and make it poll
> >>> by default every 32ticks (4seconds). allow setting poll interval. should
> >>> also GET the backlight value first every time you try and modify it.
> >>
> >> It was more or lest my intention, i.e. I will use a timer and check that
> >> backlight property did not change outside e17. it is simple to do that.
> >> I will code that today if I have time.
> >
> > use a poller, not timer. :) see other modules like above :)
> >
> Ok. I will check the battery modules to see how to use them.
> 
> Mathieu
> 
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
if it's in /sys/ use eeze.

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mike Blumenkrantz
On Fri, 13 May 2011 10:13:03 -0300
Bruno Dilly  wrote:

> On Fri, May 13, 2011 at 9:56 AM, Carsten Haitzler 
> wrote:
> > On Fri, 13 May 2011 09:52:19 -0300 Bruno Dilly  said:
> >
> >> On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler 
> >> wrote:
> >> > On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly 
> >> > said:
> >> >
> >> >> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
> >> >> wrote:
> >> >> > just fyi:
> >> >> >
> >> >> > http://trac.enlightenment.org/e/wiki/Release
> >> >> >
> >> >> > i've knocked off another item (environment var config)... anyone
> >> >> > lurking with a desire to do things... please go attack an item on the
> >> >> > list (put your name there so we know u're doing it)... those with
> >> >> > names there... what's the status?
> >> >>
> >> >> I would be glad to help with connman module, but I require more
> >> >> information about what is desired before starting.
> >> >> Who made the description could elaborate a bit more about it ?
> >> >
> >> > aaah ok. well here's a list:
> >> >
> >> > 1. gui-wise knowing if a network is secured or not is not obvious (in the
> >> > selection list) - a little lock icon would be good. as opposed to colors.
> >> > sure
> >> > - needs some gfx work.
> >> > 2. also sorting by signal strength OR name is good and make sure it
> >> > doesnt update so often to make it hard to select a network (sometimes)
> >> > 3. signal strength in the gadget i've never seen updated and i've never
> >> > see the popup list of ap's show signal strength.
> >> > 3. no way to specifically disable connman on specific devices. eg "please
> >> > ignore eth1" or "ignore usb0" etc. there is the ability to do this in
> >> > connman - there's a gnome gui to fiddle with this, just nothing in e.
> >> > 4. no way to FORGET networks (delete them from your list) and even just
> >> > list remembered networks that you have
> >> > 5. no way to set up a static ip, gateway, dns and so on for specific
> >> > networks. only dhcp.
> >> > 6. no way to have a "network profile" - eg for eth0 be able to switch
> >> > from "home" to "work" (home is dhcp, work is static ip for example)
> >> > 7. nothing to set up http proxies for specific network configs
> >> > (enviornment variables if not some system config services/setups - i
> >> > havent looked into what these are that lets things like firefox auto
> >> > change proxy setup etc. without env var)
> >> > 8. no manual entry of an essid if its not broadcasting (for hidden
> >> > networks) 9. i'd love to see it be able to ping the gateway or some
> >> > specific ip address or host (global config and per-network config) so it
> >> > can detect when the network went down and try a re-connect or move to a
> >> > new network that does work.
> >> > 10. i'd love to see a nicer notification popup when it connects or
> >> > disconnects so you know it stopped working or is changing
> >> >
> >> > that's a "off the top of my head" list right now.
> >>
> >> But it's a great start point. Thank you.
> >> If anybody else has some more ideas / complains, please drop here as well.
> >
> > sure! :) dont get me wrong. the connman ui works right now.. just for very
> > simple/limited use. i know that it cant do EVERY esoteric thing people need
> > or want day 1, but.. it should cover most real life needs because people
> > really NEED their network and if they cant set it up in e.. they will go
> > somewhere else. :)
> 
> No, I'm not getting you wrong. Actually I was trying to say your "top
> of my head" list was a great start point, but it probably sounded
> ambiguous.
> So I can improve our connman ui. That's the idea =)
> 
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >
> >
> 
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
I would like support for the other network encryption types in the ui :)

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge

Re: [E-devel] e17 todo

2011-05-13 Thread Vincent Torri


On Fri, 13 May 2011, Mike Blumenkrantz wrote:

> On Fri, 13 May 2011 17:41:29 +0200
> Mathieu Taillefumier  wrote:
>
>> Hi,
>>
>>> actually i see the backlight controls in:
>>>
>>> /proc/acpi/video/NGFX/LCD/brightness
>>> /proc/acpi/video/NGFX/CRT/brightness
>>> /proc/acpi/video/NGFX/HDMI/brightness
>>> /sys/devices/virtual/backlight/acpi_video0/brightness
>>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::radio/brightness
>>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::assoc/brightness
>>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::tx/brightness
>>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::rx/brightness
>>> /sys/devices/pci:00/:00:1c.1/:03:00.0/leds/mmc0::/brightness
>>> /sys/devices/pci:00/:00:1c.1/:03:00.4/leds/mmc1::/brightness
>>>
>>> for example. some of these are led's for network and sd card slots, not the
>>> screen.brightness controls also floating about in /proc
>>>
>>> on another laptop with a radeon it's:
>>> /proc/acpi/video/VGA/DFP1/brightness
>>> /proc/acpi/video/VGA/TV/brightness
>>> /proc/acpi/video/VGA/CRT/brightness
>>> /proc/acpi/video/VGA/LCD/brightness
>>>
>>> as well as more in /sys... pick the one thats used :) (probably LCD). i've
>>> found others in other weird places. but whenever xrandr doesn't work - the
>>> fallback is to go to /proc or /sys - also dont assume users will have the
>>> latest and greatest of drivers and kernels so even if a newer driver does
>>> work, an older may not, so need to go to /proc or /sys
>>
>> Thanks ;). It is just that setting up backlight level on laptop with
>> nvidia card does not necessary works with acpi methods. Lot of people
>> have trouble with it (even me with my sony laptop on nvidia card) that
>> is why is not as simple as it seems. Anyway, I agree that I should not
>> assume that everyone will have the latest kernels+xorg+nvidia (amd)
>> stack on their computer. For now, I want to finish the xrandr part and
>> the dialog box and then I will tackle the acpi method.
>>
>> - a nice little box indicating the backlight level when it is changed
>> (edje kind of thing, related to themes).
>
> steal all the code from mixer gadget - for its gadget and popup. thats
> what u need there. :)
>
>> - find a way to update backlight when modified by an other program
>> (xbacklight for instance).
>
> for now i'd say use a poller like battery and temperature and make it poll
> by default every 32ticks (4seconds). allow setting poll interval. should
> also GET the backlight value first every time you try and modify it.

 It was more or lest my intention, i.e. I will use a timer and check that
 backlight property did not change outside e17. it is simple to do that.
 I will code that today if I have time.
>>>
>>> use a poller, not timer. :) see other modules like above :)
>>>
>> Ok. I will check the battery modules to see how to use them.
>>
>> Mathieu
>>
>> --
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> if it's in /sys/ use eeze.

eeze is linux only. There are other Unix OS out there that are running e17 
and its modules

Vincent

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mike Blumenkrantz
On Fri, 13 May 2011 21:00:20 +0900
Carsten Haitzler (The Rasterman)  wrote:

> just fyi:
> 
> http://trac.enlightenment.org/e/wiki/Release
> 
> i've knocked off another item (environment var config)... anyone lurking with
> a desire to do things... please go attack an item on the list (put your name
> there so we know u're doing it)... those with names there... what's the
> status?
> 
umm eeze mount backend has been started, I guess I can do an hour of
coding today and finish it...

I'll get back to you.

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Mike Blumenkrantz
On Fri, 13 May 2011 22:23:57 +0200 (CEST)
Vincent Torri  wrote:

> 
> 
> On Fri, 13 May 2011, Mike Blumenkrantz wrote:
> 
> > On Fri, 13 May 2011 17:41:29 +0200
> > Mathieu Taillefumier  wrote:
> >
> >> Hi,
> >>
> >>> actually i see the backlight controls in:
> >>>
> >>> /proc/acpi/video/NGFX/LCD/brightness
> >>> /proc/acpi/video/NGFX/CRT/brightness
> >>> /proc/acpi/video/NGFX/HDMI/brightness
> >>> /sys/devices/virtual/backlight/acpi_video0/brightness
> >>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::radio/brightness
> >>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::assoc/brightness
> >>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::tx/brightness
> >>> /sys/devices/pci:00/:00:1c.0/:02:00.0/leds/ath9k-phy0::rx/brightness
> >>> /sys/devices/pci:00/:00:1c.1/:03:00.0/leds/mmc0::/brightness
> >>> /sys/devices/pci:00/:00:1c.1/:03:00.4/leds/mmc1::/brightness
> >>>
> >>> for example. some of these are led's for network and sd card slots, not
> >>> the screen.brightness controls also floating about in /proc
> >>>
> >>> on another laptop with a radeon it's:
> >>> /proc/acpi/video/VGA/DFP1/brightness
> >>> /proc/acpi/video/VGA/TV/brightness
> >>> /proc/acpi/video/VGA/CRT/brightness
> >>> /proc/acpi/video/VGA/LCD/brightness
> >>>
> >>> as well as more in /sys... pick the one thats used :) (probably LCD). i've
> >>> found others in other weird places. but whenever xrandr doesn't work - the
> >>> fallback is to go to /proc or /sys - also dont assume users will have the
> >>> latest and greatest of drivers and kernels so even if a newer driver does
> >>> work, an older may not, so need to go to /proc or /sys
> >>
> >> Thanks ;). It is just that setting up backlight level on laptop with
> >> nvidia card does not necessary works with acpi methods. Lot of people
> >> have trouble with it (even me with my sony laptop on nvidia card) that
> >> is why is not as simple as it seems. Anyway, I agree that I should not
> >> assume that everyone will have the latest kernels+xorg+nvidia (amd)
> >> stack on their computer. For now, I want to finish the xrandr part and
> >> the dialog box and then I will tackle the acpi method.
> >>
> >> - a nice little box indicating the backlight level when it is changed
> >> (edje kind of thing, related to themes).
> >
> > steal all the code from mixer gadget - for its gadget and popup. thats
> > what u need there. :)
> >
> >> - find a way to update backlight when modified by an other program
> >> (xbacklight for instance).
> >
> > for now i'd say use a poller like battery and temperature and make it
> > poll by default every 32ticks (4seconds). allow setting poll interval.
> > should also GET the backlight value first every time you try and modify
> > it.
> 
>  It was more or lest my intention, i.e. I will use a timer and check that
>  backlight property did not change outside e17. it is simple to do that.
>  I will code that today if I have time.
> >>>
> >>> use a poller, not timer. :) see other modules like above :)
> >>>
> >> Ok. I will check the battery modules to see how to use them.
> >>
> >> Mathieu
> >>
> >> --
> >> Achieve unprecedented app performance and reliability
> >> What every C/C++ and Fortran developer should know.
> >> Learn how Intel has extended the reach of its next-generation tools
> >> to help boost performance applications - inlcuding clusters.
> >> http://p.sf.net/sfu/intel-dev2devmay
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > if it's in /sys/ use eeze.
> 
> eeze is linux only. There are other Unix OS out there that are running e17 
> and its modules
> 
> Vincent
true, but for linux support it should be using eeze to ensure that it gets the
correct path and supports all possible controls.

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Gustavo Sverzut Barbieri
On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler  wrote:
> On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  said:
>
>> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
>> wrote:
>> > just fyi:
>> >
>> > http://trac.enlightenment.org/e/wiki/Release
>> >
>> > i've knocked off another item (environment var config)... anyone lurking
>> > with a desire to do things... please go attack an item on the list (put
>> > your name there so we know u're doing it)... those with names there...
>> > what's the status?
>>
>> I would be glad to help with connman module, but I require more
>> information about what is desired before starting.
>> Who made the description could elaborate a bit more about it ?
>
> aaah ok. well here's a list:
>
> 1. gui-wise knowing if a network is secured or not is not obvious (in the
> selection list) - a little lock icon would be good. as opposed to colors. sure
> - needs some gfx work.

It should be all about theme AFAIR. A signal "e,security,%s" "e" is
sent to edje. %s is replaced with none, wep, psk, ieee8021x, wps, wpa
or rsn.


> 2. also sorting by signal strength OR name is good and make sure it doesnt
> update so often to make it hard to select a network (sometimes)

No, the list is ordered by connman by its algorithm. We should not
sort it. If there is something strange, we can see if we're not
messing the list in the middle, but it should be already sorted by
connman's priority list.

We could allow reordering to change the priority in connmand with
MoveAfter and MoveBefore.


> 3. signal strength in the gadget i've never seen updated and i've never see
> the popup list of ap's show signal strength.

someone reported it as well, Lucas De Marchi said he'd take a look.


> 3. no way to specifically disable connman on specific devices. eg "please
> ignore eth1" or "ignore usb0" etc. there is the ability to do this in connman 
> -
> there's a gnome gui to fiddle with this, just nothing in e.

There is no per-device, but per-technology. It's there in Controls >
Network Switches.


> 4. no way to FORGET networks (delete them from your list) and even just list
> remembered networks that you have

ack.


> 5. no way to set up a static ip, gateway, dns and so on for specific networks.
> only dhcp.

ack. Just note that you have 2 sets of properties in connman's service
object, those suffixed with ".Configuration" is the one you should
write to. So Nameservers.Configuration is your desired configuration
while Nameservers is the effective value in use.


> 6. no way to have a "network profile" - eg for eth0 be able to switch from
> "home" to "work" (home is dhcp, work is static ip for example)

profiles are going away from connman.


> 7. nothing to set up http proxies for specific network configs (enviornment
> variables if not some system config services/setups - i havent looked into
> what these are that lets things like firefox auto change proxy setup etc.
> without env var)

I did not look into connman's latest proxy stuff, but should be
doable. however they were working on PAC (Proxy Auto Configuration)
and this should reduce the need for auto-configuration.

I'm not aware on how they implemented it, but if I was the one to
implement, I'd do HTTP proxy transparently in the system by using
iptables to redirect outgoing stream on port 80 to proxy.

Anyway, the biggest problem is that, as expected, proxy is a complex
matter and the UI will not be simple. The "auto" case is handled
without effort (using dhcp/wpad), but the other requires the
management of a list of URI and list of excludes.


> 8. no manual entry of an essid if its not broadcasting (for hidden networks)

ack. But good we did not have that before, the API changed dozen of
times before settling :-)


> 9. i'd love to see it be able to ping the gateway or some specific ip address
> or host (global config and per-network config) so it can detect when the
> network went down and try a re-connect or move to a new network that does 
> work.

connmand should do this, try to access some page and if not the
expected outcome, take this as a "open network that requires
authentication". iPhone/iPad does this, Marcel said he'd like this in
Connman as well. If it's done I'm not sure, but it's in the daemon and
not in the interface.

That's the reason connman now have a "ready" state as well as
"online". There are also some properties like LoginRequired and
SetupRequired to see if additional work must be done.

> 10. i'd love to see a nicer notification popup when it connects or disconnects
> so you know it stopped working or is changing

Please, for do it in notification module so we can unify these kind of
stuff. I planned to add this support to enjoy and other things as
well.  E17 already does this with offline/presentation modes. For
these I used E_EVENT_CONFIG_MODE_CHANGED signal that is listened by
E-MODULES-EXTRA/notification, we could add another signal and listen
it there.

Ideally we'd use e_dbus/notification, but then we'd talk 

Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 15:20:28 -0400 Mike Blumenkrantz  said:

> I would like support for the other network encryption types in the ui :)

don't they all just rely on a password? (well a key) for the encryption. just a
question of possible size of password and how it's implemented? unless you mean
support for getting "password" FROM something imaginative like a fingerprint
scanner or face recognition etc?

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] Announcement - Support for Evas to load XCF, XCF.GZ and PDF files

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 15:47:20 -0300 Gustavo Sverzut Barbieri
 said:

> On Fri, May 13, 2011 at 2:50 PM, Wido  wrote:
> 
> > Excelent!!! but what is the first impact for non-developers users?
> >
> 
> End Users = more image formats supported, like gimp (xcf) and pdf.
> 
> Proprietary Users = you can use Evas (declared BSD, really LGPL due Eina) in
> your proprietary application and use GPL library loaders as they're out of
> process, thus no license linkage problems.

well not really. evas doesn't become lgpl because it links to an lgpl lib :)
but the point is still right - apps are unaffected by license of external
generic loaders, so we can expand the # of formats evas can load in the "gpl"
direction AND in the "it's complex and/or unstable" direction (html,
ppt/doc/xls etc. loaders and so on). it basically makes it all possible (but as
you noted - there is a cost).

> General Users = safety, if any of these loaders crash or hung, the main
> program/process will not crash.

actually... hanging can be a problem as evas opens a pipe and waits on blocking
input. it has no timeout, so if it hangs, evas using process will too. you can
just kill the external loader process pid and the app will unhang (and then
load fails) - so its recoverable, and probably a sign to uninstall that
specific external loader and file a bug. :)

> Problems: this is not as fast as a native loader, so we'll not move every
> (if any!) loader to be external.

yeah. that's its major Achilles heel. it has a speed and overhead penalty.

> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 20:04:51 +0200 Sven Luther  said:

> On Fri, May 13, 2011 at 09:56:45PM +0900, Carsten Haitzler wrote:
> > sure! :) dont get me wrong. the connman ui works right now.. just for very
> > simple/limited use. i know that it cant do EVERY esoteric thing people need
> > or want day 1, but.. it should cover most real life needs because people
> > really NEED their network and if they cant set it up in e.. they will go
> > somewhere else. :)
> 
> Just a quick thought about GUIs and network configuration. 
> 
> One thing i hate with the gnome network configuration GUI, at least the
> version installed on my desktop system, is that it will wait until you bring
> up the GUI before configuring the network, and i don't know how connman works.
> 
> This means that if for some reason you are stuck in the console, you have no
> running network.
> 
> So, if it is not already the case, i think it would be quite nice to have a
> network configuration tool which acts as front end to a tool which can run in
> the background, and configures the network, independently of if the GUI is
> running or not.
> 
> A bit like the quark audio player used to work ...

that's a bit out of scope for e17's todo and more a question for the connman
developers. (which is all that the e17 connman module is a front end to). sure
- we could write command-line clients too, but it's a distraction to getting
*E17* out.


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread The Rasterman
On Fri, 13 May 2011 18:16:58 -0300 Gustavo Sverzut Barbieri
 said:

> On Fri, May 13, 2011 at 9:44 AM, Carsten Haitzler 
> wrote:
> > On Fri, 13 May 2011 09:18:50 -0300 Bruno Dilly  said:
> >
> >> On Fri, May 13, 2011 at 9:00 AM, Carsten Haitzler 
> >> wrote:
> >> > just fyi:
> >> >
> >> > http://trac.enlightenment.org/e/wiki/Release
> >> >
> >> > i've knocked off another item (environment var config)... anyone lurking
> >> > with a desire to do things... please go attack an item on the list (put
> >> > your name there so we know u're doing it)... those with names there...
> >> > what's the status?
> >>
> >> I would be glad to help with connman module, but I require more
> >> information about what is desired before starting.
> >> Who made the description could elaborate a bit more about it ?
> >
> > aaah ok. well here's a list:
> >
> > 1. gui-wise knowing if a network is secured or not is not obvious (in the
> > selection list) - a little lock icon would be good. as opposed to colors.
> > sure
> > - needs some gfx work.
> 
> It should be all about theme AFAIR. A signal "e,security,%s" "e" is
> sent to edje. %s is replaced with none, wep, psk, ieee8021x, wps, wpa
> or rsn.

yes. just the default theme should display it a bit more prominently (easy to
figure out which one it is) than colors - eg a little padlock for wep, 2
padlocks for wpa, etc.

> > 2. also sorting by signal strength OR name is good and make sure it doesnt
> > update so often to make it hard to select a network (sometimes)
> 
> No, the list is ordered by connman by its algorithm. We should not
> sort it. If there is something strange, we can see if we're not
> messing the list in the middle, but it should be already sorted by
> connman's priority list.

well right now i don't see any logic in the sorting as it doesn't display
signal strength of each ap etc. :)

> We could allow reordering to change the priority in connmand with
> MoveAfter and MoveBefore.
> 
> 
> > 3. signal strength in the gadget i've never seen updated and i've never see
> > the popup list of ap's show signal strength.
> 
> someone reported it as well, Lucas De Marchi said he'd take a look.
> 
> 
> > 3. no way to specifically disable connman on specific devices. eg "please
> > ignore eth1" or "ignore usb0" etc. there is the ability to do this in
> > connman - there's a gnome gui to fiddle with this, just nothing in e.
> 
> There is no per-device, but per-technology. It's there in Controls >
> Network Switches.

so connman can't disable a specific device? thats rather poopie. eg have 2
ethernet cards and i want just 1 controlled by connman, other left to "i'm
doing work on that one and configure that one by hand".

> > 4. no way to FORGET networks (delete them from your list) and even just list
> > remembered networks that you have
> 
> ack.
> 
> 
> > 5. no way to set up a static ip, gateway, dns and so on for specific
> > networks. only dhcp.
> 
> ack. Just note that you have 2 sets of properties in connman's service
> object, those suffixed with ".Configuration" is the one you should
> write to. So Nameservers.Configuration is your desired configuration
> while Nameservers is the effective value in use.
> 
> 
> > 6. no way to have a "network profile" - eg for eth0 be able to switch from
> > "home" to "work" (home is dhcp, work is static ip for example)
> 
> profiles are going away from connman.

and what will replace them? if it's going away from connman it smells like the
gui itself has to implement it by storing them itself an feeding them to
connman when requested by the user.

> > 7. nothing to set up http proxies for specific network configs (enviornment
> > variables if not some system config services/setups - i havent looked into
> > what these are that lets things like firefox auto change proxy setup etc.
> > without env var)
> 
> I did not look into connman's latest proxy stuff, but should be
> doable. however they were working on PAC (Proxy Auto Configuration)
> and this should reduce the need for auto-configuration.

that's good - but it's still a need :)

> I'm not aware on how they implemented it, but if I was the one to
> implement, I'd do HTTP proxy transparently in the system by using
> iptables to redirect outgoing stream on port 80 to proxy.

don't tell me. you would then be sensible and know what you are doing.
unfortunately there are massive IT departments around with significantly less
clue than you. and you are just a mere "programmer". :)

> Anyway, the biggest problem is that, as expected, proxy is a complex
> matter and the UI will not be simple. The "auto" case is handled
> without effort (using dhcp/wpad), but the other requires the
> management of a list of URI and list of excludes.

hnmm i wasn't thinking going to THAT much of an extent. auto proxy config is
great - in some cases you will need to specify the pac location with a url for
that network, in others you may just set up http and https proxy if you are
that far, i don't think we need

Re: [E-devel] E SVN: bdilly IN trunk/GAMES: . ninestime ninestime/data ninestime/data/sound ninestime/data/theme ninestime/data/theme/fonts ninestime/data/theme/images ninestime/data/xcf

2011-05-13 Thread Daniel Juyung Seo
Very interesting :) But I need more practice. I didn't survive until 9th day.

anyway, it's good to have a new game.

Thanks.
Daniel Juyung Seo (SeoZ)

On Fri, May 13, 2011 at 10:44 AM, Enlightenment SVN
 wrote:
> Log:
> Ninestime: Import python game
>
>  Simple game developed for pyweek challenge.
>
>
>
> Author:       bdilly
> Date:         2011-05-12 18:44:38 -0700 (Thu, 12 May 2011)
> New Revision: 59356
> Trac:         http://trac.enlightenment.org/e/changeset/59356
>
> Added:
>  trunk/GAMES/ninestime/ trunk/GAMES/ninestime/ARTISTS 
> trunk/GAMES/ninestime/AUTHORS trunk/GAMES/ninestime/COPYING 
> trunk/GAMES/ninestime/LICENSE_FONT trunk/GAMES/ninestime/MUSIC_LICENSE 
> trunk/GAMES/ninestime/README trunk/GAMES/ninestime/SOUND_LICENSE 
> trunk/GAMES/ninestime/TODO trunk/GAMES/ninestime/build_theme.sh 
> trunk/GAMES/ninestime/data/ trunk/GAMES/ninestime/data/sound/ 
> trunk/GAMES/ninestime/data/sound/111872__candlegravity__tweak_scratch_2.wav 
> trunk/GAMES/ninestime/data/sound/111873__candlegravity__tweat_down_1.wav 
> trunk/GAMES/ninestime/data/sound/111877__candlegravity__zipper_1.wav 
> trunk/GAMES/ninestime/data/sound/Strong_Punch-Mike_Koenig-574430706.wav 
> trunk/GAMES/ninestime/data/sound/annabloom_-_Percussion_Loops_1a_(5_4).mp3 
> trunk/GAMES/ninestime/data/sound/flanicx_-_2_dias_(synth_wave_gap_solo).mp3 
> trunk/GAMES/ninestime/data/theme/ 
> trunk/GAMES/ninestime/data/theme/default.edc 
> trunk/GAMES/ninestime/data/theme/fonts/ 
> trunk/GAMES/ninestime/data/theme/fonts/LinLibertine_Bd-4.1.5.ttf 
> trunk/GAMES/ninestime/data/theme/game.edc 
> trunk/GAMES/ninestime/data/theme/images/ 
> trunk/GAMES/ninestime/data/theme/images/0.png 
> trunk/GAMES/ninestime/data/theme/images/1.png 
> trunk/GAMES/ninestime/data/theme/images/2.png 
> trunk/GAMES/ninestime/data/theme/images/3.png 
> trunk/GAMES/ninestime/data/theme/images/4.png 
> trunk/GAMES/ninestime/data/theme/images/5.png 
> trunk/GAMES/ninestime/data/theme/images/6.png 
> trunk/GAMES/ninestime/data/theme/images/7.png 
> trunk/GAMES/ninestime/data/theme/images/8.png 
> trunk/GAMES/ninestime/data/theme/images/9.png 
> trunk/GAMES/ninestime/data/theme/images/9cloud.png 
> trunk/GAMES/ninestime/data/theme/images/background.png 
> trunk/GAMES/ninestime/data/theme/images/button.png 
> trunk/GAMES/ninestime/data/theme/images/clo.png 
> trunk/GAMES/ninestime/data/theme/images/intro1.png 
> trunk/GAMES/ninestime/data/theme/images/intro2.png 
> trunk/GAMES/ninestime/data/theme/images/intro3.png 
> trunk/GAMES/ninestime/data/theme/images/minus_bt.png 
> trunk/GAMES/ninestime/data/theme/images/minus_full.png 
> trunk/GAMES/ninestime/data/theme/images/over_bt.png 
> trunk/GAMES/ninestime/data/theme/images/over_full.png 
> trunk/GAMES/ninestime/data/theme/images/plus_bt.png 
> trunk/GAMES/ninestime/data/theme/images/plus_full.png 
> trunk/GAMES/ninestime/data/theme/images/sky0.png 
> trunk/GAMES/ninestime/data/theme/images/sky1.png 
> trunk/GAMES/ninestime/data/theme/images/sky2.png 
> trunk/GAMES/ninestime/data/theme/images/splash.png 
> trunk/GAMES/ninestime/data/theme/images/times_bt.png 
> trunk/GAMES/ninestime/data/theme/images/times_full.png 
> trunk/GAMES/ninestime/data/theme/images/top-bar.png 
> trunk/GAMES/ninestime/data/theme/images/win.png 
> trunk/GAMES/ninestime/data/theme/instructions.edc 
> trunk/GAMES/ninestime/data/theme/menu.edc 
> trunk/GAMES/ninestime/data/theme/win.edc trunk/GAMES/ninestime/data/xcf/ 
> trunk/GAMES/ninestime/data/xcf/0.xcf trunk/GAMES/ninestime/data/xcf/1.xcf 
> trunk/GAMES/ninestime/data/xcf/2.xcf trunk/GAMES/ninestime/data/xcf/3.xcf 
> trunk/GAMES/ninestime/data/xcf/4.xcf trunk/GAMES/ninestime/data/xcf/5.xcf 
> trunk/GAMES/ninestime/data/xcf/6.xcf trunk/GAMES/ninestime/data/xcf/7.xcf 
> trunk/GAMES/ninestime/data/xcf/8.xcf trunk/GAMES/ninestime/data/xcf/9.xcf 
> trunk/GAMES/ninestime/data/xcf/9_bad.xcf 
> trunk/GAMES/ninestime/data/xcf/9cloud.xcf 
> trunk/GAMES/ninestime/data/xcf/background.xcf 
> trunk/GAMES/ninestime/data/xcf/intro1.xcf 
> trunk/GAMES/ninestime/data/xcf/intro2.xcf 
> trunk/GAMES/ninestime/data/xcf/intro3.xcf 
> trunk/GAMES/ninestime/data/xcf/splash.xcf 
> trunk/GAMES/ninestime/data/xcf/win.xcf trunk/GAMES/ninestime/ninestime
>
>
> Property changes on: trunk/GAMES/ninestime/build_theme.sh
> ___
> Added: svn:executable
>   + *
>
>
> Property changes on: 
> trunk/GAMES/ninestime/data/sound/111872__candlegravity__tweak_scratch_2.wav
> ___
> Added: svn:mime-type
>   + application/octet-stream
>
>
> Property changes on: 
> trunk/GAMES/ninestime/data/sound/111873__candlegravity__tweat_down_1.wav
> ___
> Added: svn:mime-type
>   + application/octet-stream
>
>
> Property changes on: 
> trunk/GAMES/ninestime/data/sound/111877__candlegravity__zipper_1.wav
> ___

Re: [E-devel] E SVN: bdilly IN trunk/GAMES: . ninestime ninestime/data ninestime/data/sound ninestime/data/theme ninestime/data/theme/fonts ninestime/data/theme/images ninestime/data/xcf

2011-05-13 Thread Bruno Dilly
On Fri, May 13, 2011 at 10:46 PM, Daniel Juyung Seo
 wrote:
> Very interesting :) But I need more practice. I didn't survive until 9th day.
>
> anyway, it's good to have a new game.

Cool, Daniel!
I'm really glad to hear that.

Best regards.

>
> Thanks.
> Daniel Juyung Seo (SeoZ)
>
> On Fri, May 13, 2011 at 10:44 AM, Enlightenment SVN
>  wrote:
>> Log:
>> Ninestime: Import python game
>>
>>  Simple game developed for pyweek challenge.
>>
>>
>>
>> Author:       bdilly
>> Date:         2011-05-12 18:44:38 -0700 (Thu, 12 May 2011)
>> New Revision: 59356
>> Trac:         http://trac.enlightenment.org/e/changeset/59356
>>
>> Added:
>>  trunk/GAMES/ninestime/ trunk/GAMES/ninestime/ARTISTS 
>> trunk/GAMES/ninestime/AUTHORS trunk/GAMES/ninestime/COPYING 
>> trunk/GAMES/ninestime/LICENSE_FONT trunk/GAMES/ninestime/MUSIC_LICENSE 
>> trunk/GAMES/ninestime/README trunk/GAMES/ninestime/SOUND_LICENSE 
>> trunk/GAMES/ninestime/TODO trunk/GAMES/ninestime/build_theme.sh 
>> trunk/GAMES/ninestime/data/ trunk/GAMES/ninestime/data/sound/ 
>> trunk/GAMES/ninestime/data/sound/111872__candlegravity__tweak_scratch_2.wav 
>> trunk/GAMES/ninestime/data/sound/111873__candlegravity__tweat_down_1.wav 
>> trunk/GAMES/ninestime/data/sound/111877__candlegravity__zipper_1.wav 
>> trunk/GAMES/ninestime/data/sound/Strong_Punch-Mike_Koenig-574430706.wav 
>> trunk/GAMES/ninestime/data/sound/annabloom_-_Percussion_Loops_1a_(5_4).mp3 
>> trunk/GAMES/ninestime/data/sound/flanicx_-_2_dias_(synth_wave_gap_solo).mp3 
>> trunk/GAMES/ninestime/data/theme/ 
>> trunk/GAMES/ninestime/data/theme/default.edc 
>> trunk/GAMES/ninestime/data/theme/fonts/ 
>> trunk/GAMES/ninestime/data/theme/fonts/LinLibertine_Bd-4.1.5.ttf 
>> trunk/GAMES/ninestime/data/theme/game.edc 
>> trunk/GAMES/ninestime/data/theme/images/ 
>> trunk/GAMES/ninestime/data/theme/images/0.png 
>> trunk/GAMES/ninestime/data/theme/images/1.png 
>> trunk/GAMES/ninestime/data/theme/images/2.png 
>> trunk/GAMES/ninestime/data/theme/images/3.png 
>> trunk/GAMES/ninestime/data/theme/images/4.png 
>> trunk/GAMES/ninestime/data/theme/images/5.png 
>> trunk/GAMES/ninestime/data/theme/images/6.png 
>> trunk/GAMES/ninestime/data/theme/images/7.png 
>> trunk/GAMES/ninestime/data/theme/images/8.png 
>> trunk/GAMES/ninestime/data/theme/images/9.png 
>> trunk/GAMES/ninestime/data/theme/images/9cloud.png 
>> trunk/GAMES/ninestime/data/theme/images/background.png 
>> trunk/GAMES/ninestime/data/theme/images/button.png 
>> trunk/GAMES/ninestime/data/theme/images/clo.png 
>> trunk/GAMES/ninestime/data/theme/images/intro1.png 
>> trunk/GAMES/ninestime/data/theme/images/intro2.png 
>> trunk/GAMES/ninestime/data/theme/images/intro3.png 
>> trunk/GAMES/ninestime/data/theme/images/minus_bt.png 
>> trunk/GAMES/ninestime/data/theme/images/minus_full.png 
>> trunk/GAMES/ninestime/data/theme/images/over_bt.png 
>> trunk/GAMES/ninestime/data/theme/images/over_full.png 
>> trunk/GAMES/ninestime/data/theme/images/plus_bt.png 
>> trunk/GAMES/ninestime/data/theme/images/plus_full.png 
>> trunk/GAMES/ninestime/data/theme/images/sky0.png 
>> trunk/GAMES/ninestime/data/theme/images/sky1.png 
>> trunk/GAMES/ninestime/data/theme/images/sky2.png 
>> trunk/GAMES/ninestime/data/theme/images/splash.png 
>> trunk/GAMES/ninestime/data/theme/images/times_bt.png 
>> trunk/GAMES/ninestime/data/theme/images/times_full.png 
>> trunk/GAMES/ninestime/data/theme/images/top-bar.png 
>> trunk/GAMES/ninestime/data/theme/images/win.png 
>> trunk/GAMES/ninestime/data/theme/instructions.edc 
>> trunk/GAMES/ninestime/data/theme/menu.edc 
>> trunk/GAMES/ninestime/data/theme/win.edc trunk/GAMES/ninestime/data/xcf/ 
>> trunk/GAMES/ninestime/data/xcf/0.xcf trunk/GAMES/ninestime/data/xcf/1.xcf 
>> trunk/GAMES/ninestime/data/xcf/2.xcf trunk/GAMES/ninestime/data/xcf/3.xcf 
>> trunk/GAMES/ninestime/data/xcf/4.xcf trunk/GAMES/ninestime/data/xcf/5.xcf 
>> trunk/GAMES/ninestime/data/xcf/6.xcf trunk/GAMES/ninestime/data/xcf/7.xcf 
>> trunk/GAMES/ninestime/data/xcf/8.xcf trunk/GAMES/ninestime/data/xcf/9.xcf 
>> trunk/GAMES/ninestime/data/xcf/9_bad.xcf 
>> trunk/GAMES/ninestime/data/xcf/9cloud.xcf 
>> trunk/GAMES/ninestime/data/xcf/background.xcf 
>> trunk/GAMES/ninestime/data/xcf/intro1.xcf 
>> trunk/GAMES/ninestime/data/xcf/intro2.xcf 
>> trunk/GAMES/ninestime/data/xcf/intro3.xcf 
>> trunk/GAMES/ninestime/data/xcf/splash.xcf 
>> trunk/GAMES/ninestime/data/xcf/win.xcf trunk/GAMES/ninestime/ninestime
>>
>>
>> Property changes on: trunk/GAMES/ninestime/build_theme.sh
>> ___
>> Added: svn:executable
>>   + *
>>
>>
>> Property changes on: 
>> trunk/GAMES/ninestime/data/sound/111872__candlegravity__tweak_scratch_2.wav
>> ___
>> Added: svn:mime-type
>>   + application/octet-stream
>>
>>
>> Property changes on: 
>> trunk/GAMES/ninestime/data/sound/111873__candlegravity__tweat_down_1.wav
>> __

Re: [E-devel] [e-users] Announcement - Support for Evas to load XCF, XCF.GZ and PDF files

2011-05-13 Thread Gustavo Sverzut Barbieri
IANAL but AFAIU during runtime the resulting license is LGPL. The code
itself is not relicensed

On May 13, 2011 10:04 PM, "Carsten Haitzler"  wrote:

On Fri, 13 May 2011 15:47:20 -0300 Gustavo Sverzut Barbieri
 said:

> On Fr...
well not really. evas doesn't become lgpl because it links to an lgpl lib :)
but the point is still right - apps are unaffected by license of external
generic loaders, so we can expand the # of formats evas can load in the
"gpl"
direction AND in the "it's complex and/or unstable" direction (html,
ppt/doc/xls etc. loaders and so on). it basically makes it all possible (but
as
you noted - there is a cost).


> General Users = safety, if any of these loaders crash or hung, the main
> program/process will no...
actually... hanging can be a problem as evas opens a pipe and waits on
blocking
input. it has no timeout, so if it hangs, evas using process will too. you
can
just kill the external loader process pid and the app will unhang (and then
load fails) - so its recoverable, and probably a sign to uninstall that
specific external loader and file a bug. :)


> Problems: this is not as fast as a native loader, so we'll not move every
> (if any!) loader to b...
yeah. that's its major Achilles heel. it has a speed and overhead penalty.


>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> ...
--

- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Hait...
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo

2011-05-13 Thread Lucas De Marchi
On Fri, May 13, 2011 at 9:44 PM, Carsten Haitzler  wrote:
> On Fri, 13 May 2011 20:04:51 +0200 Sven Luther  said:
>
>> On Fri, May 13, 2011 at 09:56:45PM +0900, Carsten Haitzler wrote:
>> > sure! :) dont get me wrong. the connman ui works right now.. just for very
>> > simple/limited use. i know that it cant do EVERY esoteric thing people need
>> > or want day 1, but.. it should cover most real life needs because people
>> > really NEED their network and if they cant set it up in e.. they will go
>> > somewhere else. :)
>>
>> Just a quick thought about GUIs and network configuration.
>>
>> One thing i hate with the gnome network configuration GUI, at least the
>> version installed on my desktop system, is that it will wait until you bring
>> up the GUI before configuring the network, and i don't know how connman 
>> works.

It's a daemon that runs in background... an connects before any user
has logged in. Pretty much what you want, han?

>>
>> This means that if for some reason you are stuck in the console, you have no
>> running network.

Well... even with network manager it's possible to say to connect
before user logs in too. But  I don't remember how.


>> So, if it is not already the case, i think it would be quite nice to have a
>> network configuration tool which acts as front end to a tool which can run in
>> the background, and configures the network, independently of if the GUI is
>> running or not.

As said, this is what connman does. And the connman's module in e17
acts only as a front-end.

Lucas De Marchi

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] Announcement - Support for Evas to load XCF, XCF.GZ and PDF files

2011-05-13 Thread The Rasterman
On Sat, 14 May 2011 00:11:40 -0300 Gustavo Sverzut Barbieri
 said:

> IANAL but AFAIU during runtime the resulting license is LGPL. The code
> itself is not relicensed

while no code is ever relicensed even IF the lib is GPL, the runtime, with LGPL
libs is not affected by linking to LGPL libraries. GPL libs on the other hand
do... thus the external loaders :) no linking :)

> On May 13, 2011 10:04 PM, "Carsten Haitzler"  wrote:
> 
> On Fri, 13 May 2011 15:47:20 -0300 Gustavo Sverzut Barbieri
>  said:
> 
> > On Fr...
> well not really. evas doesn't become lgpl because it links to an lgpl lib :)
> but the point is still right - apps are unaffected by license of external
> generic loaders, so we can expand the # of formats evas can load in the
> "gpl"
> direction AND in the "it's complex and/or unstable" direction (html,
> ppt/doc/xls etc. loaders and so on). it basically makes it all possible (but
> as
> you noted - there is a cost).
> 
> 
> > General Users = safety, if any of these loaders crash or hung, the main
> > program/process will no...
> actually... hanging can be a problem as evas opens a pipe and waits on
> blocking
> input. it has no timeout, so if it hangs, evas using process will too. you
> can
> just kill the external loader process pid and the app will unhang (and then
> load fails) - so its recoverable, and probably a sign to uninstall that
> specific external loader and file a bug. :)
> 
> 
> > Problems: this is not as fast as a native loader, so we'll not move every
> > (if any!) loader to b...
> yeah. that's its major Achilles heel. it has a speed and overhead penalty.
> 
> 
> >
> > --
> > Gustavo Sverzut Barbieri
> > http://profusion.mobi embedded systems
> > ...
> --
> 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Hait...


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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster IN trunk/ecore/src/lib/ecore_x: . xlib

2011-05-13 Thread Vincent Torri

changelog

Vincent

On Fri, 13 May 2011, Enlightenment SVN wrote:

> Log:
> oooh evil start on trying to get real vsync interrupts from x :)
>
>
>
> Author:   raster
> Date: 2011-05-13 21:11:13 -0700 (Fri, 13 May 2011)
> New Revision: 59376
> Trac: http://trac.enlightenment.org/e/changeset/59376
>
> Added:
>  trunk/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c
> Modified:
>  trunk/ecore/src/lib/ecore_x/Ecore_X.h 
> trunk/ecore/src/lib/ecore_x/xlib/Makefile.am
>
> Modified: trunk/ecore/src/lib/ecore_x/Ecore_X.h
> ===
> --- trunk/ecore/src/lib/ecore_x/Ecore_X.h 2011-05-14 04:05:31 UTC (rev 
> 59375)
> +++ trunk/ecore/src/lib/ecore_x/Ecore_X.h 2011-05-14 04:11:13 UTC (rev 
> 59376)
> @@ -3239,6 +3239,8 @@
>
> EAPI Eina_Bool  ecore_x_input_multi_select(Ecore_X_Window win);
>
> +EAPI Eina_Bool  ecore_x_vsync_animator_tick_source_set(Ecore_X_Window 
> win);
> +
> #ifdef __cplusplus
> }
> #endif // ifdef __cplusplus
>
> Modified: trunk/ecore/src/lib/ecore_x/xlib/Makefile.am
> ===
> --- trunk/ecore/src/lib/ecore_x/xlib/Makefile.am  2011-05-14 04:05:31 UTC 
> (rev 59375)
> +++ trunk/ecore/src/lib/ecore_x/xlib/Makefile.am  2011-05-14 04:11:13 UTC 
> (rev 59376)
> @@ -63,6 +63,7 @@
> ecore_x_region.c \
> ecore_x_image.c \
> ecore_x_xi2.c \
> +ecore_x_vsync.c \
> ecore_x_randr.h
>
> libecore_x_xlib_la_LIBADD = \
> @@ -82,7 +83,8 @@
> @x_libs@ \
> $(top_builddir)/src/lib/ecore/libecore.la \
> $(top_builddir)/src/lib/ecore_input/libecore_input.la \
> -@EINA_LIBS@
> +@EINA_LIBS@ \
> +@dlopen_libs@
>
> endif
>
>
>
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel