Re: [E-devel] [PATCH] scrolled entry doxygen patch

2011-06-15 Thread Tom Hacohen
Oops, thanks. In SVN.

--
Tom.

On Thu, 2011-06-16 at 13:22 +0900, Jihoon Kim wrote:
> Hi, EFL developers.
> 
> There is typing error in doxygen of elm_scrolled_entry_entry_get() API.
> The attached file is simple patch for fixing it.
> 
> Would you please apply in svn?
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___ enlightenment-devel mailing 
> list enlightenment-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo list -> clock+calendar thing done

2011-06-15 Thread Tom Hacohen
On Thu, 2011-06-16 at 00:17 +0200, Andreas Volz wrote:
> Am Mon, 6 Jun 2011 12:24:11 +0900 schrieb Carsten Haitzler (The
> Rasterman):
> 
> Hi Raster,
> 
> I like the new module!
> 
> One idea if you touch it again:
> 
> - Optional display of calendar weeks in the calendar.
> 
> This is very helpful as I talk very often about calendar weeks in my
> job. :-)

+1, I also need it, that's most of what I need out of the calendar
module :)

--
Tom.


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] XRender engine causes ecore build failure

2011-06-15 Thread Ulrich Eckhardt
On Saturday 11 June 2011 16:43:55 Christopher Michael wrote:
> On 06/11/2011 06:11 AM, Ulrich Eckhardt wrote:
> > On Saturday 11 June 2011 10:19:40 Ulrich Eckhardt wrote:
> >> I'm trying to create a patch which does just that, which I'll post
> >> lateron.
> > 
> > Here it comes.
> > 
> > There are a few observations which I'm not sure how to resolve:
> > 1. configure.ac
> > There is a check for the Xcursor support, which uses "-l Xrender" as
> > additional library. I wonder if that is necessary.
> 
> That is the X11 XRender Extenstion, not the same as the evas/ecore X
> Render Engine. Yes, that check is necessary. XCursor uses the XRender
> extension to check if the screen supports alpha.

Okay, the patch didn't touch that anyway.

> > 3. ecore_x
> > This uses XRender when ECORE_XRENDER is defined and looking at
> > _ecore_x_composite_init() it seems to really want that. I'm not sure how
> > to handle that case, so I left all that in and really only adapted the
> > ecore_evas part.
> 
> Same case as above, ecore_x_composite_init uses the X11 XRender
> Extension (not the same as the evas/ecore xrender engine).

Neither did the patch touch these parts.

> > 2. ecore_evas
> > There is a switch over the different engine types, where there are still
> > a few places left where XRender is handled, grep for "xrender" or
> > "XRENDER" and you will find them. The question is whether to just return
> > NULL in order to signal that this engine is not supported or to remove
> > the whole thing. The latter could break binary compatibility, therefore
> > I left those stubs in.

Question remains is if the changes to ecore_evas are acceptable or if even the 
remaining places should be removed.

Thanks!

Uli

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] scrolled entry doxygen patch

2011-06-15 Thread Jihoon Kim
Hi, EFL developers.

There is typing error in doxygen of elm_scrolled_entry_entry_get() API.
The attached file is simple patch for fixing it.

Would you please apply in svn?
Index: elc_scrolled_entry.c
===
--- elc_scrolled_entry.c	(revision 60343)
+++ elc_scrolled_entry.c	(working copy)
@@ -785,7 +785,7 @@ elm_scrolled_entry_entry_get(const Evas_Object *ob
  * @param obj The entry object
  * @return If the entry is empty or not.
  *
- * @ingroup Entry
+ * @ingroup Scrolled_Entry
  */
 EAPI Eina_Bool
 elm_scrolled_entry_is_empty(const Evas_Object *obj)
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] backlight support in e17

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 23:00:43 -0300 Gustavo Sverzut Barbieri
 said:

> On Wed, Jun 15, 2011 at 9:34 PM, Carsten Haitzler 
> wrote:
> > i added backlight control support in e17 now. load the backlight module and
> > add the backlight control gadget, bind some keys to changing backlight etc.
> > as you see fit. the actual backlight control and config is in e17 proper,
> > with module just offering the popup slider gadget
> 
> Great, but problems and questions:
> 
> - Problems:
>- Shelf gadget -> right click -> Remove -> Crash. Removal works
> from Shelf contents dialog.

found it. fixed.

>- ACPI (hardware switches) -> every time I choose "Backlight Min",
> "Backlight Max", "Backlight Set" + parameters or similar I end with
> "Backlight Set" and empty parameters. Doesn't matter if I switch
> immediately to another list item or if I click "Apply" or even close
> the dialog, it always fail.

works fine in keybindings dialog - acpi bindings seems to have some bug.
nothing to do with backlight though - you'll probably find it a general bug in
the acpi bindings dialog.

>- using "Backlight set" with empty parameter seems to crash. I
> couldn't reproduce this lots of time, but happened once when i tried
> the above problem... so maybe it was the empty parameter, maybe it was
> some corrupted memory from the dialog itself.

hmm. it does require a param. i can protect against null params..

> - Questions:
>- How do I refer to the "Dim backlight" and "Normal backlight"
> selection from Power Management? Are they the "Dim" and "Undim"
> actions?

yes. dim backlight == backlight level in dim mode. dim action == go into dim
mode. undim == go back to normal mode.

>- why is the slider s tall (large in height)? Usually
> backlights have so few levels it's weird to see such a big range to
> choose... that changes so few times (16 levels here, 0-15).

just happened to make it that big. didnt look bad to me.

>- Plans to support leds (keyboard backlight)? It's basically the
> same sysfs interface, but under /sys/class/leds (here it's
> /sys/class/leds/smc::kbd_backlight/)

zero plans to support those. just addressing the important issue of screen
brightness. keyboard backlights i'll have to leave to another adventurous soul.
it wasnt on the todo list for e17 release.

> -- 
> 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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] els_scroller simple bug

2011-06-15 Thread Daniel Juyung Seo
looks good to me.
any other comment?

Daniel Juyung Seo (SeoZ)

2011/6/16 Jaehwan Kim :
>
> els_scroller in elementary has a simple bug.
>
> In the function "_smart_scrollto_x", it makes the animator 
> 'sd->scrollto.x.animator', if the animator does not exist.
> But "_smart_anim_start" before ecore_animator_add can make 2 animators.
> If the function which be called by _smart_anim_start call 
> "elm_scroller_region_bring_in",
> "_smart_scrollto_x" be called again and make the animator.
> After the function which be called by _smart_snim_start ends, the next line 
> will make the animtor again.
> Despite the code checks the animator, it can make 2 animators.
> So we have to change the order of the code like patch file.
> Please check the patch file.
>
> Thanks.
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] backlight support in e17

2011-06-15 Thread Mike Blumenkrantz
On Wed, 15 Jun 2011 23:00:43 -0300
Gustavo Sverzut Barbieri  wrote:

>- Plans to support leds (keyboard backlight)? It's basically the
> same sysfs interface, but under /sys/class/leds (here it's
> /sys/class/leds/smc::kbd_backlight/)
> 
This will, at the least, be supported with eeze 1.2 when I plan to migrate
most/all acpi code from e17 to eeze which will remove the need to search for
such things.

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] backlight support in e17

2011-06-15 Thread Gustavo Sverzut Barbieri
On Wed, Jun 15, 2011 at 9:34 PM, Carsten Haitzler  wrote:
> i added backlight control support in e17 now. load the backlight module and 
> add
> the backlight control gadget, bind some keys to changing backlight etc. as you
> see fit. the actual backlight control and config is in e17 proper, with module
> just offering the popup slider gadget

Great, but problems and questions:

- Problems:
   - Shelf gadget -> right click -> Remove -> Crash. Removal works
from Shelf contents dialog.
   - ACPI (hardware switches) -> every time I choose "Backlight Min",
"Backlight Max", "Backlight Set" + parameters or similar I end with
"Backlight Set" and empty parameters. Doesn't matter if I switch
immediately to another list item or if I click "Apply" or even close
the dialog, it always fail.
   - using "Backlight set" with empty parameter seems to crash. I
couldn't reproduce this lots of time, but happened once when i tried
the above problem... so maybe it was the empty parameter, maybe it was
some corrupted memory from the dialog itself.

- Questions:
   - How do I refer to the "Dim backlight" and "Normal backlight"
selection from Power Management? Are they the "Dim" and "Undim"
actions?
   - why is the slider s tall (large in height)? Usually
backlights have so few levels it's weird to see such a big range to
choose... that changes so few times (16 levels here, 0-15).
   - Plans to support leds (keyboard backlight)? It's basically the
same sysfs interface, but under /sys/class/leds (here it's
/sys/class/leds/smc::kbd_backlight/)

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

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo list -> clock+calendar thing done

2011-06-15 Thread Mike Blumenkrantz
On Thu, 16 Jun 2011 08:49:21 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 16 Jun 2011 00:17:02 +0200 Andreas Volz  said:
> 
> not going to add any features at this stage. it's "done" :)
> 
> > Hi Raster,
> > 
> > I like the new module!
> > 
> > One idea if you touch it again:
> > 
> > - Optional display of calendar weeks in the calendar.
> > 
> > This is very helpful as I talk very often about calendar weeks in my
> > job. :-)
> > 
> > regards
> > Andreas
> > 
> > > a reminder...
> > > 
> > > http://trac.enlightenment.org/e/wiki/Release
> > > 
> > > has a todo list... and i'm wading through it bit by bit. i've knocked
> > > off a few of the items and this weekend i polished off the clock one.
> > > added a whole data calendar display in a popup when u click on the
> > > clock and a digital mode etc.
> > > 
> > > i'm cherrypicking things from that list bit by bit to get things
> > > done, but it takes some work to get the items done, some need more
> > > work than others. anyone working on stuff should update that list if
> > > they are working on it (its a wiki page - editable) or if they dont
> > > plan on working on it, remove their name.
> > > 
> > > fyi screenies of new clock stuff:
> > > 
> > > http://www.enlightenment.org/ss/e-4debac6416a8f8.44420097.jpg
> > > http://www.enlightenment.org/ss/e-4debaca600bcb2.4493.jpg
> > > 
> > > -- 
> > > - Codito, ergo sum - "I code, therefore I am"
> > > -- The Rasterman (Carsten Haitzler)
> > > ras...@rasterman.com
> > > 
> > > 
> > > --
> > > Simplify data backup and recovery for your virtual environment with
> > > vRanger. Installation's a snap, and flexible recovery options mean
> > > your data is safe, secure and there when you need it. Discover what
> > > all the cheering's about. Get your free trial download today. 
> > > http://p.sf.net/sfu/quest-dev2dev2 
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > 
> > 
> > 
> > -- 
> > Technical Blog 
> > 
> > --
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> 
> 
"patches welcome"

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] backlight support in e17

2011-06-15 Thread The Rasterman
i added backlight control support in e17 now. load the backlight module and add
the backlight control gadget, bind some keys to changing backlight etc. as you
see fit. the actual backlight control and config is in e17 proper, with module
just offering the popup slider gadget

one more thing on the e17 release todo list done.

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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] els_scroller simple bug

2011-06-15 Thread Jaehwan Kim

els_scroller in elementary has a simple bug.

In the function "_smart_scrollto_x", it makes the animator 
'sd->scrollto.x.animator', if the animator does not exist.
But "_smart_anim_start" before ecore_animator_add can make 2 animators. 
If the function which be called by _smart_anim_start call 
"elm_scroller_region_bring_in", 
"_smart_scrollto_x" be called again and make the animator.
After the function which be called by _smart_snim_start ends, the next line 
will make the animtor again.
Despite the code checks the animator, it can make 2 animators.
So we have to change the order of the code like patch file.
Please check the patch file.

Thanks.

els_scroller.patch
Description: Binary data
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Provide sensible errors for edje utilities

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 21:27:13 +0200 Ulrich Eckhardt  said:

> On Wednesday 15 June 2011 07:56:25 Mike Blumenkrantz wrote:
> > On Wed, 15 Jun 2011 07:55:27 +0200 (CEST)
> > Vincent Torri  wrote:
> > > On Wed, 15 Jun 2011, Mike Blumenkrantz wrote:
> > > > I like the idea of better error messages, but using access creates a
> > > > permissions loophole where the file could be switched between access()
> > > > and open(). You should probably check it another way.
> > > 
> > > ecore_file_exists ?
> > > 
> > > Vincent
> > 
> > same loophole.
> 
> ..but a better choice nonetheless. I know that the MS Windows CE runtime is 
> seriously castrated, so having just one central place for workarounds is 
> surely beneficial. I'll adjust the patch, unless I introduce a new dependency 
> on Ecore.
> 
> > I suppose it's not really that big of a deal...
> 
> No it isn't. If you wanted to do it 100% correct, you could only use open() 
> and then handle errors from that, but getting sensible errors out of that is 
> much harder. Further, the race condition can't be exploited for anything
> since nothing is written.

the way efl works you can't really always get sensible errors as efl likes to
keep re-opening and closing files in the background and "page from them" so an
error u see on initial file set or not may not match one later on that you
never even can get the error code of.


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo list -> clock+calendar thing done

2011-06-15 Thread The Rasterman
On Thu, 16 Jun 2011 00:17:02 +0200 Andreas Volz  said:

not going to add any features at this stage. it's "done" :)

> Hi Raster,
> 
> I like the new module!
> 
> One idea if you touch it again:
> 
> - Optional display of calendar weeks in the calendar.
> 
> This is very helpful as I talk very often about calendar weeks in my
> job. :-)
> 
> regards
>   Andreas
> 
> > a reminder...
> > 
> > http://trac.enlightenment.org/e/wiki/Release
> > 
> > has a todo list... and i'm wading through it bit by bit. i've knocked
> > off a few of the items and this weekend i polished off the clock one.
> > added a whole data calendar display in a popup when u click on the
> > clock and a digital mode etc.
> > 
> > i'm cherrypicking things from that list bit by bit to get things
> > done, but it takes some work to get the items done, some need more
> > work than others. anyone working on stuff should update that list if
> > they are working on it (its a wiki page - editable) or if they dont
> > plan on working on it, remove their name.
> > 
> > fyi screenies of new clock stuff:
> > 
> > http://www.enlightenment.org/ss/e-4debac6416a8f8.44420097.jpg
> > http://www.enlightenment.org/ss/e-4debaca600bcb2.4493.jpg
> > 
> > -- 
> > - Codito, ergo sum - "I code, therefore I am"
> > -- The Rasterman (Carsten Haitzler)
> > ras...@rasterman.com
> > 
> > 
> > --
> > Simplify data backup and recovery for your virtual environment with
> > vRanger. Installation's a snap, and flexible recovery options mean
> > your data is safe, secure and there when you need it. Discover what
> > all the cheering's about. Get your free trial download today. 
> > http://p.sf.net/sfu/quest-dev2dev2 
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> 
> 
> -- 
> Technical Blog 
> 
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> 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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 todo list -> clock+calendar thing done

2011-06-15 Thread Andreas Volz
Am Mon, 6 Jun 2011 12:24:11 +0900 schrieb Carsten Haitzler (The
Rasterman):

Hi Raster,

I like the new module!

One idea if you touch it again:

- Optional display of calendar weeks in the calendar.

This is very helpful as I talk very often about calendar weeks in my
job. :-)

regards
Andreas

> a reminder...
> 
> http://trac.enlightenment.org/e/wiki/Release
> 
> has a todo list... and i'm wading through it bit by bit. i've knocked
> off a few of the items and this weekend i polished off the clock one.
> added a whole data calendar display in a popup when u click on the
> clock and a digital mode etc.
> 
> i'm cherrypicking things from that list bit by bit to get things
> done, but it takes some work to get the items done, some need more
> work than others. anyone working on stuff should update that list if
> they are working on it (its a wiki page - editable) or if they dont
> plan on working on it, remove their name.
> 
> fyi screenies of new clock stuff:
> 
> http://www.enlightenment.org/ss/e-4debac6416a8f8.44420097.jpg
> http://www.enlightenment.org/ss/e-4debaca600bcb2.4493.jpg
> 
> -- 
> - Codito, ergo sum - "I code, therefore I am"
> -- The Rasterman (Carsten Haitzler)
> ras...@rasterman.com
> 
> 
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger. Installation's a snap, and flexible recovery options mean
> your data is safe, secure and there when you need it. Discover what
> all the cheering's about. Get your free trial download today. 
> http://p.sf.net/sfu/quest-dev2dev2 
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
Technical Blog 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Ulrich Eckhardt
On Wednesday 15 June 2011 22:27:06 Cedric BAIL wrote:
[...]
>  /**
> + * @brief Redefine the callback that clean the data of a hash
> + *
> + * @param hash The given hash table
> + * @param data_free_cb The function called on each value when the
> + * hash table is freed. @c NULL can be passed as callback.
[...]
> It's not a new feature, it just give the possibility to set the
> free_cb after the creation of the Eina_Hash. So nothing really fancy
> here.

Okay, so how it works is fixed already. Still, the point I wanted to raise is 
that the documentation doesn't explain these semantics completely. If those 
are specifyable on construction, maybe just adding "see @eina_hash_new for the 
meaning of these parameters" would do the job without redundancy.

Uli


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Cedric BAIL
On Wed, Jun 15, 2011 at 9:38 PM, Ulrich Eckhardt  wrote:
> On Wednesday 15 June 2011 18:06:03 Cedric BAIL wrote:
>> On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz 
> wrote:
>> > On Wed, 15 Jun 2011 08:46:11 -0700
>> >
>> >>  /**
>> >> + * @brief Redefine the callback that clean the data of a hash
>> >> + *
>> >> + * @param hash The given hash table
>> >> + * @param data_free_cb The function called on each value when the hash
>> >> + * table is freed. @c NULL can be passed as callback.
>> >> +EAPI void
>> >> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>> >> +{
>> >> +   EINA_MAGIC_CHECK_HASH(hash);
>> >> +   EINA_SAFETY_ON_NULL_RETURN(hash);
>> >> +
>> >> +   hash->data_free_cb = data_free_cb;
>> >> +}
>> >> +
> [...]
>> > I feel like this name is somewhat misleading...
>>
>> I didn't like it either, if you have a better proposal...
>
> Call the thing "deallocator".
>
>
> Question:
>  - If that thing is NULL, does that mean the memory isn't released or does it
> use free() as a default deallocation function? Is there a default function
> already set?
>  - Have you considered a void pointer as context to the deallocation function?

It's not a new feature, it just give the possibility to set the
free_cb after the creation of the Eina_Hash. So nothing really fancy
here.
-- 
Cedric BAIL

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Ulrich Eckhardt
On Wednesday 15 June 2011 18:06:03 Cedric BAIL wrote:
> On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz  
wrote:
> > On Wed, 15 Jun 2011 08:46:11 -0700
> > 
> >>  /**
> >> + * @brief Redefine the callback that clean the data of a hash
> >> + *
> >> + * @param hash The given hash table
> >> + * @param data_free_cb The function called on each value when the hash
> >> + * table is freed. @c NULL can be passed as callback.
> >> +EAPI void
> >> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
> >> +{
> >> +   EINA_MAGIC_CHECK_HASH(hash);
> >> +   EINA_SAFETY_ON_NULL_RETURN(hash);
> >> +
> >> +   hash->data_free_cb = data_free_cb;
> >> +}
> >> +
[...]
> > I feel like this name is somewhat misleading...
> 
> I didn't like it either, if you have a better proposal...

Call the thing "deallocator". 


Question:
 - If that thing is NULL, does that mean the memory isn't released or does it 
use free() as a default deallocation function? Is there a default function 
already set?
 - Have you considered a void pointer as context to the deallocation function?

Uli

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Provide sensible errors for edje utilities

2011-06-15 Thread Ulrich Eckhardt
On Wednesday 15 June 2011 07:56:25 Mike Blumenkrantz wrote:
> On Wed, 15 Jun 2011 07:55:27 +0200 (CEST)
> Vincent Torri  wrote:
> > On Wed, 15 Jun 2011, Mike Blumenkrantz wrote:
> > > I like the idea of better error messages, but using access creates a
> > > permissions loophole where the file could be switched between access()
> > > and open(). You should probably check it another way.
> > 
> > ecore_file_exists ?
> > 
> > Vincent
> 
> same loophole.

..but a better choice nonetheless. I know that the MS Windows CE runtime is 
seriously castrated, so having just one central place for workarounds is 
surely beneficial. I'll adjust the patch, unless I introduce a new dependency 
on Ecore.

> I suppose it's not really that big of a deal...

No it isn't. If you wanted to do it 100% correct, you could only use open() 
and then handle errors from that, but getting sensible errors out of that is 
much harder. Further, the race condition can't be exploited for anything since 
nothing is written.

Cheers!

Uli

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor IN trunk/ecore: . src/lib/ecore_con

2011-06-15 Thread Vincent Torri


add @since also for new typedef and struct

Vincent

On Wed, 15 Jun 2011, Enlightenment SVN wrote:

> Log:
> +ecore_con_ssl_server_upgrade
>  +ecore_con_ssl_client_upgrade
>  +ECORE_CON_EVENT_SERVER_UPGRADE
>  +ECORE_CON_EVENT_CLIENT_UPGRADE
>  new functions for upgrading an existing plaintext connection to SSL/TLS, as 
> seen in STARTTLS and my nightmares
>
>
> Author:   discomfitor
> Date: 2011-06-15 11:58:34 -0700 (Wed, 15 Jun 2011)
> New Revision: 60359
> Trac: http://trac.enlightenment.org/e/changeset/60359
>
> Modified:
>  trunk/ecore/ChangeLog trunk/ecore/src/lib/ecore_con/Ecore_Con.h 
> trunk/ecore/src/lib/ecore_con/ecore_con.c 
> trunk/ecore/src/lib/ecore_con/ecore_con_ares.c 
> trunk/ecore/src/lib/ecore_con/ecore_con_private.h 
> trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c
>
> Modified: trunk/ecore/ChangeLog
> ===
> --- trunk/ecore/ChangeLog 2011-06-15 17:11:36 UTC (rev 60358)
> +++ trunk/ecore/ChangeLog 2011-06-15 18:58:34 UTC (rev 60359)
> @@ -214,3 +214,9 @@
> 2011-06-09  Cedric Bail
>
>   * Add ecore_pipe_wait (should only called from outside of the main 
> loop).
> +
> +2011-06-15  Mike Blumenkrantz
> +
> +* Add ecore_con_ssl_client/server_upgrade to begin asynchronously 
> upgrading an
> +existing connection to SSL/TLS, emitting 
> ECORE_CON_CLIENT/SERVER_UPGRADE event
> +upon completion.
>
> Modified: trunk/ecore/src/lib/ecore_con/Ecore_Con.h
> ===
> --- trunk/ecore/src/lib/ecore_con/Ecore_Con.h 2011-06-15 17:11:36 UTC (rev 
> 60358)
> +++ trunk/ecore/src/lib/ecore_con/Ecore_Con.h 2011-06-15 18:58:34 UTC (rev 
> 60359)
> @@ -146,6 +146,12 @@
> typedef struct _Ecore_Con_Event_Client_Add Ecore_Con_Event_Client_Add;
>
> /**
> + * @typedef Ecore_Con_Event_Client_Upgrade
> + * Used as the @p data param for the corresponding event
> + */
> +typedef struct _Ecore_Con_Event_Client_Upgrade 
> Ecore_Con_Event_Client_Upgrade;
> +
> +/**
>  * @typedef Ecore_Con_Event_Client_Del
>  * Used as the @p data param for the corresponding event
>  */
> @@ -164,6 +170,12 @@
> typedef struct _Ecore_Con_Event_Server_Add Ecore_Con_Event_Server_Add;
>
> /**
> + * @typedef Ecore_Con_Event_Server_Upgrade
> + * Used as the @p data param for the corresponding event
> + */
> +typedef struct _Ecore_Con_Event_Server_Upgrade 
> Ecore_Con_Event_Server_Upgrade;
> +
> +/**
>  * @typedef Ecore_Con_Event_Server_Del
>  * Used as the @p data param for the corresponding event
>  */
> @@ -215,6 +227,15 @@
> };
>
> /**
> + * @struct _Ecore_Con_Event_Client_Upgrade
> + * Used as the @p data param for the @ref ECORE_CON_EVENT_CLIENT_UPGRADE 
> event
> + */
> +struct _Ecore_Con_Event_Client_Upgrade
> +{
> +   Ecore_Con_Client *client; /** the client that completed handshake */
> +};
> +
> +/**
>  * @struct _Ecore_Con_Event_Client_Del
>  * Used as the @p data param for the @ref ECORE_CON_EVENT_CLIENT_DEL event
>  */
> @@ -243,6 +264,15 @@
> };
>
> /**
> + * @struct _Ecore_Con_Event_Server_Upgrade
> + * Used as the @p data param for the @ref ECORE_CON_EVENT_SERVER_UPGRADE 
> event
> + */
> +struct _Ecore_Con_Event_Server_Upgrade
> +{
> +   Ecore_Con_Server *server; /** the server that was connected to */
> +};
> +
> +/**
>  * @struct _Ecore_Con_Event_Server_Del
>  * Used as the @p data param for the @ref ECORE_CON_EVENT_SERVER_DEL event
>  */
> @@ -329,12 +359,16 @@
> EAPI extern int ECORE_CON_EVENT_CLIENT_DEL;
> /** A client experienced an error */
> EAPI extern int ECORE_CON_EVENT_CLIENT_ERROR;
> +/** A client connection has been upgraded to SSL */
> +EAPI extern int ECORE_CON_EVENT_CLIENT_UPGRADE;
> /** A server was created */
> EAPI extern int ECORE_CON_EVENT_SERVER_ADD;
> /** A server connection was lost */
> EAPI extern int ECORE_CON_EVENT_SERVER_DEL;
> /** A server experienced an error */
> EAPI extern int ECORE_CON_EVENT_SERVER_ERROR;
> +/** A server connection has been upgraded to SSL */
> +EAPI extern int ECORE_CON_EVENT_SERVER_UPGRADE;
> /** A client connected to the server has sent data */
> EAPI extern int ECORE_CON_EVENT_CLIENT_DATA;
> /** A server connection object has data */
> @@ -427,6 +461,8 @@
> EAPI Eina_Bool ecore_con_ssl_server_crl_add(Ecore_Con_Server *svr, 
> const char *crl_file);
> EAPI Eina_Bool ecore_con_ssl_server_cafile_add(Ecore_Con_Server *svr, 
> const char *ca_file);
> EAPI void  ecore_con_ssl_server_verify(Ecore_Con_Server *svr);
> +EAPI Eina_Bool ecore_con_ssl_server_upgrade(Ecore_Con_Server *svr, 
> Ecore_Con_Type compl_type);
> +EAPI Eina_Bool ecore_con_ssl_client_upgrade(Ecore_Con_Client *cl, 
> Ecore_Con_Type compl_type);
>
> /**
>  * @}
>
> Modified: trunk/ecore/src/lib/ecore_con/ecore_con.c
> ===
> --- trunk/ecore/src/lib/ecore_con/ecore_con.c 2011-06-15 17:11:36 UTC (rev 
> 60358)
> +++ trunk/ecore/src/l

Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Sebastian Dransfeld
On 06/15/2011 06:06 PM, Cedric BAIL wrote:
> On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz  wrote:
>> On Wed, 15 Jun 2011 08:46:11 -0700
>> "Enlightenment SVN"  wrote:
>>
>>> Log:
>>> eina: +eina_hash_free_set.
>>>
>>>
>>> Author:   cedric
>>> Date: 2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011)
>>> New Revision: 60354
>>> Trac: http://trac.enlightenment.org/e/changeset/60354
>>>
>>> Modified:
>>>trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h
>>> trunk/eina/src/lib/eina_hash.c
>>>
>>> Modified: trunk/eina/ChangeLog
>>> ===
>>> --- trunk/eina/ChangeLog  2011-06-15 14:57:38 UTC (rev 60353)
>>> +++ trunk/eina/ChangeLog  2011-06-15 15:46:10 UTC (rev 60354)
>>> @@ -102,7 +102,12 @@
>>>
>>>* Fix eina_hash_set to handle data == NULL like eina_hash_del.
>>>
>>> -2011-06-3  Vincent Torri
>>> +2011-06-03  Vincent Torri
>>>
>>>   * Fix static linking with eina (iconv could potentially not be
>>>passed to the linker)
>>> +
>>> +2011-06-15  Cedric Bail
>>> +
>>> + * Add eina_hash_free_set to change the free callback during the
>>> + life of an Eina_Hash.
>>>
>>> Modified: trunk/eina/src/include/eina_hash.h
>>> ===
>>> --- trunk/eina/src/include/eina_hash.h2011-06-15 14:57:38 UTC (rev
>>> 60353) +++ trunk/eina/src/include/eina_hash.h 2011-06-15 15:46:10 UTC
>>> (rev 60354) @@ -264,6 +264,15 @@
>>> int buckets_power_size)
>>> EINA_MALLOC EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2, 3);
>>>   /**
>>> + * @brief Redefine the callback that clean the data of a hash
>>> + *
>>> + * @param hash The given hash table
>>> + * @param data_free_cb The function called on each value when the hash
>>> + * table is freed. @c NULL can be passed as callback.
>>> + */
>>> +EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>>> EINA_ARG_NONNULL(1); +
>>> +/**
>>>* @brief Create a new hash table using the djb2 algorithm.
>>>*
>>>* @param data_free_cb The function called on each value when the hash 
>>> table
>>>
>>> Modified: trunk/eina/src/lib/eina_hash.c
>>> ===
>>> --- trunk/eina/src/lib/eina_hash.c2011-06-15 14:57:38 UTC (rev 60353)
>>> +++ trunk/eina/src/lib/eina_hash.c2011-06-15 15:46:10 UTC (rev 60354)
>>> @@ -713,6 +713,15 @@
>>>*
>>> API  *
>>> **/
>>> +EAPI void
>>> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>>> +{
>>> +   EINA_MAGIC_CHECK_HASH(hash);
>>> +   EINA_SAFETY_ON_NULL_RETURN(hash);
>>> +
>>> +   hash->data_free_cb = data_free_cb;
>>> +}
>>> +
>>>   EAPI Eina_Hash *
>>>   eina_hash_new(Eina_Key_Length key_length_cb,
>>> Eina_Key_Cmp key_cmp_cb,
>>>
>>>
>>> --
>>> EditLive Enterprise is the world's most technically advanced content
>>> authoring tool. Experience the power of Track Changes, Inline Image
>>> Editing and ensure content is compliant with Accessibility Checking.
>>> http://p.sf.net/sfu/ephox-dev2dev
>>> ___
>>> enlightenment-svn mailing list
>>> enlightenment-...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>> I feel like this name is somewhat misleading...
> I didn't like it either, if you have a better proposal...
eina_hash_free_cb_set()

S.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Tom Hacohen
On Wed, 2011-06-15 at 12:16 -0400, Mike Blumenkrantz wrote:
> ++
> 

Sorry, I don't yet support this syntax. Added to TODO.

--
Tom.



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Mike Blumenkrantz
On Wed, 15 Jun 2011 19:11:52 +0300
Tom Hacohen  wrote:

> On Wed, 2011-06-15 at 13:08 -0300, Iván Briano (Sachiel) wrote:
> > eina_hash_lets_set_the_callback_to_use_to_free_the_data_we_hold_when_the_hash_itself_is_freed()
> > 
> 
> +1.
> 
> 
> 
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
++

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Tom Hacohen
On Wed, 2011-06-15 at 13:08 -0300, Iván Briano (Sachiel) wrote:
> eina_hash_lets_set_the_callback_to_use_to_free_the_data_we_hold_when_the_hash_itself_is_freed()
> 

+1.



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Sachiel
2011/6/15 Cedric BAIL :
> On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz  wrote:
>> On Wed, 15 Jun 2011 08:46:11 -0700
>> "Enlightenment SVN"  wrote:
>>
>>> Log:
>>> eina: +eina_hash_free_set.
>>>
>>>
>>> Author:       cedric
>>> Date:         2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011)
>>> New Revision: 60354
>>> Trac:         http://trac.enlightenment.org/e/changeset/60354
>>>
>>> Modified:
>>>   trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h
>>> trunk/eina/src/lib/eina_hash.c
>>>
>>> Modified: trunk/eina/ChangeLog
>>> ===
>>> --- trunk/eina/ChangeLog      2011-06-15 14:57:38 UTC (rev 60353)
>>> +++ trunk/eina/ChangeLog      2011-06-15 15:46:10 UTC (rev 60354)
>>> @@ -102,7 +102,12 @@
>>>
>>>       * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>>>
>>> -2011-06-3  Vincent Torri
>>> +2011-06-03  Vincent Torri
>>>
>>>          * Fix static linking with eina (iconv could potentially not be
>>>       passed to the linker)
>>> +
>>> +2011-06-15  Cedric Bail
>>> +
>>> +     * Add eina_hash_free_set to change the free callback during the
>>> +     life of an Eina_Hash.
>>>
>>> Modified: trunk/eina/src/include/eina_hash.h
>>> ===
>>> --- trunk/eina/src/include/eina_hash.h        2011-06-15 14:57:38 UTC (rev
>>> 60353) +++ trunk/eina/src/include/eina_hash.h 2011-06-15 15:46:10 UTC
>>> (rev 60354) @@ -264,6 +264,15 @@
>>>                                int             buckets_power_size)
>>> EINA_MALLOC EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2, 3);
>>>  /**
>>> + * @brief Redefine the callback that clean the data of a hash
>>> + *
>>> + * @param hash The given hash table
>>> + * @param data_free_cb The function called on each value when the hash
>>> + * table is freed. @c NULL can be passed as callback.
>>> + */
>>> +EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>>> EINA_ARG_NONNULL(1); +
>>> +/**
>>>   * @brief Create a new hash table using the djb2 algorithm.
>>>   *
>>>   * @param data_free_cb The function called on each value when the hash 
>>> table
>>>
>>> Modified: trunk/eina/src/lib/eina_hash.c
>>> ===
>>> --- trunk/eina/src/lib/eina_hash.c    2011-06-15 14:57:38 UTC (rev 60353)
>>> +++ trunk/eina/src/lib/eina_hash.c    2011-06-15 15:46:10 UTC (rev 60354)
>>> @@ -713,6 +713,15 @@
>>>   *
>>> API                                      *
>>> **/
>>> +EAPI void
>>> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>>> +{
>>> +   EINA_MAGIC_CHECK_HASH(hash);
>>> +   EINA_SAFETY_ON_NULL_RETURN(hash);
>>> +
>>> +   hash->data_free_cb = data_free_cb;
>>> +}
>>> +
>>>  EAPI Eina_Hash *
>>>  eina_hash_new(Eina_Key_Length key_length_cb,
>>>                Eina_Key_Cmp key_cmp_cb,
>>>
>>>
>>> --
>>> EditLive Enterprise is the world's most technically advanced content
>>> authoring tool. Experience the power of Track Changes, Inline Image
>>> Editing and ensure content is compliant with Accessibility Checking.
>>> http://p.sf.net/sfu/ephox-dev2dev
>>> ___
>>> enlightenment-svn mailing list
>>> enlightenment-...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>> I feel like this name is somewhat misleading...
>
> I didn't like it either, if you have a better proposal...

eina_hash_lets_set_the_callback_to_use_to_free_the_data_we_hold_when_the_hash_itself_is_freed()

> --
> Cedric BAIL
>
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Cedric BAIL
On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz  wrote:
> On Wed, 15 Jun 2011 08:46:11 -0700
> "Enlightenment SVN"  wrote:
>
>> Log:
>> eina: +eina_hash_free_set.
>>
>>
>> Author:       cedric
>> Date:         2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011)
>> New Revision: 60354
>> Trac:         http://trac.enlightenment.org/e/changeset/60354
>>
>> Modified:
>>   trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h
>> trunk/eina/src/lib/eina_hash.c
>>
>> Modified: trunk/eina/ChangeLog
>> ===
>> --- trunk/eina/ChangeLog      2011-06-15 14:57:38 UTC (rev 60353)
>> +++ trunk/eina/ChangeLog      2011-06-15 15:46:10 UTC (rev 60354)
>> @@ -102,7 +102,12 @@
>>
>>       * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>>
>> -2011-06-3  Vincent Torri
>> +2011-06-03  Vincent Torri
>>
>>          * Fix static linking with eina (iconv could potentially not be
>>       passed to the linker)
>> +
>> +2011-06-15  Cedric Bail
>> +
>> +     * Add eina_hash_free_set to change the free callback during the
>> +     life of an Eina_Hash.
>>
>> Modified: trunk/eina/src/include/eina_hash.h
>> ===
>> --- trunk/eina/src/include/eina_hash.h        2011-06-15 14:57:38 UTC (rev
>> 60353) +++ trunk/eina/src/include/eina_hash.h 2011-06-15 15:46:10 UTC
>> (rev 60354) @@ -264,6 +264,15 @@
>>                                int             buckets_power_size)
>> EINA_MALLOC EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2, 3);
>>  /**
>> + * @brief Redefine the callback that clean the data of a hash
>> + *
>> + * @param hash The given hash table
>> + * @param data_free_cb The function called on each value when the hash
>> + * table is freed. @c NULL can be passed as callback.
>> + */
>> +EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>> EINA_ARG_NONNULL(1); +
>> +/**
>>   * @brief Create a new hash table using the djb2 algorithm.
>>   *
>>   * @param data_free_cb The function called on each value when the hash table
>>
>> Modified: trunk/eina/src/lib/eina_hash.c
>> ===
>> --- trunk/eina/src/lib/eina_hash.c    2011-06-15 14:57:38 UTC (rev 60353)
>> +++ trunk/eina/src/lib/eina_hash.c    2011-06-15 15:46:10 UTC (rev 60354)
>> @@ -713,6 +713,15 @@
>>   *
>> API                                      *
>> **/
>> +EAPI void
>> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
>> +{
>> +   EINA_MAGIC_CHECK_HASH(hash);
>> +   EINA_SAFETY_ON_NULL_RETURN(hash);
>> +
>> +   hash->data_free_cb = data_free_cb;
>> +}
>> +
>>  EAPI Eina_Hash *
>>  eina_hash_new(Eina_Key_Length key_length_cb,
>>                Eina_Key_Cmp key_cmp_cb,
>>
>>
>> --
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>> ___
>> enlightenment-svn mailing list
>> enlightenment-...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

> I feel like this name is somewhat misleading...

I didn't like it either, if you have a better proposal...
-- 
Cedric BAIL

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Mike Blumenkrantz
On Wed, 15 Jun 2011 08:46:11 -0700
"Enlightenment SVN"  wrote:

> Log:
> eina: +eina_hash_free_set.
>   
> 
> Author:   cedric
> Date: 2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011)
> New Revision: 60354
> Trac: http://trac.enlightenment.org/e/changeset/60354
> 
> Modified:
>   trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h
> trunk/eina/src/lib/eina_hash.c 
> 
> Modified: trunk/eina/ChangeLog
> ===
> --- trunk/eina/ChangeLog  2011-06-15 14:57:38 UTC (rev 60353)
> +++ trunk/eina/ChangeLog  2011-06-15 15:46:10 UTC (rev 60354)
> @@ -102,7 +102,12 @@
>  
>   * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>  
> -2011-06-3  Vincent Torri
> +2011-06-03  Vincent Torri
>  
>  * Fix static linking with eina (iconv could potentially not be
>   passed to the linker)
> +
> +2011-06-15  Cedric Bail
> +
> + * Add eina_hash_free_set to change the free callback during the
> + life of an Eina_Hash.
> 
> Modified: trunk/eina/src/include/eina_hash.h
> ===
> --- trunk/eina/src/include/eina_hash.h2011-06-15 14:57:38 UTC (rev
> 60353) +++ trunk/eina/src/include/eina_hash.h 2011-06-15 15:46:10 UTC
> (rev 60354) @@ -264,6 +264,15 @@
>int buckets_power_size)
> EINA_MALLOC EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2, 3); 
>  /**
> + * @brief Redefine the callback that clean the data of a hash
> + *
> + * @param hash The given hash table
> + * @param data_free_cb The function called on each value when the hash
> + * table is freed. @c NULL can be passed as callback.
> + */
> +EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
> EINA_ARG_NONNULL(1); +
> +/**
>   * @brief Create a new hash table using the djb2 algorithm.
>   *
>   * @param data_free_cb The function called on each value when the hash table
> 
> Modified: trunk/eina/src/lib/eina_hash.c
> ===
> --- trunk/eina/src/lib/eina_hash.c2011-06-15 14:57:38 UTC (rev 60353)
> +++ trunk/eina/src/lib/eina_hash.c2011-06-15 15:46:10 UTC (rev 60354)
> @@ -713,6 +713,15 @@
>   *
> API  *
> **/
>  
> +EAPI void
> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
> +{
> +   EINA_MAGIC_CHECK_HASH(hash);
> +   EINA_SAFETY_ON_NULL_RETURN(hash);
> +
> +   hash->data_free_cb = data_free_cb;
> +}
> +
>  EAPI Eina_Hash *
>  eina_hash_new(Eina_Key_Length key_length_cb,
>Eina_Key_Cmp key_cmp_cb,
> 
> 
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
I feel like this name is somewhat misleading...

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-06-15 Thread michael bouchaud
Saperlipopette, I forgot to sed these fields...

2011/6/15 Carsten Haitzler 

> On Wed, 15 Jun 2011 16:35:39 +0200 Mark-Willem Jansen <
> markwil...@hotmail.com>
> said:
>
> why would control files point to git.. or svn? they are just needed to
> build
> stuff and dont need to point TO any location. we can simply rely on a
> script to
> do a make dist to generate tarballs that then we build into pkgs using the
> control files as any normal packager should.
>
> > Okay lets use the svn server then. Would it be an idea then to remove all
> the
> > Cvs-Git lines from the control files. As the bleeding packages generated
> by
> > us will not be maintained through git. So pointing to the git repos in
> the
> > control files could confuse the users and maintainers.
> >
> > --
> > Mark-Willem
> >
> > > On Wed, 15 Jun 2011 14:17:07 +0200 Mark-Willem Jansen
> > > said:
> > >
> > > why do we have to put stuff on github when we have our own svn servers
> > > sitting right here with lots of space and bandwidth?
> > >
> > > >
> > > > So my idea was not a very good one. But I would like to pose another
> idea.
> > > >
> > > > What about setting up a Vcs-Git for all the packages, so it will be
> > > > easier to collaborate on setting up the packages. We could use
> something
> > > > like github to store the gits and set-up the collaboration. A free
> > > > account on github has a 0.30GB limit which should be enough for most
> of
> > > > the packages.
> > > >
> > > > --
> > > > Mark-Willem
> > > >
> > > > -Why is hotmail removing my line-breaks, sometimes.-
> > > >
> > >
> > >
> > > --
> > > - 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
>
>
>
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Michaël Bouchaud
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-15 Thread Vincent Torri


@since...

On Wed, 15 Jun 2011, Enlightenment SVN wrote:

> Log:
> eina: +eina_hash_free_set.
>
>
> Author:   cedric
> Date: 2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011)
> New Revision: 60354
> Trac: http://trac.enlightenment.org/e/changeset/60354
>
> Modified:
>  trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h 
> trunk/eina/src/lib/eina_hash.c
>
> Modified: trunk/eina/ChangeLog
> ===
> --- trunk/eina/ChangeLog  2011-06-15 14:57:38 UTC (rev 60353)
> +++ trunk/eina/ChangeLog  2011-06-15 15:46:10 UTC (rev 60354)
> @@ -102,7 +102,12 @@
>
>   * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>
> -2011-06-3  Vincent Torri
> +2011-06-03  Vincent Torri
>
> * Fix static linking with eina (iconv could potentially not be
>   passed to the linker)
> +
> +2011-06-15  Cedric Bail
> +
> + * Add eina_hash_free_set to change the free callback during the
> + life of an Eina_Hash.
>
> Modified: trunk/eina/src/include/eina_hash.h
> ===
> --- trunk/eina/src/include/eina_hash.h2011-06-15 14:57:38 UTC (rev 
> 60353)
> +++ trunk/eina/src/include/eina_hash.h2011-06-15 15:46:10 UTC (rev 
> 60354)
> @@ -264,6 +264,15 @@
>   int buckets_power_size) EINA_MALLOC 
> EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2, 3);
>
> /**
> + * @brief Redefine the callback that clean the data of a hash
> + *
> + * @param hash The given hash table
> + * @param data_free_cb The function called on each value when the hash
> + * table is freed. @c NULL can be passed as callback.
> + */
> +EAPI void eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb) 
> EINA_ARG_NONNULL(1);
> +
> +/**
>  * @brief Create a new hash table using the djb2 algorithm.
>  *
>  * @param data_free_cb The function called on each value when the hash table
>
> Modified: trunk/eina/src/lib/eina_hash.c
> ===
> --- trunk/eina/src/lib/eina_hash.c2011-06-15 14:57:38 UTC (rev 60353)
> +++ trunk/eina/src/lib/eina_hash.c2011-06-15 15:46:10 UTC (rev 60354)
> @@ -713,6 +713,15 @@
>  *   API  
> *
>  
> **/
>
> +EAPI void
> +eina_hash_free_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb)
> +{
> +   EINA_MAGIC_CHECK_HASH(hash);
> +   EINA_SAFETY_ON_NULL_RETURN(hash);
> +
> +   hash->data_free_cb = data_free_cb;
> +}
> +
> EAPI Eina_Hash *
> eina_hash_new(Eina_Key_Length key_length_cb,
>   Eina_Key_Cmp key_cmp_cb,
>
>
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 16:35:39 +0200 Mark-Willem Jansen 
said:

why would control files point to git.. or svn? they are just needed to build
stuff and dont need to point TO any location. we can simply rely on a script to
do a make dist to generate tarballs that then we build into pkgs using the
control files as any normal packager should.

> Okay lets use the svn server then. Would it be an idea then to remove all the
> Cvs-Git lines from the control files. As the bleeding packages generated by
> us will not be maintained through git. So pointing to the git repos in the
> control files could confuse the users and maintainers.
> 
> --
> Mark-Willem
> 
> > On Wed, 15 Jun 2011 14:17:07 +0200 Mark-Willem Jansen 
> > said:
> >
> > why do we have to put stuff on github when we have our own svn servers
> > sitting right here with lots of space and bandwidth?
> >
> > >
> > > So my idea was not a very good one. But I would like to pose another idea.
> > >
> > > What about setting up a Vcs-Git for all the packages, so it will be
> > > easier to collaborate on setting up the packages. We could use something
> > > like github to store the gits and set-up the collaboration. A free
> > > account on github has a 0.30GB limit which should be enough for most of
> > > the packages.
> > >
> > > --
> > > Mark-Willem
> > >
> > > -Why is hotmail removing my line-breaks, sometimes.-
> > >
> >
> >
> > --
> > - 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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-06-15 Thread Mark-Willem Jansen

Okay lets use the svn server then. Would it be an idea then to remove all the 
Cvs-Git lines 
from the control files. As the bleeding packages generated by us will not be 
maintained 
through git. So pointing to the git repos in the control files could confuse 
the users and 
maintainers.

--
Mark-Willem

> On Wed, 15 Jun 2011 14:17:07 +0200 Mark-Willem Jansen 
> said:
>
> why do we have to put stuff on github when we have our own svn servers sitting
> right here with lots of space and bandwidth?
>
> >
> > So my idea was not a very good one. But I would like to pose another idea.
> >
> > What about setting up a Vcs-Git for all the packages, so it will be easier 
> > to
> > collaborate on setting up the packages. We could use something like github
> > to store the gits and set-up the collaboration. A free account on github has
> > a 0.30GB limit which should be enough for most of the packages.
> >
> > --
> > Mark-Willem
> >
> > -Why is hotmail removing my line-breaks, sometimes.-
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler) ras...@rasterman.com
>
  
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 14:17:07 +0200 Mark-Willem Jansen 
said:

why do we have to put stuff on github when we have our own svn servers sitting
right here with lots of space and bandwidth?

> 
> So my idea was not a very good one. But I would like to pose another idea.
> 
> What about setting up a Vcs-Git for all the packages, so it will be easier to 
> collaborate on setting up the packages. We could use something like github
> to store the gits and set-up the collaboration. A free account on github has 
> a 0.30GB limit which should be enough for most of the packages.
> 
> --
> Mark-Willem
> 
> -Why is hotmail removing my line-breaks, sometimes.-
> 
> >
> > i agree too :)
> > if i can be of any help, let me know!
> >
> > --
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> 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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: antognolli IN trunk/eina: doc/img src/examples src/include

2011-06-15 Thread Gustavo Lima Chaves
* Daniel Juyung Seo  [2011-06-15 11:29:26 +0900]:

> Awesome! Good job!
> We really needed this kind of tutorial.
> Thanks glima and gastal.

You're welcome.

> 
> Daniel Juyung Seo (SeoZ)
> 
> On Wed, Jun 15, 2011 at 2:43 AM, Enlightenment SVN
>  wrote:
> > Log:
> > eina: Add detailed description and some examples to Eina_Inlist.
> >
> >
> >
> > Author:       antognolli
> > Date:         2011-06-14 10:43:53 -0700 (Tue, 14 Jun 2011)
> > New Revision: 60310
> > Trac:         http://trac.enlightenment.org/e/changeset/60310
> >
> > Added:
> >  trunk/eina/doc/img/eina_inlist-node.png 
> > trunk/eina/doc/img/eina_inlist-node_eg1-inlist.png 
> > trunk/eina/doc/img/eina_inlist-node_eg1-my-struct.png 
> > trunk/eina/doc/img/eina_inlist-node_eg2-list-inlist.png 
> > trunk/eina/doc/img/eina_inlist-node_eg2-my-struct.png 
> > trunk/eina/doc/img/eina_inlist-node_eg3-my-struct.png 
> > trunk/eina/doc/img/eina_inlist-node_eg3-two-inlists.png 
> > trunk/eina/src/examples/eina_inlist_01.c 
> > trunk/eina/src/examples/eina_inlist_02.c 
> > trunk/eina/src/examples/eina_inlist_03.c
> > Modified:
> >  trunk/eina/src/examples/Makefile.am trunk/eina/src/include/eina_inlist.h
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg1-inlist.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg1-my-struct.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg2-list-inlist.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg2-my-struct.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg3-my-struct.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> >
> > Property changes on: trunk/eina/doc/img/eina_inlist-node_eg3-two-inlists.png
> > ___
> > Added: svn:mime-type
> >   + application/octet-stream
> >
> > Modified: trunk/eina/src/examples/Makefile.am
> > ===
> > --- trunk/eina/src/examples/Makefile.am 2011-06-14 16:29:21 UTC (rev 60309)
> > +++ trunk/eina/src/examples/Makefile.am 2011-06-14 17:43:53 UTC (rev 60310)
> > @@ -20,7 +20,10 @@
> >        eina_list_01.c \
> >        eina_list_02.c \
> >        eina_list_03.c \
> > -       eina_list_04.c
> > +       eina_list_04.c \
> > +       eina_inlist_01.c \
> > +       eina_inlist_02.c \
> > +       eina_inlist_03.c
> >
> >  pkglib_PROGRAMS =
> >
> > @@ -40,6 +43,9 @@
> >        eina_list_01 \
> >        eina_list_02 \
> >        eina_list_03 \
> > -       eina_list_04
> > +       eina_list_04 \
> > +       eina_inlist_01 \
> > +       eina_inlist_02 \
> > +       eina_inlist_03
> >  endif
> >
> >
> > Modified: trunk/eina/src/include/eina_inlist.h
> > ===
> > --- trunk/eina/src/include/eina_inlist.h        2011-06-14 16:29:21 UTC 
> > (rev 60309)
> > +++ trunk/eina/src/include/eina_inlist.h        2011-06-14 17:43:53 UTC 
> > (rev 60310)
> > @@ -25,17 +25,275 @@
> >  #include 
> >
> >  /**
> > + * @page inlist_01_example_page Eina_Inlist basic usage
> > + * @dontinclude eina_inlist_01.c
> > + *
> > + * To see the full source for this example, click here: @ref
> > + * eina_inlist_01_c
> > + *
> > + * As explained before, inline lists mean its nodes pointers are part of 
> > same
> > + * memory block/blob. This is done by using the macro @ref EINA_INLIST 
> > inside the
> > + * data structure that will be used:
> > + *
> > + * @skip struct
> > + * @until };
> > + *
> > + * The resulting node representing this struct can be exemplified by the
> > + * following picture:
> > + *
> > + * @image html eina_inlist-node_eg1-my-struct.png
> > + * @image rtf eina_inlist-node_eg1-my-struct.png
> > + *
> > + * Let's define a comparison function that will be used later during the
> > + * sorting of the list:
> > + *
> > + * @skip int
> > + * @until }
> > + *
> > + * The @ref Eina_Inlist can be used exactly the same way as @ref Eina_List 
> > when
> > + * appending, prepend and removing items. But since we already have the 
> > node
> > + * pointers inside the structure, they need to be retrieved with the macro 
> >

Re: [E-devel] about packaging/debian directories

2011-06-15 Thread Mark-Willem Jansen

So my idea was not a very good one. But I would like to pose another idea.

What about setting up a Vcs-Git for all the packages, so it will be easier to 
collaborate on setting up the packages. We could use something like github
to store the gits and set-up the collaboration. A free account on github has 
a 0.30GB limit which should be enough for most of the packages.

--
Mark-Willem

-Why is hotmail removing my line-breaks, sometimes.-

>
> i agree too :)
> if i can be of any help, let me know!
>
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] elm_cnp_helper - determine uri or text data types.

2011-06-15 Thread Hyoyoung Chang
Dear Elementary developers.

I've made a patch about elm_cnp_helper.
It's contains two things.

First is remove pastedimages variable (unused variable)
Other thing is about determine type.
When a user is trying to paste data, elm_cnp_helper call
notify_handler_targets.
In notify_handler_targets, it enumerates atoms and figure out matching
types.
Atom types are sorted by rich types to simple types.
So if a user's trying to paste simple text type, it will match uri type.
Because uri type also can be a text type. 
However in uri type handling functions, there are no fallback to text type.
This patch makes if pasting data is just text, do not pass it as a uri.

Thank you.

--
Hyoyoung CHANG
Engineer

SAMSUNG ELECTRONICS, Co., Ltd.
E-mail: hyoyoung.ch...@samsung.com
--
Index: elm_cnp_helper.c
===
--- elm_cnp_helper.c(리비전 60340)
+++ elm_cnp_helper.c(작업 사본)
@@ -378,8 +378,6 @@
 /* FIXME: who left this out of XAtoms.h */
 static Ecore_X_Atom clipboard_atom;
 
-static Eina_List *pastedimages = NULL;
-
 /**
  * Drag & Drop functions
  */
@@ -632,6 +630,30 @@
 
return EINA_TRUE;
 }
+
+static Eina_Bool
+is_uri_type_data(Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify)
+{
+   Ecore_X_Selection_Data *data;
+   Ecore_X_Selection_Data_Files *files;
+   Paste_Image *pi;
+   char *p;
+
+   data = notify->data;
+   cnp_debug("data->format is %d %p %p\n", data->format, notify, data);
+   if (data->content == ECORE_X_SELECTION_CONTENT_FILES) return EINA_TRUE;
+   else p = (char *)data->data;
+
+   if (!p) return EINA_TRUE;
+   cnp_debug("Got %s\n", p);
+   if (strncmp(p, "file://", 7))
+ {
+if (*p != '/') return EINA_FALSE;
+ }
+
+   return EINA_TRUE;
+}
+
 /*
  * Callback to handle a targets response on a selection request:
  * So pick the format we'd like; and then request it.
@@ -655,6 +677,11 @@
   {
  if ((atoms[j].atom == atomlist[i]) && (atoms[j].notify))
{
+  if ((j == CNP_ATOM_text_uri) ||
+  (j == CNP_ATOM_text_urilist))
+{
+  if(!is_uri_type_data(sel, notify)) continue;
+}
   cnp_debug("Atom %s matches\n",atoms[j].name);
   goto done;
}
@@ -1029,7 +1056,6 @@
 
len = strlen(tagstring)+strlen(pi->file);
 
-   pastedimages = eina_list_append(pastedimages, pi);
entrytag = alloca(len + 1);
snprintf(entrytag, len + 1, tagstring, pi->file);
elm_entry_entry_insert(entry, entrytag);
@@ -1253,7 +1279,6 @@
   int len;
   ddata.format = ELM_SEL_FORMAT_MARKUP;
 
-  pastedimages = eina_list_append(pastedimages, savedtypes.pi);
   len = strlen(tagstring) + strlen(savedtypes.pi->file);
   entrytag = alloca(len + 1);
   snprintf(entrytag, len + 1, tagstring, savedtypes.pi->file);
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - pasting at uri request

2011-06-15 Thread Hyoyoung Chang
omitting to mention about 'file://' that is my mistake.
Anyway, my intend is making fallback to text paste.
also I think just making fallback is not good idea than detecting targets.
I write a small patch to determine data type.(such as uri or text)

> -Original Message-
> From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com]
> Sent: Wednesday, June 15, 2011 6:43 PM
> To: Hyoyoung Chang
> Cc: enlightenment-devel@lists.sourceforge.net
> Subject: Re: [E-devel] [patch] elm_cnp_helper - pasting at uri request
> 
> On Mon, 13 Jun 2011 20:41:21 +0900 Hyoyoung Chang
> 
> said:
> 
> fyi i dont think your patch does what you say it does. :) cnp helper
> ignores
> uris if they DONT start with either file:// or /.
> 
> what i'd like to know is.. why do you have to patch this behavior?
> 
> > Dear Elementary developers.
> >
> > I've made a patch about elm_cnp_helper.
> > When pasting cnp_helper recognizes mark up text as a uri list, then cnp
> > helper ignore it if it's not starting with "/".
> > I modified this with if it's not starting with "/" then it's pasting to
> > entry.
> >
> > Thank you.
> >
> > --
> > Hyoyoung CHANG
> > Engineer
> >
> > SAMSUNG ELECTRONICS, Co., Ltd.
> > E-mail: hyoyoung.ch...@samsung.com
> > --
> >
> 
> 
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: mike_m trunk/PROTO/elev8/src/bin

2011-06-15 Thread Gustavo Sverzut Barbieri
On Wed, Jun 15, 2011 at 7:40 AM, Mike McCormack
 wrote:
> On 06/15/2011 07:31 PM, Gustavo Sverzut Barbieri wrote:
>> On Wed, Jun 15, 2011 at 4:28 AM, Enlightenment SVN
>>  wrote:
>>> +   out->Set(v8::String::New("_eo"), v8::External::Wrap(eo));
>>
>> Mike,
>>
>> A hint for you is to store common strings in a pool and use their
>> reference later. Good cases are "_eo" and property names such as
>> "size", "color"... this way you avoid creating/destroying lots of them
>> for simple and common queries... and may avoid typo errors as well.
>
> Hey Gustavo,
>
> Thanks for the hint.  I will try optimize it a bit more once I get
> the structure looking right.  Right now, I'm trying to make
> setting a property on an object in JavaScript update that property
> in Evas immediately.

yes, I understand it. Just consider this one a structure part as well,
otherwise you'll have hard time looking for all cases later on :-)
It's more of a design decision than actually optimization in the sense
of profiling -> spot the hot path -> fix, as it will hardly be visible
in that way, but will fragment memory in the long run.


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

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: mike_m trunk/PROTO/elev8/src/bin

2011-06-15 Thread Mike McCormack
On 06/15/2011 07:31 PM, Gustavo Sverzut Barbieri wrote:
> On Wed, Jun 15, 2011 at 4:28 AM, Enlightenment SVN
>  wrote:
>> +   out->Set(v8::String::New("_eo"), v8::External::Wrap(eo));
> 
> Mike,
> 
> A hint for you is to store common strings in a pool and use their
> reference later. Good cases are "_eo" and property names such as
> "size", "color"... this way you avoid creating/destroying lots of them
> for simple and common queries... and may avoid typo errors as well.

Hey Gustavo,

Thanks for the hint.  I will try optimize it a bit more once I get
the structure looking right.  Right now, I'm trying to make
setting a property on an object in JavaScript update that property
in Evas immediately.

thanks,

Mike

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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

2011-06-15 Thread Gustavo Sverzut Barbieri
On Wed, Jun 15, 2011 at 6:50 AM, Vincent Torri  wrote:
> On Wed, 15 Jun 2011, Enlightenment SVN wrote:
>> Log:
>> From: Ulrich Eckhardt 
>>  Subject: [E-devel] Provide sensible errors for edje utilities
>>
>>  If you start edje_player or edje_inspector with a path to a file that 
>> doesn't
>>  exist you get a bogus error message saying that the file doesn't contain any
>>  groups. The attached patch uses access() to check if the program can read 
>> the
>>  file, giving a sensible error message if not.
>>
>>  I have checked the other utilities there, too, and they work, with the
>>  exception of edje_external_inspector. I'm not sure how this one works at 
>> all,
>>  but it seems not to take a file but a list of modules, maybe someone with
>>  greater insight can take a look at that.
>>
>>  Going through things installed under bin, I'll take a look if those behave
>>  properly and create patches for those, too, if this one is okay.
>>
>>
>>
>> Author:       raster
>> Date:         2011-06-15 02:38:08 -0700 (Wed, 15 Jun 2011)
>> New Revision: 60338
>> Trac:         http://trac.enlightenment.org/e/changeset/60338
>>
>> Modified:
>>  trunk/edje/src/bin/edje_inspector.c trunk/edje/src/bin/edje_player.c
>>
>> Modified: trunk/edje/src/bin/edje_inspector.c
>> ===
>> --- trunk/edje/src/bin/edje_inspector.c       2011-06-15 09:34:16 UTC (rev 
>> 60337)
>> +++ trunk/edje/src/bin/edje_inspector.c       2011-06-15 09:38:08 UTC (rev 
>> 60338)
>> @@ -11,6 +11,7 @@
>> #include 
>> #include 
>> #include 
>> +#include 
>>
>> static int _log_dom;
>> #define DBG(...) EINA_LOG_DOM_DBG(_log_dom, __VA_ARGS__)
>> @@ -1577,6 +1578,15 @@
>>
>>    file = argv[arg_index];
>>
>> +   // check if the file is accessible
>> +   if (access(file, R_OK) == -1)
>
> i prefer ecore_file_exists as it is cross platform...

AFAIR I use edje load error, so if it's returning a bogus message it's
better to fix it there, be with ecore_file_exists() or access(). That
way all applications are fixed.


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

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: mike_m trunk/PROTO/elev8/src/bin

2011-06-15 Thread Gustavo Sverzut Barbieri
On Wed, Jun 15, 2011 at 4:28 AM, Enlightenment SVN
 wrote:
> +   out->Set(v8::String::New("_eo"), v8::External::Wrap(eo));

Mike,

A hint for you is to store common strings in a pool and use their
reference later. Good cases are "_eo" and property names such as
"size", "color"... this way you avoid creating/destroying lots of them
for simple and common queries... and may avoid typo errors as well.

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

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - string iteration bugfix

2011-06-15 Thread The Rasterman
On Tue, 14 Jun 2011 18:25:16 +0900 Hyoyoung Chang 
said:

indeed correct. elm_entry handles it now. in svn! merci! :)

> I've made a patch about elm_cnp_helper.
> In elm_cnp_helper, some codes are unused.
> It related with elm_entry for image showing, it makes image provider.
> However elm_entry can parse an item with specific prefix.
> It's not needed anymore.


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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

2011-06-15 Thread Vincent Torri


On Wed, 15 Jun 2011, Enlightenment SVN wrote:

> Log:
> From: Ulrich Eckhardt 
>  Subject: [E-devel] Provide sensible errors for edje utilities
>
>  If you start edje_player or edje_inspector with a path to a file that doesn't
>  exist you get a bogus error message saying that the file doesn't contain any
>  groups. The attached patch uses access() to check if the program can read the
>  file, giving a sensible error message if not.
>
>  I have checked the other utilities there, too, and they work, with the
>  exception of edje_external_inspector. I'm not sure how this one works at all,
>  but it seems not to take a file but a list of modules, maybe someone with
>  greater insight can take a look at that.
>
>  Going through things installed under bin, I'll take a look if those behave
>  properly and create patches for those, too, if this one is okay.
>
>
>
> Author:   raster
> Date: 2011-06-15 02:38:08 -0700 (Wed, 15 Jun 2011)
> New Revision: 60338
> Trac: http://trac.enlightenment.org/e/changeset/60338
>
> Modified:
>  trunk/edje/src/bin/edje_inspector.c trunk/edje/src/bin/edje_player.c
>
> Modified: trunk/edje/src/bin/edje_inspector.c
> ===
> --- trunk/edje/src/bin/edje_inspector.c   2011-06-15 09:34:16 UTC (rev 
> 60337)
> +++ trunk/edje/src/bin/edje_inspector.c   2011-06-15 09:38:08 UTC (rev 
> 60338)
> @@ -11,6 +11,7 @@
> #include 
> #include 
> #include 
> +#include 
>
> static int _log_dom;
> #define DBG(...) EINA_LOG_DOM_DBG(_log_dom, __VA_ARGS__)
> @@ -1577,6 +1578,15 @@
>
>file = argv[arg_index];
>
> +   // check if the file is accessible
> +   if (access(file, R_OK) == -1)

i prefer ecore_file_exists as it is cross platform...

Vincent

> + {
> +int e = errno;
> +ERR("File '%s' not accessible, error %d (%s).\n",
> +file, e, strerror(e));
> +ret = 1;
> +goto error_getopt;
> + }
>
>DBG("mode=%s, detail=%d(%s), group=%s, part=%s, program=%s, api-only=" 
> FMT_UCHAR
>", api-fix=" FMT_UCHAR ", machine=" FMT_UCHAR ", file=%s",
>
> Modified: trunk/edje/src/bin/edje_player.c
> ===
> --- trunk/edje/src/bin/edje_player.c  2011-06-15 09:34:16 UTC (rev 60337)
> +++ trunk/edje/src/bin/edje_player.c  2011-06-15 09:38:08 UTC (rev 60338)
> @@ -674,6 +674,15 @@
>ecore_app_args_set(argc, (const char **)argv);
>edje_scale_set(opts.scale);
>
> +   // check if the given edj file is there
> +   if (access(argv[args], R_OK) == -1)
> + {
> +   int e = errno;
> +   fprintf(stderr, "ERROR: file '%s' not accessible, error %d (%s).\n",
> +   argv[args], e, strerror(e));
> +   goto end;
> + }
> +
>opts.file = argv[args];
>if (opts.list_groups)
>  {
>
>
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - pasting at uri request

2011-06-15 Thread The Rasterman
On Mon, 13 Jun 2011 20:41:21 +0900 Hyoyoung Chang 
said:

fyi i dont think your patch does what you say it does. :) cnp helper ignores
uris if they DONT start with either file:// or /.

what i'd like to know is.. why do you have to patch this behavior?

> Dear Elementary developers.
> 
> I've made a patch about elm_cnp_helper.
> When pasting cnp_helper recognizes mark up text as a uri list, then cnp
> helper ignore it if it's not starting with "/".
> I modified this with if it's not starting with "/" then it's pasting to
> entry.
> 
> Thank you.
> 
> --
> Hyoyoung CHANG
> Engineer
> 
> SAMSUNG ELECTRONICS, Co., Ltd.
> E-mail: hyoyoung.ch...@samsung.com
> --
> 


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Evas_image_load_gif bug fix

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 12:56:11 +0900 Jiyoun Park  said:

thanks jiyoun! in svn it is!

> I found if gif file didn't have colormap, evas make segmentation fault. 
> So I add null check code of the gif color map . 


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Provide sensible errors for edje utilities

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 07:34:08 +0200 Ulrich Eckhardt  said:

well the error isnt bogus.. it's correct. it contains none.. that you can
read :) but yes better error message could be good. it's an improvement and the
code isnt bad. :) in svn!

> Hi!
> 
> If you start edje_player or edje_inspector with a path to a file that doesn't 
> exist you get a bogus error message saying that the file doesn't contain any 
> groups. The attached patch uses access() to check if the program can read the 
> file, giving a sensible error message if not.
> 
> I have checked the other utilities there, too, and they work, with the 
> exception of edje_external_inspector. I'm not sure how this one works at all, 
> but it seems not to take a file but a list of modules, maybe someone with 
> greater insight can take a look at that.

modules are in PREFIX/lib/edje/modules/ :)

> Going through things installed under bin, I'll take a look if those behave 
> properly and create patches for those, too, if this one is okay.
> 
> Cheers!
> 
> Uli


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/web/www/p/contribute

2011-06-15 Thread The Rasterman
On Wed, 15 Jun 2011 01:28:10 -0400 Mike Blumenkrantz  said:

> On Tue, 14 Jun 2011 22:21:27 -0700
> "Enlightenment SVN"  wrote:
> 
> > Log:
> > add note about live git mirror/server
> whoa did hell just freeze over?

its just a mirror for people who want to use git to check out the svn tree.
doesnt mean i'm using it.


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


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel