Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback.
incorrect. state is not regarded to the size. State defines just on/off. it does not mean size changed. if you think size, changed covers the state on/off then the name should be state,changed. the scope of the size change is under the state change. but state change does not under the size change scope. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:34:51 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback. On Thu, Oct 31, 2013 at 6:03 PM, ChunEon Park hermet@naver.com wrote: Sorry. I don't agree on this change. This callback will be called wheneven any keypad state is changed. regardless of the size changed. If you meant *keypad state change* by virtualkeypad,state,on/off, keypad size is changed as well. So it's correct. The new callback covers more use cases than just virtualkeypad,state,on/off. Application code can be rewritten simpler by the new api than previous one. If there is any cases that virtualkeypad,size,changed is called even though keypad size is not changed, please let me know. Thanks in advance. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: git@lists.enlightenment.org; Cc: Sent: 2013-10-30 (수) 16:24:37 Subject: [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad,size,changed smart callback. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=cbd7446f0bf413ad821ac40703d2a2ca728758ef commit cbd7446f0bf413ad821ac40703d2a2ca728758ef Author: Daniel Juyung Seo seojuyung2@gmail.com Date: Wed Oct 30 16:17:57 2013 +0900 elm_conform.c: Added virtualkeypad,size,changed smart callback. When the virtualkeypad size is changed, applications get the notice. Applications can do internal object calculation according to the exact virtualkeypad size. This is useful when the exact size is important such as webkit usecase. --- ChangeLog 4 NEWS 1 + src/lib/elm_conform.c 7 +++ src/lib/elm_conform.h 3 +++ 4 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index fbeecc7..e99d3fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1727,3 +1727,7 @@ 2013-10-30 Amitesh Singh (_ami_) * image: Add support for clicked callback on Return/space/KP_Enter key press. + +2013-10-30 Daniel Juyung Seo (SeoZ) + +* conform: Added virtualkeypad,size,changed callback on virtualkeypad min size change. diff --git a/NEWS b/NEWS index 8481107..6876073 100644 --- a/NEWS +++ b/NEWS @@ -101,6 +101,7 @@ Additions: * Add elm_fileselector_hidden_visible_set/get() to show or hide hidden files/directories. * Add signals spinner,drag,start and spinner,drag,stop to the spinner widget. * Add support for clicked callback on Return/space/KP_Enter key press for image. + * Add virtualkeypad,size,changed callback on virtualkeypad min size change for conformant. Improvements: diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 9636ab8..cb00888 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -36,12 +36,14 @@ static const char SOFTKEY_PART[] = elm.swallow.softkey; static const char SIG_VIRTUALKEYPAD_STATE_ON[] = virtualkeypad,state,on; static const char SIG_VIRTUALKEYPAD_STATE_OFF[] = virtualkeypad,state,off; +static const char SIG_VIRTUALKEYPAD_SIZE_CHANGED[] = virtualkeypad,size,changed; static const char SIG_CLIPBOARD_STATE_ON[] = clipboard,state,on; static const char SIG_CLIPBOARD_STATE_OFF[] = clipboard,state,off; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_VIRTUALKEYPAD_STATE_ON, }, {SIG_VIRTUALKEYPAD_STATE_OFF, }, + {SIG_VIRTUALKEYPAD_SIZE_CHANGED, }, {SIG_CLIPBOARD_STATE_ON, }, {SIG_CLIPBOARD_STATE_OFF, }, {NULL, NULL} @@ -166,6 +168,8 @@ _conformant_part_sizing_eval(Evas_Object *obj, if (part_type ELM_CONFORMANT_VIRTUAL_KEYPAD_PART) { +Evas_Coord_Rectangle rect; + #ifdef HAVE_ELEMENTARY_X if ((!_conformant_part_geometry_get_from_env (ILLUME_KBD, sx, sy, sw, sh)) (xwin)) @@ -189,6 +193,9 @@ _conformant_part_sizing_eval(Evas_Object *obj, DBG([KEYPAD]: size(%d,%d, %dx%d)., sx, sy, sw, sh); _conformant_part_size_hints_set (obj, sd-virtualkeypad, sx, sy, sw, sh); + +rect.x = sx; rect.y = sy; rect.w = sw; rect.h = sh; +evas_object_smart_callback_call(obj, SIG_VIRTUALKEYPAD_SIZE_CHANGED, (void *)rect); } if (part_type ELM_CONFORMANT_SOFTKEY_PART) diff --git
Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move.
Regardless of the API useful, I don't agree pushing the API at this moment. It wil break popup concept. otherwise, similiar behavior of move() and align() will be conflicted. if you agree align_set() can cover the popup_move() please just keep the align_set() only. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:29:02 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:42 PM, ChunEon Park hermet@naver.com wrote: Abosulte position for the popup is insane if the parent position is changed. And totally popup is depends on the notify, it should follow the notify concept. Agreed. I also suggested to create elm_popup_align_set() instead of this. And he suggested elm_popup_move() to use pixel which I found it useful. Because the author of this commit is away, I will fix it before the today's feature freeze: 1. adding elm_popup_align_set() 2. fixing elm_popup_move() to depend on its parent position. 3. (optional) adding elm_notify_move() to use pixel Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: git@lists.enlightenment.org; Sent: 2013-11-04 (월) 14:37:54 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:31 PM, ChunEon Park hermet@naver.com wrote: Eek! How about keeping the API name with notify? elm_notify_align_set()? Thanks for the interest and comments but the concept is different from align_set. elm_notify_align_set() gets relative position as a parameter but elm_popup_move() gets absolute pixel information just like elm_menu_move(). So elm_popup_move() is correct. EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); EAPI void elm_popup_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Abhinandan Aryadiptaa.aryadipta@samsung.com To: git@lists.enlightenment.org; Cc: Sent: 2013-11-03 (일) 23:29:06 Subject: [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e Author: Abhinandan Aryadipta a.aryadipta@samsung.com Date: Sun Nov 3 23:01:19 2013 +0900 popup: Added support for popup move. elm_popup_move. Summary: Added support for popup move Test Plan: elm_popup_move Reviewers: seoz, singh.amitesh, tasn, Hermet CC: raster Differential Revision: https://phab.enlightenment.org/D247 --- ChangeLog4 NEWS 1 + src/bin/test_popup.c58 ++ src/lib/elc_popup.c 41 src/lib/elc_popup_eo.h 14 +++ src/lib/elc_popup_legacy.h 15 6 files changed, 133 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66e4536..434f65f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1741,3 +1741,7 @@ * genlist , gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL. It disallow multiple selection when clicked without control pressed although multiple selection is enabled. + +2013-10-03 Abhinandan Aryadipta (aryarockstar) + +* Popup - Added elm_popup_move() api. diff --git a/NEWS b/NEWS index 4ba58bf..fece1e7 100644 --- a/NEWS +++ b/NEWS @@ -102,6 +102,7 @@ Additions: * Add virtualkeypad,size,changed callback on virtualkeypad min size change for conformant. * Add elm_slider_step_get(), elm_slider_step_set() for slider. * Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL select mode for genlist/gengrid. + * Add support elm_popup_move() for popup. Improvements: diff --git a/src/bin/test_popup.c b/src/bin/test_popup.c index fa2d06e..945c3df 100644 --- a/src/bin/test_popup.c +++ b/src/bin/test_popup.c @@ -22,6 +22,35 @@ _popup_close_cb(void *data, Evas_Object *obj EINA_UNUSED, } static void +_popup_move_cb(void *data, Evas_Object *obj EINA_UNUSED, + void *event_info EINA_UNUSED) +{ + static int
[EGIT] [core/elementary] master 01/01: Quicklaunch: Remove extra build code for elm_test
jpeg pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=97264f434d88af38aead65426d67236c7f89ffc0 commit 97264f434d88af38aead65426d67236c7f89ffc0 Author: Jean-Philippe Andre jp.an...@samsung.com Date: Mon Nov 4 17:19:43 2013 +0900 Quicklaunch: Remove extra build code for elm_test Now that we know we can just compile PIE programs and run them with quicklaunch, let's simplify the build logic. I'm pretty sure it even gives a nice boost in the build process :) --- src/bin/Makefile.am | 48 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 9069050..959ad07 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -37,7 +37,7 @@ bin_PROGRAMS = \ @ELM_PREFS_CC_PRG@ if BUILD_QUICKLAUNCH -bin_PROGRAMS += elementary_quicklaunch elementary_run elementary_testql +bin_PROGRAMS += elementary_quicklaunch elementary_run endif EXTRA_PROGRAMS = elementary_test elementary_config elementary_codegen elm_prefs_cc @@ -157,8 +157,14 @@ elementary_test_LDADD = $(top_builddir)/src/lib/libelementary.la \ @EIO_LIBS@ \ @ELEMENTARY_WEB_LIBS@ \ @my_libs@ +elementary_test_CFLAGS = elementary_test_LDFLAGS = +if BUILD_QUICKLAUNCH +elementary_test_CFLAGS += -fpie +elementary_test_LDFLAGS += -pie -rdynamic +endif + elementary_config_SOURCES = \ config.c @@ -228,45 +234,7 @@ elementary_run_SOURCES = run.c elementary_run_LDADD = elementary_run_LDFLAGS = endif - -## This is how to build a quicklanch capable app -# build the shared lib version - libtool produces a .a and .la file as well -# as a .so - these get put in libdir ($PREFIX/lib) as elementary_testql.so -# etc. - this is where elementary will expect to find the .so's for -# quicklaunch apps. -elementary_testqldir = $(libdir) -elementary_testql_LTLIBRARIES = elementary_testql.la -elementary_testql_la_SOURCES = $(elementary_test_SOURCES) -elementary_testql_la_LIBADD = $(top_builddir)/src/lib/libelementary.la \ -@ELEMENTARY_WAYLAND_LIBS@ \ - @ELEMENTARY_EWEATHER_LIBS@ \ - @ELEMENTARY_ELDBUS_LIBS@ \ - @ELEMENTARY_EFREET_LIBS@ \ - @ELEMENTARY_ELOCATION_LIBS@ \ - @ELEMENTARY_EMAP_LIBS@ \ - @ELEMENTARY_LIBS@ \ - @EIO_LIBS@ \ - @ELEMENTARY_WEB_LIBS@ \ - @my_libs@ - -elementary_testql_la_CFLAGS = -elementary_testql_la_LDFLAGS = -module -avoid-version -no-undefined -elementary_testql_SOURCES = $(elementary_test_SOURCES) -elementary_testql_LDADD = $(top_builddir)/src/lib/libelementary.la \ -@ELEMENTARY_WAYLAND_LIBS@ \ - @ELEMENTARY_EWEATHER_LIBS@ \ - @ELEMENTARY_ELDBUS_LIBS@ \ - @ELEMENTARY_EFREET_LIBS@ \ - @ELEMENTARY_ELOCATION_LIBS@ \ - @ELEMENTARY_EMAP_LIBS@ \ - @ELEMENTARY_LIBS@ \ - @EIO_LIBS@ \ - @ELEMENTARY_WEB_LIBS@ \ - @my_libs@ - -elementary_testql_CFLAGS = -DELM_LIB_QUICKLAUNCH=1 -elementary_testql_LDFLAGS = endif EXTRA_DIST = \ -test_factory.c \ No newline at end of file +test_factory.c --
Re: [E-devel] Elementary QuickLaunch and PIE executables
Hello again, I have submitted some changes to Elementary, reviewed by Cedric, so blame him if everything is broken now :) The following commits remove elementary_testql, simplify the build logic based on PIE and even simplify execution of quicklaunch programs (by extending the searched paths): https://git.enlightenment.org/core/elementary.git/commit/?id=876f8bccc7fed2f8511c9bdbe1c0e21be30290ca https://git.enlightenment.org/core/elementary.git/commit/?id=97264f434d88af38aead65426d67236c7f89ffc0 I'll remove the now useless #ifdef ELM_LIB_QUICKLAUNCH in elementary. Btw, I forgot to add that the linker needs -rdynamic -pie and not just -pie :) Best regards, 2013/11/4 Jean-Philippe André j...@videolan.org Hello, TL;DR: I want to get rid of the quicklaunch complex wrapper + lib system and compile apps with -fPIC and link with -pie instead. Little to no changes required in elementary. As was pointed out recentely on this very mailing list, it is possible to make .so files that are runnable. The mail pointed to: http://rachid.koucha.free.fr/tech_corner/executable_lib.html This is IMO a pretty hacky solution (especially the part where we need to point directly to ld-linux-2.so). It's not very portable as it already won't run on x64 (need to change the ld library path). Also, I could not manage to get proper argc, argv in main (only the program name). Instead of that, we can compile apps with -fPIC (or -fpic or -fpie or -fPIE) and link with -pie. This will make linkable executables, instead of executable shared libraries :) Now, as you know, we have this Quicklaunch system that will load a library containing the application's code and run elm_main from there. The associated executable is then just a wrapper linked to that library and that calls elm_quicklaunch_fallback(). I see a few drawbacks to this model: - Compilation requires to take care of Quicklaunch, enabling #define flags as well as adding specific instructions in Makefiles to generate the lib and wrapper. - A program needs to be installed in order to be run by elementary_run (looks into ../lib folder) - There are two files instead of one (lib + wrapper) All of this seems a bit confusing to me, especially considering it is pretty easy to render an executable linkable by dlopen/dlsym, by using -fpie and -pie. I believe we can consider the performance hit minimal in normal use cases. For legacy support, we need to keep some stuff around, but I believe we should get rid of -DELM_LIB_QUICKLAUNCH and advise to compile PIE instead. Should we go as far as adding a #warning if ELM_LIB_QUICKLAUNCH is defined? :) Best regards, -- Jean-Philippe André -- Jean-Philippe André -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/efl] master 01/01: evil: let's try to get the right header.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=27cce49ab166c4dd4f4fb372ef377c7b1e5acb02 commit 27cce49ab166c4dd4f4fb372ef377c7b1e5acb02 Author: Cedric Bail cedric.b...@samsung.com Date: Mon Nov 4 17:42:58 2013 +0900 evil: let's try to get the right header. --- src/lib/evil/regex/regerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evil/regex/regerror.c b/src/lib/evil/regex/regerror.c index e3cbe4b..5181b80 100644 --- a/src/lib/evil/regex/regerror.c +++ b/src/lib/evil/regex/regerror.c @@ -4,8 +4,8 @@ #include ctype.h #include limits.h #include stdlib.h -#include regex.h +#include regex.h #include utils.h #include regerror.ih --
Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback.
On Mon, Nov 4, 2013 at 5:08 PM, ChunEon Park her...@naver.com wrote: incorrect. state is not regarded to the size. State defines just on/off. it does not mean size changed. Oh that's intersting. Do you use zero sized virtual keypad? LOL Please share a video. Thanks. Daniel Juyung Seo (SeoZ) if you think size, changed covers the state on/off then the name should be state,changed. the scope of the size change is under the state change. but state change does not under the size change scope. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:34:51 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback. On Thu, Oct 31, 2013 at 6:03 PM, ChunEon Park hermet@naver.com wrote: Sorry. I don't agree on this change. This callback will be called wheneven any keypad state is changed. regardless of the size changed. If you meant *keypad state change* by virtualkeypad,state,on/off, keypad size is changed as well. So it's correct. The new callback covers more use cases than just virtualkeypad,state,on/off. Application code can be rewritten simpler by the new api than previous one. If there is any cases that virtualkeypad,size,changed is called even though keypad size is not changed, please let me know. Thanks in advance. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: git@lists.enlightenment.org; Cc: Sent: 2013-10-30 (수) 16:24:37 Subject: [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad,size,changed smart callback. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=cbd7446f0bf413ad821ac40703d2a2ca728758ef commit cbd7446f0bf413ad821ac40703d2a2ca728758ef Author: Daniel Juyung Seo seojuyung2@gmail.com Date: Wed Oct 30 16:17:57 2013 +0900 elm_conform.c: Added virtualkeypad,size,changed smart callback. When the virtualkeypad size is changed, applications get the notice. Applications can do internal object calculation according to the exact virtualkeypad size. This is useful when the exact size is important such as webkit usecase. --- ChangeLog 4 NEWS 1 + src/lib/elm_conform.c 7 +++ src/lib/elm_conform.h 3 +++ 4 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index fbeecc7..e99d3fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1727,3 +1727,7 @@ 2013-10-30 Amitesh Singh (_ami_) * image: Add support for clicked callback on Return/space/KP_Enter key press. + +2013-10-30 Daniel Juyung Seo (SeoZ) + +* conform: Added virtualkeypad,size,changed callback on virtualkeypad min size change. diff --git a/NEWS b/NEWS index 8481107..6876073 100644 --- a/NEWS +++ b/NEWS @@ -101,6 +101,7 @@ Additions: * Add elm_fileselector_hidden_visible_set/get() to show or hide hidden files/directories. * Add signals spinner,drag,start and spinner,drag,stop to the spinner widget. * Add support for clicked callback on Return/space/KP_Enter key press for image. + * Add virtualkeypad,size,changed callback on virtualkeypad min size change for conformant. Improvements: diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 9636ab8..cb00888 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -36,12 +36,14 @@ static const char SOFTKEY_PART[] = elm.swallow.softkey; static const char SIG_VIRTUALKEYPAD_STATE_ON[] = virtualkeypad,state,on; static const char SIG_VIRTUALKEYPAD_STATE_OFF[] = virtualkeypad,state,off; +static const char SIG_VIRTUALKEYPAD_SIZE_CHANGED[] = virtualkeypad,size,changed; static const char SIG_CLIPBOARD_STATE_ON[] = clipboard,state,on; static const char SIG_CLIPBOARD_STATE_OFF[] = clipboard,state,off; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_VIRTUALKEYPAD_STATE_ON, }, {SIG_VIRTUALKEYPAD_STATE_OFF, }, + {SIG_VIRTUALKEYPAD_SIZE_CHANGED, }, {SIG_CLIPBOARD_STATE_ON, }, {SIG_CLIPBOARD_STATE_OFF, }, {NULL, NULL} @@ -166,6 +168,8 @@ _conformant_part_sizing_eval(Evas_Object *obj, if (part_type ELM_CONFORMANT_VIRTUAL_KEYPAD_PART) { +Evas_Coord_Rectangle rect; + #ifdef HAVE_ELEMENTARY_X if ((!_conformant_part_geometry_get_from_env (ILLUME_KBD, sx, sy, sw, sh)) (xwin)) @@ -189,6 +193,9 @@ _conformant_part_sizing_eval(Evas_Object *obj, DBG([KEYPAD]: size(%d,%d, %dx%d)., sx, sy, sw, sh);
Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move.
On Mon, Nov 4, 2013 at 5:14 PM, ChunEon Park her...@naver.com wrote: Regardless of the API useful, I don't agree pushing the API at this moment. It wil break popup concept. otherwise, similiar behavior of move() and align() will be conflicted. How does that break popup concept? That's interesting. Where is it described? Daniel Juyung Seo (SeoZ) if you agree align_set() can cover the popup_move() please just keep the align_set() only. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:29:02 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:42 PM, ChunEon Park hermet@naver.com wrote: Abosulte position for the popup is insane if the parent position is changed. And totally popup is depends on the notify, it should follow the notify concept. Agreed. I also suggested to create elm_popup_align_set() instead of this. And he suggested elm_popup_move() to use pixel which I found it useful. Because the author of this commit is away, I will fix it before the today's feature freeze: 1. adding elm_popup_align_set() 2. fixing elm_popup_move() to depend on its parent position. 3. (optional) adding elm_notify_move() to use pixel Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: git@lists.enlightenment.org; Sent: 2013-11-04 (월) 14:37:54 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:31 PM, ChunEon Park hermet@naver.com wrote: Eek! How about keeping the API name with notify? elm_notify_align_set()? Thanks for the interest and comments but the concept is different from align_set. elm_notify_align_set() gets relative position as a parameter but elm_popup_move() gets absolute pixel information just like elm_menu_move(). So elm_popup_move() is correct. EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); EAPI void elm_popup_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Abhinandan Aryadiptaa.aryadipta@samsung.com To: git@lists.enlightenment.org; Cc: Sent: 2013-11-03 (일) 23:29:06 Subject: [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e Author: Abhinandan Aryadipta a.aryadipta@samsung.com Date: Sun Nov 3 23:01:19 2013 +0900 popup: Added support for popup move. elm_popup_move. Summary: Added support for popup move Test Plan: elm_popup_move Reviewers: seoz, singh.amitesh, tasn, Hermet CC: raster Differential Revision: https://phab.enlightenment.org/D247 --- ChangeLog4 NEWS 1 + src/bin/test_popup.c58 ++ src/lib/elc_popup.c 41 src/lib/elc_popup_eo.h 14 +++ src/lib/elc_popup_legacy.h 15 6 files changed, 133 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66e4536..434f65f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1741,3 +1741,7 @@ * genlist , gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL. It disallow multiple selection when clicked without control pressed although multiple selection is enabled. + +2013-10-03 Abhinandan Aryadipta (aryarockstar) + +* Popup - Added elm_popup_move() api. diff --git a/NEWS b/NEWS index 4ba58bf..fece1e7 100644 --- a/NEWS +++ b/NEWS @@ -102,6 +102,7 @@ Additions: * Add virtualkeypad,size,changed callback on virtualkeypad min size change for conformant. * Add elm_slider_step_get(), elm_slider_step_set() for slider. * Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL select mode for genlist/gengrid. + * Add support elm_popup_move() for popup. Improvements: diff --git a/src/bin/test_popup.c b/src/bin/test_popup.c
[E-devel] early alphas for e18 and terminology 0.4?
pinging you two here -but primarily the public list also for general comment. i am thinking we should put out *EARLY STAGE* alphas for e18 and terminology to go along with alphas for efl+elm+evas/emotion generic loaders/players. mainly to ensure we have people testing the latest things that will depend on efl1.8 anyway... so we get much better testing. what do you say? i will happily bump the autofoo for a alpha1 release for these and put up tarballs for you if you don't object? i don't intend to do any release here - just put up alphas to go alongside the above. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/evas_generic_loaders] master 01/01: alpha1 release autofoo/build tree work to pass distcheck and actually work
raster pushed a commit to branch master. http://git.enlightenment.org/core/evas_generic_loaders.git/commit/?id=d342495115c22e53d142445f0d5c5c34e6d1f83c commit d342495115c22e53d142445f0d5c5c34e6d1f83c Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:33:00 2013 +0900 alpha1 release autofoo/build tree work to pass distcheck and actually work --- configure.ac| 10 +- src/bin/pdf/Makefile.am | 16 src/bin/pdf/evas_generic_pdf_loader.libreoffice | 0 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 44ed0c4..13d9552 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,13 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [1]) -m4_define([v_min], [7]) -m4_define([v_mic], [99]) -m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) +m4_define([v_min], [8]) +m4_define([v_mic], [0]) +dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) ##-- When released, remove the dnl on the below line dnl m4_undefine([v_rev]) ##-- When doing snapshots - change soname. remove dnl on below line -dnl m4_define([relname], [ver-pre-svn-05]) +m4_define([relname], [alpha1]) dnl m4_define([v_rel], [-release relname]) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])]) @@ -17,7 +17,7 @@ m4_define([lt_age], v_min) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -AC_INIT([evas_generic_loaders], [v_ver], [enlightenment-devel@lists.sourceforge.net]) +AC_INIT([evas_generic_loaders], [v_ver-alpha1], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.52]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/bin/pdf/Makefile.am b/src/bin/pdf/Makefile.am index 52176c4..d57c9a0 100644 --- a/src/bin/pdf/Makefile.am +++ b/src/bin/pdf/Makefile.am @@ -12,6 +12,8 @@ AM_CPPFLAGS = \ @EINA_CFLAGS@ \ @POPPLER_CFLAGS@ +EXTRA_DIST = evas_generic_pdf_loader.libreoffice + bin_SCRIPTS = evas_generic_pdf_loader.libreoffice bin_PROGRAMS = evas_image_loader.pdf bindir = $(libdir)/evas/utils @@ -28,6 +30,20 @@ install-exec-hook: ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ppt ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.pptx ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odp + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xls + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xlsx + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ods + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.doc + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.docx + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odt + ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.rtf ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.ppt ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.pptx ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.odp + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.xls + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.xlsx + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.ods + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.doc + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.docx + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.odt + ln -sf evas_generic_pdf_loader.libreoffice $(DESTDIR)$(libdir)/evas/utils/evas_generic_pdf_loader.rtf diff --git a/src/bin/pdf/evas_generic_pdf_loader.libreoffice b/src/bin/pdf/evas_generic_pdf_loader.libreoffice old mode 100644 new mode 100755 --
[EGIT] [core/emotion_generic_players] master 01/01: alpha1 release autofoo/build tree work to pass distcheck and actually work
raster pushed a commit to branch master. http://git.enlightenment.org/core/emotion_generic_players.git/commit/?id=726203198da9f8d64c583af104afa57644b75629 commit 726203198da9f8d64c583af104afa57644b75629 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:32:55 2013 +0900 alpha1 release autofoo/build tree work to pass distcheck and actually work --- Makefile.am | 18 +++--- configure.ac | 11 ++- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7c5e7c5..97c53d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,8 @@ EXTRA_DIST = \ README \ AUTHORS \ COPYING \ -m4/efl_compiler_flag.m4 +m4/efl_compiler.m4 \ +m4/emotion_generic_players.m4 MAINTAINERCLEANFILES = \ aclocal.m4 \ @@ -27,9 +28,20 @@ install-sh \ ltmain.sh \ Makefile.in \ missing \ -mkinstalldirs +mkinstalldirs \ +m4/libtool.m4 \ +m4/lt~obsolete.m4 \ +m4/ltoptions.m4 \ +m4/ltsugar.m4 \ +m4/ltversion.m4 + + +# this won't pass distcheck :( +#emotiongenericplayersdir = $(EMOTION_GENERIC_PLAYERS_DIR) + +emotiongenericplayersdir = \ +$(DESTDIR)$(libdir)/emotion/generic_players/$(MODULE_ARCH) -emotiongenericplayersdir = $(EMOTION_GENERIC_PLAYERS_DIR) emotiongenericplayers_PROGRAMS = if HAVE_VLC diff --git a/configure.ac b/configure.ac index f97a392..cda4f8e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,13 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [1]) -m4_define([v_min], [7]) -m4_define([v_mic], [99]) -m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) +m4_define([v_min], [8]) +m4_define([v_mic], [0]) +dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) ##-- When released, remove the dnl on the below line dnl m4_undefine([v_rev]) ##-- When doing snapshots - change soname. remove dnl on below line -dnl m4_define([relname], [ver-pre-svn-05]) +dnl m4_define([relname], [alpha1]) dnl m4_define([v_rel], [-release relname]) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], @@ -18,7 +18,7 @@ m4_define([lt_age], v_min) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -AC_INIT([emotion_generic_players], [v_ver], [enlightenment-devel@lists.sourceforge.net]) +AC_INIT([emotion_generic_players], [v_ver-alpha1], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.59]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) @@ -107,6 +107,7 @@ EMOTION_GENERIC_PLAYERS_DIR=${EMOTION_GENERIC_PLAYERS_DIR}/${MODULE_ARCH} AC_MSG_CHECKING([where to install generic players]) AC_MSG_RESULT([${EMOTION_GENERIC_PLAYERS_DIR}]) AC_SUBST(EMOTION_GENERIC_PLAYERS_DIR) +AC_SUBST(MODULE_ARCH) Players EMOTION_GENERIC_PLAYER([VLC], [yes], [libvlc = 0.9 eina = 1.1.99 ecore = 1.7.99]) --
[EGIT] [core/elementary] master 01/01: alpha1 release autofoo/build tree work to pass distcheck and actually work
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=93a75d71caf248feb657021679f50d9e1c25f653 commit 93a75d71caf248feb657021679f50d9e1c25f653 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:32:44 2013 +0900 alpha1 release autofoo/build tree work to pass distcheck and actually work --- configure.ac| 82 ++--- po/ar.po| 14 - po/az_IR.po | 14 - po/ca.po| 14 - po/cs.po| 14 - po/de.po| 14 - po/el.po| 14 - po/eo.po| 14 - po/es.po| 14 - po/fa.po| 14 - po/fr.po| 14 - po/gl.po| 14 - po/he.po| 14 - po/it.po| 14 - po/ko_KR.po | 14 - po/nl.po| 14 - po/ps.po| 14 - po/pt.po| 14 - po/ru.po| 14 - po/sr.po| 14 - po/ur.po| 14 - po/yi.po| 14 - po/zh_CN.po | 14 - src/lib/Elementary.h.in | 6 ++-- 24 files changed, 200 insertions(+), 196 deletions(-) diff --git a/configure.ac b/configure.ac index b41bd43..9359596 100644 --- a/configure.ac +++ b/configure.ac @@ -1,13 +1,13 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [1]) -m4_define([v_min], [7]) -m4_define([v_mic], [99]) -m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) +m4_define([v_min], [8]) +m4_define([v_mic], [0]) +dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || echo 0) | tr -d '\n'])) ##-- When released, remove the dnl on the below line dnl m4_undefine([v_rev]) ##-- When doing snapshots - change soname. remove dnl on below line -dnl m4_define([relname], [ver-pre-svn-09]) +dnl m4_define([relname], [alpha1]) dnl m4_define([v_rel], [-release relname]) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], @@ -18,7 +18,7 @@ m4_define([lt_age], v_min) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -AC_INIT([elementary], [v_ver], [enlightenment-devel@lists.sourceforge.net]) +AC_INIT([elementary], [v_ver-alpha1], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) @@ -71,6 +71,10 @@ VMAJ=v_maj VMIN=v_min AC_SUBST(VMAJ) AC_SUBST(VMIN) +ELM_VERSION_MAJOR=v_maj +ELM_VERSION_MINOR=v_min +AC_SUBST(ELM_VERSION_MAJOR) +AC_SUBST(ELM_VERSION_MINOR) # pkg-config PKG_PROG_PKG_CONFIG @@ -228,30 +232,30 @@ AM_CONDITIONAL([ELEMENTARY_WINDOWS_BUILD], [test x${have_windows} = xyes]) PKG_CHECK_MODULES([ELEMENTARY], [ -eina = 1.7.99 -eet = 1.7.99 -evas = 1.7.99 -ecore = 1.7.99 -ecore-evas = 1.7.99 -ecore-file = 1.7.99 -ecore-input = 1.7.99 -edje = 1.7.99 -eo +eina = 1.8.0 +eet = 1.8.0 +evas = 1.8.0 +ecore = 1.8.0 +ecore-evas = 1.8.0 +ecore-file = 1.8.0 +ecore-input = 1.8.0 +edje = 1.8.0 +eo = 1.8.0 ] ) EFL_ENABLE_EO_API_SUPPORT EFL_ENABLE_BETA_API_SUPPORT -requirement_elm=edje = 1.7.99 ecore-file = 1.7.99 ecore-evas = 1.7.99 ecore = 1.7.99 evas = 1.7.99 eet = 1.7.99 eina = 1.7.99 ${requirement_elm} +requirement_elm=edje = 1.8.0 ecore-file = 1.8.0 ecore-evas = 1.8.0 ecore = 1.8.0 evas = 1.8.0 eet = 1.8.0 eina = 1.8.0 ${requirement_elm} PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF], - [ecore-imf = 1.7.99], + [ecore-imf = 1.8.0], [ ELEMENTARY_ECORE_IMF_INC=#include Ecore_IMF.h AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support]) have_ecore_imf=yes -requirement_elm=ecore-imf = 1.7.99 ${requirement_elm} +requirement_elm=ecore-imf = 1.8.0 ${requirement_elm} ], [have_ecore_imf=no]) AC_SUBST(ELEMENTARY_ECORE_IMF_INC) @@ -259,12 +263,12 @@ AC_SUBST(ELEMENTARY_ECORE_IMF_INC) AM_CONDITIONAL([HAVE_ECORE_IMF], [test x${have_ecore_imf} = xyes]) PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON], - [ecore-con = 1.7.99], + [ecore-con = 1.8.0], [ ELEMENTARY_ECORE_CON_INC=#include Ecore_Con.h AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support]) have_ecore_con=yes -requirement_elm=ecore-con = 1.7.99 ${requirement_elm} +requirement_elm=ecore-con = 1.8.0 ${requirement_elm} ], [have_ecore_con=no]) AC_SUBST(ELEMENTARY_ECORE_CON_INC) @@ -309,11 +313,11 @@ AC_ARG_ENABLE([ecore-x], if test x$want_elementary_x != xno;
[EGIT] [core/efl] master 01/01: alpha1 release autofoo/build tree work to pass distcheck and actually work
raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b07c0a76ceb252f755b4b36a2c9ca341c75b4cdc commit b07c0a76ceb252f755b4b36a2c9ca341c75b4cdc Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:31:48 2013 +0900 alpha1 release autofoo/build tree work to pass distcheck and actually work --- Makefile.am | 6 +- configure.ac | 9 +++-- m4/efl.m4| 3 ++- pc/ecore-audio.pc.in | 2 +- pc/ecore-cocoa.pc.in | 2 +- pc/ecore-con.pc.in | 2 +- pc/ecore-evas.pc.in | 2 +- pc/ecore-fb.pc.in| 2 +- pc/ecore-file.pc.in | 2 +- pc/ecore-imf-evas.pc.in | 2 +- pc/ecore-imf.pc.in | 2 +- pc/ecore-input-evas.pc.in| 2 +- pc/ecore-input.pc.in | 2 +- pc/ecore-ipc.pc.in | 2 +- pc/ecore-psl1ght.pc.in | 2 +- pc/ecore-sdl.pc.in | 2 +- pc/ecore-wayland.pc.in | 2 +- pc/ecore-win32.pc.in | 2 +- pc/ecore-wince.pc.in | 2 +- pc/ecore-x.pc.in | 2 +- pc/ecore.pc.in | 2 +- pc/edje.pc.in| 2 +- pc/eet.pc.in | 2 +- pc/eeze.pc.in| 2 +- pc/efreet-mime.pc.in | 2 +- pc/efreet-trash.pc.in| 2 +- pc/efreet.pc.in | 2 +- pc/eina.pc.in| 2 +- pc/eio.pc.in | 2 +- pc/eldbus.pc.in | 2 +- pc/embryo.pc.in | 2 +- pc/emotion.pc.in | 2 +- pc/eo.pc.in | 2 +- pc/ephysics.pc.in| 2 +- pc/escape.pc.in | 2 +- pc/ethumb.pc.in | 2 +- pc/ethumb_client.pc.in | 2 +- pc/evas.pc.in| 2 +- pc/evil.pc.in| 2 +- po/ca.po | 2 +- po/cs.po | 2 +- po/de.po | 2 +- po/el.po | 2 +- po/eo.po | 2 +- po/es.po | 2 +- po/fr.po | 2 +- po/gl.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ko.po | 2 +- po/lt.po | 2 +- po/nl.po | 2 +- po/pt.po | 2 +- po/ru.po | 2 +- po/sl.po | 2 +- po/sr.po | 2 +- po/zh_CN.po | 2 +- src/Makefile.am | 10 +++--- src/Makefile_Edje.am | 30 +- src/Makefile_Eeze.am | 2 +- src/lib/ecore/Ecore_Common.h | 6 -- src/lib/ecore_x/Ecore_X.h| 14 ++ src/lib/ecore_x/ecore_x_version.h.in | 13 - src/lib/edje/Edje.h | 5 +++-- src/lib/eet/Eet.h| 5 +++-- src/lib/eeze/Eeze.h | 5 +++-- src/lib/efl/Efl_Config.h.in | 3 +++ src/lib/efreet/Efreet.h | 5 +++-- src/lib/eina/eina_main.h | 6 -- src/lib/eio/Eio.h| 5 +++-- src/lib/eldbus/Eldbus.h | 5 +++-- src/lib/embryo/Embryo.h | 6 -- src/lib/emotion/Emotion.h| 5 +++-- src/lib/ephysics/EPhysics.h | 5 +++-- src/lib/ethumb/Ethumb.h | 5 +++-- src/lib/evas/Evas_Common.h | 4 ++-- 76 files changed, 155 insertions(+), 110 deletions(-) diff --git a/Makefile.am b/Makefile.am index 161a091..85c1fa0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,7 @@ ACLOCAL_AMFLAGS = -I m4 AM_MAKEFLAGS = --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS = \ ---with-tests=regular \ ---enable-always-build-examples \ ---enable-xine \ ---enable-sdl \ ---enable-harfbuzz +--with-tests=regular SUBDIRS = src data doc diff --git a/configure.ac b/configure.ac index 663fd63..78f6848 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -EFL_VERSION([1], [7], [99], [dev]) -AC_INIT([efl], [efl_version], [enlightenment-devel@lists.sourceforge.net]) +EFL_VERSION([1], [8], [0], [dev]) +AC_INIT([efl], [efl_version-alpha1], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.60]) AC_CONFIG_SRCDIR([configure.ac]) @@ -173,6 +173,11 @@ case $host_os in ;; esac +EFL_VERSION_MAJOR=v_maj +EFL_VERSION_MINOR=v_min +AC_SUBST(EFL_VERSION_MAJOR) +AC_SUBST(EFL_VERSION_MINOR) + want_systemd=no
[EGIT] [apps/terminology] master 01/01: efl version - bump version req for e18 to efl 1.8 (thus the coming alpha)
raster pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=0734ed8d570c88e99cd453d6b5fc20f0994fe133 commit 0734ed8d570c88e99cd453d6b5fc20f0994fe133 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:42:55 2013 +0900 efl version - bump version req for e18 to efl 1.8 (thus the coming alpha) --- configure.ac | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 13b259a..48f746e 100644 --- a/configure.ac +++ b/configure.ac @@ -18,22 +18,25 @@ AC_PROG_CC AM_PROG_CC_C_O AC_C___ATTRIBUTE__ +efl_version=1.8.0 +AC_SUBST(efl_version) + requirements=\ - elementary = 1.7.0 \ - eina = 1.7.0 \ - eet = 1.7.0 \ - evas = 1.7.0 \ - ecore = 1.7.0 \ - ecore-evas = 1.7.0 \ - ecore-file = 1.7.0 \ - edje = 1.7.0 \ - emotion = 1.7.0 \ - ecore-input = 1.7.0 \ - ecore-imf = 1.7.0 \ - ecore-imf-evas = 1.7.0 \ - ecore-ipc = 1.7.0 \ - efreet = 1.7.0 \ - ethumb_client = 1.7.0 \ + elementary = ${efl_version} \ + eina = ${efl_version} \ + eet = ${efl_version} \ + evas = ${efl_version} \ + ecore = ${efl_version} \ + ecore-evas = ${efl_version} \ + ecore-file = ${efl_version} \ + edje = ${efl_version} \ + emotion = ${efl_version} \ + ecore-input = ${efl_version} \ + ecore-imf = ${efl_version} \ + ecore-imf-evas = ${efl_version} \ + ecore-ipc = ${efl_version} \ + efreet = ${efl_version} \ + ethumb_client = ${efl_version} \ EFL_ENABLE_EO_API_SUPPORT --
[EGIT] [core/enlightenment] master 01/01: efl version - bump version req for e18 to efl 1.8 (thus the coming alpha)
raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b67f6d64b1703b680484e52c583b0f9f8b616b37 commit b67f6d64b1703b680484e52c583b0f9f8b616b37 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Mon Nov 4 18:42:07 2013 +0900 efl version - bump version req for e18 to efl 1.8 (thus the coming alpha) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 01d1f30..78979e4 100644 --- a/configure.ac +++ b/configure.ac @@ -74,7 +74,7 @@ EFL_CHECK_PATH_MAX AC_CHECK_FUNCS(setenv) AC_CHECK_FUNCS(unsetenv) -efl_version=1.7.8 +efl_version=1.8.0 AC_SUBST(efl_version) AC_CHECK_HEADERS([sys/timerfd.h sys/ptrace.h arpa/inet.h netinet/in.h]) --
Re: [E-devel] early alphas for e18 and terminology 0.4?
On 13-11-04 18:31, Carsten Haitzler wrote: pinging you two here -but primarily the public list also for general comment. i am thinking we should put out *EARLY STAGE* alphas for e18 and terminology to go along with alphas for efl+elm+evas/emotion generic loaders/players. mainly to ensure we have people testing the latest things that will depend on efl1.8 anyway... so we get much better testing. what do you say? i will happily bump the autofoo for a alpha1 release for these and put up tarballs for you if you don't object? i don't intend to do any release here - just put up alphas to go alongside the above. Current terminology in git was working with 1.7. But we can just require 1.8 to get more tests. -- Boris Faure Pointer Arithmetician -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] early alphas for e18 and terminology 0.4?
On Mon, 4 Nov 2013 10:48:40 +0100 bo...@fau.re (Boris Faure) said: On 13-11-04 18:31, Carsten Haitzler wrote: pinging you two here -but primarily the public list also for general comment. i am thinking we should put out *EARLY STAGE* alphas for e18 and terminology to go along with alphas for efl+elm+evas/emotion generic loaders/players. mainly to ensure we have people testing the latest things that will depend on efl1.8 anyway... so we get much better testing. what do you say? i will happily bump the autofoo for a alpha1 release for these and put up tarballs for you if you don't object? i don't intend to do any release here - just put up alphas to go alongside the above. Current terminology in git was working with 1.7. But we can just require 1.8 to get more tests. i bumped it up to 1.8.0 right now just for that purpose. for an actual release we can drop back to 1.7.0 :) but produce some alphas/betas that need 1.8 to ensure testing. :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] admin/devs.git layout changes
On 04/11/13 07:41, Guillaume Friloux wrote: On 02/11/2013 10:26, Chris Michael wrote: Na, old was not confusing. That's not what I said. I said perhaps it should be renamed to ancient (for those of us who have been around forever) :P dh Only white hairs and huge beard accepted I have a respectable beard. :) -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback.
here state off totally depends on the ECORE_X_VIRTUAL_KEYBOARD_STATE_ON/OFF and state on/off is closed to the visibility of the keyboard. invisble means not 0 sized. Actual keyboard size should be changed when ILLUME_ZONE and ILLUME_GEOMETRY both are changed. So I said it's logically wrong. only ILLUME_ZONE and ILLUME_GEOMETRY are changed then it should be called. But REAL problem is, we don't need to provide that kind of function rather than user need to catch up the changes of their content. since the content size will be not only chagned by keyboard but other parts such clipboard, indicator, softkey ... -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 18:16:12 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback. On Mon, Nov 4, 2013 at 5:08 PM, ChunEon Park hermet@naver.com wrote: incorrect. state is not regarded to the size. State defines just on/off. it does not mean size changed. Oh that's intersting. Do you use zero sized virtual keypad? LOL Please share a video. Thanks. Daniel Juyung Seo (SeoZ) if you think size, changed covers the state on/off then the name should be state,changed. the scope of the size change is under the state change. but state change does not under the size change scope. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: git@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:34:51 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad, size, changed smart callback. On Thu, Oct 31, 2013 at 6:03 PM, ChunEon Park hermet@naver.com wrote: Sorry. I don't agree on this change. This callback will be called wheneven any keypad state is changed. regardless of the size changed. If you meant *keypad state change* by virtualkeypad,state,on/off, keypad size is changed as well. So it's correct. The new callback covers more use cases than just virtualkeypad,state,on/off. Application code can be rewritten simpler by the new api than previous one. If there is any cases that virtualkeypad,size,changed is called even though keypad size is not changed, please let me know. Thanks in advance. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: git@lists.enlightenment.org; Cc: Sent: 2013-10-30 (수) 16:24:37 Subject: [EGIT] [core/elementary] master 01/01: elm_conform.c: Added virtualkeypad,size,changed smart callback. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=cbd7446f0bf413ad821ac40703d2a2ca728758ef commit cbd7446f0bf413ad821ac40703d2a2ca728758ef Author: Daniel Juyung Seo seojuyung2@gmail.com Date: Wed Oct 30 16:17:57 2013 +0900 elm_conform.c: Added virtualkeypad,size,changed smart callback. When the virtualkeypad size is changed, applications get the notice. Applications can do internal object calculation according to the exact virtualkeypad size. This is useful when the exact size is important such as webkit usecase. --- ChangeLog 4 NEWS 1 + src/lib/elm_conform.c 7 +++ src/lib/elm_conform.h 3 +++ 4 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index fbeecc7..e99d3fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1727,3 +1727,7 @@ 2013-10-30 Amitesh Singh (_ami_) * image: Add support for clicked callback on Return/space/KP_Enter key press. + +2013-10-30 Daniel Juyung Seo (SeoZ) + +* conform: Added virtualkeypad,size,changed callback on virtualkeypad min size change. diff --git a/NEWS b/NEWS index 8481107..6876073 100644 --- a/NEWS +++ b/NEWS @@ -101,6 +101,7 @@ Additions: * Add elm_fileselector_hidden_visible_set/get() to show or hide hidden files/directories. * Add signals spinner,drag,start and spinner,drag,stop to the spinner widget. * Add support for clicked callback on Return/space/KP_Enter key press for image. + * Add virtualkeypad,size,changed callback on virtualkeypad min size change for conformant. Improvements: diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 9636ab8..cb00888 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -36,12 +36,14 @@ static const char SOFTKEY_PART[] = elm.swallow.softkey; static const char SIG_VIRTUALKEYPAD_STATE_ON[] = virtualkeypad,state,on; static const char
Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move.
It says in popup doc. * The popup widget displays its content with a particular orientation in * the parent area. Absulte coordinates would break this action. People hardly understand if they use that kind of API. If they call elm_popup_move(100, 100); then popup should be (100, 100) position. But in some case if the parent is moved to 200, 200, then will you keep the popup position (100, 100)? if the popup is moved to 200, 200, then user may understand this behavior is bug. Relative value is simple and easy to understand in this case. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyu...@gmail.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-11-04 (월) 18:19:16 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 5:14 PM, ChunEon Park hermet@naver.com wrote: Regardless of the API useful, I don't agree pushing the API at this moment. It wil break popup concept. otherwise, similiar behavior of move() and align() will be conflicted. How does that break popup concept? That's interesting. Where is it described? Daniel Juyung Seo (SeoZ) if you agree align_set() can cover the popup_move() please just keep the align_set() only. -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: git@lists.enlightenment.org; Sent: 2013-11-04 (월) 16:29:02 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:42 PM, ChunEon Park hermet@naver.com wrote: Abosulte position for the popup is insane if the parent position is changed. And totally popup is depends on the notify, it should follow the notify concept. Agreed. I also suggested to create elm_popup_align_set() instead of this. And he suggested elm_popup_move() to use pixel which I found it useful. Because the author of this commit is away, I will fix it before the today's feature freeze: 1. adding elm_popup_align_set() 2. fixing elm_popup_move() to depend on its parent position. 3. (optional) adding elm_notify_move() to use pixel Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Daniel Juyung Seoseojuyung2@gmail.com To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: git@lists.enlightenment.org; Sent: 2013-11-04 (월) 14:37:54 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. On Mon, Nov 4, 2013 at 2:31 PM, ChunEon Park hermet@naver.com wrote: Eek! How about keeping the API name with notify? elm_notify_align_set()? Thanks for the interest and comments but the concept is different from align_set. elm_notify_align_set() gets relative position as a parameter but elm_popup_move() gets absolute pixel information just like elm_menu_move(). So elm_popup_move() is correct. EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); EAPI void elm_popup_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); Thanks. Daniel Juyung Seo (SeoZ) -Regards, Hermet- -Original Message- From: Abhinandan Aryadiptaa.aryadipta@samsung.com To: git@lists.enlightenment.org; Cc: Sent: 2013-11-03 (일) 23:29:06 Subject: [EGIT] [core/elementary] master 01/01: popup: Added support for popup move. elm_popup_move. seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e Author: Abhinandan Aryadipta a.aryadipta@samsung.com Date: Sun Nov 3 23:01:19 2013 +0900 popup: Added support for popup move. elm_popup_move. Summary: Added support for popup move Test Plan: elm_popup_move Reviewers: seoz, singh.amitesh, tasn, Hermet CC: raster Differential Revision: https://phab.enlightenment.org/D247 --- ChangeLog4 NEWS 1 + src/bin/test_popup.c58 ++ src/lib/elc_popup.c 41 src/lib/elc_popup_eo.h 14 +++ src/lib/elc_popup_legacy.h 15 6 files changed, 133 insertions(+) diff --git a/ChangeLog b/ChangeLog index
[EGIT] [core/enlightenment] master 01/01: e/randr: lower monitor on middle click
englebass pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=51a7ff2847b364cbba9e9e311851cf8c7d7e4d4a commit 51a7ff2847b364cbba9e9e311851cf8c7d7e4d4a Author: Sebastian Dransfeld s...@tango.flipp.net Date: Mon Nov 4 11:14:20 2013 +0100 e/randr: lower monitor on middle click If monitors are stacked above each other it is diffiult to find the monitor below. --- src/modules/conf_randr/e_smart_monitor.c | 39 +++- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 080ed94..131963c 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -1720,31 +1720,38 @@ _e_smart_monitor_thumb_cb_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Ob LOGFN(__FILE__, __LINE__, __FUNCTION__); ev = event; - if (ev-button != 1) return; /* try to get the monitor object */ if (!(mon = data)) return; - /* try to get the monitor smart data */ - if (!(sd = evas_object_smart_data_get(mon))) return; + if (ev-button == 1) + { +/* try to get the monitor smart data */ +if (!(sd = evas_object_smart_data_get(mon))) return; - /* set mouse pointer */ - _e_smart_monitor_pointer_push(sd-o_thumb, move); +/* set mouse pointer */ +_e_smart_monitor_pointer_push(sd-o_thumb, move); - /* set moving flag */ - sd-moving = EINA_TRUE; +/* set moving flag */ +sd-moving = EINA_TRUE; - /* record the clicked position */ - sd-mx = ev-canvas.x; - sd-my = ev-canvas.y; +/* record the clicked position */ +sd-mx = ev-canvas.x; +sd-my = ev-canvas.y; - /* record current size of monitor */ - evas_object_grid_pack_get(sd-grid.obj, mon, - sd-prev.x, sd-prev.y, - sd-prev.w, sd-prev.h); +/* record current size of monitor */ +evas_object_grid_pack_get(sd-grid.obj, mon, + sd-prev.x, sd-prev.y, + sd-prev.w, sd-prev.h); - /* raise the monitor */ - evas_object_raise(mon); +/* raise the monitor */ +evas_object_raise(mon); + } + else if (ev-button == 2) + { +/* lower the monitor */ +evas_object_lower(mon); + } } static void --
[EGIT] [games/elemines] master 01/02: Simplify Quicklaunch build
cedric pushed a commit to branch master. http://git.enlightenment.org/games/elemines.git/commit/?id=9021fbf3a2e7bc44b8c42459a9f4281eb55ea029 commit 9021fbf3a2e7bc44b8c42459a9f4281eb55ea029 Author: Jean-Philippe Andre jp.an...@samsung.com Date: Mon Nov 4 16:37:22 2013 +0900 Simplify Quicklaunch build Remove Quicklaunch-specific build and use -fpie and -pie -rdynamic to compile a linkable program. --- src/Makefile.am | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1d0ba53..afd038d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in -bin_PROGRAMS = elemines eleminesql +bin_PROGRAMS = elemines AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\$(datadir)/$(PACKAGE)\ \ @ELEMINES_CFLAGS@ @@ -11,21 +11,9 @@ elemines_SOURCES = \ init.c \ main.c -# QuickLaunch -eleminesql_SOURCES = $(elemines_SOURCES) -eleminesql_LTLIBRARIES = eleminesql.la -eleminesql_CFLAGS = -DELM_LIB_QUICKLAUNCH=1 -eleminesql_LDFLAGS = @ELEMINES_LIBS@ - -eleminesqldir = $(libdir) -eleminesql_la_LIBADD = @ELEMINES_LIBS@ -eleminesql_la_CFLAGS = -eleminesql_la_LDFLAGS = -module -avoid-version -no-undefined -eleminesql_la_SOURCES = $(elemines_SOURCES) - - +elemines_CFLAGS = -fpie elemines_LDADD = @ELEMINES_LIBS@ -elemines_LDFLAGS = $(LTLIBINTL) +elemines_LDFLAGS = $(LTLIBINTL) -pie -rdynamic localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\$(localedir)\ @DEFS@ --
[EGIT] [games/elemines] master 02/02: elemines: improved support for quicklaunch build.
cedric pushed a commit to branch master. http://git.enlightenment.org/games/elemines.git/commit/?id=f5f4254c66acf8ea20a6524b8bd96016ac5a27bf commit f5f4254c66acf8ea20a6524b8bd96016ac5a27bf Author: Cedric Bail cedric.b...@samsung.com Date: Mon Nov 4 17:56:34 2013 +0900 elemines: improved support for quicklaunch build. --- configure.ac | 1 + m4/elm_quicklaunch.m4 | 24 src/Makefile.am | 3 +-- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c698987..25a74b5 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,7 @@ LT_INIT([win32-dll]) AC_PROG_CC AM_PROG_CC_C_O EFL_ATTRIBUTE_UNUSED +ELM_QUICKLAUNCH EFL_COMPILER_FLAG([-Wall]) EFL_COMPILER_FLAG([-W]) diff --git a/m4/elm_quicklaunch.m4 b/m4/elm_quicklaunch.m4 new file mode 100644 index 000..19fb4be --- /dev/null +++ b/m4/elm_quicklaunch.m4 @@ -0,0 +1,24 @@ +dnl Copyright (C) 2013 Cedric Bail cedric dot bail at samsung dot com +dnl That code is public domain and can be freely used or copied + +dnl Macro that check if -pie -rdynamic can be given to ld + +dnl Usage: ELM_QUICKLAUNCH +dnl add -pie -rdynamic to LDFLAGS and -fpie to CFLAGS + +AC_DEFUN([ELM_QUICKLAUNCH], +[ +AC_MSG_CHECKING([If the compiler as what it takes to do quicklaunch (-pie -rdynamic)]) +old_LDFLAGS=$LDFLAGS +old_CFLAGS=$CFLAGS + +LDFLAGS=$LDFLAGS -pie -rdynamic +CFLAGS=$CFLAGS -fpie + +AC_LINK_IFELSE([int main(){}], +[AC_MSG_RESULT([yes])], +[LDFLAGS=$old_LDFLAGS + CFLAGS=$old_CFLAGS +AC_MSG_RESULT([no]) +]) +]) diff --git a/src/Makefile.am b/src/Makefile.am index afd038d..05e8679 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,9 +11,8 @@ elemines_SOURCES = \ init.c \ main.c -elemines_CFLAGS = -fpie elemines_LDADD = @ELEMINES_LIBS@ -elemines_LDFLAGS = $(LTLIBINTL) -pie -rdynamic +elemines_LDFLAGS = $(LTLIBINTL) localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\$(localedir)\ @DEFS@ --
[EGIT] [core/elementary] master 01/01: gengrid: Fixed documentation typo.
ryuan pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d9049a11de53edd946cd482d892718226e3c8e58 commit d9049a11de53edd946cd482d892718226e3c8e58 Author: Ryuan Choi ryuan.c...@gmail.com Date: Mon Nov 4 18:45:38 2013 +0900 gengrid: Fixed documentation typo. --- src/lib/elm_gengrid_legacy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_gengrid_legacy.h b/src/lib/elm_gengrid_legacy.h index 65d1599..81cdbaa 100644 --- a/src/lib/elm_gengrid_legacy.h +++ b/src/lib/elm_gengrid_legacy.h @@ -460,7 +460,7 @@ EAPI unsigned int elm_gengrid_items_count(const Evas_Object *obj); * * @param obj The gengrid object. * @param w The items' width. - * @param h The items' height; + * @param h The items' height. * * A gengrid, after creation, has still no information on the size * to give to each of its cells. So, you most probably will end up @@ -495,7 +495,7 @@ EAPI void elm_gengrid_item_size_get(const Evas_Object * * * @param obj The gengrid object. * @param w The group items' width. - * @param h The group items' height; + * @param h The group items' height. * * A gengrid, after creation, has still no information on the size * to give to each of its cells. So, you most probably will end up --
Re: [E-devel] admin/devs.git layout changes
On Mon, 04 Nov 2013 09:51:23 + Tom Hacohen tom.haco...@samsung.com wrote: On 04/11/13 07:41, Guillaume Friloux wrote: On 02/11/2013 10:26, Chris Michael wrote: Na, old was not confusing. That's not what I said. I said perhaps it should be renamed to ancient (for those of us who have been around forever) :P dh Only white hairs and huge beard accepted I have a respectable beard. :) I have a huge beard and white hairs. lol -- 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 -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: elementary: automatically detect if compiler can build quicklaunch binary.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0d0a746f0c0d210d5be1f741f7e5b3a8148c7755 commit 0d0a746f0c0d210d5be1f741f7e5b3a8148c7755 Author: Cedric Bail cedric.b...@samsung.com Date: Mon Nov 4 20:14:47 2013 +0900 elementary: automatically detect if compiler can build quicklaunch binary. --- configure.ac | 3 +++ m4/elm_quicklaunch.m4 | 24 src/bin/Makefile.am | 5 - 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 9359596..0c6a627 100644 --- a/configure.ac +++ b/configure.ac @@ -213,6 +213,9 @@ AC_ARG_ENABLE([quick-launch], [AC_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @:@default=detect@:@])], [want_quicklaunch=$enableval], []) +# Check if we can build binary with quicklaunch support +ELM_QUICKLAUNCH + if test x$want_quicklaunch != xno; then AC_CHECK_FUNCS(fork, [ have_fork=yes diff --git a/m4/elm_quicklaunch.m4 b/m4/elm_quicklaunch.m4 new file mode 100644 index 000..19fb4be --- /dev/null +++ b/m4/elm_quicklaunch.m4 @@ -0,0 +1,24 @@ +dnl Copyright (C) 2013 Cedric Bail cedric dot bail at samsung dot com +dnl That code is public domain and can be freely used or copied + +dnl Macro that check if -pie -rdynamic can be given to ld + +dnl Usage: ELM_QUICKLAUNCH +dnl add -pie -rdynamic to LDFLAGS and -fpie to CFLAGS + +AC_DEFUN([ELM_QUICKLAUNCH], +[ +AC_MSG_CHECKING([If the compiler as what it takes to do quicklaunch (-pie -rdynamic)]) +old_LDFLAGS=$LDFLAGS +old_CFLAGS=$CFLAGS + +LDFLAGS=$LDFLAGS -pie -rdynamic +CFLAGS=$CFLAGS -fpie + +AC_LINK_IFELSE([int main(){}], +[AC_MSG_RESULT([yes])], +[LDFLAGS=$old_LDFLAGS + CFLAGS=$old_CFLAGS +AC_MSG_RESULT([no]) +]) +]) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 959ad07..4240d6d 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -160,11 +160,6 @@ elementary_test_LDADD = $(top_builddir)/src/lib/libelementary.la \ elementary_test_CFLAGS = elementary_test_LDFLAGS = -if BUILD_QUICKLAUNCH -elementary_test_CFLAGS += -fpie -elementary_test_LDFLAGS += -pie -rdynamic -endif - elementary_config_SOURCES = \ config.c --
[EGIT] [core/efl] master 01/01: configure does not print tests option as a default
raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d93c4b23072d3fe4cd2b2375cf87b424d1a56ba6 commit d93c4b23072d3fe4cd2b2375cf87b424d1a56ba6 Author: Ryuan Choi ryuan.c...@gmail.com Date: Mon Nov 4 20:58:09 2013 +0900 configure does not print tests option as a default Reviewers: seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D62 --- configure.ac | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 78f6848..e88cf9c 100644 --- a/configure.ac +++ b/configure.ac @@ -96,9 +96,9 @@ case ${build_crypto} in esac AC_ARG_WITH([tests], - [AC_HELP_STRING([--with-tests=none|regular|coverage], - [choose testing method: regular, coverage or none. -@:@default=none@:@])], + [AC_HELP_STRING([--with-tests=none|auto|regular|coverage], + [choose testing method: regular, coverage or none or auto(same as regular if profile is dev). +@:@default=auto@:@])], [build_tests=${withval}], [build_tests=auto]) @@ -108,6 +108,9 @@ case ${build_tests} in auto) if test ${build_profile} = dev; then want_tests=yes +build_tests=regular + else +build_tests=none fi ;; regular) --
Re: [E-devel] admin/devs.git layout changes
On 04/11/13 11:44, David Seikel wrote: On Mon, 04 Nov 2013 09:51:23 + Tom Hacohen tom.haco...@samsung.com wrote: On 04/11/13 07:41, Guillaume Friloux wrote: On 02/11/2013 10:26, Chris Michael wrote: Na, old was not confusing. That's not what I said. I said perhaps it should be renamed to ancient (for those of us who have been around forever) :P dh Only white hairs and huge beard accepted I have a respectable beard. :) I have a huge beard and white hairs. lol Should I move both of us to old/inactive then? :) -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: POTFILES.in : Added missing files in src/lib
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=2d9ddd49d085e9034abc56700d2d88baf1718db0 commit 2d9ddd49d085e9034abc56700d2d88baf1718db0 Author: Ryuan Choi ryuan.c...@gmail.com Date: Mon Nov 4 21:01:06 2013 +0900 POTFILES.in : Added missing files in src/lib Reviewers: seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D76 --- po/POTFILES.in | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 612e725..7074f64 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -88,10 +88,16 @@ ./src/edje_externals/elm_thumb.c ./src/edje_externals/elm_toolbar.c ./src/lib/elc_ctxpopup.c -./src/lib/elc_fileselector_button.c ./src/lib/elc_fileselector.c +./src/lib/elc_fileselector_button.c ./src/lib/elc_fileselector_entry.c ./src/lib/elc_hoversel.c +./src/lib/elc_multibuttonentry.c +./src/lib/elc_naviframe.c +./src/lib/elc_player.c +./src/lib/elc_popup.c +./src/lib/elc_scrolled_entry.c +./src/lib/elm_access.c ./src/lib/elm_actionslider.c ./src/lib/elm_bg.c ./src/lib/elm_box.c @@ -104,24 +110,34 @@ ./src/lib/elm_colorselector.c ./src/lib/elm_config.c ./src/lib/elm_conform.c +./src/lib/elm_container.c +./src/lib/elm_datetime.c +./src/lib/elm_dayselector.c +./src/lib/elm_dbus_menu.c ./src/lib/elm_diskselector.c ./src/lib/elm_entry.c +./src/lib/elm_factory.c ./src/lib/elm_flip.c ./src/lib/elm_flipselector.c ./src/lib/elm_font.c ./src/lib/elm_frame.c ./src/lib/elm_gengrid.c ./src/lib/elm_genlist.c +./src/lib/elm_gesture_layer.c +./src/lib/elm_glview.c +./src/lib/elm_grid.c ./src/lib/elm_hover.c ./src/lib/elm_icon.c ./src/lib/elm_image.c ./src/lib/elm_index.c +./src/lib/elm_interface_scrollable.c +./src/lib/elm_inwin.c ./src/lib/elm_label.c ./src/lib/elm_layout.c ./src/lib/elm_list.c ./src/lib/elm_main.c -./src/lib/elm_mapbuf.c ./src/lib/elm_map.c +./src/lib/elm_mapbuf.c ./src/lib/elm_menu.c ./src/lib/elm_module.c ./src/lib/elm_notify.c @@ -129,24 +145,36 @@ ./src/lib/elm_panes.c ./src/lib/elm_photo.c ./src/lib/elm_photocam.c +./src/lib/elm_plug.c +./src/lib/elm_prefs.c +./src/lib/elm_prefs_data.c ./src/lib/elm_progressbar.c ./src/lib/elm_radio.c +./src/lib/elm_route.c ./src/lib/elm_scroller.c +./src/lib/elm_segment_control.c ./src/lib/elm_separator.c ./src/lib/elm_slider.c ./src/lib/elm_slideshow.c ./src/lib/elm_spinner.c ./src/lib/elm_store.c +./src/lib/elm_sys_notify.c +./src/lib/elm_systray.c +./src/lib/elm_systray_watcher.c ./src/lib/elm_table.c ./src/lib/elm_theme.c ./src/lib/elm_thumb.c ./src/lib/elm_toolbar.c ./src/lib/elm_transit.c ./src/lib/elm_util.c +./src/lib/elm_video.c +./src/lib/elm_web.c +./src/lib/elm_web2.c ./src/lib/elm_widget.c ./src/lib/elm_win.c ./src/lib/els_box.c ./src/lib/els_cursor.c ./src/lib/els_tooltip.c +./src/lib/elu_ews_wm.c ./src/modules/test_entry/mod.c ./src/modules/test_map/mod.c --
Re: [E-devel] admin/devs.git layout changes
On 11/04/2013 11:44 AM, David Seikel wrote: On Mon, 04 Nov 2013 09:51:23 + Tom Hacohen tom.haco...@samsung.com wrote: On 04/11/13 07:41, Guillaume Friloux wrote: On 02/11/2013 10:26, Chris Michael wrote: Na, old was not confusing. That's not what I said. I said perhaps it should be renamed to ancient (for those of us who have been around forever) :P dh Only white hairs and huge beard accepted I have a respectable beard. :) I have a huge beard and white hairs. lol Well, you are Ancient ! :P dh -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] admin/devs.git layout changes
On Mon, 04 Nov 2013 11:52:36 + Tom Hacohen tom.haco...@samsung.com wrote: On 04/11/13 11:44, David Seikel wrote: On Mon, 04 Nov 2013 09:51:23 + Tom Hacohen tom.haco...@samsung.com wrote: On 04/11/13 07:41, Guillaume Friloux wrote: On 02/11/2013 10:26, Chris Michael wrote: Na, old was not confusing. That's not what I said. I said perhaps it should be renamed to ancient (for those of us who have been around forever) :P dh Only white hairs and huge beard accepted I have a respectable beard. :) I have a huge beard and white hairs. lol Should I move both of us to old/inactive then? :) I'm active. At Christmas. Shhh, don't tell anyone, you'll blow my cover. -- 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 -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: elm_widget.c: Fixed warning while scrolling elementary_test using arrow
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=00928de64ff5f75fb4ee746b69eb7286c263eb58 commit 00928de64ff5f75fb4ee746b69eb7286c263eb58 Author: Ryuan Choi ryuan.c...@gmail.com Date: Mon Nov 4 21:14:45 2013 +0900 elm_widget.c: Fixed warning while scrolling elementary_test using arrow Summary: Checked whether object which direction pointed is NULL before getting it's data Reviewers: seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D95 --- src/lib/elm_widget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 25340bd..4df899c 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -2512,7 +2512,8 @@ _elm_widget_focus_direction_get(Eo *obj, void *_pd, va_list *list) ((c_weight != 0.0) (*weight != -1.0) ((int)(*weight * 100) = (int)(c_weight * 100 { -if ((int)(*weight * 100) == (int)(c_weight * 100)) +if (*direction +((int)(*weight * 100) == (int)(c_weight * 100))) { ELM_WIDGET_DATA_GET(*direction, sd1); if (sd1) --
[EGIT] [core/elementary] master 01/01: fix elm_config_glayer_*_set/get header comment and changelog
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=48a5cb1d1fe69e7e4ce79da11880d8ca4a2ddfa3 commit 48a5cb1d1fe69e7e4ce79da11880d8ca4a2ddfa3 Author: Seunggyun Kim sgyun@samsung.com Date: Mon Nov 4 21:18:15 2013 +0900 fix elm_config_glayer_*_set/get header comment and changelog Summary: fix elm_config_glayer_*_set/get header comment Reviewers: seoz, jaehwan, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D151 Conflicts: ChangeLog --- src/lib/elm_config.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h index 572bf64..5ddb0c2 100644 --- a/src/lib/elm_config.h +++ b/src/lib/elm_config.h @@ -1216,7 +1216,8 @@ EAPI const char *elm_config_indicator_service_get(int rotation); * Get the duration for occurring long tap event of gesture layer. * * @return Timeout for long tap event of gesture layer. - * @ingroup glayer + * @ingroup Elm_Gesture_Layer + * @since 1.8 */ EAPI double elm_config_glayer_long_tap_start_timeout_get(void); @@ -1224,7 +1225,8 @@ EAPI double elm_config_glayer_long_tap_start_timeout_get(void); * Set the duration for occurring long tap event of gesture layer. * * @param long_tap_timeout Timeout for long tap event of gesture layer. - * @ingroup glayer + * @ingroup Elm_Gesture_Layer + * @since 1.8 */ EAPI void elm_config_glayer_long_tap_start_timeout_set(double long_tap_timeout); @@ -1232,7 +1234,8 @@ EAPI void elm_config_glayer_long_tap_start_timeout_set(double long_tap_timeout * Get the duration for occurring double tap event of gesture layer. * * @return Timeout for double tap event of gesture layer. - * @ingroup glayer + * @ingroup Elm_Gesture_Layer + * @since 1.8 */ EAPI double elm_config_glayer_double_tap_timeout_get(void); @@ -1240,7 +1243,8 @@ EAPI double elm_config_glayer_double_tap_timeout_get(void); * Set the duration for occurring double tap event of gesture layer. * * @param long_tap_timeout Timeout for double tap event of gesture layer. - * @ingroup glayer + * @ingroup Elm_Gesture_Layer + * @since 1.8 */ EAPI void elm_config_glayer_double_tap_timeout_set(double double_tap_timeout); --
Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN.
me? nope. i heard this first time. maybe jiyoun park? -Regards, Hermet- -Original Message- From: Carsten Haitzlerras...@rasterman.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-11-02 (토) 12:44:59 Subject: Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. On Fri, 01 Nov 2013 18:21:22 + Thomas Strobel ts468@cam.ac.uk said: Hello everyone, could anyone maybe help me to understand the attached Evas program. It is a small example which changes the color of a centered rectangle with mouse in/out. I'm trying to understand why the mouse pointer is not being released after a mouse click onto the rectangle with has pointer mode EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. I would expect it to _not_ grab the pointer. Many thanks in advance! i remember EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN being some super-special mode hermet needed for something - seriously. don't use it unless you are hermet... or one of the people he did that for. :) just use EVAS_OBJECT_POINTER_MODE_NOGRAB - it's simply - no autograb happens then. but once the mouse exits the object and u release the pointer.. the mouse up event will not happen on the ob as the pointer is not grabbed... -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN.
On Mon, 4 Nov 2013 21:29:14 +0900 (KST) ChunEon Park her...@naver.com said: me? nope. i heard this first time. maybe jiyoun park? maybe jiyoun? i get you two confused all the time. so similar! :):):) :-P :):):) -Regards, Hermet- -Original Message- From: Carsten Haitzlerras...@rasterman.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-11-02 (토) 12:44:59 Subject: Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. On Fri, 01 Nov 2013 18:21:22 + Thomas Strobel ts468@cam.ac.uk said: Hello everyone, could anyone maybe help me to understand the attached Evas program. It is a small example which changes the color of a centered rectangle with mouse in/out. I'm trying to understand why the mouse pointer is not being released after a mouse click onto the rectangle with has pointer mode EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. I would expect it to _not_ grab the pointer. Many thanks in advance! i remember EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN being some super-special mode hermet needed for something - seriously. don't use it unless you are hermet... or one of the people he did that for. :) just use EVAS_OBJECT_POINTER_MODE_NOGRAB - it's simply - no autograb happens then. but once the mouse exits the object and u release the pointer.. the mouse up event will not happen on the ob as the pointer is not grabbed... -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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 -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN.
;)) core/efl/old/ChangeLog.evas 2012-01-17 Carsten Haitzler (The Rasterman) Add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode for some very specific behavior needed for accessibility. maybe apply the patch I proposed to be consitant with _NOGRAB_ or fix doc ? me? nope. i heard this first time. maybe jiyoun park? -Regards, Hermet- -Original Message- From: Carsten Haitzlerras...@rasterman.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-11-02 (토) 12:44:59 Subject: Re: [E-devel] Behaviour of POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. On Fri, 01 Nov 2013 18:21:22 + Thomas Strobel ts468@cam.ac.uk said: Hello everyone, could anyone maybe help me to understand the attached Evas program. It is a small example which changes the color of a centered rectangle with mouse in/out. I'm trying to understand why the mouse pointer is not being released after a mouse click onto the rectangle with has pointer mode EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN. I would expect it to _not_ grab the pointer. Many thanks in advance! i remember EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN being some super-special mode hermet needed for something - seriously. don't use it unless you are hermet... or one of the people he did that for. :) just use EVAS_OBJECT_POINTER_MODE_NOGRAB - it's simply - no autograb happens then. but once the mouse exits the object and u release the pointer.. the mouse up event will not happen on the ob as the pointer is not grabbed... -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- Hell'O from Yverdoom Jérémy (jeyzu) -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [e-users] EFL + Elementary 1.8
On Sun, Nov 3, 2013 at 1:12 PM, Cedric BAIL moa.blueb...@gmail.com wrote: And sorry for the mail,I am on my phone and the mail compositor is so crappy... You should get yourself an iPhone :) -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On 04/11/13 12:50, Carsten Haitzler (The Rasterman) wrote: On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. So let's revert the revert and get this back in? Davide ^ -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL + Elementary 1.8
Yo Raster, I wanted to push this week the multi-callbacks support for DnD (that changes API for the deletion). The code is written but I need to test more. Is it ok, doctor? May I at least change the API right now and then make all the tests during the code freeze? JackDanielZ On 11/01/2013 09:32 AM, Carsten Haitzler (The Rasterman) wrote: I've updated our release page to reflect current timelines: https://phab.enlightenment.org/w/efl_and_elementary_1_8/ So expect alphas next week. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On Mon, 4 Nov 2013 21:50:58 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. the point of a feature freeze is to prepare for release. yes, this has been a long one, but we're in a great position for release with very few remaining bugs. given that there's still things which need to be REMOVED before the E18 final release, I don't seen why we would start adding more now. this is doubly true considering that I'm still going to be gone for another couple weeks and thus unable to fix any other bugs which arise. the E19 release cycle is going to be much shorter, with plenty of time to get things like this merged. there's no rush to get all the shiny new features in just because we're afraid the next release will never come. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/efl] master 01/01: ecore/wayland: Move Ecore_Wl_Output to a private header.
antognolli pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=fdf6828b7e705ea058ca3ac6475d1d3ff53cd31f commit fdf6828b7e705ea058ca3ac6475d1d3ff53cd31f Author: Rafael Antognolli rafael.antogno...@intel.com Date: Mon Nov 4 11:06:49 2013 -0200 ecore/wayland: Move Ecore_Wl_Output to a private header. This is just not being used outside of ecore_wayland library, so just move it and nothing breaks. --- src/lib/ecore_wayland/Ecore_Wayland.h| 13 - src/lib/ecore_wayland/ecore_wl_private.h | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index d4efec9..bcb7141 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h @@ -96,19 +96,6 @@ struct _Ecore_Wl_Global struct wl_list link; }; -struct _Ecore_Wl_Output -{ - Ecore_Wl_Display *display; - struct wl_output *output; - Eina_Rectangle allocation; - int mw, mh; - int transform; - struct wl_list link; - - void (*destroy) (Ecore_Wl_Output *output, void *data); - void *data; -}; - struct _Ecore_Wl_Event_Mouse_In { int modifiers; diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h index fa92e6d..69b2f95 100644 --- a/src/lib/ecore_wayland/ecore_wl_private.h +++ b/src/lib/ecore_wayland/ecore_wl_private.h @@ -202,6 +202,19 @@ struct _Ecore_Wl_Input } repeat; }; +struct _Ecore_Wl_Output +{ + Ecore_Wl_Display *display; + struct wl_output *output; + Eina_Rectangle allocation; + int mw, mh; + int transform; + struct wl_list link; + + void (*destroy) (Ecore_Wl_Output *output, void *data); + void *data; +}; + struct _Ecore_Wl_Dnd { Ecore_Wl_Display *ewd; --
[EGIT] [core/efl] master 01/01: Add --with-id configure option that can be used to specify a string identifying the build (vendor, maintainer, etc). It defines EFL_BUILD_ID with default to none. I
ngc891 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2743382fa63eeef382fe21719016a9b7d8afd899 commit 2743382fa63eeef382fe21719016a9b7d8afd899 Author: Jerome Pinot ngc...@gmail.com Date: Mon Nov 4 22:11:48 2013 +0900 Add --with-id configure option that can be used to specify a string identifying the build (vendor, maintainer, etc). It defines EFL_BUILD_ID with default to none. It can be used by applications or for bug reports by including Efl_Config.h Differential Revision: https://phab.enlightenment.org/D288 --- configure.ac| 10 ++ src/lib/efl/Efl_Config.h.in | 1 + 2 files changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index e88cf9c..e8c44e0 100644 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,16 @@ AC_SUBST(EFL_API_EO_DEF) Additional options to configure +# string to identify the build +AC_ARG_WITH([id], + [AC_HELP_STRING([--with-id=BUILD_ID], + [Specify a string to identify the build (vendor, maintainer, etc). + @:@default=none@:@])], + [EFL_BUILD_ID=${withval}], + [EFL_BUILD_ID=none]) +AC_SUBST(EFL_BUILD_ID) + +# profile AC_ARG_WITH([profile], [AC_HELP_STRING([--with-profile=PROFILE], [use the predefined build profile, one of: dev, debug and release. diff --git a/src/lib/efl/Efl_Config.h.in b/src/lib/efl/Efl_Config.h.in index ad17684..25420d0 100644 --- a/src/lib/efl/Efl_Config.h.in +++ b/src/lib/efl/Efl_Config.h.in @@ -15,5 +15,6 @@ #define EFL_VERSION_MAJOR @EFL_VERSION_MAJOR@ #define EFL_VERSION_MINOR @EFL_VERSION_MINOR@ +#define EFL_BUILD_ID @EFL_BUILD_ID@ #endif --
[EGIT] [core/elementary] master 01/01: Revert popup: Added support for popup move. elm_popup_move.
hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=a61bbe7dcf0c6936e3104b35d56a7ed330da4176 commit a61bbe7dcf0c6936e3104b35d56a7ed330da4176 Author: ChunEon Park her...@hermet.pe.kr Date: Mon Nov 4 22:17:03 2013 +0900 Revert popup: Added support for popup move. elm_popup_move. This reverts commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e. Conflicts: ChangeLog NEWS src/bin/test_popup.c Sorry, Pend this to 1.8 after. Let's think about adding this API more carefully. --- ChangeLog | 11 +++ NEWS | 3 ++- src/bin/test_popup.c | 42 -- src/lib/elc_popup.c| 41 - src/lib/elc_popup_eo.h | 14 -- src/lib/elc_popup_legacy.h | 15 --- 6 files changed, 9 insertions(+), 117 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1cede7a..6c340ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1732,10 +1732,13 @@ * slider: Added elm_slider_step_get(), elm_slider_step_set(). -2013-10-03 Abhinandan Aryadipta (aryarockstar) - -* Popup - Added elm_popup_move() api. - 2013-10-03 Daniel Juyung Seo (SeoZ) * Genlist/Gengrid: Added multi select mode. + +2013-10-02 Ryuan Choi (ryuan) + +* genlist , gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL. +It disallow multiple selection when clicked without control pressed although +multiple selection is enabled. + diff --git a/NEWS b/NEWS index 23d93e3..0e0d6bb 100644 --- a/NEWS +++ b/NEWS @@ -100,8 +100,9 @@ Additions: * Add signals spinner,drag,start and spinner,drag,stop to the spinner widget. * Add support for clicked callback on Return/space/KP_Enter key press for image. * Add elm_slider_step_get(), elm_slider_step_set() for slider. - * Add support elm_popup_move() for popup. * Add multi select mode for genlist/gengrid. + * Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL select mode for genlist/gengrid. + parent of f67ecb2... popup: Added support for popup move. elm_popup_move. Improvements: diff --git a/src/bin/test_popup.c b/src/bin/test_popup.c index e98a71c..918ad5b 100644 --- a/src/bin/test_popup.c +++ b/src/bin/test_popup.c @@ -36,19 +36,6 @@ static Evas_Coord_Point _popup_point[POPUP_POINT_MAX] = }; static void -_popup_move_cb(void *data, Evas_Object *obj EINA_UNUSED, - void *event_info EINA_UNUSED) -{ - static int k = 0; - - elm_popup_move(data, _popup_point[k].x, _popup_point[k].y); - - k++; - if (k = POPUP_POINT_MAX) - k = 0; -} - -static void _g_popup_response_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -494,33 +481,6 @@ _popup_transparent_cb(void *data, Evas_Object *obj EINA_UNUSED, } static void -_popup_transparent_move_cb(void *data, Evas_Object *obj EINA_UNUSED, - void *event_info EINA_UNUSED) -{ - Evas_Object *popup; - Evas_Object *btn, *btn1; - - popup = elm_popup_add(data); - elm_object_style_set(popup, transparent); - elm_object_text_set(popup, This Popup has transparent background); - - // popup buttons - btn = elm_button_add(popup); - elm_object_text_set(btn, Move); - elm_object_part_content_set(popup, button1, btn); - evas_object_smart_callback_add(btn, clicked, _popup_move_cb, popup); - - btn1 = elm_button_add(popup); - elm_object_text_set(btn1, Close); - elm_object_part_content_set(popup, button2, btn1); - evas_object_smart_callback_add(btn1, clicked, _popup_close_cb, popup); - - // popup show should be called after adding all the contents and the buttons - // of popup to set the focus into popup's contents correctly. - evas_object_show(popup); -} - -static void _list_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { evas_object_del(data); @@ -597,8 +557,6 @@ test_popup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, _popup_center_text_3button_add_remove_button_cb, win); elm_list_item_append(list, popup-transparent, NULL, NULL, _popup_transparent_cb, win); - elm_list_item_append(list, popup-transparent-move, NULL, NULL, -_popup_transparent_move_cb, win); elm_list_item_append(list, popup-center-title + list content + 1 button, NULL, NULL, _popup_center_title_list_content_1button_cb, win); diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index c5b5c98..f873cff 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -1755,45 +1755,6 @@ _orient_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) } EAPI void -elm_popup_move(Evas_Object *obj, - Evas_Coord x, Evas_Coord y) -{ - ELM_POPUP_CHECK(obj); - eo_do(obj, elm_obj_popup_move(x, y));
[EGIT] [core/enlightenment] master 01/01: e_exec: fix application closing process.
jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=2cdead81842f0a6af2a17ae9fe2bd01901ae1831 commit 2cdead81842f0a6af2a17ae9fe2bd01901ae1831 Author: Daniel Zaoui daniel.za...@samsung.com Date: Mon Nov 4 15:14:09 2013 +0200 e_exec: fix application closing process. This is a fix to a bug that was happening on my laptop with libreoffice. When this last one was closed, a segfault was occurring. This was due to the use of a freed data structure. A pointer to this structure (instance) was still stored as data of the Ecore_Exe structure. Now, when the instance is freed, the data of the Ecore_Exe is set to NULL. --- src/bin/e_exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c index 5ea76f1..d3e21cc 100644 --- a/src/bin/e_exec.c +++ b/src/bin/e_exec.c @@ -659,6 +659,7 @@ _e_exec_instance_free(E_Exec_Instance *inst) EINA_LIST_FREE(inst-borders, bd) bd-exe_inst = NULL; if (inst-desktop) efreet_desktop_free(inst-desktop); + if (inst-exe) ecore_exe_data_set(inst-exe, NULL); free(inst); } --
[EGIT] [core/elementary] master 01/01: elementary - removed unintended conflicted lines
hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=3bb34498ea5268b0b62f89d3324dd04fe8e5b8fb commit 3bb34498ea5268b0b62f89d3324dd04fe8e5b8fb Author: ChunEon Park her...@hermet.pe.kr Date: Mon Nov 4 22:19:09 2013 +0900 elementary - removed unintended conflicted lines that was introduced by a61bbe7dcf0c6936e3104b35d56a7ed330da4176 --- NEWS | 1 - 1 file changed, 1 deletion(-) diff --git a/NEWS b/NEWS index 0e0d6bb..1a8b19f 100644 --- a/NEWS +++ b/NEWS @@ -102,7 +102,6 @@ Additions: * Add elm_slider_step_get(), elm_slider_step_set() for slider. * Add multi select mode for genlist/gengrid. * Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL select mode for genlist/gengrid. - parent of f67ecb2... popup: Added support for popup move. elm_popup_move. Improvements: --
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
2013/11/4 Michael Blumenkrantz michael.blumenkra...@gmail.com On Mon, 4 Nov 2013 21:50:58 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. the point of a feature freeze is to prepare for release. yes, this has been a long one, but we're in a great position for release with very few remaining bugs. given that there's still things which need to be REMOVED before the E18 final release, I don't seen why we would start adding more now. this is doubly true considering that I'm still going to be gone for another couple weeks and thus unable to fix any other bugs which arise. the E19 release cycle is going to be much shorter, with plenty of time to get things like this merged. there's no rush to get all the shiny new features in just because we're afraid the next release will never come. yep, and now I spent a whole morning writing the autotools, translations and stuff to put in as an extra module :P We will merge after the release. Maybe we can just put it's name in the supported whitelist to avoid that annoying dialog on startup ? -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: elm_slider.c, elm_image.c: Removed executable permission from c source.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=23447081ccb0e67a9e7bb91bd3a942327d10b3e7 commit 23447081ccb0e67a9e7bb91bd3a942327d10b3e7 Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Mon Nov 4 14:57:42 2013 +0900 elm_slider.c, elm_image.c: Removed executable permission from c source. Please be more careful of file permission. --- src/lib/elm_image.c | 0 src/lib/elm_slider.c | 0 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c old mode 100755 new mode 100644 diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c old mode 100755 new mode 100644 --
[EGIT] [core/efl] master 01/01: Require wayland libraries of at least 1.3.0
devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=5ec3ba041d49c4800d9a97db0770977661005e06 commit 5ec3ba041d49c4800d9a97db0770977661005e06 Author: Chris Michael cp.mich...@samsung.com Date: Mon Nov 4 13:29:31 2013 + Require wayland libraries of at least 1.3.0 Signed-off-by: Chris Michael cp.mich...@samsung.com --- configure.ac| 4 ++-- m4/evas_check_engine.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index e8c44e0..6e32846 100644 --- a/configure.ac +++ b/configure.ac @@ -1026,7 +1026,7 @@ AC_ARG_ENABLE([wayland], [want_wayland=no]) if test ${want_wayland} = yes; then - EFL_PKG_CHECK_STRICT([wayland-client]) + EFL_PKG_CHECK_STRICT([wayland-client = 1.3.0]) fi # Fb @@ -2426,7 +2426,7 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_WAYLAND], [eo]) EFL_INTERNAL_DEPEND_PKG([ECORE_WAYLAND], [eina]) EFL_DEPEND_PKG([ECORE_WAYLAND], [WAYLAND], - [wayland-client = 1.2.0 wayland-cursor = 1.2.0 xkbcommon = 0.3.0]) + [wayland-client = 1.3.0 wayland-cursor = 1.3.0 xkbcommon = 0.3.0]) EFL_EVAL_PKGS([ECORE_WAYLAND]) diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4 index 1cc11bb..3fd4890 100644 --- a/m4/evas_check_engine.m4 +++ b/m4/evas_check_engine.m4 @@ -519,7 +519,7 @@ have_dep=no evas_engine_[]$1[]_cflags= evas_engine_[]$1[]_libs= -PKG_CHECK_EXISTS([wayland-client = 1.2.0], +PKG_CHECK_EXISTS([wayland-client = 1.3.0], [ have_dep=yes requirement=wayland-client @@ -560,7 +560,7 @@ else gl_library=gl fi -PKG_CHECK_EXISTS([egl = 7.10 ${gl_library} wayland-client = 1.2.0 wayland-egl = 9.2.0], +PKG_CHECK_EXISTS([egl = 7.10 ${gl_library} wayland-client = 1.3.0 wayland-egl = 9.2.0], [ have_dep=yes requirement=egl = 7.10 ${gl_library} wayland-client wayland-egl --
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On Mon, Nov 4, 2013 at 11:33 AM, Davide Andreoli d...@gurumeditation.it wrote: 2013/11/4 Michael Blumenkrantz michael.blumenkra...@gmail.com On Mon, 4 Nov 2013 21:50:58 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. the point of a feature freeze is to prepare for release. yes, this has been a long one, but we're in a great position for release with very few remaining bugs. given that there's still things which need to be REMOVED before the E18 final release, I don't seen why we would start adding more now. this is doubly true considering that I'm still going to be gone for another couple weeks and thus unable to fix any other bugs which arise. the E19 release cycle is going to be much shorter, with plenty of time to get things like this merged. there's no rush to get all the shiny new features in just because we're afraid the next release will never come. yep, and now I spent a whole morning writing the autotools, translations and stuff to put in as an extra module :P ah, I'd like to request you bit more work: would you rewrite the GUI using Elementary instead of e_widgets? Today I was asking Raster when we could call e_widget deprecated and he said we'll need E dialogs ported to Elm, as this will go into core then let's start to not add more e_widgets :-) -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Ecore Coroutine - please die?
Hey guys, As you may have noticed, Cedric committed Ecore Coroutine a while back. I don't know why we need our coroutine implementation, and I don't think anyone uses or will ever use it. Those aside, the current coroutine implementation only works on Linux and relies on very hackish implementation details (which means it won't work on old glibc versions and possibly new glibc versions as well). I don't understand why we let that in, and I think it should be removed from Ecore asap, especially before the release. An example of already existing pain regarding it: https://phab.enlightenment.org/T456 I don't see why we need to make our lives harder (porting) with including something so hacky that is not even that useful to us. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/enlightenment] master 01/01: Enlightenment alert: Fix strings to refer to Git, not svn.
tasn pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=add503b2601e1adaaf751e12096f7608719d3c4d commit add503b2601e1adaaf751e12096f7608719d3c4d Author: Tom Hacohen t...@stosb.com Date: Mon Nov 4 14:33:56 2013 + Enlightenment alert: Fix strings to refer to Git, not svn. --- src/bin/e_alert_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c index ac95c92..5518306 100644 --- a/src/bin/e_alert_main.c +++ b/src/bin/e_alert_main.c @@ -553,7 +553,7 @@ _e_alert_draw_text(void) on. We were not able to generate a backtrace, check \n if your 'sysactions.conf' has an 'gdb' action line.\n \n - Please compile latest svn E18 and EFL with\n + Please compile latest Git E18 and EFL with\n -g and -ggdb3 in your CFLAGS.\n); } else if (backtrace_str) @@ -564,7 +564,7 @@ _e_alert_draw_text(void) on. You will find an backtrace of E18 (%d) in :\n '%s'\n Before reporting issue, compile latest E18 and EFL\n - from svn with '-g -ggdb3' in your CFLAGS.\n + from Git with '-g -ggdb3' in your CFLAGS.\n You can then report this crash on :\n http://trac.enlightenment.org/e/.\n;, pid, backtrace_str); @@ -579,7 +579,7 @@ _e_alert_draw_text(void) recover to try and get your desktop back the way \n it was.\n \n - Please compile latest svn E18 and EFL with\n + Please compile latest Git E18 and EFL with\n -g and -ggdb3 in your CFLAGS.\n, pid); } } @@ -590,7 +590,7 @@ _e_alert_draw_text(void) a sign of a bug, but you are using unsupported\n modules; before reporting this issue, please\n unload them and try to see if the bug is still\n - there. Also update to latest svn and be sure to\n + there. Also update to latest Git and be sure to\n compile E18 and EFL with -g and -ggdb3 in your CFLAGS); } --
Re: [E-devel] [EGIT] [enlightenment/modules/packagekit] master 01/02: PackageKit module: initial commit
On Mon, Nov 4, 2013 at 10:52 PM, Gustavo Sverzut Barbieri barbi...@gmail.com wrote: On Mon, Nov 4, 2013 at 11:33 AM, Davide Andreoli d...@gurumeditation.it wrote: 2013/11/4 Michael Blumenkrantz michael.blumenkra...@gmail.com On Mon, 4 Nov 2013 21:50:58 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Mon, 04 Nov 2013 12:28:48 + Tom Hacohen tom.haco...@samsung.com said: On 04/11/13 12:25, Gustavo Sverzut Barbieri wrote: why not in enlightenment.git/src/modules? This is generally useful and simple, should go there and not in an extra location. See previous discussion about feature-freeze. I think this should be allowed in as this feature-freeze is too long anyway, and this is not a core-affecting module. However, I don't feel like arguing. i would agree - as at current rate it'll be another 1.5 or so until any e18 release. the point of a feature freeze is to prepare for release. yes, this has been a long one, but we're in a great position for release with very few remaining bugs. given that there's still things which need to be REMOVED before the E18 final release, I don't seen why we would start adding more now. this is doubly true considering that I'm still going to be gone for another couple weeks and thus unable to fix any other bugs which arise. the E19 release cycle is going to be much shorter, with plenty of time to get things like this merged. there's no rush to get all the shiny new features in just because we're afraid the next release will never come. yep, and now I spent a whole morning writing the autotools, translations and stuff to put in as an extra module :P ah, I'd like to request you bit more work: would you rewrite the GUI using Elementary instead of e_widgets? Today I was asking Raster when we could call e_widget deprecated and he said we'll need E dialogs ported to Elm, as this will go into core then let's start to not add more e_widgets :-) Agreed. Let's rock with elementary! (after release) While writing e menus with elementary, we will find and fix many elm bugs which is actually good. Any bug reports are appreciated. Thanks. Daniel Juyung Seo (SeoZ) -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore Coroutine - please die?
die On Mon, Nov 4, 2013 at 12:00 PM, Tom Hacohen tom.haco...@samsung.com wrote: Hey guys, As you may have noticed, Cedric committed Ecore Coroutine a while back. I don't know why we need our coroutine implementation, and I don't think anyone uses or will ever use it. Those aside, the current coroutine implementation only works on Linux and relies on very hackish implementation details (which means it won't work on old glibc versions and possibly new glibc versions as well). I don't understand why we let that in, and I think it should be removed from Ecore asap, especially before the release. An example of already existing pain regarding it: https://phab.enlightenment.org/T456 I don't see why we need to make our lives harder (porting) with including something so hacky that is not even that useful to us. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.8 coming release
-Original Message- From: Rafael Antognolli [mailto:antogno...@gmail.com] Sent: Friday, November 01, 2013 11:15 AM To: Enlightenment developer list Subject: Re: [E-devel] EFL 1.8 coming release On Fri, Oct 25, 2013 at 6:35 AM, Cedric BAIL cedric.b...@free.fr wrote: Right now I am only aware of one major change that need to be done, fixing Ecore_Wayland.h exposing private structure. So if you have anything important, please share it here. I will go over phab and take of what I can. OK, most private structures are now inside ecore_wl_private.h, which is not installed, and not included in any other public header either. There are two public structures that I am not sure yet, Ecore_Wl_Global and Ecore_Wl_Output. The latter one I think that should be hidden too, definitely, but I can't do it right now (timeout for me) and won't be able to do anything on the weekend, but I can do it on Monday morning if you guys open a small exception for this specific case :D I really don't know about Ecore_Wl_Global yet, it might need to be exposed for things like the testings being done by uartie. I just need access to the available global interfaces for wayland-fits so I can bind to a custom interface... feel free to change the semantics as needed and we'll just adjust wayland-fits to follow. Anyway, in both cases they should be quite easy to be moved to ecore_wl_private.h, as they are way smaller and less used than the other ones already in there. Cheers, -- Rafael Antognolli -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore Coroutine - please die?
+1 On Mon, Nov 4, 2013 at 12:00 PM, Tom Hacohen tom.haco...@samsung.com wrote: Hey guys, As you may have noticed, Cedric committed Ecore Coroutine a while back. I don't know why we need our coroutine implementation, and I don't think anyone uses or will ever use it. Those aside, the current coroutine implementation only works on Linux and relies on very hackish implementation details (which means it won't work on old glibc versions and possibly new glibc versions as well). I don't understand why we let that in, and I think it should be removed from Ecore asap, especially before the release. An example of already existing pain regarding it: https://phab.enlightenment.org/T456 I don't see why we need to make our lives harder (porting) with including something so hacky that is not even that useful to us. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: ChangeLog/NEWS: removed unnecessary entries from ChangeLog and NEWS.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=9684bf79394fb917b4894c0fbd0d177905cb7d00 commit 9684bf79394fb917b4894c0fbd0d177905cb7d00 Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 00:17:23 2013 +0900 ChangeLog/NEWS: removed unnecessary entries from ChangeLog and NEWS. Genlist/Gengrid multi select mode was changed in another way. Refer ae03d3cef36abd27ff530e350e39ae401f4f389e. --- ChangeLog | 7 --- NEWS | 1 - 2 files changed, 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c340ee..087389e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1735,10 +1735,3 @@ 2013-10-03 Daniel Juyung Seo (SeoZ) * Genlist/Gengrid: Added multi select mode. - -2013-10-02 Ryuan Choi (ryuan) - -* genlist , gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL. -It disallow multiple selection when clicked without control pressed although -multiple selection is enabled. - diff --git a/NEWS b/NEWS index 1a8b19f..00229d3 100644 --- a/NEWS +++ b/NEWS @@ -101,7 +101,6 @@ Additions: * Add support for clicked callback on Return/space/KP_Enter key press for image. * Add elm_slider_step_get(), elm_slider_step_set() for slider. * Add multi select mode for genlist/gengrid. - * Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL select mode for genlist/gengrid. Improvements: --
Re: [E-devel] Eolian meta-data parsing
Here is autogenerated (a little prettyfied and shortened) example of eo file. http://pastebin.com/ERQphzNk I'm using my own python code from eo_bindings, where I was parsing c/h files to get all eo information. Some explanations: name - class name from Eo class description. We check that it is unique. inherits - names of parent classes constructors - (actually it is a method, just put it into separate section). Here you will meet only custom cunstructors. here win_constructor is a name comment - comment parameters:2d array [in,const,char*,name,], direction, modifier, type, name, comment maybe modifier is not needed, (but I already parsed it) Properties. Property can be set/get; only set, only get; this is saved in type field: rw(or no tag), ro, wo. How do I determine the type? If all parameters are in for some func which ends with _set and are out for some func which ends with _get this will be set/get property. If this condition fails, they will be methods. For set/get property comments are saved in comment_set / comment_get For set property comments are saved in comment or comment_set For get property comments are saved in comment or comment_get Direction is not saved for property's parameters. Methods: the same as properties, but with direction of parameter. Implements: list of overloaded functions: [class name , func_name, func_type] Some comments: We need to have func_type here. suppose we have func color and property color in parent class, and want to overload color_set property in child class, so we will have: [parent_class, color, set] signals - it's easy, if all events will work only through eo we need only event_name and description Also, here you can find Genlist Eo file. http://pastebin.com/w26g33ZP :)) It's not prettified, because I simply dump python structures into the json. All these autogenerated files are only for initial generation, and are needed to be checked manually. On 10/21/2013 08:29 PM, daniel.za...@samsung.com wrote: Hi all, I would like to discuss about a project that we are beginning just now. I presented it on EFL dev. day yesterday but I would like to share it here since it will imply all the EFL developers (yes, you) one day or another. It is called Eolian and was first aimed to facilitate addition of new Eo functions by auto-generating code. Then we noted that we can automatically generate language bindings too but it is not the goal of this discussion. The idea is that each Eo class is represented into a .eo file. These files are manually modified to add new functions, comments, callbacks... and parsed and the generation phase updates the C/H files. They contain descriptions of inherited classes, properties, methods, base classes implemented functions and callbacks. We thought about two formats: - a C-like format: Evas_Object_Image = { inherit { Evas_Object; } properties { /* Set the DPI resolution ... */ load_dpi(double dpi /* dpi resolution*/); /* Apply the source object's clip to the proxy */ source_clip(Eina_Bool source_clip); /* Set whether the image object's fill property ... */ filled(Eina_Bool filled); /* Get the kind of looping the image object does. */ ro animated_loop_type( Evas_Image_Animated_Loop_Hint hint /* hint */ ); /* Get the number times the animation of the object loops. */ ro animated_loop_count( int loop_count ); } methods { /* Set the source object… */ source_set( in Evas_Object* src /* in */, out Eina_Bool* result /* out */ ); /* Get the current source object ... */ source_get( out Evas_Object** src /* out */ ); /* Begin preloading an image … */ preload_begin(); /* Mark a sub-region of the given ... */ data_update_add( in int x /* in */, in int y /* in */, in int w /* in */, in int h /* in */ ); } } For C developers that we are, it has the advantage to be easier to our eyes. It fits most of the needs but still lacks for specific points: - if we have a property whose comment is different for set and get, how can we describe it? By inserting tokens inside the comments themselves, meaning parsing of the comments is needed. - if we want to define a function as virtual pure, do we use the so loved C++ notation = 0? - properties that are read-only or write-only (only get or set): do we add some ro/wo parameter, as in the example? ... People complained that it seems too much like C++. - JSON format: { class_name : Evas_Object_Image, inherits : [ Evas_Object ], properties : [ { name : load_dpi, description : DPI resolution ..., parameter : [ { name : dpi, type : double, description : dpi resolution } } ... (don't have the force to write all ;-) } The format is less intuitive to C developers and there is more to write but it is extensible and so easily solves the issues described in the C-style. So, until yesterday (the
Re: [E-devel] EFL 1.8 coming release
On Mon, Nov 4, 2013 at 1:29 PM, Eoff, Ullysses A ullysses.a.e...@intel.com wrote: -Original Message- From: Rafael Antognolli [mailto:antogno...@gmail.com] Sent: Friday, November 01, 2013 11:15 AM To: Enlightenment developer list Subject: Re: [E-devel] EFL 1.8 coming release On Fri, Oct 25, 2013 at 6:35 AM, Cedric BAIL cedric.b...@free.fr wrote: Right now I am only aware of one major change that need to be done, fixing Ecore_Wayland.h exposing private structure. So if you have anything important, please share it here. I will go over phab and take of what I can. OK, most private structures are now inside ecore_wl_private.h, which is not installed, and not included in any other public header either. There are two public structures that I am not sure yet, Ecore_Wl_Global and Ecore_Wl_Output. The latter one I think that should be hidden too, definitely, but I can't do it right now (timeout for me) and won't be able to do anything on the weekend, but I can do it on Monday morning if you guys open a small exception for this specific case :D I really don't know about Ecore_Wl_Global yet, it might need to be exposed for things like the testings being done by uartie. I just need access to the available global interfaces for wayland-fits so I can bind to a custom interface... feel free to change the semantics as needed and we'll just adjust wayland-fits to follow. Done. I also changed the outputs returned list from wl_list to eina_inlist. Anyway, in both cases they should be quite easy to be moved to ecore_wl_private.h, as they are way smaller and less used than the other ones already in there. Cheers, -- Rafael Antognolli -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rafael Antognolli -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [enlightenment/modules/packagekit] master 01/01: Also show the packagekit version (if available) in case of errors
davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=fdbc66f7c5b0b985d92e7788d6435a5e2d92c148 commit fdbc66f7c5b0b985d92e7788d6435a5e2d92c148 Author: davemds d...@gurumeditation.it Date: Mon Nov 4 19:32:13 2013 +0100 Also show the packagekit version (if available) in case of errors --- src/e_mod_packagekit.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/e_mod_packagekit.c b/src/e_mod_packagekit.c index 973afbc..1a0a3ec 100644 --- a/src/e_mod_packagekit.c +++ b/src/e_mod_packagekit.c @@ -53,6 +53,12 @@ packagekit_popup_update(E_PackageKit_Instance *inst) { e_widget_label_text_set(inst-popup_label, D_(No information available)); e_widget_ilist_append(inst-popup_ilist, NULL, ctxt-error, NULL, NULL, NULL); +if ((ctxt-v_maj != -1) (ctxt-v_min != -1) (ctxt-v_mic != -1)) + { + snprintf(buf, sizeof(buf), PackageKit version: %d.%d.%d, + ctxt-v_maj, ctxt-v_min, ctxt-v_mic); + e_widget_ilist_append(inst-popup_ilist, NULL, buf, NULL, NULL, NULL); + } return; } --
[EGIT] [enlightenment/modules/packagekit] master 01/01: And now the module is also compatible with PackageKit 0.7
davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=76442d673ee4d9a42c181b9875eee04ce66a4e9d commit 76442d673ee4d9a42c181b9875eee04ce66a4e9d Author: davemds d...@gurumeditation.it Date: Mon Nov 4 20:54:10 2013 +0100 And now the module is also compatible with PackageKit 0.7 --- src/e_mod_packagekit.c | 48 src/e_mod_packagekit.h | 4 2 files changed, 44 insertions(+), 8 deletions(-) diff --git a/src/e_mod_packagekit.c b/src/e_mod_packagekit.c index 1a0a3ec..d63f73d 100644 --- a/src/e_mod_packagekit.c +++ b/src/e_mod_packagekit.c @@ -209,6 +209,8 @@ signal_cache_finished_cb(void *data, const Eldbus_Message *msg) Eldbus_Object *obj = eldbus_proxy_object_get(ctxt-transaction); E_FREE_FUNC(ctxt-transaction, eldbus_proxy_unref); E_FREE_FUNC(obj, eldbus_object_unref); + + packagekit_create_transaction_and_exec(ctxt, packagekit_get_updates); } void @@ -238,23 +240,31 @@ packagekit_refresh_cache(E_PackageKit_Module_Context *ctxt, const char *transact static void _signal_package_cb(void *data, const Eldbus_Message *msg) { /* Package ('u'info, 's'package_id, 's'summary) */ - const char *error, *error_msg, *pkg_id, *summary; + const char *error, *error_msg, *pkg_id, *summary, *info_str; E_PackageKit_Module_Context *ctxt = data; PackageKit_Package_Info info; unsigned num_elements = 0; char **splitted; + Eina_Bool ret; if (eldbus_message_error_get(msg, error, error_msg)) { _store_error(ctxt, error_msg); return; } - if (!eldbus_message_arguments_get(msg, uss, info, pkg_id, summary)) + if (PKITV07) + ret = eldbus_message_arguments_get(msg, sss, info_str, pkg_id, summary); + else + ret = eldbus_message_arguments_get(msg, uss, info, pkg_id, summary); + if (!ret) { -_store_error(ctxt, could not get arguments (uss)); +_store_error(ctxt, could not get package arguments); return; } - DBG(PKGKIT: Package: (%d) %s [ %s ], info, pkg_id, summary); + if (PKITV07) + { DBG(PKGKIT: Package: (%s) %s [ %s ], info_str, pkg_id, summary); } + else + { DBG(PKGKIT: Package: (%d) %s [ %s ], info, pkg_id, summary); } splitted = eina_str_split_full(pkg_id, ;, 2, num_elements); if (num_elements == 2) @@ -262,7 +272,20 @@ _signal_package_cb(void *data, const Eldbus_Message *msg) E_PackageKit_Package *pkg = E_NEW(E_PackageKit_Package, 1); pkg-name = eina_stringshare_add(splitted[0]); pkg-version = eina_stringshare_add(splitted[1]); -pkg-info = info; +if (PKITV07) + { + if (!info_str) pkg-info = PK_INFO_ENUM_NORMAL; + else if (!strcmp(info_str, normal)) pkg-info = PK_INFO_ENUM_NORMAL; + else if (!strcmp(info_str, security))pkg-info = PK_INFO_ENUM_SECURITY; + else if (!strcmp(info_str, blocked)) pkg-info = PK_INFO_ENUM_BLOCKED; + else if (!strcmp(info_str, low)) pkg-info = PK_INFO_ENUM_LOW; + else if (!strcmp(info_str, enhancement)) pkg-info = PK_INFO_ENUM_ENHANCEMENT; + else if (!strcmp(info_str, bugfix)) pkg-info = PK_INFO_ENUM_BUGFIX; + else if (!strcmp(info_str, important)) pkg-info = PK_INFO_ENUM_IMPORTANT; + else pkg-info = PK_INFO_ENUM_UNKNOWN; + } +else + pkg-info = info; ctxt-packages = eina_list_append(ctxt-packages, pkg); } if (splitted) @@ -325,7 +348,10 @@ packagekit_get_updates(E_PackageKit_Module_Context *ctxt, const char *transactio obj = eldbus_object_get(ctxt-conn, org.freedesktop.PackageKit, transaction); proxy = eldbus_proxy_get(obj, org.freedesktop.PackageKit.Transaction); - pending = eldbus_proxy_call(proxy, GetUpdates, null_cb, NULL, -1, t, 1); + if (PKITV07) + pending = eldbus_proxy_call(proxy, GetUpdates, null_cb, NULL, -1, s, none); + else + pending = eldbus_proxy_call(proxy, GetUpdates, null_cb, NULL, -1, t, 1); if (!pending) { _store_error(ctxt, could not call GetUpdates()); @@ -351,6 +377,7 @@ _transaction_created_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *p const char *error, *error_msg, *trans_path; E_PackageKit_Module_Context *ctxt = data; E_PackageKit_Transaction_Func func; + Eina_Bool ret; if (eldbus_message_error_get(msg, error, error_msg)) { @@ -358,7 +385,11 @@ _transaction_created_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *p return; } - if (!eldbus_message_arguments_get(msg, o, trans_path)) + if (PKITV07) + ret = eldbus_message_arguments_get(msg, s, trans_path); + else + ret = eldbus_message_arguments_get(msg, o, trans_path); + if (!ret) { _store_error(ctxt, could not get transaction path); return; @@ -384,7 +415,8 @@
[EGIT] [enlightenment/modules/packagekit] master 01/01: Translations: Update Finnish language
kuuko pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=7b3843538a7e0c2bb64389acd43f172ff2302dd6 commit 7b3843538a7e0c2bb64389acd43f172ff2302dd6 Author: Kai Huuhko kai.huu...@gmail.com Date: Mon Nov 4 22:05:49 2013 +0200 Translations: Update Finnish language --- po/fi.po | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/po/fi.po b/po/fi.po index fec90a7..be67357 100644 --- a/po/fi.po +++ b/po/fi.po @@ -7,8 +7,8 @@ msgid msgstr Project-Id-Version: packagekit 0.0.1\n Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n -POT-Creation-Date: 2013-11-03 16:24+0200\n -PO-Revision-Date: 2013-11-03 16:32+0200\n +POT-Creation-Date: 2013-11-04 22:03+0200\n +PO-Revision-Date: 2013-11-04 22:04+0200\n Last-Translator: Kai Huuhko kai.huu...@gmail.com\n Language-Team: Finnish\n Language: fi\n @@ -41,15 +41,15 @@ msgstr Viikoittain msgid Package Manager msgstr Pakettien hallintaohjelma -#: src/e_mod_main.c:113 +#: src/e_mod_main.c:115 msgid System Updates Settings msgstr Järjestelmän päivitysten asetukset -#: src/e_mod_main.c:147 +#: src/e_mod_main.c:149 msgid Settings msgstr Asetukset -#: src/e_mod_main.c:213 +#: src/e_mod_main.c:215 msgid System Updates msgstr Järjestelmän päivitykset @@ -62,26 +62,30 @@ msgid You need to set your preferred package manager.brPlease open the module configuration and setbrthe program to run.br msgstr -Sinun tulee asettaa haluamasi pakettien hallintaohjelma.brOle hyvä ja avaa moduulin -asetukset ja asetabrajettava ohjelma.br +Sinun tulee asettaa haluamasi pakettien hallintaohjelma.brOle hyvä ja avaa +moduulin asetukset ja asetabrajettava ohjelma.br -#: src/e_mod_packagekit.c:86 +#: src/e_mod_packagekit.c:54 +msgid No information available +msgstr Tietoja ei ole saatavilla + +#: src/e_mod_packagekit.c:99 msgid One update available msgstr Yksi päivitys saatavilla -#: src/e_mod_packagekit.c:88 +#: src/e_mod_packagekit.c:101 #, c-format msgid %d updates available msgstr %d päivitystä saatavilla -#: src/e_mod_packagekit.c:90 +#: src/e_mod_packagekit.c:103 msgid Your system is updated msgstr Järjestelmäsi on päivitetty -#: src/e_mod_packagekit.c:118 +#: src/e_mod_packagekit.c:131 msgid Update packages cache msgstr Päivitä pakettien välimuisti -#: src/e_mod_packagekit.c:121 +#: src/e_mod_packagekit.c:134 msgid Run the package manager msgstr Aja pakettien hallintaohjelma --
[EGIT] [website/www] master 01/01: Updated according to admin/devs.git changes.
tasn pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=e0be752af4b0dcca836bcd8832cc08491afec534 commit e0be752af4b0dcca836bcd8832cc08491afec534 Author: Tom Hacohen t...@stosb.com Date: Fri Nov 1 15:23:04 2013 + Updated according to admin/devs.git changes. Also auto-generating the inactive now thanks to the extra info in that repo. --- public_html/site/developers.php | 380 +--- 1 file changed, 9 insertions(+), 371 deletions(-) diff --git a/public_html/site/developers.php b/public_html/site/developers.php index 1fcfae4..1555e1e 100644 --- a/public_html/site/developers.php +++ b/public_html/site/developers.php @@ -13,10 +13,9 @@ @todo Cache either this or the generated table. -*/ -function developers_active () + */ +function _developers_common ( $path ) { -$path = $_SERVER[DOCUMENT_ROOT] . /DATA/devs/*; $paths = glob($path, GLOB_ONLYDIR); $paths = array_filter($paths, '_developer_path_filter'); @@ -63,377 +62,16 @@ function _developer_info ( $file ) return $entry; } -/** -@return Multi-level array of inactive developer data (with less fields). +function developers_active () +{ + $path = $_SERVER[DOCUMENT_ROOT] . /DATA/devs/developers/*; + return _developers_common($path); +} -@todo Create a inactive folder in SVN to move the data of inactive - developers there instead of deleting them. Parse that. -*/ function developers_inactive () { -$developers = array -( -// 'Name' = array ( -// 'Name' = '', -// 'mail' = '', -// 'Managing' = '', -// 'IRC Nick' = '', -// 'WWW'= '', -// ), -'Mandrake' = array ( -'Name' = 'Mandrake', -'E-Mail'= 'mandr...@user.sourceforge.net', -'Managing' = 'Core Dev Team', -'IRC Nick' = 'mandrake', -'WWW' = 'http://www.mandrake.net/' -), -'Christopher Rosendahl' = array ( -'Name' = 'Christopher Rosendahl', -'E-Mail'= 'crosend...@trustlab.com', -'Managing' = 'Ewl, Ewd, Etcher', -'IRC Nick' = 'smugg', -'WWW' = '' -), -'Espen Nilsen' = array ( -'Name' = 'Espen Nilsen', -'E-Mail'= 'enilse...@spamportalen.no', -'Managing' = 'EWL Contribs', -'IRC Nick' = 'ymer|SpNlsn', -'WWW' = '' -), -'Till Adam' = array ( -'Name' = 'Till Adam', -'E-Mail'= 'till...@users.sourceforge.net', -'Managing' = 'E17, EVAS DFB', -'IRC Nick' = 'tillsan', -'WWW' = '' -), -'Klaas Bosteels' = array ( -'Name' = 'Klaas Bosteels', -'E-Mail'= 'red...@users.sourceforge.net', -'Managing' = 'Etox', -'IRC Nick' = 'redalb', -'WWW' = '' -), -'Adam Kisiel' = array ( -'Name' = 'Adam Kisiel', -'E-Mail'= 'lofw...@users.sourceforge.net', -'Managing' = 'Etox', -'IRC Nick' = 'lofwyrm', -'WWW' = '' -), -'Burra' = array ( -'Name' = 'Burra', -'E-Mail'= 'bu...@users.sourceforge.net', -'Managing' = 'Ecore', -'IRC Nick' = 'burra', -'WWW' = '' -), -'Franz Marini' = array ( -'Name' = 'Franz Marini', -'E-Mail'= 'mar...@pcmenelao.mi.infn.it', -'Managing' = 'Imlib2 Contributions', -'IRC Nick' = '', -'WWW' = '' -), -'Horms' = array ( -'Name' = 'Horms', -'E-Mail'= 'ho...@users.sourceforge.net', -'Managing' = 'Dev Team', -'IRC Nick' = 'horms', -'WWW' = '' -), -'Joshua Deere' = array ( -'Name' = 'Joshua Deere', -'E-Mail'= 'dph...@users.sourceforge.net', -'Managing' = 'Retina', -'IRC Nick' = 'dphase', -'WWW' = '' -), -'Chris Thomas' = array ( -'Name' = 'Chris Thomas', -'E-Mail'= 'x5ri...@users.sourceforge.net', -'Managing' = 'Elogin', -'IRC Nick' = 'x5rings', -'WWW' = '' -), -'Maher Awamy' = array ( -'Name' = 'Maher Awamy', -'E-Mail'= 'mu...@users.sourceforge.net', -'Managing' = 'Imlib/Evas perl bindings', -'IRC Nick' = 'muhri', -'WWW' = 'http://www.muhri.net/' -), -'Tom Gilbert' = array ( -'Name' = 'Tom Gilbert', -'E-Mail'=
[EGIT] [website/www] master 01/01: Fix developer icons.
tasn pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=97a40bdf7e738c3d5b7830d9b66354aff0d62a28 commit 97a40bdf7e738c3d5b7830d9b66354aff0d62a28 Author: Tom Hacohen t...@stosb.com Date: Mon Nov 4 20:23:54 2013 + Fix developer icons. --- public_html/site/site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/site/site.php b/public_html/site/site.php index 319904a..405eee0 100644 --- a/public_html/site/site.php +++ b/public_html/site/site.php @@ -49,7 +49,7 @@ function tr_odd($reset = false) function dev_data_photo($data) { if ( $data['Photo'] ) -return img src='http://www.enlightenment.org/DATA/devs/{$data['Login']}/icon-sml.png' width='40' height='54' border='0'; +return img src='http://www.enlightenment.org/DATA/devs/developers/{$data['Login']}/icon-sml.png' width='40' height='54' border='0'; else return img src='i/logo-s.png' width='18' height='24' border='0'; } --
Re: [E-devel] admin/devs.git layout changes
Hey guys, Changes are now officially there. Enjoy. -- Tom. On Fri, Nov 1, 2013 at 2:45 PM, Tom Hacohen tom.haco...@samsung.com wrote: Hey guys, As part of the probie access, we are overhauling the admin/devs.git repo a bit. From now on, instead of having all the devs in dirs on the root of the repo, they'll reside in subdirectories according to access groups. For now, we have those in mind: developers/ probies/ old/ - for inactive developers (this will let us scrape them for the website as well). So in order to delete developers, git mv to old, don't remove. Devs in old/ will have 0 access (as if they were deleted). Devs in developers/ will have full access (like now) Devs in probies/ will only be able to change their own directory (info/images/keys) in order to prevent priv escalation. We will carry out this change later today. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] admin/devs.git layout changes
Another reminder just to be on the safe side: From now on, when revoking access, move people to the inactive dir, don't delete them from the repo. On Mon, Nov 4, 2013 at 8:23 PM, Tom Hacohen t...@stosb.com wrote: Hey guys, Changes are now officially there. Enjoy. -- Tom. On Fri, Nov 1, 2013 at 2:45 PM, Tom Hacohen tom.haco...@samsung.comwrote: Hey guys, As part of the probie access, we are overhauling the admin/devs.git repo a bit. From now on, instead of having all the devs in dirs on the root of the repo, they'll reside in subdirectories according to access groups. For now, we have those in mind: developers/ probies/ old/ - for inactive developers (this will let us scrape them for the website as well). So in order to delete developers, git mv to old, don't remove. Devs in old/ will have 0 access (as if they were deleted). Devs in developers/ will have full access (like now) Devs in probies/ will only be able to change their own directory (info/images/keys) in order to prevent priv escalation. We will carry out this change later today. -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [enlightenment/modules/packagekit] master 01/01: Actually show the number of available updates inside the icon
davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=273e1a2e9a662992ab88f5d8e2b422ecf08d1a4b commit 273e1a2e9a662992ab88f5d8e2b422ecf08d1a4b Author: davemds d...@gurumeditation.it Date: Mon Nov 4 21:35:00 2013 +0100 Actually show the number of available updates inside the icon --- e-module-packagekit.edc | 14 ++ images/packagekit_updates.png | Bin 2595 - 2440 bytes src/e_mod_packagekit.c| 17 +++-- src/e_mod_packagekit.h| 2 +- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/e-module-packagekit.edc b/e-module-packagekit.edc index 2ca5f6c..03ad9e9 100644 --- a/e-module-packagekit.edc +++ b/e-module-packagekit.edc @@ -1,4 +1,9 @@ +#define FN Sans +#define FNBD Sans:style=Bold +#define FNIT Sans:style=Oblique +#define FNBDIT Sans:style=Bold Italic + images { image: packagekit_base.png COMP; image: packagekit_info_bugfix.png COMP; @@ -138,6 +143,15 @@ collections { image.normal: packagekit_error.png; } } + part { name: num_updates; type: TEXT; +effect: SHADOW; +description { state: default 0.0; + text { + font: FNBD; + size: 9; + } +} + } } programs { program { diff --git a/images/packagekit_updates.png b/images/packagekit_updates.png index 4f90c6e..9d77593 100644 Binary files a/images/packagekit_updates.png and b/images/packagekit_updates.png differ diff --git a/src/e_mod_packagekit.c b/src/e_mod_packagekit.c index d63f73d..0d16d22 100644 --- a/src/e_mod_packagekit.c +++ b/src/e_mod_packagekit.c @@ -5,13 +5,18 @@ /* GUI */ void -packagekit_icon_update(E_PackageKit_Module_Context *ctxt, const char *state) +packagekit_icon_update(E_PackageKit_Module_Context *ctxt, const char *state, unsigned num) { E_PackageKit_Instance *inst; + char buf[16]; Eina_List *l; + if (num) snprintf(buf, sizeof(buf), %d, num); EINA_LIST_FOREACH(ctxt-instances, l, inst) - edje_object_signal_emit(inst-gadget, state, e); + { +edje_object_signal_emit(inst-gadget, state, e); +edje_object_part_text_set(inst-gadget, num_updates, num ? buf : ); + } } static void @@ -155,7 +160,7 @@ static void _store_error(E_PackageKit_Module_Context *ctxt, const char *err) { ERR(PKGKIT ERROR: %s, err); - packagekit_icon_update(ctxt, packagekit,state,error); + packagekit_icon_update(ctxt, packagekit,state,error, 0); if (ctxt-error) eina_stringshare_replace(ctxt-error, err); else @@ -333,9 +338,9 @@ _signal_finished_cb(void *data, const Eldbus_Message *msg) } DBG(PKGKIT: PackageFinished, %d updates available, num_updates); if (num_updates 0) - packagekit_icon_update(ctxt, packagekit,state,updates); + packagekit_icon_update(ctxt, packagekit,state,updates, num_updates); else - packagekit_icon_update(ctxt, packagekit,state,updated); + packagekit_icon_update(ctxt, packagekit,state,updated, 0); } void @@ -425,7 +430,7 @@ packagekit_create_transaction_and_exec(E_PackageKit_Module_Context *ctxt, } eldbus_pending_data_set(pending, func, func); - packagekit_icon_update(ctxt, packagekit,state,working); + packagekit_icon_update(ctxt, packagekit,state,working, 0); } diff --git a/src/e_mod_packagekit.h b/src/e_mod_packagekit.h index c710389..eec8749 100644 --- a/src/e_mod_packagekit.h +++ b/src/e_mod_packagekit.h @@ -92,7 +92,7 @@ void packagekit_create_transaction_and_exec(E_PackageKit_Module_Context *ct void packagekit_get_updates(E_PackageKit_Module_Context *ctxt, const char *transaction); void packagekit_refresh_cache(E_PackageKit_Module_Context *ctxt, const char *transaction); -void packagekit_icon_update(E_PackageKit_Module_Context *ctxt, const char *state); +void packagekit_icon_update(E_PackageKit_Module_Context *ctxt, const char *state, unsigned num); void packagekit_popup_new(E_PackageKit_Instance *inst); void packagekit_popup_del(E_PackageKit_Instance *inst); void packagekit_popup_update(E_PackageKit_Instance *inst); --
[EGIT] [website/www] master 01/01: First step to fix the dev map, sorry to bug with some commits, but google dont let me try the map locally
davemds pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=e52c3a073da872906bf7f7303dbc6ae639d9bf81 commit e52c3a073da872906bf7f7303dbc6ae639d9bf81 Author: davemds d...@gurumeditation.it Date: Mon Nov 4 22:06:45 2013 +0100 First step to fix the dev map, sorry to bug with some commits, but google dont let me try the map locally --- public_html/p/contact/devsmap/en-body | 4 1 file changed, 4 insertions(+) diff --git a/public_html/p/contact/devsmap/en-body b/public_html/p/contact/devsmap/en-body index 7e0f1df..9b63b6a 100644 --- a/public_html/p/contact/devsmap/en-body +++ b/public_html/p/contact/devsmap/en-body @@ -170,6 +170,9 @@ foreach ($dirs as $dir) $devs[] = $dev; } +$devs2 = developers_active(); + + /* sort the devs array by nickname */ function sort_by_irc($a, $b) { return strcasecmp($a[IRC], $b[IRC]); } usort($devs, sort_by_irc); @@ -178,6 +181,7 @@ usort($devs, sort_by_irc); if (isset($_REQUEST[debug])) { print hrbDEVS ARRAY/bpre; print_r($devs); print /prehr; + print hrbDEVS ARRAY/bpre; print_r($devs2); print /prehr; } /**/ --
Re: [E-devel] Probie access - First steps
OK. Everything should be in place. Probie access should work (untested, will test tomorrow, gotta go) and everyone should still be able to commit. :P If that's not the case, please let me know. As for probie access: don't just add probies, ask before. We'll probably lax the rules in the future, but until then, let's follow the process we've used for developers, at least for a day or two. :) -- Probie team. On Fri, Nov 1, 2013 at 10:29 AM, Tom Hacohen tom.haco...@samsung.comwrote: Hey guys, We've started working on probie access. I'm currently changing the access control to better suit or probie-access needs. I've tested the changes on my private gitolite instance, but things can still go wrong. Please let me know if you see any issues with your access to the repositories (shouldn't happen). -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [admin/devs] master 01/01: Removed ewww, it's not a real dev and not needed anymore.
tasn pushed a commit to branch master. http://git.enlightenment.org/admin/devs.git/commit/?id=1b07ebcc335e25354af651dd21edb573f52427fc commit 1b07ebcc335e25354af651dd21edb573f52427fc Author: Tom Hacohen t...@stosb.com Date: Mon Nov 4 21:16:30 2013 + Removed ewww, it's not a real dev and not needed anymore. --- developers/ewww/id_rsa.pub | 1 - developers/ewww/info.txt | 8 2 files changed, 9 deletions(-) diff --git a/developers/ewww/id_rsa.pub b/developers/ewww/id_rsa.pub deleted file mode 100644 index 043c9f3..000 --- a/developers/ewww/id_rsa.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa B3NzaC1yc2EBIwAACAEAnoT7/1+moEShdZzw1tBqXXjgLnUGAvV982q8LDfp3+dB5e3ym3oQqPpiF0mMRBOsFSOSClHCTZkvP3lZDZtRyv01kG0o1G7G2wg6MMSNq6QYRsT7MYmPsZYXTK9qSqaF2ebJ17wVRFQvWk02VzLsd0bMM98JFj6KOde+wXd7VTwyBwRzN6+wh1Ha39CtvNsdCAIM5s7EEyyU5YoUaOLUmynQqD+gmKggvgy6Eh+gVxXOJ8nCbj3fXl9NUl8EFsxIdesz5s3OQACPdLh9qDsfUH3+RPr8ciiZfRp70tB+VmnKVe1lZKv5HbE/+KxhLCTwNUnfR+XyI7CimRR66Bn24ukRq+wwSgyjITrA4dkQdEauLCw4cuqdS+5ykBaP6mv3VG4P5IY4QcuFnQSOI7NjQp6jD8eM5GHfjV47j+Wgu7Li95xvFiDgcCXa8QfpqQO1G0VnzXUV [...] diff --git a/developers/ewww/info.txt b/developers/ewww/info.txt deleted file mode 100644 index 2966b13..000 --- a/developers/ewww/info.txt +++ /dev/null @@ -1,8 +0,0 @@ -Login:ewww -IRC Nick: N/A -Name: Enlightenment Web User -Location: enlightenment.org -E-Mail: N/A -WWW: http://www.enlightenment.org -Managing: Enlightenment Web Updates - --
Re: [E-devel] Probie access - First steps
And please, ignore messages from e4. it's lye ! On 2013-11-04 22:07, Tom Hacohen wrote: OK. Everything should be in place. Probie access should work (untested, will test tomorrow, gotta go) and everyone should still be able to commit. :P If that's not the case, please let me know. As for probie access: don't just add probies, ask before. We'll probably lax the rules in the future, but until then, let's follow the process we've used for developers, at least for a day or two. :) -- Probie team. On Fri, Nov 1, 2013 at 10:29 AM, Tom Hacohen tom.haco...@samsung.comwrote: Hey guys, We've started working on probie access. I'm currently changing the access control to better suit or probie-access needs. I've tested the changes on my private gitolite instance, but things can still go wrong. Please let me know if you see any issues with your access to the repositories (shouldn't happen). -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [website/www] master 01/01: This should fix the devs map
davemds pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=c0bbfc58d02c4e24d9eb10a6ccec2dc54de4ac21 commit c0bbfc58d02c4e24d9eb10a6ccec2dc54de4ac21 Author: davemds d...@gurumeditation.it Date: Tue Nov 5 00:29:31 2013 +0100 This should fix the devs map --- public_html/p/contact/devsmap/en-body | 69 ++- 1 file changed, 20 insertions(+), 49 deletions(-) diff --git a/public_html/p/contact/devsmap/en-body b/public_html/p/contact/devsmap/en-body index 9b63b6a..0f53920 100644 --- a/public_html/p/contact/devsmap/en-body +++ b/public_html/p/contact/devsmap/en-body @@ -1,16 +1,9 @@ ?php /*** Enlightenment Developers Map ***/ -$cvs_dir = $_SERVER[DOCUMENT_ROOT] . /DATA/devs; +$devs_dir = $_SERVER[DOCUMENT_ROOT] . /DATA/devs/developers; $geocache_file = sys_get_temp_dir() . /e_devs_map_geocache; //*** -function -GetValueFromInfoFile($field, $InfoFile) -{ - if ($i=preg_match(/$field:[ \t]*([ ,@.:i\/~()!a-zA-Z0-9_-]*)/i, $InfoFile, $result)) - return trim($result[1]); - else return ; -} function GeoCoordsQuery($address) @@ -55,12 +48,6 @@ GeoCoordsQuery($address) return $coords; } -/* check cvs dir */ -if (!is_dir($cvs_dir)) -{ - echo div align=centerbERROR: can't find cvs devs directory path./b/div; - exit(); -} /* load cache file if present */ $geocache = array(); @@ -87,34 +74,20 @@ if (file_exists($geocache_file)) } } -/* build a list of directory that contain the info.txt file */ -$dirs = array(); -if ($dh = opendir($cvs_dir)) -{ - while (($file = readdir($dh)) !== false) - if (is_dir($cvs_dir/$file) AND file_exists($cvs_dir/$file/info.txt)) - $dirs[] = $file; -} /* build the devs array, populated by parsing all the info.txt files */ $devs = array(); $tot_geodata = 0; $tot_guessed = 0; -foreach ($dirs as $dir) +foreach (developers_active() as $login = $data ) { - /* get user info from info.txt file */ - $txt = file_get_contents($cvs_dir/$dir/info.txt); - $Coords = GetValueFromInfoFile(GeoData, $txt); - $Location = GetValueFromInfoFile(Location, $txt); - $IRC = GetValueFromInfoFile(IRC Nick, $txt); - /* skip user without a nickname */ - if (!$IRC OR $IRC == N/A) + if (!$data[IRC Nick] OR $data[IRC nick] == N/A) continue; /* parse the GeoData fields */ $lat = $lon = 0; - $Coords = explode( , str_replace(,, , $Coords)); + $Coords = explode( , str_replace(,, , $data[GeoData])); if($Coords (count($Coords) == 2)) { $tot_geodata ++; @@ -124,7 +97,7 @@ foreach ($dirs as $dir) } /* or use the geocoder to guess the position */ - if (!($lat AND $lon) AND $Location) + if (!($lat AND $lon) AND $data[Location]) { $coords = GeoCoordsQuery($Location); if ($coords[lat] AND $coords[lon]) @@ -142,36 +115,35 @@ foreach ($dirs as $dir) /* create an array entry for this developer */ $dev = array(); - $dev[IRC] = $IRC; + $dev[Login] = $data[Login]; + $dev[IRC] = $data[IRC Nick]; $dev[lat] = $lat; $dev[lon] = $lon; - $dev[Location] = $Location; - $dev[Name] = GetvalueFrominfoFile(Name, $txt); - $dev[Email] = GetvalueFrominfoFile(E-Mail, $txt); + $dev[Location] = $data[Location]; + $dev[Name] = $data[Name]; + $dev[Email] = $data[E-Mail]; if ($dev[Email] $dev[Email][0] == '-') $dev[Email] = ; - $dev[WWW] = GetValueFromInfoFile(WWW, $txt); - $dev[Managing] = GetValueFromInfoFile(Managing, $txt); - $dev[Contributing] = GetValueFromInfoFile(Contributing, $txt); - $dev[Group] = GetValueFromInfoFile(Group, $txt); - $dev[Platform] = GetValueFromInfoFile(Platform, $txt ); + $dev[WWW] = $data[WWW]; + $dev[Managing] = $data[Managing]; + $dev[Contributing] = $data[Contributing]; + $dev[Group] = $dev[Group]; + $dev[Platform] = $dev[Platform]; /* check the user icon (icon-map.png, green or red) */ - if (file_exists($cvs_dir/$dir/icon-map.png)) - $dev[Icon] = /DATA/devs/$dir/icon-map.png; - else + if (file_exists($devs_dir/$dev[Login]/icon-map.png)) + $dev[Icon] = $devs_dir/$dev[Login]/icon-map.png; + else $dev[Icon] = $icon; /* check the user image (icon-med.png) */ - if (file_exists($cvs_dir/$dir/icon-med.png)) - $dev[IconBig] = /DATA/devs/$dir/icon-med.png; + if (file_exists($devs_dir/$dev[Login]/icon-med.png)) + $dev[IconBig] = $devs_dir/$dev[Login]/icon-med.png; else $dev[IconBig] = ; $devs[] = $dev; } -$devs2 = developers_active(); - /* sort the devs array by nickname */ function sort_by_irc($a, $b) { return strcasecmp($a[IRC], $b[IRC]); } @@ -181,7 +153,6 @@ usort($devs, sort_by_irc); if (isset($_REQUEST[debug])) { print hrbDEVS ARRAY/bpre; print_r($devs); print /prehr; - print hrbDEVS ARRAY/bpre; print_r($devs2); print /prehr; } /**/ --
[EGIT] [website/www] master 01/01: 2 small fix for the map
davemds pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=2152d390848aaafe26b5e5fa726bb2c89f618a90 commit 2152d390848aaafe26b5e5fa726bb2c89f618a90 Author: davemds d...@gurumeditation.it Date: Tue Nov 5 00:42:36 2013 +0100 2 small fix for the map --- public_html/p/contact/devsmap/en-body | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public_html/p/contact/devsmap/en-body b/public_html/p/contact/devsmap/en-body index 0f53920..c06a371 100644 --- a/public_html/p/contact/devsmap/en-body +++ b/public_html/p/contact/devsmap/en-body @@ -1,6 +1,7 @@ ?php /*** Enlightenment Developers Map ***/ $devs_dir = $_SERVER[DOCUMENT_ROOT] . /DATA/devs/developers; +$devs_url = /DATA/devs/developers; $geocache_file = sys_get_temp_dir() . /e_devs_map_geocache; //*** @@ -99,7 +100,7 @@ foreach (developers_active() as $login = $data ) /* or use the geocoder to guess the position */ if (!($lat AND $lon) AND $data[Location]) { - $coords = GeoCoordsQuery($Location); + $coords = GeoCoordsQuery($data[Location]); if ($coords[lat] AND $coords[lon]) { $tot_guessed ++; @@ -131,13 +132,13 @@ foreach (developers_active() as $login = $data ) /* check the user icon (icon-map.png, green or red) */ if (file_exists($devs_dir/$dev[Login]/icon-map.png)) - $dev[Icon] = $devs_dir/$dev[Login]/icon-map.png; + $dev[Icon] = $devs_url/$dev[Login]/icon-map.png; else $dev[Icon] = $icon; /* check the user image (icon-med.png) */ if (file_exists($devs_dir/$dev[Login]/icon-med.png)) - $dev[IconBig] = $devs_dir/$dev[Login]/icon-med.png; + $dev[IconBig] = $devs_url/$dev[Login]/icon-med.png; else $dev[IconBig] = ; --
Re: [E-devel] Ecore Coroutine - please die?
On Mon, 04 Nov 2013 14:00:21 + Tom Hacohen tom.haco...@samsung.com said: Hey guys, As you may have noticed, Cedric committed Ecore Coroutine a while back. I don't know why we need our coroutine implementation, and I don't think anyone uses or will ever use it. Those aside, the current coroutine implementation only works on Linux and relies on very hackish implementation details (which means it won't work on old glibc versions and possibly new glibc versions as well). I don't understand why we let that in, and I think it should be removed from Ecore asap, especially before the release. An example of already existing pain regarding it: https://phab.enlightenment.org/T456 I don't see why we need to make our lives harder (porting) with including something so hacky that is not even that useful to us. kill it. we don't use it at all in efl, e, elm etc. (that i can find)... so it gets little exercise, and if *WE* don't even use it... then it likely has little to no point to exist, as i will make full bets no one else even knows it exists or how to use it etc. :) -- Tom. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/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 -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL + Elementary 1.8
Wesh gros, :-) On Mon, Nov 4, 2013 at 10:01 PM, daniel.za...@samsung.com daniel.za...@samsung.com wrote: Yo Raster, I wanted to push this week the multi-callbacks support for DnD (that changes API for the deletion). The code is written but I need to test more. Is it ok, doctor? May I at least change the API right now and then make all the tests during the code freeze? Hum, was that API public in 1.7 btw ? Fixing API is still acceptable, but you need to push it quickly. -- Cedric BAIL -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore Coroutine - please die?
Hello, On Mon, Nov 4, 2013 at 11:00 PM, Tom Hacohen tom.haco...@samsung.com wrote: As you may have noticed, Cedric committed Ecore Coroutine a while back. I don't know why we need our coroutine implementation, and I don't think anyone uses or will ever use it. Those aside, the current coroutine implementation only works on Linux and relies on very hackish implementation details (which means it won't work on old glibc versions and possibly new glibc versions as well). I don't understand why we let that in, and I think it should be removed from Ecore asap, especially before the release. Care to provide a link about it being broken on older and newer glibc ? It is still part of POSIX, just marked deprecated. As for usefulness it make it possible to reschedule a piece of code as you receive packet in without the need to use callback. Some library that have a really bad design and we can't find alternative do need this kind of infra if you want to run them in sync with our main loop. An example of already existing pain regarding it: https://phab.enlightenment.org/T456 This is a problem in configure.ac not in the code. MacOS X has ucontext, for an unknow reason configure doesn't detect it. I don't see why we need to make our lives harder (porting) with including something so hacky that is not even that useful to us. Removing it is still an option. You will have noticed that the code is ported to windows and unix, with even a fallback for system that don't fall into those two categorie... So the problem is not portability of the code, but to have configure.ac detect things correctly. -- Cedric BAIL -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: elm_list: Added missing elm_list_multi_select_mode_set/get API for list to fix the API consistency between multi selectable widgets.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=a8efd7676eb95378355f4d603ddff938279703af commit a8efd7676eb95378355f4d603ddff938279703af Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 09:22:25 2013 +0900 elm_list: Added missing elm_list_multi_select_mode_set/get API for list to fix the API consistency between multi selectable widgets. This was omitted by genlist/gengrid multi select mode set/get() commit ae03d3cef36abd27ff530e350e39ae401f4f389e. --- ChangeLog | 2 +- NEWS | 2 +- src/lib/elm_list.c| 42 ++ src/lib/elm_list_eo.h | 36 src/lib/elm_list_legacy.h | 35 +++ src/lib/elm_widget_list.h | 1 + 6 files changed, 116 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 087389e..25cf736 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1734,4 +1734,4 @@ 2013-10-03 Daniel Juyung Seo (SeoZ) -* Genlist/Gengrid: Added multi select mode. +* Genlist/Gengrid/List: Added multi select mode. diff --git a/NEWS b/NEWS index 00229d3..b7492b3 100644 --- a/NEWS +++ b/NEWS @@ -100,7 +100,7 @@ Additions: * Add signals spinner,drag,start and spinner,drag,stop to the spinner widget. * Add support for clicked callback on Return/space/KP_Enter key press for image. * Add elm_slider_step_get(), elm_slider_step_set() for slider. - * Add multi select mode for genlist/gengrid. + * Add multi select mode for genlist/gengrid/list. Improvements: diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 7ebab40..53fa834 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1914,6 +1914,44 @@ _multi_select_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) *ret = sd-multi; } +EAPI void +elm_list_multi_select_mode_set(Evas_Object *obj, + Elm_Object_Multi_Select_Mode mode) +{ + ELM_LIST_CHECK(obj); + eo_do(obj, elm_obj_list_multi_select_mode_set(mode)); +} + +static void +_multi_select_mode_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Elm_Object_Multi_Select_Mode mode = va_arg(*list, Elm_Object_Multi_Select_Mode); + Elm_List_Smart_Data *sd = _pd; + + if (mode = ELM_OBJECT_MULTI_SELECT_MODE_MAX) + return; + + if (sd-multi_select_mode != mode) + sd-multi_select_mode = mode; +} + +EAPI Elm_Object_Multi_Select_Mode +elm_list_multi_select_mode_get(const Evas_Object *obj) +{ + ELM_LIST_CHECK(obj) ELM_OBJECT_MULTI_SELECT_MODE_MAX; + Elm_Object_Multi_Select_Mode ret = ELM_OBJECT_MULTI_SELECT_MODE_MAX; + eo_do((Eo *)obj, elm_obj_list_multi_select_mode_get(ret)); + return ret; +} + +static void +_multi_select_mode_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Elm_Object_Multi_Select_Mode *ret = va_arg(*list, Elm_Object_Multi_Select_Mode *); + Elm_List_Smart_Data *sd = _pd; + + *ret = sd-multi_select_mode; +} EAPI void elm_list_mode_set(Evas_Object *obj, @@ -2705,6 +2743,8 @@ _class_constructor(Eo_Class *klass) EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_GO), _go), EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_SET), _multi_select_set), EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_GET), _multi_select_get), + EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_MODE_SET), _multi_select_mode_set), + EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_MODE_GET), _multi_select_mode_get), EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MODE_SET), _mode_set), EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_MODE_GET), _mode_get), EO_OP_FUNC(ELM_OBJ_LIST_ID(ELM_OBJ_LIST_SUB_ID_HORIZONTAL_SET), _horizontal_set), @@ -2739,6 +2779,8 @@ static const Eo_Op_Description op_desc[] = { EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_GO, Starts the list.), EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_SET, Enable or disable multiple items selection on the list object.), EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_GET, Get a value whether multiple items selection is enabled or not.), + EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_MODE_SET, Set the list multi select mode.), + EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MULTI_SELECT_MODE_GET, Get the list multi select mode.), EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MODE_SET, Set which mode to use for the list object.), EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_MODE_GET, Get the mode the list is at.), EO_OP_DESCRIPTION(ELM_OBJ_LIST_SUB_ID_HORIZONTAL_SET, Enable or disable horizontal mode on the list object.), diff --git a/src/lib/elm_list_eo.h b/src/lib/elm_list_eo.h index 91bbf76..605c881 100644 --- a/src/lib/elm_list_eo.h +++ b/src/lib/elm_list_eo.h @@ -14,6 +14,8 @@ ELM_OBJ_LIST_SUB_ID_GO,
[EGIT] [core/elementary] master 01/01: elementary_test: remove ELM_LIB_QUICKLAUNCH
jpeg pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8f2aae03c152b2af11d43a236f3890ac9b43411a commit 8f2aae03c152b2af11d43a236f3890ac9b43411a Author: Jean-Philippe Andre jp.an...@samsung.com Date: Mon Nov 4 17:54:31 2013 +0900 elementary_test: remove ELM_LIB_QUICKLAUNCH Refer to the previous commits for the reason. Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files. --- src/bin/config.c | 3 --- src/bin/test.c | 2 -- src/bin/test_3d.c | 3 +-- src/bin/test_access.c | 3 +-- src/bin/test_actionslider.c| 3 +-- src/bin/test_anim.c| 3 +-- src/bin/test_application_server.c | 3 +-- src/bin/test_bg.c | 3 +-- src/bin/test_box.c | 3 +-- src/bin/test_bubble.c | 3 +-- src/bin/test_button.c | 3 +-- src/bin/test_calendar.c| 3 +-- src/bin/test_check.c | 3 +-- src/bin/test_clock.c | 3 +-- src/bin/test_cnp.c | 3 +-- src/bin/test_colorselector.c | 3 +-- src/bin/test_config.c | 3 +-- src/bin/test_conform.c | 3 +-- src/bin/test_conform_indicator.c | 3 +-- src/bin/test_ctxpopup.c| 3 +-- src/bin/test_cursor.c | 3 +-- src/bin/test_datetime.c| 3 +-- src/bin/test_dayselector.c | 3 +-- src/bin/test_diskselector.c| 3 +-- src/bin/test_eio.c | 3 +-- src/bin/test_entry.c | 3 +-- src/bin/test_entry_anchor.c| 3 +-- src/bin/test_entry_anchor2.c | 3 +-- src/bin/test_external.c| 3 +-- src/bin/test_factory.c | 3 +-- src/bin/test_fileselector.c| 3 +-- src/bin/test_fileselector_button.c | 3 +-- src/bin/test_fileselector_entry.c | 3 +-- src/bin/test_flip.c| 3 +-- src/bin/test_flip_page.c | 3 +-- src/bin/test_flipselector.c| 3 +-- src/bin/test_floating.c| 3 +-- src/bin/test_focus.c | 3 +-- src/bin/test_focus2.c | 3 +-- src/bin/test_focus3.c | 3 +-- src/bin/test_gengrid.c | 3 +-- src/bin/test_genlist.c | 3 +-- src/bin/test_gesture_layer.c | 3 +-- src/bin/test_gesture_layer2.c | 3 +-- src/bin/test_gesture_layer3.c | 3 +-- src/bin/test_glview.c | 3 +-- src/bin/test_glview_simple.c | 3 +-- src/bin/test_grid.c| 3 +-- src/bin/test_hover.c | 3 +-- src/bin/test_hoversel.c| 3 +-- src/bin/test_icon.c| 3 +-- src/bin/test_icon_animated.c | 3 +-- src/bin/test_icon_desktops.c | 3 +-- src/bin/test_image.c | 3 +-- src/bin/test_index.c | 3 +-- src/bin/test_inwin.c | 3 +-- src/bin/test_label.c | 3 +-- src/bin/test_launcher.c| 3 +-- src/bin/test_layout.c | 3 +-- src/bin/test_list.c| 3 +-- src/bin/test_main_menu.c | 3 +-- src/bin/test_map.c | 3 +-- src/bin/test_menu.c| 3 +-- src/bin/test_multi.c | 3 +-- src/bin/test_multibuttonentry.c| 3 +-- src/bin/test_naviframe.c | 3 +-- src/bin/test_naviframe_complex.c | 3 +-- src/bin/test_notify.c | 3 +-- src/bin/test_panel.c | 3 +-- src/bin/test_panes.c | 3 +-- src/bin/test_photo.c | 3 +-- src/bin/test_photocam.c| 3 +-- src/bin/test_popup.c | 3 +-- src/bin/test_prefs.c | 3 +-- src/bin/test_progressbar.c | 3 +-- src/bin/test_radio.c | 3 +-- src/bin/test_scaling.c | 3 +-- src/bin/test_scroller.c| 3 +-- src/bin/test_segment_control.c | 3 +-- src/bin/test_separator.c | 3 +-- src/bin/test_slider.c | 3 +-- src/bin/test_slideshow.c | 3 +-- src/bin/test_spinner.c | 3 +-- src/bin/test_store.c | 3 +-- src/bin/test_sys_notify.c | 3 +-- src/bin/test_systray.c | 3 +-- src/bin/test_table.c | 3 +-- src/bin/test_task_switcher.c | 3 +-- src/bin/test_thumb.c | 3 +-- src/bin/test_toolbar.c | 3 +-- src/bin/test_tooltip.c | 3 +-- src/bin/test_transit.c | 3 +-- src/bin/test_video.c | 3 +-- src/bin/test_weather.c | 3 +-- src/bin/test_web.c | 3 +-- src/bin/test_win_inline.c | 3 +-- src/bin/test_win_plug.c| 3 +-- src/bin/test_win_socket.c | 3 +-- src/bin/test_win_state.c | 3 +-- 99 files changed, 97 insertions(+), 199 deletions(-) diff --git a/src/bin/config.c b/src/bin/config.c index 853c365..a29efd3 100644 --- a/src/bin/config.c +++ b/src/bin/config.c @@ -2,7 +2,6
[EGIT] [bindings/python/python-efl] master 02/02: Update TODO, add a web link to setup.cfg for relevant cython documentation.
kuuko pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=8ed62469f5357039fe0748ea20213fd00bde252b commit 8ed62469f5357039fe0748ea20213fd00bde252b Author: Kai Huuhko kai.huu...@gmail.com Date: Tue Nov 5 03:12:03 2013 +0200 Update TODO, add a web link to setup.cfg for relevant cython documentation. --- TODO | 15 +++ setup.cfg | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index 121b511..263c103 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,8 @@ BUGS -* Evas: SmartObject doesn't work +* Evas: SmartObject doesn't work (Dave, do we need the metaclasses for this to + work?) * EdjeEdit: PartState API does not work * Edje.External: The unit test fails * Elm.Configuration: example crashes @@ -20,11 +21,9 @@ TODO * Review and document our use of exceptions * update links and text on: http://www.freedesktop.org/wiki/Software/DBusBindings -* Split base object defines from includes/efl.evas.pxd so that everything - defined there doesn't get included to the C code that cimports it. - This may have been fixed in latest versions of Cython. * Check for documentation changes. -* Use more _set_properties_from_keyword_args +* Use more _set_properties_from_keyword_args, replace Evas' _set_common_params + with it? * Check for missing properties - getter-/setter-functions * Add more logging @@ -40,9 +39,9 @@ Elementary * Fix Theme API, add a test * ObjectItem.data changed to dict (like in Eo). Find out what this affects and document it. -* Item add methods (constructors) should be changed to have cb_args in a - single argument, not args, kwargs, and it should be assigned to - ObjectItem.data dict as necessary. +* Item add methods (constructors) should be changed to have cb_data in a + single argument, not args, kwargs +* Get rid of enums in __init__.py * New documentation images with the new default theme. * Images missing in the documentation: diff --git a/setup.cfg b/setup.cfg index 58c27ac..a959971 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,7 @@ # Debug info #cython_gdb=1 # Cython compiler directives +# (http://docs.cython.org/src/reference/compilation.html#compiler-directives) #cython_directives= [build_doc] --
[EGIT] [core/efl] master 01/01: ecore: remove coroutine for now. Can easily be reverted for 1.9.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e570ea7805ffb56ee9b95c703fd0a13a7d185b07 commit e570ea7805ffb56ee9b95c703fd0a13a7d185b07 Author: Cedric Bail cedric.b...@samsung.com Date: Tue Nov 5 11:12:20 2013 +0900 ecore: remove coroutine for now. Can easily be reverted for 1.9. --- src/Makefile_Ecore.am | 2 - src/lib/ecore/Ecore_Common.h | 21 -- src/lib/ecore/ecore.c | 2 - src/lib/ecore/ecore_coroutine.c| 347 - src/tests/ecore/ecore_suite.c | 1 - src/tests/ecore/ecore_suite.h | 1 - src/tests/ecore/ecore_test_coroutine.c | 86 7 files changed, 460 deletions(-) diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am index 89cb328..dc2a3ca 100644 --- a/src/Makefile_Ecore.am +++ b/src/Makefile_Ecore.am @@ -30,7 +30,6 @@ lib/ecore/ecore_time.c \ lib/ecore/ecore_timer.c \ lib/ecore/ecore_thread.c \ lib/ecore/ecore_throttle.c \ -lib/ecore/ecore_coroutine.c \ lib/ecore/ecore_private.h if HAVE_WIN32 @@ -138,7 +137,6 @@ tests/ecore/ecore_test_ecore.c \ tests/ecore/ecore_test_ecore_con.c \ tests/ecore/ecore_test_ecore_x.c \ tests/ecore/ecore_test_ecore_imf.c \ -tests/ecore/ecore_test_coroutine.c \ tests/ecore/ecore_test_timer.c \ tests/ecore/ecore_test_ecore_evas.c \ tests/ecore/ecore_test_animator.c \ diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h index eceb4ed..5536d22 100644 --- a/src/lib/ecore/Ecore_Common.h +++ b/src/lib/ecore/Ecore_Common.h @@ -2216,27 +2216,6 @@ typedef Eo Ecore_Job;/** A job handle */ * @} */ -typedef struct _Ecore_Coroutine Ecore_Coroutine; -typedef int (*Ecore_Coroutine_Cb)(void *data, Ecore_Coroutine *coro); - -typedef enum { - ECORE_COROUTINE_NEW, - ECORE_COROUTINE_RUNNING, - ECORE_COROUTINE_FINISHED -} Ecore_Coroutine_State; - -EAPI Ecore_Coroutine *ecore_coroutine_add(int stack_size, Ecore_Coroutine_Cb func, void *data); -EAPI void *ecore_coroutine_del(Ecore_Coroutine *coro); - -EAPI int ecore_coroutine_resume(Ecore_Coroutine *coro); -EAPI void ecore_coroutine_yield(Ecore_Coroutine *coro, int value); - -EAPI void *ecore_coroutine_data_get(Ecore_Coroutine *coro); -EAPI Ecore_Coroutine_State ecore_coroutine_state_get(Ecore_Coroutine *coro); - -EAPI void ecore_coroutine_defer(Ecore_Coroutine *coro, Eina_Free_Cb func, void *data); -EAPI void *ecore_coroutine_alloc(Ecore_Coroutine *coro, size_t size); - #ifdef __cplusplus } #endif diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index d0e98ad..bbe51ba 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c @@ -272,7 +272,6 @@ ecore_init(void) _ecore_glib_init(); _ecore_job_init(); _ecore_time_init(); - _ecore_coroutine_init(); eina_lock_new(_thread_mutex); eina_condition_new(_thread_cond, _thread_mutex); @@ -385,7 +384,6 @@ ecore_shutdown(void) #endif if (_ecore_fps_debug) _ecore_fps_debug_shutdown(); - _ecore_coroutine_shutdown(); _ecore_poller_shutdown(); _ecore_animator_shutdown(); _ecore_glib_shutdown(); diff --git a/src/lib/ecore/ecore_coroutine.c b/src/lib/ecore/ecore_coroutine.c deleted file mode 100644 index 07a277a..000 --- a/src/lib/ecore/ecore_coroutine.c +++ /dev/null @@ -1,347 +0,0 @@ -#ifdef HAVE_CONFIG_H -# include config.h -#endif - -#include stdlib.h -#include sys/time.h -#include assert.h -#include sys/types.h -#include unistd.h - -#if defined(USE_UCONTEXT) -# include sys/time.h -# include sys/resource.h -# include ucontext.h -#elif defined(USE_SETJMP) -# include sys/time.h -# if HAVE_SYS_RESOURCE_H -# include sys/resource.h -# endif -# include setjmp.h -#endif - -#ifdef HAVE_EVIL -# include Evil.h -#endif - -#ifdef _WIN32 -# define USE_FIBERS -# undef USE_UCONTEXT -# undef USE_SETJMP -#endif - -#include Ecore.h -#include ecore_private.h - -typedef struct _Ecore_Coroutine_Defer Ecore_Coroutine_Defer; -struct _Ecore_Coroutine_Defer -{ - Eina_Free_Cb func; - void *data; -}; - -struct _Ecore_Coroutine -{ -#if defined(USE_FIBERS) - void *context; -#elif defined(USE_UCONTEXT) - ucontext_t context; -#elif defined(USE_SETJMP) - jmp_buf context; -#else -# error No coroutine implementation ! -#endif - - Eina_Inarray defer; - - Ecore_Coroutine_Cb func; - void *data; - - Ecore_Coroutine_State state; - -#ifdef USE_VALGRIND - int vg_stack_id; -#endif - int yield_value; - - unsigned char stack[1]; -}; - -#ifdef __x86_64__ -static const int _ecore_coroutine_default_stack_size = 16 * 1024; -#else -static const int _ecore_coroutine_default_stack_size = 12 * 1024; -#endif - -static void -_ecore_coroutine_finish(Ecore_Coroutine *coro) -{ - int return_value = coro-func(coro-data, coro); - - coro-state = ECORE_COROUTINE_FINISHED; - ecore_coroutine_yield(coro, return_value); -} - -#if defined(USE_UCONTEXT) -# ifdef __x86_64__ -union ptr_splitter { - void *ptr; - uint32_t part[sizeof(void *) /
[EGIT] [core/elementary] master 04/05: elm_list.c: Added a real support for ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL for list.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b0244d1285c76be7f5f003c75e944a6753092422 commit b0244d1285c76be7f5f003c75e944a6753092422 Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 14:17:15 2013 +0900 elm_list.c: Added a real support for ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL for list. This was missed in a8efd7676eb95378355f4d603ddff938279703af. --- src/lib/elm_list.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 4a4107c..fef56cf 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1296,15 +1296,25 @@ _mouse_up_cb(void *data, if (sd-multi) { -if (!it-selected) +if (((sd-multi_select_mode != ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL) || + (evas_key_modifier_is_set(ev-modifiers, Control { - _item_highlight(it); - _item_select(it); + if (!it-selected) + { + _item_highlight(it); + _item_select(it); + } + else + { + _item_unhighlight(it); + _item_unselect(it); + } } else { _item_unhighlight(it); - _item_unselect(it); + if (it-selected) + _item_unselect(it); } } else --
[EGIT] [core/elementary] master 03/05: elm_list.c: Split _item_unselect() into _item_unhighlight() and _item_unselect().
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=594e9eca105a0e32c42fa30e590e6dd8298c1f6e commit 594e9eca105a0e32c42fa30e590e6dd8298c1f6e Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 14:11:40 2013 +0900 elm_list.c: Split _item_unselect() into _item_unhighlight() and _item_unselect(). --- src/lib/elm_list.c | 104 ++--- 1 file changed, 83 insertions(+), 21 deletions(-) diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 53fa834..4a4107c 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1015,24 +1015,21 @@ call: } static void -_item_unselect(Elm_List_Item *it) +_item_unhighlight(Elm_List_Item *it) { - Evas_Object *obj = WIDGET(it); - ELM_LIST_DATA_GET(obj, sd); + Evas_Object *obj; const char *stacking, *select_raise; ELM_LIST_ITEM_CHECK_OR_RETURN(it); - if (!it-highlighted) return; + obj = WIDGET(it); + ELM_LIST_DATA_GET(obj, sd); + + if ((!it-highlighted) || (it-base.disabled) || + (sd-select_mode == ELM_OBJECT_SELECT_MODE_NONE)) return; evas_object_ref(obj); _elm_list_walk(sd); - if (it-sd-focus_on_selection_enabled) - { -if (it-icon) elm_object_focus_set(it-icon, EINA_FALSE); -if (it-end) elm_object_focus_set(it-end, EINA_FALSE); - } - edje_object_signal_emit(VIEW(it), elm,state,unselected, elm); evas_object_smart_callback_call(obj, SIG_UNHIGHLIGHTED, it); stacking = edje_object_data_get(VIEW(it), stacking); @@ -1043,6 +1040,32 @@ _item_unselect(Elm_List_Item *it) evas_object_lower(VIEW(it)); } it-highlighted = EINA_FALSE; + + _elm_list_unwalk(obj, sd); + evas_object_unref(obj); +} + +static void +_item_unselect(Elm_List_Item *it) +{ + Evas_Object *obj; + + ELM_LIST_ITEM_CHECK_OR_RETURN(it); + obj = WIDGET(it); + ELM_LIST_DATA_GET(obj, sd); + + if (it-base.disabled || (sd-select_mode == ELM_OBJECT_SELECT_MODE_NONE)) + return; + + evas_object_ref(obj); + _elm_list_walk(sd); + + if (it-sd-focus_on_selection_enabled) + { +if (it-icon) elm_object_focus_set(it-icon, EINA_FALSE); +if (it-end) elm_object_focus_set(it-end, EINA_FALSE); + } + if (it-selected) { it-selected = EINA_FALSE; @@ -1161,7 +1184,10 @@ _mouse_move_cb(void *data, sd-on_hold = EINA_TRUE; ELM_SAFE_FREE(it-long_timer, ecore_timer_del); if (!sd-was_selected) - _item_unselect(it); + { + _item_unhighlight(it); + _item_unselect(it); + } } if (sd-movements == ELM_LIST_SWIPE_MOVES) sd-swipe = EINA_TRUE; else @@ -1252,7 +1278,11 @@ _mouse_up_cb(void *data, } if (sd-longpressed) { -if (!sd-was_selected) _item_unselect(it); +if (!sd-was_selected) + { + _item_unhighlight(it); + _item_unselect(it); + } sd-was_selected = 0; return; } @@ -1271,14 +1301,21 @@ _mouse_up_cb(void *data, _item_highlight(it); _item_select(it); } -else _item_unselect(it); +else + { + _item_unhighlight(it); + _item_unselect(it); + } } else { if (!it-selected) { while (sd-selected) - _item_unselect(sd-selected-data); + { + _item_unhighlight(sd-selected-data); + _item_unselect(sd-selected-data); + } _item_highlight(it); _item_select(it); } @@ -1288,7 +1325,11 @@ _mouse_up_cb(void *data, Elm_List_Item *it2; EINA_LIST_FOREACH_SAFE(sd-selected, l, l_next, it2) - if (it2 != it) _item_unselect(it2); + if (it2 != it) + { +_item_unhighlight(it2); +_item_unselect(it2); + } _item_highlight(it); _item_select(it); } @@ -1437,7 +1478,11 @@ _item_del_pre_hook(Elm_Object_Item *it) ELM_LIST_DATA_GET(obj, sd); - if (item-selected) _item_unselect(item); + if (item-selected) + { +_item_unhighlight(item); +_item_unselect(item); + } if (sd-walking 0) { @@ -1526,14 +1571,21 @@ _access_activate_cb(void *data __UNUSED__, _item_highlight(it); _item_select(it); } -else _item_unselect(it); +else + { + _item_unhighlight(it); + _item_unselect(it); + } } else { if (!it-selected) { while (sd-selected) - _item_unselect(sd-selected-data); + { + _item_unhighlight(sd-selected-data); +
[EGIT] [core/elementary] master 02/05: test_list.c: Internal refactoring.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0d326c87b292f9f473ad6169d5bc3742213ada74 commit 0d326c87b292f9f473ad6169d5bc3742213ada74 Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 11:22:46 2013 +0900 test_list.c: Internal refactoring. 1. Use EINA_FALSE instead of 0 2. Set the parent widget correctly. 3. Remove unused multi_select_set. 4. Give a meaningful label to the first list item. 5. Call item_selected_set to the second item. 6. Remove unnecessary box. --- src/bin/test_list.c | 33 - 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/src/bin/test_list.c b/src/bin/test_list.c index 89d4a92..05eee00 100644 --- a/src/bin/test_list.c +++ b/src/bin/test_list.c @@ -578,7 +578,7 @@ my_li2_sel(void*data EINA_UNUSED, void*event_info EINA_UNUSED) { Elm_Object_Item *list_it = elm_list_selected_item_get(obj); - elm_list_item_selected_set(list_it, 0); + elm_list_item_selected_set(list_it, EINA_FALSE); } void @@ -593,6 +593,8 @@ test_list2(void*data EINA_UNUSED, win = elm_win_add(NULL, list2, ELM_WIN_BASIC); elm_win_title_set(win, List 2); elm_win_autodel_set(win, EINA_TRUE); + evas_object_resize(win, 320, 400); + evas_object_show(win); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), %s/images/plant_01.jpg, elm_app_data_dir_get()); @@ -606,22 +608,23 @@ test_list2(void*data EINA_UNUSED, elm_win_resize_object_add(win, bx); evas_object_show(bx); - li = elm_list_add(win); + li = elm_list_add(bx); evas_object_size_hint_align_set(li, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(li, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_list_mode_set(li, ELM_LIST_LIMIT); -// elm_list_multi_select_set(li, 1); ic = elm_icon_add(win); snprintf(buf, sizeof(buf), %s/images/logo_small.png, elm_app_data_dir_get()); elm_image_file_set(ic, buf, NULL); - list_it = elm_list_item_append(li, Hello, ic, NULL, my_li2_sel, NULL); - elm_list_item_selected_set(list_it, EINA_TRUE); + elm_list_item_append(li, Unselect on selected, ic, NULL, my_li2_sel, NULL); + ic = elm_icon_add(win); snprintf(buf, sizeof(buf), %s/images/logo_small.png, elm_app_data_dir_get()); elm_image_resizable_set(ic, 0, 0); elm_image_file_set(ic, buf, NULL); - elm_list_item_append(li, world, ic, NULL, NULL, NULL); + list_it = elm_list_item_append(li, world, ic, NULL, NULL, NULL); + elm_list_item_selected_set(list_it, EINA_TRUE); + ic = elm_icon_add(win); elm_icon_standard_set(ic, edit); elm_image_resizable_set(ic, 0, 0); @@ -673,25 +676,13 @@ test_list2(void*data EINA_UNUSED, elm_box_pack_end(bx, li); evas_object_show(li); - bx2 = elm_box_add(win); - elm_box_horizontal_set(bx2, EINA_TRUE); - elm_box_homogeneous_set(bx2, EINA_TRUE); - evas_object_size_hint_weight_set(bx2, EVAS_HINT_EXPAND, 0.0); - evas_object_size_hint_align_set(bx2, EVAS_HINT_FILL, EVAS_HINT_FILL); - - bt = elm_button_add(win); + bt = elm_button_add(bx); elm_object_text_set(bt, Clear); evas_object_smart_callback_add(bt, clicked, my_li2_clear, li); - evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); - elm_box_pack_end(bx2, bt); + evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); + elm_box_pack_end(bx, bt); evas_object_show(bt); - - elm_box_pack_end(bx, bx2); - evas_object_show(bx2); - - evas_object_resize(win, 320, 300); - evas_object_show(win); } /***/ --
[EGIT] [core/elementary] master 05/05: test_list.c: Added elm_list_multi_select_mode_set() example.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=6f620ec0938cc72715175c63b8a3c2f5b9a7b07f commit 6f620ec0938cc72715175c63b8a3c2f5b9a7b07f Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 14:18:47 2013 +0900 test_list.c: Added elm_list_multi_select_mode_set() example. --- src/bin/test_list.c | 91 +++-- 1 file changed, 88 insertions(+), 3 deletions(-) diff --git a/src/bin/test_list.c b/src/bin/test_list.c index 05eee00..c1bfe2b 100644 --- a/src/bin/test_list.c +++ b/src/bin/test_list.c @@ -276,7 +276,8 @@ scroll_right(void*data EINA_UNUSED, } static void -_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) +_cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, +void *event_info EINA_UNUSED) { free(data); } @@ -564,6 +565,14 @@ test_list_horizontal(void*data EINA_UNUSED, /***/ +typedef struct _List2_Data List2_Data; +struct _List2_Data +{ + Evas_Object *list; + Evas_Object *rd1; + Evas_Object *rd2; +}; + static void my_li2_clear(void*data, Evas_Object *obj EINA_UNUSED, @@ -579,6 +588,78 @@ my_li2_sel(void*data EINA_UNUSED, { Elm_Object_Item *list_it = elm_list_selected_item_get(obj); elm_list_item_selected_set(list_it, EINA_FALSE); + printf(item selected\n); +} + +static void +_multi_select_changed_cb(void *data, Evas_Object *obj, + void *event_info EINA_UNUSED) +{ + Eina_Bool multi = elm_check_state_get(obj); + List2_Data *ld = data; + if (!ld) return; + + elm_list_multi_select_set(ld-list, multi); + elm_object_disabled_set(ld-rd1, !multi); + elm_object_disabled_set(ld-rd2, !multi); +} + +static void +_multi_select_mode_changed_cb(void *data, Evas_Object *obj, + void *event_info EINA_UNUSED) +{ + elm_list_multi_select_mode_set(data, elm_radio_value_get(obj)); +} + +static void +_multi_select_frame_create(Evas_Object *bx, List2_Data *ld) +{ + Evas_Object *fr, *bx2, *bx3, *tg, *rd, *rdg; + if (!ld) return; + + fr = elm_frame_add(bx); + evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, 0.0); + evas_object_size_hint_align_set(fr, EVAS_HINT_FILL, 0.5); + elm_object_text_set(fr, Multi Select Option); + elm_box_pack_end(bx, fr); + evas_object_show(fr); + + bx2 = elm_box_add(fr); + elm_object_content_set(fr, bx2); + evas_object_show(bx2); + + tg = elm_check_add(bx2); + elm_object_style_set(tg, toggle); + elm_object_text_set(tg, Multi Select Mode); + elm_box_pack_end(bx2, tg); + evas_object_show(tg); + + bx3 = elm_box_add(bx2); + elm_box_horizontal_set(bx3, EINA_TRUE); + elm_box_pack_end(bx2, bx3); + evas_object_show(bx3); + + ld-rd1 = rdg = rd = elm_radio_add(bx3); + elm_radio_state_value_set(rd, ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT); + elm_object_text_set(rd, Default Mode); + elm_box_pack_end(bx3, rd); + evas_object_show(rd); + elm_object_disabled_set(rd, EINA_TRUE); + evas_object_smart_callback_add(rd, changed, + _multi_select_mode_changed_cb, ld-list); + + ld-rd2 = rd = elm_radio_add(bx3); + elm_radio_state_value_set(rd, ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL); + elm_radio_group_add(rd, rdg); + elm_object_text_set(rd, With Control Mode); + elm_box_pack_end(bx3, rd); + evas_object_show(rd); + elm_object_disabled_set(rd, EINA_TRUE); + evas_object_smart_callback_add(rd, changed, + _multi_select_mode_changed_cb, ld-list); + + evas_object_smart_callback_add(tg, changed, + _multi_select_changed_cb, ld); } void @@ -589,12 +670,14 @@ test_list2(void*data EINA_UNUSED, Evas_Object *win, *bg, *li, *ic, *ic2, *bx, *bx2, *bt; char buf[PATH_MAX]; Elm_Object_Item *list_it; + List2_Data *ld = calloc(1, sizeof(List2_Data)); win = elm_win_add(NULL, list2, ELM_WIN_BASIC); elm_win_title_set(win, List 2); elm_win_autodel_set(win, EINA_TRUE); - evas_object_resize(win, 320, 400); + evas_object_resize(win, 320, 500); evas_object_show(win); + evas_object_event_callback_add(win, EVAS_CALLBACK_FREE, _cleanup_cb, ld); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), %s/images/plant_01.jpg, elm_app_data_dir_get()); @@ -608,7 +691,7 @@ test_list2(void*data EINA_UNUSED, elm_win_resize_object_add(win, bx); evas_object_show(bx); - li = elm_list_add(bx); + ld-list = li = elm_list_add(bx); evas_object_size_hint_align_set(li, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(li, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_list_mode_set(li, ELM_LIST_LIMIT); @@ -683,6 +766,8 @@ test_list2(void*data EINA_UNUSED, evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
[EGIT] [core/elementary] master 01/05: test_popup.c: Removed unused array.
seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=91289771a1584709cf88b60e6cbd2f3c786f8efd commit 91289771a1584709cf88b60e6cbd2f3c786f8efd Author: Daniel Juyung Seo seojuyu...@gmail.com Date: Tue Nov 5 09:29:44 2013 +0900 test_popup.c: Removed unused array. --- src/bin/test_popup.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/src/bin/test_popup.c b/src/bin/test_popup.c index 74a439a..40a0267 100644 --- a/src/bin/test_popup.c +++ b/src/bin/test_popup.c @@ -21,20 +21,6 @@ _popup_close_cb(void *data, Evas_Object *obj EINA_UNUSED, evas_object_del(data); } -#define POPUP_POINT_MAX 9 -static Evas_Coord_Point _popup_point[POPUP_POINT_MAX] = -{ - { 40, 50 }, - { 80, 100 }, - { 120, 150 }, - { 160, 200 }, - { 500, }, // excess y - { , 500 }, // excess x - { -10, 50 }, // negative x - { 40, -100 }, // negative y - { 0, 0 } // zero -}; - static void _g_popup_response_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) --
Re: [E-devel] EFL + Elementary 1.8
Salut le nain, It was not an API in 1.7. Well, I didn't see your first mail you sent last week about the code freeze date. I will push it asap. Le gros. On 11/05/2013 02:07 AM, Cedric BAIL wrote: Wesh gros, :-) On Mon, Nov 4, 2013 at 10:01 PM, daniel.za...@samsung.com daniel.za...@samsung.com wrote: Yo Raster, I wanted to push this week the multi-callbacks support for DnD (that changes API for the deletion). The code is written but I need to test more. Is it ok, doctor? May I at least change the API right now and then make all the tests during the code freeze? Hum, was that API public in 1.7 btw ? Fixing API is still acceptable, but you need to push it quickly. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Eolian meta-data parsing
Hello, On Tue, Nov 5, 2013 at 12:42 AM, Yakov Goldberg yako...@samsung.com wrote: Here is autogenerated (a little prettyfied and shortened) example of eo file. http://pastebin.com/ERQphzNk I'm using my own python code from eo_bindings, where I was parsing c/h files to get all eo information. Some explanations: name - class name from Eo class description. We check that it is unique. inherits - names of parent classes constructors - (actually it is a method, just put it into separate section). Here you will meet only custom cunstructors. here win_constructor is a name comment - comment parameters:2d array [in,const,char*,name,], direction, modifier, type, name, comment maybe modifier is not needed, (but I already parsed it) I must say that I don't like the parameters syntax at all. I think something along the following line would have been better : in : [ { name : const char * } ]. Also I am starting thinking that we should have comment in doxygen form inside the JSON itself that could then be put along the generated code. For example item_insert_before would become : item_insert_before: { /* This inserts an item before another in the list. It will be in the * same tree level or group as the item it is inserted before. * * @see elm_genlist_item_append() * @see elm_genlist_item_prepend() * @see elm_genlist_item_insert_after() * @see elm_object_item_del() * * @ingroup Genlist */ brief: Insert an item before another in a genlist widget, parameters: [ in : [ { itc : const Elm_Genlist_Item_Class* }, /* @param itc The item class for the item */ { data : const void* }, /* @param data The item data */ { parent : Elm_Object_Item* }, /* @param parent The parent item, or NULL if none */ { before_it : Elm_Object_Item* }, /* @param before The item to place this new one before. */ { type : Elm_Genlist_Item_Type }, /* @param type Item type */ { func : Evas_Smart_Cb }, /* @param func Convenience function called when the item is selected */ { func_data : const void * } /* @param func_data Data passed to @p func above. */ ], out : [ { ret : Elm_Object_Item* } /* @return A handle to the item added or @c NULL if not possible */ ] ] ] }, Properties. Property can be set/get; only set, only get; this is saved in type field: rw(or no tag), ro, wo. How do I determine the type? If all parameters are in for some func which ends with _set and are out for some func which ends with _get this will be set/get property. If this condition fails, they will be methods. Same for property we should be fine with something like : keyboard_win: { brief: whether the window is a keyboard., access: rw, parameters: [ [ { is_keyboard : Eina_Bool } ] ] Methods: the same as properties, but with direction of parameter. Implements: list of overloaded functions: [class name , func_name, func_type] Some comments: We need to have func_type here. suppose we have func color and property color in parent class, and want to overload color_set property in child class, so we will have: [parent_class, color, set] signals - it's easy, if all events will work only through eo we need only event_name and description Nop, we need also to describe the structure of the information that is send along the event or we will not be able to generate any bindings for event automatically. Arguably it's maybe not a real problem as there should not be to many events, but still worth thinking about that. -- Cedric BAIL -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 02/02: DnD: multi-callbacks support
jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=2e4aafce9afde24ca92701ac7740d16c215a3695 commit 2e4aafce9afde24ca92701ac7740d16c215a3695 Author: Daniel Zaoui daniel.za...@samsung.com Date: Mon Nov 4 15:08:53 2013 +0200 DnD: multi-callbacks support This features permits execution of more than one set of functions during DnD. Delete function API has been modified to give the developer the possibility to remove a specific set of functions. --- src/bin/test_dnd.c | 15 ++- src/lib/elm_cnp.c | 261 src/lib/elm_cnp.h | 15 ++- src/lib/elm_entry.c | 12 ++- src/lib/elm_image.c | 7 +- src/lib/elm_thumb.c | 6 +- 6 files changed, 211 insertions(+), 105 deletions(-) diff --git a/src/bin/test_dnd.c b/src/bin/test_dnd.c index 443970d..5ad6076 100644 --- a/src/bin/test_dnd.c +++ b/src/bin/test_dnd.c @@ -919,6 +919,11 @@ static Eina_Bool _drop_box_button_new_cb(void *data, Evas_Object *obj, Elm_Selec return EINA_TRUE; } +void _enter_but_cb(void *data, Evas_Object *obj) +{ + printf(Entered %s - drop it here and I will never print this line anymore.\n, __FUNCTION__); +} + static Eina_Bool _drop_but_icon_change_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev) { Evas_Object *win = data; @@ -935,6 +940,14 @@ static Eina_Bool _drop_but_icon_change_cb(void *data, Evas_Object *obj, Elm_Sele return EINA_TRUE; } +/* Callback used to test multi-callbacks feature */ +static Eina_Bool _drop_but_cb_remove_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev) +{ + printf(Second callback called - removing it\n); + elm_drop_target_del(obj, ELM_SEL_FORMAT_TARGETS, _enter_but_cb, NULL, NULL, NULL, NULL, NULL, _drop_but_cb_remove_cb, NULL); + return EINA_TRUE; +} + static Eina_Bool _drop_bg_change_cb(void *data EINA_UNUSED, Evas_Object *obj, Elm_Selection_Data *ev) { char *p = strchr(ev-data, '#'); @@ -1012,6 +1025,7 @@ test_dnd_overlapping(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void bt = elm_button_add(win); elm_object_text_set(bt, Drop into me to change my icon); elm_drop_target_add(bt, ELM_SEL_FORMAT_TARGETS, NULL, NULL, NULL, NULL, NULL, NULL, _drop_but_icon_change_cb, win); +elm_drop_target_add(bt, ELM_SEL_FORMAT_TARGETS, _enter_but_cb, NULL, NULL, NULL, NULL, NULL, _drop_but_cb_remove_cb, NULL); elm_object_part_content_set(bt, icon, ic); elm_box_pack_end(vert_box, bt); evas_object_show(bt); @@ -1024,7 +1038,6 @@ test_dnd_overlapping(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void bt = elm_button_add(win); elm_object_text_set(bt, No action on drop); elm_object_part_content_set(bt, icon, ic); -elm_object_disabled_set(bt, EINA_TRUE); elm_box_pack_end(vert_box, bt); evas_object_show(bt); evas_object_show(ic); diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c index 22e8fce..d405eea 100644 --- a/src/lib/elm_cnp.c +++ b/src/lib/elm_cnp.c @@ -49,6 +49,7 @@ typedef struct _Tmp_Info Tmp_Info; typedef struct _Saved_TypeSaved_Type; typedef struct _Cnp_EscapeCnp_Escape; typedef struct _Dropable Dropable; +typedef struct _Dropable_Cbs Dropable_Cbs; static Eina_Bool doaccept = EINA_FALSE; struct _Tmp_Info @@ -74,10 +75,9 @@ struct _Cnp_Escape const char *value; }; -struct _Dropable +struct _Dropable_Cbs { - Evas_Object*obj; - /* FIXME: Cache window */ + EINA_INLIST; Elm_Sel_Format types; Elm_Drag_State entercb; Elm_Drag_State leavecb; @@ -87,6 +87,13 @@ struct _Dropable void *leavedata; void *posdata; void *dropdata; +}; + +struct _Dropable +{ + Evas_Object*obj; + /* FIXME: Cache window */ + Eina_Inlist*cbs_list; /* List of Dropable_Cbs * */ struct { Evas_Coord x, y; Eina_Boolin : 1; @@ -281,7 +288,12 @@ static Eina_Bool _x11_elm_drop_target_add (Evas_Object *obj, Elm_ Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, Elm_Drop_Cb dropcb, void *dropdata); -static Eina_Bool _x11_elm_drop_target_del(Evas_Object *obj); +static Eina_Bool _x11_elm_drop_target_del(Evas_Object *obj, Elm_Sel_Format format, + Elm_Drag_State entercb, void *enterdata, + Elm_Drag_State leavecb, void *leavedata, + Elm_Drag_Pos poscb, void *posdata, + Elm_Drop_Cb dropcb, void *dropdata); +static void
[EGIT] [core/elementary] master 01/02: DnD: Code improvement + variables renaming
jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f59359c4a62a906c432d1cd56dbd1ab483a30af6 commit f59359c4a62a906c432d1cd56dbd1ab483a30af6 Author: Daniel Zaoui daniel.za...@samsung.com Date: Sun Oct 27 11:27:17 2013 +0200 DnD: Code improvement + variables renaming Little code improvement Rename cbdata with dropdata --- src/lib/elm_cnp.c | 95 +++ src/lib/elm_cnp.h | 8 ++--- 2 files changed, 50 insertions(+), 53 deletions(-) diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c index 93d039b..22e8fce 100644 --- a/src/lib/elm_cnp.c +++ b/src/lib/elm_cnp.c @@ -86,7 +86,7 @@ struct _Dropable void *enterdata; void *leavedata; void *posdata; - void *cbdata; + void *dropdata; struct { Evas_Coord x, y; Eina_Boolin : 1; @@ -280,7 +280,7 @@ static Eina_Bool _x11_elm_drop_target_add (Evas_Object *obj, Elm_ Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, - Elm_Drop_Cb dropcb, void *cbdata); + Elm_Drop_Cb dropcb, void *dropdata); static Eina_Bool _x11_elm_drop_target_del(Evas_Object *obj); static Eina_Bool _x11_elm_selection_selection_has_owner (Evas_Object *obj __UNUSED__); @@ -784,7 +784,7 @@ _x11_notify_handler_text(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify ddata.data = data-data; ddata.len = data-length; ddata.action = sel-action; - dropable-dropcb(dropable-cbdata, dropable-obj, ddata); + dropable-dropcb(dropable-dropdata, dropable-obj, ddata); goto end; } } @@ -952,7 +952,7 @@ _x11_vcard_receive(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notif ddata.data = data-data; ddata.len = data-length; ddata.action = sel-action; -dropable-dropcb(dropable-cbdata, dropable-obj, ddata); +dropable-dropcb(dropable-dropdata, dropable-obj, ddata); ecore_x_dnd_send_finished(); } else if (sel-datacb) @@ -1490,7 +1490,7 @@ found: snprintf(entrytag, len + 1, tagstring, savedtypes.imgfile); ddata.data = entrytag; cnp_debug(Insert %s\n, (char *)ddata.data); - if (dropable-dropcb) dropable-dropcb(dropable-cbdata, dropable-obj, ddata); + if (dropable-dropcb) dropable-dropcb(dropable-dropdata, dropable-obj, ddata); ecore_x_dnd_send_finished(); if (savedtypes.imgfile) free(savedtypes.imgfile); savedtypes.imgfile = NULL; @@ -1502,7 +1502,7 @@ found: cnp_debug(Doing image insert (%s)\n, savedtypes.imgfile); ddata.format = ELM_SEL_FORMAT_IMAGE; ddata.data = (char *)savedtypes.imgfile; - dropable-dropcb(dropable-cbdata, dropable-obj, ddata); + dropable-dropcb(dropable-dropdata, dropable-obj, ddata); ecore_x_dnd_send_finished(); ELM_SAFE_FREE(savedtypes.imgfile, free); @@ -1803,12 +1803,12 @@ _x11_elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format format, Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, - Elm_Drop_Cb dropcb, void *cbdata) + Elm_Drop_Cb dropcb, void *dropdata) { - Dropable *drop, *dropable; + Dropable *dropable; Ecore_X_Window xwin = _x11_elm_widget_xwin_get(obj); Eina_List *item, *l; - int first; + Eina_Bool first = !drops; Eina_Bool have_drops = EINA_FALSE; _x11_elm_cnp_init(); @@ -1824,44 +1824,41 @@ _x11_elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format format, break; } } - first = (!drops) ? 1 : 0; - EINA_LIST_FOREACH(drops, item, drop) + eo_do(obj, eo_base_data_get(__elm_dropable, (void **)dropable)); + if (dropable) { -if (drop-obj == obj) - { - /* Update: Not a new one */ - drop-dropcb = dropcb; - drop-cbdata = cbdata; - drop-types = format; - return EINA_TRUE; - } +/* Update: Not a new one */ +dropable-dropcb = dropcb; +dropable-dropdata = dropdata; +dropable-types = format; +return EINA_TRUE; } /* Create new drop */ - drop = calloc(1,
[EGIT] [core/efl] master 01/01: eina: Avoid increasing required alignment of target type warning on ARM in Eina_Hash.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ec1ba326909fae86cf7738b8475bfd05bc2323cb commit ec1ba326909fae86cf7738b8475bfd05bc2323cb Author: Ryuan Choi ryuan.c...@gmail.com Date: Tue Nov 5 15:45:52 2013 +0900 eina: Avoid increasing required alignment of target type warning on ARM in Eina_Hash. Summary: When building applications with -Wcast-align on ARM, there are following warnings. increases required alignment of target type warnings. This impact eina_hash_murmur3. Reviewers: cedric, seoz Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D317 Signed-off-by: Cedric Bail cedric.b...@samsung.com --- src/lib/eina/eina_inline_hash.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_inline_hash.x b/src/lib/eina/eina_inline_hash.x index b2fc3f3..29264b1 100644 --- a/src/lib/eina/eina_inline_hash.x +++ b/src/lib/eina/eina_inline_hash.x @@ -111,7 +111,7 @@ eina_hash_murmur3(const char *key, int len) unsigned int h1 = 0, k1; unsigned int c1 = 0xcc9e2d51 ^ eina_seed; unsigned int c2 = 0x1b873593 ^ eina_seed; - const unsigned int * blocks = (const unsigned int *)(data + nblocks*4); + const unsigned int * blocks = (const unsigned int *)(void*)(data + nblocks*4); int i; const unsigned char *tail; --
[EGIT] [core/efl] master 01/01: epp: avoid to rely on undefined behavior for fopen.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=11bad338139ff2d229a145827b9fcff54a677ef1 commit 11bad338139ff2d229a145827b9fcff54a677ef1 Author: Cedric Bail cedric.b...@samsung.com Date: Tue Nov 5 16:28:56 2013 +0900 epp: avoid to rely on undefined behavior for fopen. In the case we didn't define the file to save to, fopen would have been called with a NULL parameter. The result of that call is not really defined and could have led to some crash at some point. --- src/bin/edje/epp/cpplib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c index af65241..4314b15 100644 --- a/src/bin/edje/epp/cpplib.c +++ b/src/bin/edje/epp/cpplib.c @@ -7448,8 +7448,9 @@ extern cpp_options options; void using_file(const char *filename, const char type) { - FILE *f; + FILE *f = NULL; + if (!options.watchfile) return; f = fopen(options.watchfile, a); if (!f) return; if (anotate) --
[EGIT] [apps/terminology] master 01/01: set up an alpha1 for terminology 0.4
raster pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=af2b85bb0e4a2b0fdc202313db57d07e8963e5f4 commit af2b85bb0e4a2b0fdc202313db57d07e8963e5f4 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com Date: Tue Nov 5 16:44:06 2013 +0900 set up an alpha1 for terminology 0.4 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48f746e..3bede0f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. # get rid of that stupid cache mechanism rm -f config.cache -AC_INIT([terminology], [0.3.50], [enlightenment-devel@lists.sourceforge.net]) +AC_INIT([terminology], [0.4.0-alpha1], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.60]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) --
[EGIT] [legacy/edje] edje-1.7 01/01: epp: avoid to rely on undefined behavior for fopen.
cedric pushed a commit to branch edje-1.7. http://git.enlightenment.org/legacy/edje.git/commit/?id=36385230a39c6d9a6ab7e1d97b5285cce6a927ae commit 36385230a39c6d9a6ab7e1d97b5285cce6a927ae Author: Cedric Bail cedric.b...@samsung.com Date: Tue Nov 5 16:44:56 2013 +0900 epp: avoid to rely on undefined behavior for fopen. In the case we didn't define the file to save to, fopen would have been called with a NULL parameter. The result of that call is not really defined and could have led to some crash at some point. --- src/bin/epp/cpplib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/epp/cpplib.c b/src/bin/epp/cpplib.c index 30c7f01..1b8bd48 100644 --- a/src/bin/epp/cpplib.c +++ b/src/bin/epp/cpplib.c @@ -7453,6 +7453,7 @@ using_file(const char *filename) { FILE *f; + if (!options.watchfile) return; f = fopen(options.watchfile, a); if (!f) return ; fputs(filename, f); --
[EGIT] [admin/devs] master 01/01: kimcinoo: add home key.
cedric pushed a commit to branch master. http://git.enlightenment.org/admin/devs.git/commit/?id=57e68f6f92512a3fb2863a8de8d109608ca10034 commit 57e68f6f92512a3fb2863a8de8d109608ca10034 Author: Cedric Bail cedric.b...@samsung.com Date: Tue Nov 5 16:47:32 2013 +0900 kimcinoo: add home key. --- developers/kimcinoo/id_rsa2.pub | 1 + 1 file changed, 1 insertion(+) diff --git a/developers/kimcinoo/id_rsa2.pub b/developers/kimcinoo/id_rsa2.pub new file mode 100644 index 000..a3d770f --- /dev/null +++ b/developers/kimcinoo/id_rsa2.pub @@ -0,0 +1 @@ +ssh-rsa B3NzaC1yc2EDAQABAAABAQC4t3qWzRmP/rkXnKLapFqL0sDmr5ydzSkbbT9bIfEdbMPntHqkFceYf+2OU5pEhV6dJZX+/gbzKJHyacR5+MY0yCM5FSoBpInjZwa0tCi7OT913UcLRx5mNzaxTWXwhdzPYIHK0tvJJThGtOqnXirmdOdHB3SH8Ur0SFfoXjnHmnBxDxNEvS97tKVPOVoQAqnykDpoWSnO3xs4qC0dKjJ6YLxx6kd4VU0c2NISJfaVQPI28GVHnib2ggxyvGdENkSZNp3ffgYZ3kQTPmB1WX64+tFG8hqizln/aczYZT1awO2Sha0hcmzYys7eHbxrH5gPavbL0sWG3Ja0hP3AQ6eR kimcinoo@kimcinoo-MacBook --