[EGIT] [core/efl] master 01/01: elm_notify: null out allow events when its deleted
bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=29cb2217b8dba1327801655d472668cfa6dc2d7c commit 29cb2217b8dba1327801655d472668cfa6dc2d7c Author: Marcel HollerbachDate: Sat Feb 4 23:41:55 2017 +0100 elm_notify: null out allow events when its deleted otherwise later dismisscalls to that object will lead to spammy error messages in the console --- src/lib/elementary/elm_notify.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c index 26aec38..6bb58be 100644 --- a/src/lib/elementary/elm_notify.c +++ b/src/lib/elementary/elm_notify.c @@ -688,7 +688,10 @@ _elm_notify_allow_events_set(Eo *obj, Elm_Notify_Data *sd, Eina_Bool allow) _block_area_clicked_cb, obj); } else - evas_object_del(sd->block_events); + { +evas_object_del(sd->block_events); +sd->block_events = NULL; + } } EOLIAN static Eina_Bool --
[EGIT] [core/efl] master 01/01: ecore thread: Fix waiting.
illogict pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=cece2b53d735af12db5aa79143afdae64c17abfd commit cece2b53d735af12db5aa79143afdae64c17abfd Author: Chidambar ZinnouryDate: Sat Feb 4 19:12:03 2017 +0100 ecore thread: Fix waiting. Waiting would sometimes return as if the thread finished correctly while it is still running. This is because we’re waiting for the waiter data to be null… but this is always the case if the user-passed data is null! @fix --- src/lib/ecore/ecore_thread.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c index 981865b..8da3e85 100644 --- a/src/lib/ecore/ecore_thread.c +++ b/src/lib/ecore/ecore_thread.c @@ -799,6 +799,7 @@ struct _Ecore_Thread_Waiter Ecore_Thread_Cb func_cancel; Ecore_Thread_Cb func_end; const void *data; + Eina_Bool waiting; }; static void @@ -808,10 +809,11 @@ _ecore_thread_wait_reset(Ecore_Thread_Waiter *waiter, worker->data = waiter->data; worker->func_cancel = waiter->func_cancel; worker->func_end = waiter->func_end; - // The waiter will be checked by _wait, NULL meaning it is done + waiter->func_end = NULL; waiter->func_cancel = NULL; waiter->data = NULL; + waiter->waiting = EINA_FALSE; } static void @@ -845,12 +847,13 @@ ecore_thread_wait(Ecore_Thread *thread, double wait) waiter.data = worker->data; waiter.func_end = worker->func_end; waiter.func_cancel = worker->func_cancel; + waiter.waiting = EINA_TRUE; // Now trick the thread to call the wrapper function worker->data = worker->func_cancel = _ecore_thread_wait_cancel; worker->func_end = _ecore_thread_wait_end; - while (waiter.data) + while (waiter.waiting == EINA_TRUE) { double start, end; @@ -863,7 +866,7 @@ ecore_thread_wait(Ecore_Thread *thread, double wait) if (wait <= 0) break; } - if (!waiter.data) + if (waiter.waiting == EINA_FALSE) { return EINA_TRUE; } --
[EGIT] [website/www-content] master 01/01: Wiki page debian-start changed with summary [] by Pierre Couderc
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=dc5eb3e3f7a5d52a432322efe7f2a0c7ab0ec659 commit dc5eb3e3f7a5d52a432322efe7f2a0c7ab0ec659 Author: Pierre CoudercDate: Sat Feb 4 02:25:00 2017 -0800 Wiki page debian-start changed with summary [] by Pierre Couderc --- pages/distros/debian-start.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/distros/debian-start.txt b/pages/distros/debian-start.txt index d205a24..9aa9386 100644 --- a/pages/distros/debian-start.txt +++ b/pages/distros/debian-start.txt @@ -159,4 +159,4 @@ startx These run-time requirements may be provided - or not - by a display manger. In this case, you can reboot and choose Enlightenment as a window manager. == Test == -This procedure has been tested in Februaey 2017 on jessie 8.7.1 and on stretch. +This procedure has been tested in February 2017 on jessie 8.7.1 and on stretch. --
[EGIT] [website/www-content] master 01/01: Wiki page debian-start changed with summary [] by Pierre Couderc
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=3e2663a58f67e8ecc78924c3566fab206b7b104f commit 3e2663a58f67e8ecc78924c3566fab206b7b104f Author: Pierre CoudercDate: Sat Feb 4 02:23:30 2017 -0800 Wiki page debian-start changed with summary [] by Pierre Couderc --- pages/distros/debian-start.txt | 41 - 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/pages/distros/debian-start.txt b/pages/distros/debian-start.txt index 8f72f36..d205a24 100644 --- a/pages/distros/debian-start.txt +++ b/pages/distros/debian-start.txt @@ -1,7 +1,15 @@ ~~Title: Debian~~ - Debian += Debian = -Enlightenment and EFL Debian official packages are outdated. In this part, the installation for Debian is done from sources like in the [[/docs-efl-start|Get EFL installed]] tutorial. +Enlightenment and EFL Debian official packages are outdated. + +Two ways are possible : install from the sources, or install from the debian experimental repository. + +To start Enlightenment, see the run-time requirements below. + + Install from the sources + +In this part, the installation for Debian is done from sources like in the [[/docs-efl-start|Get EFL installed]] tutorial. The following part provides a script and shows how to install Enlightenment and Terminology with their dependencies on Debian. The script below can be easily adapted for Elementary. @@ -114,7 +122,25 @@ It is not mandatory, but if you want to use a display manager such as gdm, kdm o sudo ln -s /usr/local/share/xsessions/enlightenment.desktop /usr/share/xsessions/ -== Run == + From debian experimental repository + +Edit /etc/apt/sources.list to add an entry : + +deb http://httpredir.debian.org/debian experimental main + +Then install enlightenment with : + +apt-get update +apt-get -t experimental install enlightenment + +And terminology : + +apt-get -t experimental install terminology + + +For upgrade see [[https://wiki.debian.org/DebianExperimental|debian experimental]]. + + Run-time requirements A minimum run-time environment requires : apt install dbus-x11 xinit xorg @@ -123,9 +149,14 @@ and creating ./xinitrc : exec enlightenment_start -then running startx. +It may be necessary to make it executable. + +Then run on an X terminal: + +startx + These run-time requirements may be provided - or not - by a display manger. In this case, you can reboot and choose Enlightenment as a window manager. == Test == -This procedure has been tested in January 2017 on debian 8.7.1. +This procedure has been tested in Februaey 2017 on jessie 8.7.1 and on stretch. --
[EGIT] [core/efl] master 01/01: edje: unset timer pointer after delete.
ami pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1a798c37dc9258a1e322a740ee07ef1da285e2d2 commit 1a798c37dc9258a1e322a740ee07ef1da285e2d2 Author: Amitesh SinghDate: Sat Feb 4 13:18:55 2017 +0530 edje: unset timer pointer after delete. Signed-off-by: Amitesh Singh --- src/lib/edje/edje_callbacks.c | 1 + src/lib/edje/edje_load.c | 1 + src/lib/edje/edje_program.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/lib/edje/edje_callbacks.c b/src/lib/edje/edje_callbacks.c index 8a32093..8815489 100644 --- a/src/lib/edje/edje_callbacks.c +++ b/src/lib/edje/edje_callbacks.c @@ -437,6 +437,7 @@ _edje_pending_timer_cb(void *data) pp = data; pp->edje->pending_actions = eina_list_remove(pp->edje->pending_actions, pp); _edje_program_run(pp->edje, pp->program, 1, "", ""); + pp->timer = NULL; free(pp); return ECORE_CALLBACK_CANCEL; } diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index 01030e3..c879586 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -2051,6 +2051,7 @@ _edje_file_del(Edje *ed) EINA_LIST_FREE(ed->pending_actions, pp) { ecore_timer_del(pp->timer); + pp->timer = NULL; free(pp); } } diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c index 232dcb3..1482fa4 100644 --- a/src/lib/edje/edje_program.c +++ b/src/lib/edje/edje_program.c @@ -873,6 +873,7 @@ low_mem_current: { ed->pending_actions = eina_list_remove(ed->pending_actions, pp); ecore_timer_del(pp->timer); + pp->timer = NULL; free(pp); // goto done; } --