Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
On Thu, Dec 6, 2012 at 12:13 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: more shutdown fixes for elm_need/unneed. Isn't backport required ? -- Cedric BAIL -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
Hi Daniel, The move intercept should not be required as elm_win is a smart object and it implements the move method, which is a clear way to do it. Could you provide a sample code that breaks? Likely your friend overwrote move() but does not call parent's method (like super)? Regards, -- Gustavo On Fri, Nov 2, 2012 at 7:06 AM, Daniel Juyung Seo seojuyu...@gmail.comwrote: On Thu, Jul 19, 2012 at 1:35 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elm_win: support trapping ecore_evas calls (aka: e17 support) Allows setting a trap in elm_win that intercepts calls to ecore_evas. If there is a trap and the trap returns EINA_FALSE, then the corresponding call is NOT issued. If it does not exist or returns EINA_TRUE, then the call is executed. Enlightenment window manager will set these traps and will call e_border directly, allowing E17 to use Elementary! A major feature given e_widgets painful usage. This should also help integrating into Wayland or even debug. Author: barbieri Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012) New Revision: 74156 Trac: http://trac.enlightenment.org/e/changeset/74156 Modified: trunk/elementary/src/lib/elm_win.c trunk/elementary/src/lib/elm_win.h Modified: trunk/elementary/src/lib/elm_win.c === --- trunk/elementary/src/lib/elm_win.c 2012-07-19 03:25:25 UTC (rev 74155) +++ trunk/elementary/src/lib/elm_win.c 2012-07-19 04:35:50 UTC (rev 74156) @@ -3,6 +3,18 @@ static const char WIN_SMART_NAME[] = elm_win; +static const Elm_Win_Trap *trap = NULL; + +#define TRAP(sd, name, ...) \ + do \ +{ \ + if ((!trap) || (!trap-name) || \ + ((trap-name) \ +(trap-name(sd-trap_data, sd-base.obj, ## __VA_ARGS__ \ + ecore_evas_##name(sd-ee, ##__VA_ARGS__); \ +} \ + while (0) + #define ELM_WIN_DATA_GET(o, sd) \ Elm_Win_Smart_Data * sd = evas_object_smart_data_get(o) @@ -113,6 +125,8 @@ const char *icon_name; const char *role; + void *trap_data; + double aspect; int size_base_w, size_base_h; int size_step_w, size_step_h; @@ -356,20 +370,80 @@ sd-shot.timer = ecore_timer_add(_shot_delay_get(sd), _shot_delay, sd); } +/* elm-win specific associate, does the trap while ecore_evas_object_associate() + * does not. + */ +static Elm_Win_Smart_Data * +_elm_win_associate_get(const Ecore_Evas *ee) +{ + return ecore_evas_data_get(ee, elm_win); +} + +/* Interceptors Callbacks */ static void +_elm_win_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, raise); +} + +static void +_elm_win_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, lower); +} + +static void +_elm_win_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__) +{ + INF(TODO: %s, __FUNCTION__); +} + +static void +_elm_win_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__) +{ + INF(TODO: %s, __FUNCTION__); +} + +static void +_elm_win_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, layer_set, l); +} + +/* Event Callbacks */ + +static void +_elm_win_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + Evas_Coord w, h; + + evas_object_size_hint_min_get(obj, w, h); + TRAP(sd, size_min_set, w, h); + + evas_object_size_hint_max_get(obj, w, h); + if (w 1) w = -1; + if (h 1) h = -1; + TRAP(sd, size_max_set, w, h); +} +/* end of elm-win specific associate */ + + +static void _elm_win_move(Ecore_Evas *ee) { - Evas_Object *obj = ecore_evas_object_associate_get(ee); + Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee); int x, y; - if (!obj) return; + EINA_SAFETY_ON_NULL_RETURN(sd); - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - ecore_evas_geometry_get(ee, x, y, NULL, NULL); sd-screen.x = x; sd-screen.y = y; - evas_object_smart_callback_call(obj, SIG_MOVED, NULL); + evas_object_smart_callback_call(ELM_WIDGET_DATA(sd)-obj, SIG_MOVED, NULL); } static void @@ -407,11 +481,9 @@ static void _elm_win_resize(Ecore_Evas *ee) { - Evas_Object *obj = ecore_evas_object_associate_get(ee); + Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee); + EINA_SAFETY_ON_NULL_RETURN(sd); - if (!obj) return; - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - if
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
On Thu, Jul 19, 2012 at 1:35 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elm_win: support trapping ecore_evas calls (aka: e17 support) Allows setting a trap in elm_win that intercepts calls to ecore_evas. If there is a trap and the trap returns EINA_FALSE, then the corresponding call is NOT issued. If it does not exist or returns EINA_TRUE, then the call is executed. Enlightenment window manager will set these traps and will call e_border directly, allowing E17 to use Elementary! A major feature given e_widgets painful usage. This should also help integrating into Wayland or even debug. Author: barbieri Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012) New Revision: 74156 Trac: http://trac.enlightenment.org/e/changeset/74156 Modified: trunk/elementary/src/lib/elm_win.c trunk/elementary/src/lib/elm_win.h Modified: trunk/elementary/src/lib/elm_win.c === --- trunk/elementary/src/lib/elm_win.c 2012-07-19 03:25:25 UTC (rev 74155) +++ trunk/elementary/src/lib/elm_win.c 2012-07-19 04:35:50 UTC (rev 74156) @@ -3,6 +3,18 @@ static const char WIN_SMART_NAME[] = elm_win; +static const Elm_Win_Trap *trap = NULL; + +#define TRAP(sd, name, ...) \ + do\ +{ \ + if ((!trap) || (!trap-name) || \ + ((trap-name) \ +(trap-name(sd-trap_data, sd-base.obj, ## __VA_ARGS__ \ + ecore_evas_##name(sd-ee, ##__VA_ARGS__); \ +} \ + while (0) + #define ELM_WIN_DATA_GET(o, sd) \ Elm_Win_Smart_Data * sd = evas_object_smart_data_get(o) @@ -113,6 +125,8 @@ const char *icon_name; const char *role; + void *trap_data; + double aspect; int size_base_w, size_base_h; int size_step_w, size_step_h; @@ -356,20 +370,80 @@ sd-shot.timer = ecore_timer_add(_shot_delay_get(sd), _shot_delay, sd); } +/* elm-win specific associate, does the trap while ecore_evas_object_associate() + * does not. + */ +static Elm_Win_Smart_Data * +_elm_win_associate_get(const Ecore_Evas *ee) +{ + return ecore_evas_data_get(ee, elm_win); +} + +/* Interceptors Callbacks */ static void +_elm_win_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, raise); +} + +static void +_elm_win_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, lower); +} + +static void +_elm_win_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__) +{ + INF(TODO: %s, __FUNCTION__); +} + +static void +_elm_win_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__) +{ + INF(TODO: %s, __FUNCTION__); +} + +static void +_elm_win_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l) +{ + Elm_Win_Smart_Data *sd = data; + TRAP(sd, layer_set, l); +} + +/* Event Callbacks */ + +static void +_elm_win_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__) +{ + Elm_Win_Smart_Data *sd = data; + Evas_Coord w, h; + + evas_object_size_hint_min_get(obj, w, h); + TRAP(sd, size_min_set, w, h); + + evas_object_size_hint_max_get(obj, w, h); + if (w 1) w = -1; + if (h 1) h = -1; + TRAP(sd, size_max_set, w, h); +} +/* end of elm-win specific associate */ + + +static void _elm_win_move(Ecore_Evas *ee) { - Evas_Object *obj = ecore_evas_object_associate_get(ee); + Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee); int x, y; - if (!obj) return; + EINA_SAFETY_ON_NULL_RETURN(sd); - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - ecore_evas_geometry_get(ee, x, y, NULL, NULL); sd-screen.x = x; sd-screen.y = y; - evas_object_smart_callback_call(obj, SIG_MOVED, NULL); + evas_object_smart_callback_call(ELM_WIDGET_DATA(sd)-obj, SIG_MOVED, NULL); } static void @@ -407,11 +481,9 @@ static void _elm_win_resize(Ecore_Evas *ee) { - Evas_Object *obj = ecore_evas_object_associate_get(ee); + Elm_Win_Smart_Data *sd = _elm_win_associate_get(ee); + EINA_SAFETY_ON_NULL_RETURN(sd); - if (!obj) return; - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - if (sd-deferred_resize_job) ecore_job_del(sd-deferred_resize_job); sd-deferred_resize_job = ecore_job_add(_elm_win_resize_job, sd); } @@ -419,11 +491,9 @@ static void _elm_win_mouse_in(Ecore_Evas *ee) { -
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
Hi all, this one seems to make e build fails with this message: e_win.c:146:1: error: unknown type name ‘Elm_Win_Trap’ e_win.c:147:3: error: ‘ELM_WIN_TRAP_VERSION’ undeclared here (not in a function) e_win.c:148:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:148:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:149:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:149:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:150:3: warning: excess elements in scalar initializer [enabled by default] ... ... e_win.c:181:19: warning: excess elements in scalar initializer [enabled by default] e_win.c:181:19: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:182:20: warning: excess elements in scalar initializer [enabled by default] e_win.c:182:20: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:184:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:184:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c: In function ‘e_win_init’: e_win.c:192:4: warning: implicit declaration of function ‘elm_win_trap_set’ [-Wimplicit-function-declaration] make[4]: *** [enlightenment-e_win.o] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tempu/src/e17_src/e/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tempu/src/e17_src/e' make: *** [all] Error 2 attached the full build log (i'm using easy_e17 to perform the build process) Andrea On 07/19/2012 06:35 AM, Enlightenment SVN wrote: Log: elm_win: support trapping ecore_evas calls (aka: e17 support) Allows setting a trap in elm_win that intercepts calls to ecore_evas. If there is a trap and the trap returns EINA_FALSE, then the corresponding call is NOT issued. If it does not exist or returns EINA_TRUE, then the call is executed. Enlightenment window manager will set these traps and will call e_border directly, allowing E17 to use Elementary! A major feature given e_widgets painful usage. This should also help integrating into Wayland or even debug. Author: barbieri Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012) New Revision: 74156 Trac: http://trac.enlightenment.org/e/changeset/74156 Modified: trunk/elementary/src/lib/elm_win.c trunk/elementary/src/lib/elm_win.h Modified: trunk/elementary/src/lib/elm_win.c --- EASY_E17 1.4.0 CMD: ./autogen.sh --prefix=/opt/e17 --- Running autopoint... Running aclocal... Running autoheader... Running autoconf... Running libtoolize... Running automake... doc/Makefile.am:42: wildcard img/*.*: non-POSIX variable name doc/Makefile.am:42: (probably a GNU make extension) src/modules/illume2/doc/Makefile.am:34: wildcard img/*.*: non-POSIX variable name src/modules/illume2/doc/Makefile.am:34: (probably a GNU make extension) configure: loading cache config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for library containing strerror... (cached) none required checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
pass --disable-elementary and it should build okay...wfm On Thu, Jul 19, 2012 at 2:45 PM, Andrea Suisani sick...@opinioni.netwrote: Hi all, this one seems to make e build fails with this message: e_win.c:146:1: error: unknown type name ‘Elm_Win_Trap’ e_win.c:147:3: error: ‘ELM_WIN_TRAP_VERSION’ undeclared here (not in a function) e_win.c:148:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:148:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:149:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:149:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:150:3: warning: excess elements in scalar initializer [enabled by default] ... ... e_win.c:181:19: warning: excess elements in scalar initializer [enabled by default] e_win.c:181:19: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:182:20: warning: excess elements in scalar initializer [enabled by default] e_win.c:182:20: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:184:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:184:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c: In function ‘e_win_init’: e_win.c:192:4: warning: implicit declaration of function ‘elm_win_trap_set’ [-Wimplicit-function-**declaration] make[4]: *** [enlightenment-e_win.o] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/home/tempu/src/e17_src/e/**src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tempu/src/e17_src/e/**src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tempu/src/e17_src/e/**src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tempu/src/e17_src/e' make: *** [all] Error 2 attached the full build log (i'm using easy_e17 to perform the build process) Andrea On 07/19/2012 06:35 AM, Enlightenment SVN wrote: Log: elm_win: support trapping ecore_evas calls (aka: e17 support) Allows setting a trap in elm_win that intercepts calls to ecore_evas. If there is a trap and the trap returns EINA_FALSE, then the corresponding call is NOT issued. If it does not exist or returns EINA_TRUE, then the call is executed. Enlightenment window manager will set these traps and will call e_border directly, allowing E17 to use Elementary! A major feature given e_widgets painful usage. This should also help integrating into Wayland or even debug. Author: barbieri Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012) New Revision: 74156 Trac: http://trac.enlightenment.org/**e/changeset/74156http://trac.enlightenment.org/e/changeset/74156 Modified: trunk/elementary/src/lib/elm_**win.c trunk/elementary/src/lib/elm_** win.h Modified: trunk/elementary/src/lib/elm_**win.c -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
Yes. You either have to pass --disable-elementary to E17 when building, OR update and rebuild Elementary BEFORE doing E17. Dh -Original Message- From: Andrea Suisani [mailto:sick...@opinioni.net] Sent: 19 July 2012 14:46 To: enlightenment-devel@lists.sourceforge.net Subject: Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib Hi all, this one seems to make e build fails with this message: e_win.c:146:1: error: unknown type name 'Elm_Win_Trap' e_win.c:147:3: error: 'ELM_WIN_TRAP_VERSION' undeclared here (not in a function) e_win.c:148:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:148:3: warning: (near initialization for '_elm_win_trap') [enabled by default] e_win.c:149:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:149:3: warning: (near initialization for '_elm_win_trap') [enabled by default] e_win.c:150:3: warning: excess elements in scalar initializer [enabled by default] ... ... e_win.c:181:19: warning: excess elements in scalar initializer [enabled by default] e_win.c:181:19: warning: (near initialization for '_elm_win_trap') [enabled by default] e_win.c:182:20: warning: excess elements in scalar initializer [enabled by default] e_win.c:182:20: warning: (near initialization for '_elm_win_trap') [enabled by default] e_win.c:184:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:184:3: warning: (near initialization for '_elm_win_trap') [enabled by default] e_win.c: In function 'e_win_init': e_win.c:192:4: warning: implicit declaration of function 'elm_win_trap_set' [-Wimplicit-function-declaration] make[4]: *** [enlightenment-e_win.o] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tempu/src/e17_src/e/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tempu/src/e17_src/e' make: *** [all] Error 2 attached the full build log (i'm using easy_e17 to perform the build process) Andrea On 07/19/2012 06:35 AM, Enlightenment SVN wrote: Log: elm_win: support trapping ecore_evas calls (aka: e17 support) Allows setting a trap in elm_win that intercepts calls to ecore_evas. If there is a trap and the trap returns EINA_FALSE, then the corresponding call is NOT issued. If it does not exist or returns EINA_TRUE, then the call is executed. Enlightenment window manager will set these traps and will call e_border directly, allowing E17 to use Elementary! A major feature given e_widgets painful usage. This should also help integrating into Wayland or even debug. Author: barbieri Date: 2012-07-18 21:35:50 -0700 (Wed, 18 Jul 2012) New Revision: 74156 Trac: http://trac.enlightenment.org/e/changeset/74156 Modified: trunk/elementary/src/lib/elm_win.c trunk/elementary/src/lib/elm_win.h Modified: trunk/elementary/src/lib/elm_win.c -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
Yop, On Thu, Jul 19, 2012 at 10:45 PM, Andrea Suisani sick...@opinioni.net wrote: this one seems to make e build fails with this message: e_win.c:146:1: error: unknown type name ‘Elm_Win_Trap’ e_win.c:147:3: error: ‘ELM_WIN_TRAP_VERSION’ undeclared here (not in a function) e_win.c:148:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:148:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:149:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:149:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:150:3: warning: excess elements in scalar initializer [enabled by default] ... ... e_win.c:181:19: warning: excess elements in scalar initializer [enabled by default] e_win.c:181:19: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:182:20: warning: excess elements in scalar initializer [enabled by default] e_win.c:182:20: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c:184:3: warning: excess elements in scalar initializer [enabled by default] e_win.c:184:3: warning: (near initialization for ‘_elm_win_trap’) [enabled by default] e_win.c: In function ‘e_win_init’: e_win.c:192:4: warning: implicit declaration of function ‘elm_win_trap_set’ [-Wimplicit-function-declaration] make[4]: *** [enlightenment-e_win.o] Error 1 make[4]: *** Waiting for unfinished jobs make[4]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tempu/src/e17_src/e/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tempu/src/e17_src/e/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tempu/src/e17_src/e' make: *** [all] Error 2 attached the full build log (i'm using easy_e17 to perform the build process) E17 now depend on Elementary. Either your fix your script to make it depend on Elementary or as Mike says you can disable it. That shouldn't impact you for this release cycle, but it will become a strong dependencies in the future. -- Cedric BAIL -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
Hi all, On 07/19/2012 03:55 PM, Cedric BAIL wrote: Yop, attached the full build log (i'm using easy_e17 to perform the build process) E17 now depend on Elementary. Either your fix your script to make it depend on Elementary or as Mike says you can disable it. That shouldn't impact you for this release cycle, but it will become a strong dependencies in the future. thanks everyone for the tip. I will change my local copy of easy_e17 to build e just after elementary kudos to all e dev team, you guys rock ! Andrea -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
* Enlightenment SVN no-re...@enlightenment.org [2012-06-21 16:37:49 -0700]: Log: oops, unb0rk compat layer. glima was on d0rgs... Mmmm, indeed :) Author: barbieri Date: 2012-06-21 16:37:49 -0700 (Thu, 21 Jun 2012) New Revision: 72678 Trac: http://trac.enlightenment.org/e/changeset/72678 Modified: trunk/elementary/src/lib/elm_widget.c Modified: trunk/elementary/src/lib/elm_widget.c === --- trunk/elementary/src/lib/elm_widget.c 2012-06-21 22:39:10 UTC (rev 72677) +++ trunk/elementary/src/lib/elm_widget.c 2012-06-21 23:37:49 UTC (rev 72678) @@ -2597,7 +2597,7 @@ (obj, emission, source, _edje_signal_callback, esd); } - else if (!evas_object_smart_type_check(obj, elm_layout)) + else if (evas_object_smart_type_check(obj, elm_layout)) elm_layout_signal_callback_add(obj, emission, source, func, data); else if (evas_object_smart_type_check(obj, elm_icon)) { @@ -2641,7 +2641,7 @@ COMPAT_SMART_DATA(sd)-callback_del (obj, emission, source, _edje_signal_callback, esd); } - else if (!evas_object_smart_type_check(obj, elm_layout)) + else if (evas_object_smart_type_check(obj, elm_layout)) elm_layout_signal_callback_del(obj, emission, source, func); else if (evas_object_smart_type_check(obj, elm_icon)) { -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Gustavo Lima Chaves Computer Engineer @ ProFUSION Embedded Systems -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
On Thu, 6 Oct 2011 17:37:25 -0700 Michael Jennings m...@kainx.org wrote: On Wednesday, 05 October 2011, at 16:43:03 (-0700), Enlightenment SVN wrote: - _elm_ews_wm_border_theme_set((void*)tp-key, tp-data, NULL); + _elm_ews_wm_border_theme_set(*(void**)tp-key, tp-data, NULL); http://c-faq.com/ptrs/genericpp.html Michael nice catch! -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: barbieri trunk/elementary/src/lib
On Wednesday, 05 October 2011, at 16:43:03 (-0700), Enlightenment SVN wrote: - _elm_ews_wm_border_theme_set((void*)tp-key, tp-data, NULL); + _elm_ews_wm_border_theme_set(*(void**)tp-key, tp-data, NULL); http://c-faq.com/ptrs/genericpp.html Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ m...@kainx.org Linux Server/Cluster Admin, LBL.gov Author, Eterm (www.eterm.org) --- Before you criticize someone, walk a mile in their shoes. That way, when you criticize them, you're a mile away, and you have their shoes.-- Ann Brashares, The Sisterhood of the Traveling Pants -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel