[E-devel] Fw: Enlightenment presentation? (ping #2)

2013-08-29 Thread The Rasterman
is anyone nearish amsterdam mid sept who wants to do this? :) this is a second
ping in case someone missed the first... ?

Begin chunk 'o stuff:

Date: Sat, 03 Aug 2013 00:44:39 +0200
From: Bas de Lange 
To: ras...@rasterman.com
Subject: Enlightenment presentation?


Dear Rasterman,

We are looking for someone from the Amsterdam area willing to give a 
talk about Enlightenment during Software Freedom Day 2013 at the CWI, 
Science Park Amsterdam. This on wednesday 18th of september:

http://www.softwarefreedomday.eu/

BTW, we are also organising the International Bitcoin Conference 2013 at 
the Science Park Amsterdam. This on wednesday 6th to friday 8th of 
november. If you know people interested, please inform them?

http://bitcoinference.com/
-- 

International Bitcoin Conference 2013, wednesday 6 to friday 8 november 
Science Park Amsterdam

http://bitcoinference.com/


Met vriendelijke groet,

Best regards,

Bas de Lange

+31 (0)6 166 26 950



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


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [evas_events.c] change return condition of multi_up

2013-08-29 Thread Kim Shinwoo
dear all, hello.

this message could be duplicated. anyhow..

is it possible to change as below?
the _canvas_event_feed_multi_up_internal(); could be called event though
evas->pointer.downs is equal to '1'. in this case, the multi_up is invalid.
please let me know your opinion. thank you.


diff --git a/src/lib/evas/canvas/evas_events.c
b/src/lib/evas/canvas/evas_events.c
index 513d0c4..66d5ae4 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -2350,7 +2350,7 @@ _canvas_event_feed_multi_up_internal(Evas *eo_e, void
*_pd,
int event_id = 0;

INF("ButtonEvent:multi up time=%u x=%d y=%d device=%d downs=%d",
timestamp, x, y, d, e->pointer.downs);
-   if (e->pointer.downs <= 0) return;
+   if (e->pointer.downs <= 1) return;
e->pointer.downs--;
if (e->is_frozen) return;
e->last_timestamp = timestamp;


cordially,
shinwoo kim.
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [evas_events.c] change return condition of multi_up

2013-08-29 Thread Kim Shinwoo
i'm sorry.. the case (_canvas_event_feed_multi_up_internal(); could be
called even though evas->pointer.downs) is not invalid. please ignore
previous message. thank you.

cordially,
shinwoo kim.


On Thu, Aug 29, 2013 at 7:15 PM, Kim Shinwoo  wrote:

> dear all, hello.
>
> this message could be duplicated. anyhow..
>
> is it possible to change as below?
> the _canvas_event_feed_multi_up_internal(); could be called event though
> evas->pointer.downs is equal to '1'. in this case, the multi_up is invalid.
> please let me know your opinion. thank you.
>
>
> diff --git a/src/lib/evas/canvas/evas_events.c
> b/src/lib/evas/canvas/evas_events.c
> index 513d0c4..66d5ae4 100644
> --- a/src/lib/evas/canvas/evas_events.c
> +++ b/src/lib/evas/canvas/evas_events.c
> @@ -2350,7 +2350,7 @@ _canvas_event_feed_multi_up_internal(Evas *eo_e,
> void *_pd,
> int event_id = 0;
>
> INF("ButtonEvent:multi up time=%u x=%d y=%d device=%d downs=%d",
> timestamp, x, y, d, e->pointer.downs);
> -   if (e->pointer.downs <= 0) return;
> +   if (e->pointer.downs <= 1) return;
> e->pointer.downs--;
> if (e->is_frozen) return;
> e->last_timestamp = timestamp;
>
>
> cordially,
> shinwoo kim.
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [evas_events.c] change return condition of multi_up

2013-08-29 Thread The Rasterman
On Thu, 29 Aug 2013 20:59:44 +0900 Kim Shinwoo  said:

self-resolved issue. yay!

> i'm sorry.. the case (_canvas_event_feed_multi_up_internal(); could be
> called even though evas->pointer.downs) is not invalid. please ignore
> previous message. thank you.
> 
> cordially,
> shinwoo kim.
> 
> 
> On Thu, Aug 29, 2013 at 7:15 PM, Kim Shinwoo  wrote:
> 
> > dear all, hello.
> >
> > this message could be duplicated. anyhow..
> >
> > is it possible to change as below?
> > the _canvas_event_feed_multi_up_internal(); could be called event though
> > evas->pointer.downs is equal to '1'. in this case, the multi_up is invalid.
> > please let me know your opinion. thank you.
> >
> >
> > diff --git a/src/lib/evas/canvas/evas_events.c
> > b/src/lib/evas/canvas/evas_events.c
> > index 513d0c4..66d5ae4 100644
> > --- a/src/lib/evas/canvas/evas_events.c
> > +++ b/src/lib/evas/canvas/evas_events.c
> > @@ -2350,7 +2350,7 @@ _canvas_event_feed_multi_up_internal(Evas *eo_e,
> > void *_pd,
> > int event_id = 0;
> >
> > INF("ButtonEvent:multi up time=%u x=%d y=%d device=%d downs=%d",
> > timestamp, x, y, d, e->pointer.downs);
> > -   if (e->pointer.downs <= 0) return;
> > +   if (e->pointer.downs <= 1) return;
> > e->pointer.downs--;
> > if (e->is_frozen) return;
> > e->last_timestamp = timestamp;
> >
> >
> > cordially,
> > shinwoo kim.
> >
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> 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


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [ecore_input_evas.c] proper error handling

2013-08-29 Thread Kim Shinwoo
deal all, hello.

the following would be proper error handling.
previous lines just check whether the Ecore_Event_Last exists or not.
if there is Ecore_Event_Last, then error handling lines should check the
state.
please check the following lines and give your opinion. thank you.

diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c
b/src/lib/ecore_input_evas/ecore_input_evas.c
index 8669226..124e5dd 100644
--- a/src/lib/ecore_input_evas/ecore_input_evas.c
+++ b/src/lib/ecore_input_evas/ecore_input_evas.c
@@ -341,6 +341,7 @@ _ecore_event_evas_key(Ecore_Event_Key *e,
Ecore_Event_Press press)
 static Eina_Bool
 _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
Ecore_Event_Press press, Eina_Bool faked)
 {
+   Ecore_Event_Last *eel;
Ecore_Input_Window *lookup;
Evas_Button_Flags flags = EVAS_BUTTON_NONE;

@@ -352,11 +353,15 @@
_ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
Ecore_Event_Press pr
if (_last_events_enable)
  {
 //error handle: if ecore up without ecore down
-if ((press == ECORE_UP) &&
(!_ecore_event_evas_lookup(e->multi.device, e->buttons, EINA_FALSE)))
-{
-   INF("ButtonEvent: up event without down event.");
-   return ECORE_CALLBACK_PASS_ON;
-}
+if (press == ECORE_UP)
+  {
+  eel = _ecore_event_evas_lookup(e->multi.device, e->buttons,
EINA_FALSE);
+  if (eel && (eel->state == ECORE_INPUT_UP))
+{
+   INF("ButtonEvent: up event without down event.");
+   return ECORE_CALLBACK_PASS_ON;
+}
+  }
  }

if (!faked) _ecore_event_evas_push_mouse_button(e, press);


cordially,
shinwoo kim.
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [ecore_input_evas.c] proper error handling

2013-08-29 Thread Kim Shinwoo
to meet previous condition
the following would be better than before.
please let me know your opinion. thank you.

diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c
b/src/lib/ecore_input_evas/ecore_input_evas.c
index 8669226..dc5019e 100644
--- a/src/lib/ecore_input_evas/ecore_input_evas.c
+++ b/src/lib/ecore_input_evas/ecore_input_evas.c
@@ -341,6 +341,7 @@ _ecore_event_evas_key(Ecore_Event_Key *e,
Ecore_Event_Press press)
 static Eina_Bool
 _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
Ecore_Event_Press press, Eina_Bool faked)
 {
+   Ecore_Event_Last *eel;
Ecore_Input_Window *lookup;
Evas_Button_Flags flags = EVAS_BUTTON_NONE;

@@ -352,11 +353,15 @@
_ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
Ecore_Event_Press pr
if (_last_events_enable)
  {
 //error handle: if ecore up without ecore down
-if ((press == ECORE_UP) &&
(!_ecore_event_evas_lookup(e->multi.device, e->buttons, EINA_FALSE)))
-{
-   INF("ButtonEvent: up event without down event.");
-   return ECORE_CALLBACK_PASS_ON;
-}
+if (press == ECORE_UP)
+  {
+  eel = _ecore_event_evas_lookup(e->multi.device, e->buttons,
EINA_FALSE);
+  if ((!eel) || ((eel) && (eel->state == ECORE_INPUT_UP)))
+{
+   INF("ButtonEvent: up event without down event.");
+   return ECORE_CALLBACK_PASS_ON;
+}
+  }
  }

if (!faked) _ecore_event_evas_push_mouse_button(e, press);


cordially
shinwoo kim.


On Thu, Aug 29, 2013 at 9:35 PM, Kim Shinwoo  wrote:

> deal all, hello.
>
> the following would be proper error handling.
> previous lines just check whether the Ecore_Event_Last exists or not.
> if there is Ecore_Event_Last, then error handling lines should check the
> state.
> please check the following lines and give your opinion. thank you.
>
> diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c
> b/src/lib/ecore_input_evas/ecore_input_evas.c
> index 8669226..124e5dd 100644
> --- a/src/lib/ecore_input_evas/ecore_input_evas.c
> +++ b/src/lib/ecore_input_evas/ecore_input_evas.c
> @@ -341,6 +341,7 @@ _ecore_event_evas_key(Ecore_Event_Key *e,
> Ecore_Event_Press press)
>  static Eina_Bool
>  _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
> Ecore_Event_Press press, Eina_Bool faked)
>  {
> +   Ecore_Event_Last *eel;
> Ecore_Input_Window *lookup;
> Evas_Button_Flags flags = EVAS_BUTTON_NONE;
>
> @@ -352,11 +353,15 @@
> _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e,
> Ecore_Event_Press pr
> if (_last_events_enable)
>   {
>  //error handle: if ecore up without ecore down
> -if ((press == ECORE_UP) &&
> (!_ecore_event_evas_lookup(e->multi.device, e->buttons, EINA_FALSE)))
> -{
> -   INF("ButtonEvent: up event without down event.");
> -   return ECORE_CALLBACK_PASS_ON;
> -}
> +if (press == ECORE_UP)
> +  {
> +  eel = _ecore_event_evas_lookup(e->multi.device, e->buttons,
> EINA_FALSE);
> +  if (eel && (eel->state == ECORE_INPUT_UP))
> +{
> +   INF("ButtonEvent: up event without down event.");
> +   return ECORE_CALLBACK_PASS_ON;
> +}
> +  }
>   }
>
> if (!faked) _ecore_event_evas_push_mouse_button(e, press);
>
>
> cordially,
> shinwoo kim.
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

2013-08-29 Thread Michael Blumenkrantz
it seems like edje version would be more understandable here


On Thu, Aug 29, 2013 at 2:18 PM, Boris Faure - Enlightenment Git <
no-re...@enlightenment.org> wrote:

> billiob pushed a commit to branch master.
>
> commit 18ee1e1789a2b955ae1d6d836e48e8b8b839d93b
> Author: Boris Faure 
> Date:   Thu Aug 29 15:11:12 2013 +0200
>
> edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
> ---
>  ChangeLog|  4 
>  src/bin/edje/edje_cc_parse.c | 20 ++--
>  2 files changed, 18 insertions(+), 6 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 99658c5..9166cb3 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2013-08-29  Boris Faure
> +
> +   * Edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
> +
>  2013-08-29  Cedric Bail
>
> * Evas: add interceptor for focus_set.
> diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
> index 6950655..946149a 100644
> --- a/src/bin/edje/edje_cc_parse.c
> +++ b/src/bin/edje/edje_cc_parse.c
> @@ -843,23 +843,31 @@ compile(void)
>  buf2[0] = '\0';
>  if (getenv("EFL_RUN_IN_TREE"))
>{
> - snprintf(buf2, sizeof(buf2), "%s/src/bin/edje/epp/epp"
> EPP_EXT,
> + snprintf(buf2, sizeof(buf2),
> +  "%s/src/bin/edje/epp/epp" EPP_EXT,
>PACKAGE_BUILD_DIR);
>   if (!ecore_file_exists(buf2))
> buf2[0] = '\0';
>}
>
>  if (buf2[0] == '\0')
> -  snprintf(buf2, sizeof(buf2), "%s/edje/utils/" MODULE_ARCH
> "/epp" EPP_EXT,
> +  snprintf(buf2, sizeof(buf2),
> +   "%s/edje/utils/" MODULE_ARCH "/epp" EPP_EXT,
> eina_prefix_lib_get(pfx));
>  if (ecore_file_exists(buf2))
>{
>   if (anotate)
> -   snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s
> -o %s",
> -buf2, watchfile ? watchfile : "/dev/null",
> file_in, inc, def, tmpn);
> +   snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s
> -o %s"
> +" -DEINA_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
> +buf2, watchfile ? watchfile : "/dev/null",
> file_in,
> +inc, def, tmpn,
> +EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
>   else
> -   snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s",
> -buf2, watchfile ? watchfile : "/dev/null",
> file_in, inc, def, tmpn);
> +   snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s"
> +" -DEINA_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
> +buf2, watchfile ? watchfile : "/dev/null",
> file_in,
> +inc, def, tmpn,
> +EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
>   ret = system(buf);
>}
>  else
>
> --
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

2013-08-29 Thread Tom Hacohen
Or EFL_VERSION which is the only thing that makes sense in my pov.

--
Tom.

On 29/08/13 14:21, Michael Blumenkrantz wrote:
> it seems like edje version would be more understandable here
>
>
> On Thu, Aug 29, 2013 at 2:18 PM, Boris Faure - Enlightenment Git
> mailto:no-re...@enlightenment.org>> wrote:
>
> billiob pushed a commit to branch master.
>
> commit 18ee1e1789a2b955ae1d6d836e48e8b8b839d93b
> Author: Boris Faure mailto:bill...@gmail.com>>
> Date:   Thu Aug 29 15:11:12 2013 +0200
>
>  edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
> ---
>   ChangeLog|  4 
>   src/bin/edje/edje_cc_parse.c | 20 ++--
>   2 files changed, 18 insertions(+), 6 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 99658c5..9166cb3 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2013-08-29  Boris Faure
> +
> +   * Edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
> +
>   2013-08-29  Cedric Bail
>
>  * Evas: add interceptor for focus_set.
> diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
> index 6950655..946149a 100644
> --- a/src/bin/edje/edje_cc_parse.c
> +++ b/src/bin/edje/edje_cc_parse.c
> @@ -843,23 +843,31 @@ compile(void)
>   buf2[0] = '\0';
>   if (getenv("EFL_RUN_IN_TREE"))
> {
> - snprintf(buf2, sizeof(buf2), "%s/src/bin/edje/epp/epp"
> EPP_EXT,
> + snprintf(buf2, sizeof(buf2),
> +  "%s/src/bin/edje/epp/epp" EPP_EXT,
> PACKAGE_BUILD_DIR);
>if (!ecore_file_exists(buf2))
>  buf2[0] = '\0';
> }
>
>   if (buf2[0] == '\0')
> -  snprintf(buf2, sizeof(buf2), "%s/edje/utils/" MODULE_ARCH
> "/epp" EPP_EXT,
> +  snprintf(buf2, sizeof(buf2),
> +   "%s/edje/utils/" MODULE_ARCH "/epp" EPP_EXT,
>  eina_prefix_lib_get(pfx));
>   if (ecore_file_exists(buf2))
> {
>if (anotate)
> -   snprintf(buf, sizeof(buf), "%s -anotate -a %s %s
> -I%s %s -o %s",
> -buf2, watchfile ? watchfile : "/dev/null",
> file_in, inc, def, tmpn);
> +   snprintf(buf, sizeof(buf), "%s -anotate -a %s %s
> -I%s %s -o %s"
> +" -DEINA_VERSION_MAJOR=%d
> -DEFL_VERSION_MINOR=%d",
> +buf2, watchfile ? watchfile : "/dev/null",
> file_in,
> +inc, def, tmpn,
> +EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
>else
> -   snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s",
> -buf2, watchfile ? watchfile : "/dev/null",
> file_in, inc, def, tmpn);
> +   snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s"
> +" -DEINA_VERSION_MAJOR=%d
> -DEFL_VERSION_MINOR=%d",
> +buf2, watchfile ? watchfile : "/dev/null",
> file_in,
> +inc, def, tmpn,
> +EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
>ret = system(buf);
> }
>   else
>
> --
>
> 
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft
> technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>
>
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lis

Re: [E-devel] [EGIT] [core/efl] master 01/01: other async render issue - sync ALL rendering canvases, not just one

2013-08-29 Thread Ulisses Furquim
Raster,

On Thu, Aug 29, 2013 at 9:18 AM, Carsten Haitzler  - Enlightenment Git
 wrote:
> raster pushed a commit to branch master.
>
> commit 42a46214c4f9b35c0e1f5a84c56ea76ba2235eae
> Author: Carsten Haitzler (Rasterman) 
> Date:   Thu Aug 29 21:18:04 2013 +0900
>
> other async render issue - sync ALL rendering canvases, not just one
> ---
>  src/lib/evas/canvas/evas_render.c  |  2 ++
>  src/lib/evas/common/evas_thread_render.c   | 21 -
>  src/lib/evas/include/evas_common_private.h |  4 +++-
>  3 files changed, 25 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/evas/canvas/evas_render.c 
> b/src/lib/evas/canvas/evas_render.c
> index b04d606..4fbe9e2 100644
> --- a/src/lib/evas/canvas/evas_render.c
> +++ b/src/lib/evas/canvas/evas_render.c
> @@ -2235,6 +2235,7 @@ _canvas_render_dump(Eo *eo_e EINA_UNUSED, void *_pd, 
> va_list *list EINA_UNUSED)
> Evas_Public_Data *e = _pd;
> Evas_Layer *lay;
>
> +   evas_thread_queue_block();
> evas_render_rendering_wait(e);
> evas_cache_async_freeze();

This might deadlock. If the queue is no empty and we have there the
commands for e then we'll wait forever in _rendering_wait() in the
main thread and the render thread will sleep forever trying to acquire
the evas_thread_block_lock. Right?

> @@ -2263,6 +2264,7 @@ _canvas_render_dump(Eo *eo_e EINA_UNUSED, void *_pd, 
> va_list *list EINA_UNUSED)
> GC_ALL(evas_object_image_load_opts_cow);
> GC_ALL(evas_object_image_state_cow);
> evas_cache_async_thaw();
> +   evas_thread_queue_unblock();
>  }
>
>  void
> diff --git a/src/lib/evas/common/evas_thread_render.c 
> b/src/lib/evas/common/evas_thread_render.c
> index f37f43a..3474469 100644
> --- a/src/lib/evas/common/evas_thread_render.c
> +++ b/src/lib/evas/common/evas_thread_render.c
> @@ -4,6 +4,7 @@
>
>  static Eina_Thread evas_thread_worker;
>  static Eina_Condition evas_thread_queue_condition;
> +static Eina_Lock evas_thread_block_lock;
>  static Eina_Lock evas_thread_queue_lock;
>  static Eina_Bool evas_thread_queue_ready = EINA_FALSE;
>  static Eina_Inarray evas_thread_queue;
> @@ -55,7 +56,19 @@ evas_thread_queue_flush(Evas_Thread_Command_Cb cb, void 
> *data)
>  evas_thread_queue_append(cb, data, EINA_TRUE);
>  }
>
> -static void*
> +EAPI void
> +evas_thread_queue_block(void)
> +{
> +   eina_lock_take(&evas_thread_block_lock);
> +}
> +
> +EAPI void
> +evas_thread_queue_unblock(void)
> +{
> +   eina_lock_release(&evas_thread_block_lock);
> +}
> +
> +static void *
>  evas_thread_worker_func(void *data EINA_UNUSED, Eina_Thread thread 
> EINA_UNUSED)
>  {
>  while (1)
> @@ -83,6 +96,8 @@ evas_thread_worker_func(void *data EINA_UNUSED, Eina_Thread 
> thread EINA_UNUSED)
>continue;
> }
>
> + eina_lock_take(&evas_thread_block_lock);
> +
>   cmd = evas_thread_queue.members;
>   evas_thread_queue.members = evas_thread_queue_cache;
>   evas_thread_queue_cache = cmd;
> @@ -109,6 +124,7 @@ evas_thread_worker_func(void *data EINA_UNUSED, 
> Eina_Thread thread EINA_UNUSED)
>cmd++;
>len--;
> }
> + eina_lock_release(&evas_thread_block_lock);
>}

I'm not sure this will sync all rendering canvases. At least not in
the same way the _rendering_wait() works. What do you want?

-- Ulisses

>  out:
> @@ -128,6 +144,8 @@ evas_thread_init(void)
>
>  if (!eina_lock_new(&evas_thread_queue_lock))
>CRIT("Could not create draw thread lock");
> +if (!eina_lock_new(&evas_thread_block_lock))
> +  CRIT("Could not create draw thread block lock");
>  if (!eina_condition_new(&evas_thread_queue_condition, 
> &evas_thread_queue_lock))
>CRIT("Could not create draw thread condition");
>  if (!eina_thread_create(&evas_thread_worker, EINA_THREAD_NORMAL, 0,
> @@ -154,6 +172,7 @@ evas_thread_shutdown(void)
>evas_async_events_process();
>
>  eina_thread_join(evas_thread_worker);
> +eina_lock_free(&evas_thread_block_lock);
>  eina_lock_free(&evas_thread_queue_lock);
>  eina_condition_free(&evas_thread_queue_condition);
>
> diff --git a/src/lib/evas/include/evas_common_private.h 
> b/src/lib/evas/include/evas_common_private.h
> index 336b7a6..24c9d87 100644
> --- a/src/lib/evas/include/evas_common_private.h
> +++ b/src/lib/evas/include/evas_common_private.h
> @@ -1253,7 +1253,9 @@ void  evas_thread_init(void);
>  void  evas_thread_shutdown(void);
>  EAPI void evas_thread_cmd_enqueue(Evas_Thread_Command_Cb cb, void 
> *data);
>  EAPI void evas_thread_queue_flush(Evas_Thread_Command_Cb cb, void 
> *data);
> -
> +EAPI void evas_thread_queue_block(void);
> +EAPI void evas_thread_queue_unblock(void);
> +
>  typedef enum _Evas_Render_Mode
>  {
> EVAS_RENDER_MODE_UNDEF,
>
> --
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013,

Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

2013-08-29 Thread Boris Faure
On 13-08-29 14:21, Michael Blumenkrantz wrote:
> it seems like edje version would be more understandable here

At first I wanted set those to EFL_VERSION_MAJOR/MINOR but since we're
using EINA_VERSION_MAJOR/MINOR. I thought it'd made sense to have the
same constructions everywhere.

> On Thu, Aug 29, 2013 at 2:18 PM, Boris Faure - Enlightenment Git <
> no-re...@enlightenment.org> wrote:
> 
> > billiob pushed a commit to branch master.
> >
> > commit 18ee1e1789a2b955ae1d6d836e48e8b8b839d93b
> > Author: Boris Faure 
> > Date:   Thu Aug 29 15:11:12 2013 +0200
> >
> > edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

-- 
Boris Faure
Pointer Arithmetician

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

2013-08-29 Thread Boris Faure
On 13-08-29 14:24, Tom Hacohen wrote:
> Or EFL_VERSION which is the only thing that makes sense in my pov.

I almost did it…
> > +" -DEINA_VERSION_MAJOR=%d 
> > DEFL_VERSION_MINOR=%d",

It's now done correctly.

-- 
Boris Faure
Pointer Arithmetician

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files

2013-08-29 Thread Michael Blumenkrantz
I guess I missed the place where we started ignoring the rest of the libs
and only checking eina version everywhere?


On Thu, Aug 29, 2013 at 2:27 PM, Boris Faure  wrote:

> On 13-08-29 14:21, Michael Blumenkrantz wrote:
> > it seems like edje version would be more understandable here
>
> At first I wanted set those to EFL_VERSION_MAJOR/MINOR but since we're
> using EINA_VERSION_MAJOR/MINOR. I thought it'd made sense to have the
> same constructions everywhere.
>
> > On Thu, Aug 29, 2013 at 2:18 PM, Boris Faure - Enlightenment Git <
> > no-re...@enlightenment.org> wrote:
> >
> > > billiob pushed a commit to branch master.
> > >
> > > commit 18ee1e1789a2b955ae1d6d836e48e8b8b839d93b
> > > Author: Boris Faure 
> > > Date:   Thu Aug 29 15:11:12 2013 +0200
> > >
> > > edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
>
> --
> Boris Faure
> Pointer Arithmetician
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #3

2013-08-29 Thread David Seikel
On Mon, 26 Aug 2013 10:41:00 -0300 Gustavo Lima Chaves
 wrote:

> * David Seikel  [2013-08-26 19:35:19 +1000]:
> 
> > On Mon, 19 Aug 2013 10:37:21 +0100 Michael Blumenkrantz
> >  wrote:
> > 
> > > On Mon, Aug 19, 2013 at 9:45 AM, Carsten Haitzler
> > > wrote:
> > > 
> > > > On Mon, 19 Aug 2013 03:09:08 +0100 Michael Blumenkrantz
> > > >  said:
> > > >
> > > >
> > > > http://www.blogcdn.com/www.mandatory.com/media/2013/05/i.chzbgr-1368026628.gif
> > > >
> > > > 1. stacking seems to frequently go wrong on a regular basis. the
> > > > problem is figuring out a trigger. what i HAVE noticed is that
> > > > if you restart e often and/or have 2 screens it happens a fair
> > > > bit.
> > > >
> > > 
> > > ECANTREPRODUCE
> > 
> > Since updating last night I have bad issues with a sticky, always
> > below gkrellm window.  It often thinks it should be always on top.
> > Got so bad I had to disable that app.
> 
> I second thee.
> 
> > 
> > General twiddling with "always on top" and "always below" shows they
> > are randomly fucked now.

These seem to be fixed now.  Thanks.

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


signature.asc
Description: PGP signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] could somebody design Enventor logo?

2013-08-29 Thread ChunEon Park
Could somebody design Enventor logo gladly?

I'm not a professional for design as well as im  poor at deisn tool.  :-3

I hope you help me If you have talent for design.
 

-Regards, Hermet-
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] could somebody design Enventor logo?

2013-08-29 Thread Cedric BAIL
On Fri, Aug 30, 2013 at 8:12 AM, ChunEon Park  wrote:
> Could somebody design Enventor logo gladly?
>
> I'm not a professional for design as well as im  poor at deisn tool.  :-3

Maybe their will be more help from the users mailing list.
-- 
Cedric BAIL

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] could somebody design Enventor logo?

2013-08-29 Thread ChunEon Park
Oh, I missed. 
thank you.
 

-Regards, Hermet- 

-Original Message-
From: "Cedric BAIL" 
To: "Enlightenment developer list"; 
"E Users"; 
Cc: 
Sent: 2013-08-30 (금) 15:38:59
Subject: Re: [E-devel] could somebody design Enventor logo?

On Fri, Aug 30, 2013 at 8:12 AM, ChunEon Park @naver.com> wrote:
> Could somebody design Enventor logo gladly?
>
> I'm not a professional for design as well as im  poor at deisn tool.  :-3

Maybe their will be more help from the users mailing list.
-- 
Cedric BAIL

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel