[E-devel] EFL on Windows
Dear All, Hello. I have tried to build EFL on Windows. But the below reference has some broken links, so I could not complete. https://phab.enlightenment.org/w/eflwindowsxp/ If you have any recommendation, please let me know. Thank you. Sincerely, Shinwoo Kim. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/efl] master 01/01: eo: improve error reporting, update tests
jeyzu pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0b97c11ea25b2868e151b1aecc8dec7218dc352e commit 0b97c11ea25b2868e151b1aecc8dec7218dc352e Author: Jérémy Zurcher jer...@asynk.ch Date: Thu May 8 13:44:47 2014 +0200 eo: improve error reporting, update tests --- src/lib/eo/eo.c | 9 + src/tests/eo/suite/eo_test_call_errors.c | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index b52a47a..59865e6 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -627,8 +627,8 @@ _eo_call_resolve(const char *func_name, const Eo_Op op, Eo_Op_Call_Data *call, c if (func-src != NULL) { -ERR(in %s:%d: you called a pure virtual func '%s' (%d)., -file, line, func_name, op); +ERR(in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'., +file, line, func_name, op, klass-desc-name); return EINA_FALSE; } @@ -758,8 +758,9 @@ _eo_api_op_id_get(const void *api_func, const char *file, int line) if (dladdr(api_func, info) != 0) fct_name = info.dli_sname; #endif -ERR(in %s:%d: unable to resolve %s api func '%s' %p., -file, line, (class_ref ? class : regular), fct_name, api_func); +ERR(in %s:%d: unable to resolve %s api func '%s' %p in class '%s'., +file, line, (class_ref ? class : regular), +fct_name, api_func, klass-desc-name); return EO_NOOP; } diff --git a/src/tests/eo/suite/eo_test_call_errors.c b/src/tests/eo/suite/eo_test_call_errors.c index 08e1635..7e00fc1 100644 --- a/src/tests/eo/suite/eo_test_call_errors.c +++ b/src/tests/eo/suite/eo_test_call_errors.c @@ -19,7 +19,7 @@ START_TEST(eo_pure_virtual_fct_call) Eo *obj = eo_add(SIMPLE_CLASS, NULL); fail_if(!obj); - TEST_EO_ERROR(_eo_call_resolve, in %s:%d: you called a pure virtual func '%s' (%d).); + TEST_EO_ERROR(_eo_call_resolve, in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'.); eo_do(obj, simple_pure_virtual()); fail_unless(ctx.did); @@ -37,7 +37,7 @@ START_TEST(eo_api_not_implemented_call) Eo *obj = eo_add(SIMPLE_CLASS, NULL); fail_if(!obj); - TEST_EO_ERROR(_eo_api_op_id_get, in %s:%d: unable to resolve %s api func %p.); + TEST_EO_ERROR(_eo_api_op_id_get, in %s:%d: unable to resolve %s api func '%s' %p in class '%s'.); eo_do(obj, simple_no_implementation()); fail_unless(ctx.did); --
[EGIT] [apps/terminology] master 01/02: add some padding fields to be sure holes are initialized (hi valgrind!)
billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=2b9c9a83514b433138448f63f9f3bab46ad7e629 commit 2b9c9a83514b433138448f63f9f3bab46ad7e629 Author: Boris Faure bill...@gmail.com Date: Thu May 8 13:55:01 2014 +0200 add some padding fields to be sure holes are initialized (hi valgrind!) --- src/bin/termpty.c | 4 ++-- src/bin/termpty.h | 8 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 1eb4344..9172f00 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -1056,9 +1056,9 @@ void termpty_cell_codepoint_att_fill(Termpty *ty, Eina_Unicode codepoint, Termatt att, Termcell *dst, int n) { - Termcell local = { codepoint, att }; + Termcell local = { .codepoint = codepoint, .att = att }; int i; - + for (i = 0; i n; i++) { _handle_block_codepoint_overwrite(ty, dst[i].codepoint, codepoint); diff --git a/src/bin/termpty.h b/src/bin/termpty.h index 98febce..521e60e 100644 --- a/src/bin/termpty.h +++ b/src/bin/termpty.h @@ -54,7 +54,9 @@ struct _Termatt unsigned short italic : 1; #elif defined(SUPPORT_DBLWIDTH) unsigned short dblwidth : 1; -#endif +#else + unsigned short bit_padding_0 : 1; +#endif unsigned short underline : 1; unsigned short blink : 1; // don't intend to support this currently unsigned short blink2 : 1; // don't intend to support this currently @@ -72,6 +74,9 @@ struct _Termatt unsigned short fraktur : 1; #if defined(SUPPORT_80_132_COLUMNS) unsigned short is_80_132_mode_allowed : 1; + unsigned short bit_padding : 14; +#else + unsigned short bit_padding : 15; #endif }; @@ -156,6 +161,7 @@ struct _Termcell { Eina_Unicode codepoint; Termattatt; + unsigned char padding[2]; }; struct _Termsave --
[EGIT] [apps/terminology] master 02/02: play a bit with pahole
billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=b504db6cba6d83e98d5de7492c45d92f1cf15f1b commit b504db6cba6d83e98d5de7492c45d92f1cf15f1b Author: Boris Faure bill...@gmail.com Date: Thu May 8 14:07:37 2014 +0200 play a bit with pahole --- src/bin/config.h | 6 +++--- src/bin/termio.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/config.h b/src/bin/config.h index e8a4324..979dfcf 100644 --- a/src/bin/config.h +++ b/src/bin/config.h @@ -13,7 +13,8 @@ struct _Config_Color struct _Config { - int version; + int version; + int scrollback; struct { const char*name; const char*orig_name; /* not in EET */ @@ -32,9 +33,8 @@ struct _Config Eina_Bool inline_please; } helper; const char *theme; - const char *background; + const char *background; const char *wordsep; - int scrollback; doubletab_zoom; int vidmod; Eina_Bool jump_on_keypress; diff --git a/src/bin/termio.c b/src/bin/termio.c index b24c7a0..6f64be0 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -26,8 +26,8 @@ struct _Termio { Evas_Object_Smart_Clipped_Data __clipped_data; struct { - int size; const char *name; + int size; int chw, chh; } font; struct { @@ -45,6 +45,7 @@ struct _Termio int cx, cy; int button; } mouse; + unsigned int last_keyup; struct { char *string; int x1, y1, x2, y2; @@ -61,7 +62,6 @@ struct _Termio } link; int zoom_fontsize_start; int scroll; - unsigned int last_keyup; Eina_List *mirrors; Eina_List *seq; Evas_Object *self; --
Re: [E-devel] EFL on Windows
Hello, On Thu, May 8, 2014 at 1:24 PM, Kim Shinwoo kimcinoo@gmail.com wrote: Dear All, Hello. I have tried to build EFL on Windows. But the below reference has some broken links, so I could not complete. https://phab.enlightenment.org/w/eflwindowsxp/ If you have any recommendation, please let me know. Thank you. I don't know where this page come from, but you should follow this one : https://phab.enlightenment.org/w/windows/ . That's what our buildbot and others are using. Have fun ! -- Cedric BAIL -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/efl] master 01/01: autotools: make it possible to forcibly disable neon.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=79c4baf1ccaedf33a2b187475850572f28ff7e4a commit 79c4baf1ccaedf33a2b187475850572f28ff7e4a Author: Cedric Bail cedric.b...@free.fr Date: Thu May 8 16:24:04 2014 +0200 autotools: make it possible to forcibly disable neon. --- configure.ac | 47 ++- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index 061b5ca..e437be8 100644 --- a/configure.ac +++ b/configure.ac @@ -477,6 +477,17 @@ build_cpu_sse3=no build_cpu_altivec=no build_cpu_neon=no +want_neon=yes +AC_ARG_ENABLE([neon], + [AC_HELP_STRING([--disable-neon], [disable neon support @:@default=enable@:@])], + [ +if test x${enableval} = xyes; then + want_neon=yes +else + want_neon=no +fi + ]) + SSE3_CFLAGS= ALTIVEC_CFLAGS= NEON_CFLAGS= @@ -541,23 +552,25 @@ case $host_cpu in fi ;; arm*) -build_cpu_neon=yes -AC_MSG_CHECKING([whether to use NEON instructions]) -CFLAGS_save=${CFLAGS} -CFLAGS=${CFLAGS} -mfpu=neon -AC_TRY_COMPILE([#include arm_neon.h], - [asm volatile (vqadd.u8 d0, d1, d0\n)], - [ -AC_MSG_RESULT([yes]) -AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) -build_cpu_neon=yes -NEON_CFLAGS=-mfpu=neon - ], - [ -AC_MSG_RESULT([no]) -build_cpu_neon=no - ]) -CFLAGS=${CFLAGS_save} +if test x${want_neon} = xyes; then + build_cpu_neon=yes + AC_MSG_CHECKING([whether to use NEON instructions]) + CFLAGS_save=${CFLAGS} + CFLAGS=${CFLAGS} -mfpu=neon + AC_TRY_COMPILE([#include arm_neon.h], + [asm volatile (vqadd.u8 d0, d1, d0\n)], +[ + AC_MSG_RESULT([yes]) + AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) + build_cpu_neon=yes + NEON_CFLAGS=-mfpu=neon +], +[ + AC_MSG_RESULT([no]) + build_cpu_neon=no +]) + CFLAGS=${CFLAGS_save} +fi ;; esac --
Re: [E-devel] [EGIT] [core/efl] master 01/01: autotools: make it possible to forcibly disable neon.
change it to --disable-optimizations or --disable-simd? Possible --without-optimizations={neon|sse|...} but i don't see a reason why one would disable mmx and not sse and vice versa. the reason I ask such is to avoid growing the number of options too much On Thu, May 8, 2014 at 11:25 AM, Cedric BAIL cedric.b...@free.fr wrote: cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=79c4baf1ccaedf33a2b187475850572f28ff7e4a commit 79c4baf1ccaedf33a2b187475850572f28ff7e4a Author: Cedric Bail cedric.b...@free.fr Date: Thu May 8 16:24:04 2014 +0200 autotools: make it possible to forcibly disable neon. --- configure.ac | 47 ++- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index 061b5ca..e437be8 100644 --- a/configure.ac +++ b/configure.ac @@ -477,6 +477,17 @@ build_cpu_sse3=no build_cpu_altivec=no build_cpu_neon=no +want_neon=yes +AC_ARG_ENABLE([neon], + [AC_HELP_STRING([--disable-neon], [disable neon support @:@default=enable@:@])], + [ +if test x${enableval} = xyes; then + want_neon=yes +else + want_neon=no +fi + ]) + SSE3_CFLAGS= ALTIVEC_CFLAGS= NEON_CFLAGS= @@ -541,23 +552,25 @@ case $host_cpu in fi ;; arm*) -build_cpu_neon=yes -AC_MSG_CHECKING([whether to use NEON instructions]) -CFLAGS_save=${CFLAGS} -CFLAGS=${CFLAGS} -mfpu=neon -AC_TRY_COMPILE([#include arm_neon.h], - [asm volatile (vqadd.u8 d0, d1, d0\n)], - [ -AC_MSG_RESULT([yes]) -AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) -build_cpu_neon=yes -NEON_CFLAGS=-mfpu=neon - ], - [ -AC_MSG_RESULT([no]) -build_cpu_neon=no - ]) -CFLAGS=${CFLAGS_save} +if test x${want_neon} = xyes; then + build_cpu_neon=yes + AC_MSG_CHECKING([whether to use NEON instructions]) + CFLAGS_save=${CFLAGS} + CFLAGS=${CFLAGS} -mfpu=neon + AC_TRY_COMPILE([#include arm_neon.h], + [asm volatile (vqadd.u8 d0, d1, d0\n)], +[ + AC_MSG_RESULT([yes]) + AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) + build_cpu_neon=yes + NEON_CFLAGS=-mfpu=neon +], +[ + AC_MSG_RESULT([no]) + build_cpu_neon=no +]) + CFLAGS=${CFLAGS_save} +fi ;; esac -- -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 99225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/enlightenment] master 01/01: add missing eina_list_append in comp init
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=72f1dcc7482d7f84ed2b5967bd8f766f92f8831a commit 72f1dcc7482d7f84ed2b5967bd8f766f92f8831a Author: Gwanglim Lee gl77@samsung.com Date: Thu May 8 11:28:14 2014 -0400 add missing eina_list_append in comp init Summary: add missing eina_list_append in comp init Test Plan: N/A Reviewers: raster, zmike, devilhorns CC: cedric Differential Revision: https://phab.enlightenment.org/D835 --- src/bin/e_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index e4c2a8f..93b8b98 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1107,6 +1107,7 @@ e_comp_init(void) e_action_predef_name_set(N_(Compositor), N_(Set current window opacity), opacity_set, 255, syntax: number between 0-255 to set for transparent-opaque, 1); + actions = eina_list_append(actions, act); act = e_action_add(redirect_toggle); act-func.go = _e_comp_act_redirect_toggle_go; e_action_predef_name_set(N_(Compositor), --
[EGIT] [core/enlightenment] master 01/01: resizeble - resizable
q66 pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6444b1569ab9a441628b57bf8beb79d4862c65b1 commit 6444b1569ab9a441628b57bf8beb79d4862c65b1 Author: Daniel Kolesa quake...@gmail.com Date: Thu May 8 16:33:46 2014 +0100 resizeble - resizable --- src/bin/e_dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c index db3f269..d679592 100644 --- a/src/bin/e_dialog.c +++ b/src/bin/e_dialog.c @@ -45,7 +45,7 @@ _e_dialog_internal_new(E_Comp *c, const char *name, const char *class, int dialo e_widget_on_focus_hook_set(o, _e_dialog_cb_wid_on_focus, dia); dia-box_object = o; edje_object_part_swallow(dia-bg_object, e.swallow.buttons, o); - edje_object_signal_emit(dia-bg_object, e,state,no_resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,no_resizable, e); o = evas_object_rectangle_add(e_win_evas_get(dia-win)); dia-event_object = o; @@ -219,13 +219,13 @@ e_dialog_resizable_set(E_Dialog *dia, int resizable) { e_win_size_max_set(dia-win, 9, 9); e_util_win_auto_resize_fill(dia-win); - edje_object_signal_emit(dia-bg_object, e,state,resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,resizable, e); } else { e_win_resize(dia-win, dia-min_w, dia-min_h); e_win_size_max_set(dia-win, dia-min_w, dia-min_h); - edje_object_signal_emit(dia-bg_object, e,state,no_resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,no_resizable, e); } } } --
Re: [E-devel] EFL on Windows
Hello :) Thanks for your response. The first line(Building EFL on Windows XP using MSYS / MinGW, or on Linux using MinGW cross-compilation toolchainhttps://phab.enlightenment.org/w/eflwindowsxp/) gives that page. I will follow what you mentioned reference. There are dependencies and Makefile! I met one more problem when I tried to use the Cygwin on my machine in my office. The machine could not reserve space for cygwin's heap. It would be caused by the security program. sad... Thank you again. and I will definitely miss you! Sincerely, Shinwoo Kim. On Thu, May 8, 2014 at 10:08 PM, Cedric BAIL cedric.b...@free.fr wrote: Hello, On Thu, May 8, 2014 at 1:24 PM, Kim Shinwoo kimcinoo@gmail.com wrote: Dear All, Hello. I have tried to build EFL on Windows. But the below reference has some broken links, so I could not complete. https://phab.enlightenment.org/w/eflwindowsxp/ If you have any recommendation, please let me know. Thank you. I don't know where this page come from, but you should follow this one : https://phab.enlightenment.org/w/windows/ . That's what our buildbot and others are using. Have fun ! -- Cedric BAIL -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/01: autotools: make it possible to forcibly disable neon.
On Thu, May 8, 2014 at 5:16 PM, Gustavo Sverzut Barbieri barbi...@gmail.com wrote: change it to --disable-optimizations or --disable-simd? Possible --without-optimizations={neon|sse|...} but i don't see a reason why one would disable mmx and not sse and vice versa. the reason I ask such is to avoid growing the number of options too much I was wondering if that would ever happen. The problem show up with ARMv6 as GCC would not be able to produce a binary for our code, but pass the check in configure.ac. I am wondering if that would ever happen with x86. If yes, then that should be fix. On Thu, May 8, 2014 at 11:25 AM, Cedric BAIL cedric.b...@free.fr wrote: cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=79c4baf1ccaedf33a2b187475850572f28ff7e4a commit 79c4baf1ccaedf33a2b187475850572f28ff7e4a Author: Cedric Bail cedric.b...@free.fr Date: Thu May 8 16:24:04 2014 +0200 autotools: make it possible to forcibly disable neon. --- configure.ac | 47 ++- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index 061b5ca..e437be8 100644 --- a/configure.ac +++ b/configure.ac @@ -477,6 +477,17 @@ build_cpu_sse3=no build_cpu_altivec=no build_cpu_neon=no +want_neon=yes +AC_ARG_ENABLE([neon], + [AC_HELP_STRING([--disable-neon], [disable neon support @:@default=enable@:@])], + [ +if test x${enableval} = xyes; then + want_neon=yes +else + want_neon=no +fi + ]) + SSE3_CFLAGS= ALTIVEC_CFLAGS= NEON_CFLAGS= @@ -541,23 +552,25 @@ case $host_cpu in fi ;; arm*) -build_cpu_neon=yes -AC_MSG_CHECKING([whether to use NEON instructions]) -CFLAGS_save=${CFLAGS} -CFLAGS=${CFLAGS} -mfpu=neon -AC_TRY_COMPILE([#include arm_neon.h], - [asm volatile (vqadd.u8 d0, d1, d0\n)], - [ -AC_MSG_RESULT([yes]) -AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) -build_cpu_neon=yes -NEON_CFLAGS=-mfpu=neon - ], - [ -AC_MSG_RESULT([no]) -build_cpu_neon=no - ]) -CFLAGS=${CFLAGS_save} +if test x${want_neon} = xyes; then + build_cpu_neon=yes + AC_MSG_CHECKING([whether to use NEON instructions]) + CFLAGS_save=${CFLAGS} + CFLAGS=${CFLAGS} -mfpu=neon + AC_TRY_COMPILE([#include arm_neon.h], + [asm volatile (vqadd.u8 d0, d1, d0\n)], +[ + AC_MSG_RESULT([yes]) + AC_DEFINE([BUILD_NEON], [1], [Build NEON Code]) + build_cpu_neon=yes + NEON_CFLAGS=-mfpu=neon +], +[ + AC_MSG_RESULT([no]) + build_cpu_neon=no +]) + CFLAGS=${CFLAGS_save} +fi ;; esac -- -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 99225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Cedric BAIL -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Error building elementary_test
I have this error while trying to build elementary from latest git: CCLD elementary_test /usr/bin/ld: elementary_test-test.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC elementary_test-test.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status -- Massimo Maiurana Ragusa (RG) -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/elementary] master 01/01: add event blocker for ibar menu
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0678bdbc0655b520c3f187684afe4ad1a9091c0e commit 0678bdbc0655b520c3f187684afe4ad1a9091c0e Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 14:36:58 2014 -0400 add event blocker for ibar menu having mouse clicks intercepted and going to /dev/null when clicking on items during mouseover animation was super annoying --- data/themes/edc/ibar-ibox.edc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/themes/edc/ibar-ibox.edc b/data/themes/edc/ibar-ibox.edc index 27befda..af1be48 100644 --- a/data/themes/edc/ibar-ibox.edc +++ b/data/themes/edc/ibar-ibox.edc @@ -208,18 +208,24 @@ group { name: e/modules/ibar/menu; } } } + rect { event_block; + desc { hid; color: 0 0 0 0; } + desc { hidden; inherit: default; vis; } + } } programs { program { signal: e,state,hidden; source: e; action: STATE_SET hidden 0.0; target: sizer; target: clip; + target: event_block; } program { signal: e,action,show; source: e; action: STATE_SET default 0.0; target: sizer; target: clip; + target: event_block; transition: SINUSOIDAL 0.2; after: show2; } @@ -231,6 +237,7 @@ group { name: e/modules/ibar/menu; action: STATE_SET hidden 0.0; target: sizer; target: clip; + target: event_block; transition: SINUSOIDAL 0.2; after: hide2; } --
[EGIT] [core/elementary] master 01/01: Revert add event blocker for ibar menu
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=508fa850f4fa1da376fbf9d26906d328558e6307 commit 508fa850f4fa1da376fbf9d26906d328558e6307 Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:07:45 2014 -0400 Revert add event blocker for ibar menu This reverts commit 0678bdbc0655b520c3f187684afe4ad1a9091c0e. take more naps --- data/themes/edc/ibar-ibox.edc | 7 --- 1 file changed, 7 deletions(-) diff --git a/data/themes/edc/ibar-ibox.edc b/data/themes/edc/ibar-ibox.edc index af1be48..27befda 100644 --- a/data/themes/edc/ibar-ibox.edc +++ b/data/themes/edc/ibar-ibox.edc @@ -208,24 +208,18 @@ group { name: e/modules/ibar/menu; } } } - rect { event_block; - desc { hid; color: 0 0 0 0; } - desc { hidden; inherit: default; vis; } - } } programs { program { signal: e,state,hidden; source: e; action: STATE_SET hidden 0.0; target: sizer; target: clip; - target: event_block; } program { signal: e,action,show; source: e; action: STATE_SET default 0.0; target: sizer; target: clip; - target: event_block; transition: SINUSOIDAL 0.2; after: show2; } @@ -237,7 +231,6 @@ group { name: e/modules/ibar/menu; action: STATE_SET hidden 0.0; target: sizer; target: clip; - target: event_block; transition: SINUSOIDAL 0.2; after: hide2; } --
[EGIT] [apps/terminology] master 01/01: this pacman is much better!
billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=a6aa73e219fafc75dd13a2729e37df05556d9e4f commit a6aa73e219fafc75dd13a2729e37df05556d9e4f Author: Boris Faure bill...@gmail.com Date: Thu May 8 22:41:43 2014 +0200 this pacman is much better! --- tools/pacman.sh | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/pacman.sh b/tools/pacman.sh index 8080b68..0c34e2a 100755 --- a/tools/pacman.sh +++ b/tools/pacman.sh @@ -27,24 +27,24 @@ initializeANSI() # note in this first use that switching colors doesn't require a reset # first - the new color overrides the old one. -#clear +clear initializeANSI cat EOF - ${yellowf} .###.${reset} ${redf} .##.${reset}${greenf} .##.${reset}${bluef} .##.${reset}${purplef} .##.${reset} ${cyanf} .##.${reset} - ${yellowf}.#**${reset} ${redf}.${whitef}#*#${redf}##${whitef}#*#${redf}##.${reset} ${greenf}.${whitef}#*#${greenf}##${whitef}#*#${greenf}##.${reset} ${bluef}.${whitef}#*#${bluef}##${whitef}#*#${bluef}##.${reset} ${purplef}.${whitef}#*#${purplef}##${whitef}#*#${purplef}##.${reset} ${cyanf}.${whitef}#*#${cyanf}##${whitef}#*#${cyanf}##.${reset} - ${yellowf}###*${reset} ${redf}#${whitef}..#${redf}##${whitef}..#${redf}###${reset} ${greenf}#${whitef}..#${greenf}##${whitef}..#${greenf}###${reset} ${bluef}#${whitef}..#${bluef}##${whitef}..#${bluef}###${reset} ${purplef}#${whitef}..#${purplef}##${whitef}..#${purplef}###${reset} ${cyanf}#${whitef}..#${cyanf}##${whitef}..#${cyanf}###${reset} - ${yellowf}###.${reset} ${redf}${reset} ${greenf}${reset} ${bluef}${reset} ${purplef}${reset} ${cyanf}${reset} - ${yellowf}*#..${reset} ${redf}##*##**##*##${reset} ${greenf}##*##**##*##${reset} ${bluef}##*##**##*##${reset} ${purplef}##*##**##*##${reset} ${cyanf}##*##**##*##${reset} - ${yellowf} *###*${reset} ${redf}* * * *${reset} ${greenf}* * * *${reset} ${bluef}* * * *${reset} ${purplef}* * * *${reset} ${cyanf}* * * *${reset} + ${yellowf} ▄███▄${reset} ${redf} ▄██▄${reset}${greenf} ▄██▄${reset}${bluef} ▄██▄${reset}${purplef} ▄██▄${reset} ${cyanf} ▄██▄${reset} + ${yellowf}▄█▀▀${reset} ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄${reset} ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄${reset} ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄${reset} ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄${reset} ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset} + ${yellowf}███▀${reset} ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███${reset} ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███${reset} ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███${reset} ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███${reset} ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset} + ${yellowf}███▄${reset} ${redf}${reset} ${greenf}${reset} ${bluef}${reset} ${purplef}${reset} ${cyanf}${reset} + ${yellowf}▀█▄▄${reset} ${redf}██▀██▀▀██▀██${reset} ${greenf}██▀██▀▀██▀██${reset} ${bluef}██▀██▀▀██▀██${reset} ${purplef}██▀██▀▀██▀██${reset} ${cyanf}██▀██▀▀██▀██${reset} + ${yellowf} ▀███▀${reset} ${redf}▀ ▀ ▀ ▀${reset} ${greenf}▀ ▀ ▀ ▀${reset} ${bluef}▀ ▀ ▀ ▀${reset} ${purplef}▀ ▀ ▀ ▀${reset} ${cyanf}▀ ▀ ▀ ▀${reset} - ${boldon}${yellowf} .###. ${redf} .##.${greenf} .##. ${bluef} .##.${purplef} .##.${cyanf} .##.${reset} - ${boldon}${yellowf}.#** ${redf}.${whitef}#*#${redf}##${whitef}#*#${redf}##. ${greenf}.${whitef}#*#${greenf}##${whitef}#*#${greenf}##. ${bluef}.${whitef}#*#${bluef}##${whitef}#*#${bluef}##. ${purplef}.${whitef}#*#${purplef}##${whitef}#*#${purplef}##. ${cyanf}.${whitef}#*#${cyanf}##${whitef}#*#${cyanf}##.${reset} - ${boldon}${yellowf}###* ${redf}#${whitef}..#${redf}##${whitef}..#${redf}### ${greenf}#${whitef}..#${greenf}##${whitef}..#${greenf}### ${bluef}#${whitef}..#${bluef}##${whitef}..#${bluef}### ${purplef}#${whitef}..#${purplef}##${whitef}..#${purplef}### ${cyanf}#${whitef}..#${cyanf}##${whitef}..#${cyanf}###${reset} - ${boldon}${yellowf}###. ${redf} ${greenf} ${bluef} ${purplef} ${cyanf}${reset} - ${boldon}${yellowf}*#.. ${redf}##*##**##*## ${greenf}##*##**##*## ${bluef}##*##**##*## ${purplef}##*##**##*## ${cyanf}##*##**##*##${reset} - ${boldon}${yellowf} *###* ${redf}* * * * ${greenf}* * * * ${bluef}* * * * ${purplef}* * * * ${cyanf}* * * *${reset} + ${boldon}${yellowf}
[EGIT] [core/enlightenment] master 02/08: ibar menu no longer sometimes covers its ibar
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=7b88d63e52f528871d6610edd86aa18192b1cf3c commit 7b88d63e52f528871d6610edd86aa18192b1cf3c Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 14:31:51 2014 -0400 ibar menu no longer sometimes covers its ibar --- src/modules/ibar/e_mod_main.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 9920768..6210224 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1174,19 +1174,27 @@ _ibar_icon_menu_recalc(IBar_Icon *ic) edje_object_calc_force(o); edje_object_size_min_calc(o, w, h); + zone = e_gadcon_zone_get(ic-ibar-inst-gcc-gadcon); + evas_object_geometry_get(ic-o_holder, x, y, iw, ih); edje_extern_object_min_size_set(o, w, h); ic-menu-w = w, ic-menu-h = h; evas_object_resize(ic-menu-comp_object, w, h); e_gadcon_popup_show(ic-menu); - evas_object_geometry_get(ic-o_holder, x, y, iw, ih); evas_object_geometry_get(ic-menu-comp_object, ox, oy, NULL, NULL); - zone = e_gadcon_zone_get(ic-ibar-inst-gcc-gadcon); if (e_box_orientation_get(ic-ibar-o_box)) - ox = (x + (iw / 2)) - (w / 2); + { +ox = (x + (iw / 2)) - (w / 2); +if (E_INTERSECTS(ox, oy, w, h, x, y, iw, ih)) + { + if (y h / 2) + oy = y - h; + else + oy = y + ih; + } + } else oy = (y + (ih / 2)) - (h / 2); ox = E_CLAMP(ox, zone-x, zone-x + zone-w - w); - oy = E_CLAMP(oy, zone-y, zone-y + zone-h - h); evas_object_move(ic-menu-comp_object, ox, oy); } @@ -1312,6 +1320,7 @@ _ibar_icon_menu(IBar_Icon *ic, Eina_Bool grab) evas_object_del(ic-menu-comp_object); ic-menu-o_bg = o; ic-menu-comp_object = e_comp_object_util_add(o, E_COMP_OBJECT_TYPE_NONE); + evas_object_clip_set(ic-menu-comp_object, e_gadcon_zone_get(ic-ibar-inst-gcc-gadcon)-bg_clip_object); evas_object_layer_set(ic-menu-comp_object, E_LAYER_POPUP); EINA_LIST_FOREACH(ic-exes, l, exe) { --
[EGIT] [core/enlightenment] master 01/08: use same zone for ibar menu as gadget
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=392aea270aa4d0649dfefc9deca1dce604d1ba4b commit 392aea270aa4d0649dfefc9deca1dce604d1ba4b Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 11:41:41 2014 -0400 use same zone for ibar menu as gadget --- src/modules/ibar/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 37fe999..9920768 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1220,7 +1220,7 @@ _ibar_cb_icon_menu_img_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EIN E_Zone *zone; evas_object_geometry_get(ic-menu-comp_object, cx, cy, cw, ch); -zone = e_comp_zone_xy_get(e_comp_get(ic-menu), cx, cy); +zone = e_gadcon_zone_get(ic-ibar-inst-gcc-gadcon); if (cy (zone-h / 2)) ny = cy - (h - ch); else --
[EGIT] [core/enlightenment] master 04/08: don't set pass events on ibar icons
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=76ad5a921809f09ce6b1d60d1790660fbeaa1d29 commit 76ad5a921809f09ce6b1d60d1790660fbeaa1d29 Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:08:05 2014 -0400 don't set pass events on ibar icons --- src/modules/ibar/e_mod_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 6210224..75eaaaf 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -964,13 +964,11 @@ _ibar_icon_fill(IBar_Icon *ic) evas_object_name_set(ic-o_icon, icon); e_icon_fdo_icon_set(ic-o_icon, ic-app-icon); edje_object_part_swallow(ic-o_holder, e.swallow.content, ic-o_icon); - evas_object_pass_events_set(ic-o_icon, 1); evas_object_show(ic-o_icon); if (ic-o_icon2) evas_object_del(ic-o_icon2); ic-o_icon2 = e_icon_add(evas_object_evas_get(ic-ibar-o_box)); e_icon_fdo_icon_set(ic-o_icon2, ic-app-icon); edje_object_part_swallow(ic-o_holder2, e.swallow.content, ic-o_icon2); - evas_object_pass_events_set(ic-o_icon2, 1); evas_object_show(ic-o_icon2); switch (ic-ibar-inst-ci-eap_label) --
[EGIT] [core/enlightenment] master 03/08: bugfix: fix obviously-wrong winlist animator deletion
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=73574e3d448981c6a47850875fb7faccd91e84ff commit 73574e3d448981c6a47850875fb7faccd91e84ff Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 14:46:47 2014 -0400 bugfix: fix obviously-wrong winlist animator deletion fix T1215 --- src/modules/winlist/e_winlist.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c index 5f428e7..6269274 100644 --- a/src/modules/winlist/e_winlist.c +++ b/src/modules/winlist/e_winlist.c @@ -969,12 +969,6 @@ _e_winlist_activate(void) evas_object_focus_set(ww-client-frame, 1); set = 0; } -if (!_animator) - _animator = ecore_animator_add(_e_winlist_animator, NULL); - } -else - { - E_FREE_FUNC(_animator, ecore_animator_del); } if ((!ww-client-lock_user_stacking) --
[EGIT] [core/enlightenment] master 08/08: bugfix: appindicator service name parsing now stringshares correctly
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=4675323286b7bf636efac0e50d2377d549e979fa commit 4675323286b7bf636efac0e50d2377d549e979fa Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 16:57:26 2014 -0400 bugfix: appindicator service name parsing now stringshares correctly fix T811 --- src/modules/systray/e_mod_notifier_host_dbus.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/modules/systray/e_mod_notifier_host_dbus.c b/src/modules/systray/e_mod_notifier_host_dbus.c index 17fba75..f5de199 100644 --- a/src/modules/systray/e_mod_notifier_host_dbus.c +++ b/src/modules/systray/e_mod_notifier_host_dbus.c @@ -22,16 +22,13 @@ typedef struct _Notifier_Host_Data { static Eina_Bool service_string_parse(const char *item, const char **path, const char **bus_id) { - unsigned i; - for (i = 0; i strlen(item); i++) - { -if (item[i] != '/') - continue; -*path = eina_stringshare_add(item+i); -*bus_id = eina_stringshare_nprintf(i+1, %s, item); -return EINA_TRUE; - } - return EINA_FALSE; + const char *p; + + p = strchr(item, '/'); + if (!p) return EINA_FALSE; + *path = eina_stringshare_add(p); + *bus_id = eina_stringshare_add_length(item, p - item); + return EINA_TRUE; } static Notifier_Item * --
[EGIT] [core/enlightenment] master 05/08: redo some systray appindicator stuff so the menu doesn't immediately close
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=275e20b2bcc2602642813d88c227a61e66042fd2 commit 275e20b2bcc2602642813d88c227a61e66042fd2 Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:51:09 2014 -0400 redo some systray appindicator stuff so the menu doesn't immediately close --- src/modules/systray/e_mod_notifier_host.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/modules/systray/e_mod_notifier_host.c b/src/modules/systray/e_mod_notifier_host.c index df24792..195dd9f 100644 --- a/src/modules/systray/e_mod_notifier_host.c +++ b/src/modules/systray/e_mod_notifier_host.c @@ -131,7 +131,7 @@ _item_submenu_new(E_DBusMenu_Item *item, E_Menu_Item *mi) e_menu_item_radio_set(submi, 1); if (child-toggle_type) e_menu_item_toggle_set(submi, child-toggle_state); - if (eina_inlist_count(child-sub_items)) + if (child-sub_items) _item_submenu_new(child, submi); e_util_menu_item_theme_icon_set(submi, child-icon_name); } @@ -139,14 +139,19 @@ _item_submenu_new(E_DBusMenu_Item *item, E_Menu_Item *mi) return m; } -static void -_item_menu_new(Notifier_Item_Icon *ii) +void +_clicked_item_cb(void *data, Evas *evas, Evas_Object *obj __UNUSED__, void *event) { + Notifier_Item_Icon *ii = data; + Evas_Event_Mouse_Down *ev = event; E_DBusMenu_Item *root_item; E_Menu *m; E_Zone *zone; int x, y; E_Gadcon *gadcon = evas_object_data_get(ii-icon, gadcon); + + if (ev-button != 1) return; + EINA_SAFETY_ON_NULL_RETURN(gadcon); if (!ii-item-dbus_item) return; root_item = ii-item-dbus_item; @@ -156,19 +161,11 @@ _item_menu_new(Notifier_Item_Icon *ii) e_gadcon_locked_set(gadcon, 1); e_menu_post_deactivate_callback_set(m, _menu_post_deactivate, gadcon); - zone = e_util_zone_current_get(e_manager_current_get()); + zone = e_gadcon_zone_get(gadcon); ecore_evas_pointer_xy_get(zone-comp-ee, x, y); - e_menu_activate_mouse(m, zone, x, y, 1, 1, E_MENU_POP_DIRECTION_DOWN, 0); -} - -void -_clicked_item_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event) -{ - Notifier_Item_Icon *ii = data; - Evas_Event_Mouse_Down *ev = event; - - if (ev-button != 1) return; - _item_menu_new(ii); + e_menu_activate_mouse(m, zone, x, y, 1, 1, E_MENU_POP_DIRECTION_DOWN, ev-timestamp); + evas_event_feed_mouse_up(evas, ev-button, + EVAS_BUTTON_NONE, ev-timestamp, NULL); } void --
[EGIT] [core/enlightenment] master 07/08: be in 2013
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=43ed52443103e2577b26a5d360c392bcaafb969e commit 43ed52443103e2577b26a5d360c392bcaafb969e Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:59:44 2014 -0400 be in 2013 still using sprintf --- src/modules/systray/e_mod_notifier_watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/systray/e_mod_notifier_watcher.c b/src/modules/systray/e_mod_notifier_watcher.c index 322145b..f1b9cd1 100644 --- a/src/modules/systray/e_mod_notifier_watcher.c +++ b/src/modules/systray/e_mod_notifier_watcher.c @@ -48,7 +48,7 @@ register_item_cb(const Eldbus_Service_Interface *s_iface, const Eldbus_Message * if (!eldbus_message_arguments_get(msg, s, service)) return NULL; - sprintf(buf, %s%s, eldbus_message_sender_get(msg), service); + snprintf(buf, sizeof(buf), %s%s, eldbus_message_sender_get(msg), service); service = eina_stringshare_add(buf); if (eina_list_data_find(items, service)) { --
[EGIT] [core/enlightenment] master 06/08: bugfix: fix systray appindicator icon loading
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=61c12820156f50b6d14ac12b468e6162fc3d700b commit 61c12820156f50b6d14ac12b468e6162fc3d700b Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:59:32 2014 -0400 bugfix: fix systray appindicator icon loading fix T811 --- src/modules/systray/e_mod_notifier_host.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/modules/systray/e_mod_notifier_host.c b/src/modules/systray/e_mod_notifier_host.c index 195dd9f..95b4938 100644 --- a/src/modules/systray/e_mod_notifier_host.c +++ b/src/modules/systray/e_mod_notifier_host.c @@ -66,13 +66,27 @@ systray_notifier_item_free(Notifier_Item *item) static void image_load(const char *name, const char *path, Evas_Object *image) { - if (path strlen(path)) + const char *exts[] = + { + .png, + .jpg, + NULL + }; + if (path path[0]) { -char buf[1024]; -sprintf(buf, %s/%s, path, name); +char buf[PATH_MAX]; + +snprintf(buf, sizeof(buf), %s/%s, path, name); if (!e_icon_file_set(image, buf)) - e_util_icon_theme_set(image, dialog-error); -return; + { + const char **ext; + + for (ext = exts; *ext; ext++) + { + snprintf(buf, sizeof(buf), %s/%s%s, path, name, *ext); + if (e_icon_file_set(image, buf)) return; + } + } } if (!e_util_icon_theme_set(image, name)) e_util_icon_theme_set(image, dialog-error); --
[EGIT] [core/enlightenment] enlightenment-0.18 03/09: bugfix: appindicator service name parsing now stringshares correctly
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3fb1bf05bf74abbff1f87b7e815dcafbec7c294a commit 3fb1bf05bf74abbff1f87b7e815dcafbec7c294a Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 16:57:26 2014 -0400 bugfix: appindicator service name parsing now stringshares correctly fix T811 --- src/modules/systray/e_mod_notifier_host_dbus.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/modules/systray/e_mod_notifier_host_dbus.c b/src/modules/systray/e_mod_notifier_host_dbus.c index 17fba75..f5de199 100644 --- a/src/modules/systray/e_mod_notifier_host_dbus.c +++ b/src/modules/systray/e_mod_notifier_host_dbus.c @@ -22,16 +22,13 @@ typedef struct _Notifier_Host_Data { static Eina_Bool service_string_parse(const char *item, const char **path, const char **bus_id) { - unsigned i; - for (i = 0; i strlen(item); i++) - { -if (item[i] != '/') - continue; -*path = eina_stringshare_add(item+i); -*bus_id = eina_stringshare_nprintf(i+1, %s, item); -return EINA_TRUE; - } - return EINA_FALSE; + const char *p; + + p = strchr(item, '/'); + if (!p) return EINA_FALSE; + *path = eina_stringshare_add(p); + *bus_id = eina_stringshare_add_length(item, p - item); + return EINA_TRUE; } static Notifier_Item * --
[EGIT] [core/enlightenment] enlightenment-0.18 07/09: bugfix: fix syscon button signals
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=a8af00aeb659609c47b1dff9e1f0f095691ebd55 commit a8af00aeb659609c47b1dff9e1f0f095691ebd55 Author: Mike Blumenkrantz zm...@samsung.com Date: Wed May 7 20:07:48 2014 -0400 bugfix: fix syscon button signals fix T1155 --- src/modules/syscon/e_syscon.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/syscon/e_syscon.c b/src/modules/syscon/e_syscon.c index a87f758..413d90c 100644 --- a/src/modules/syscon/e_syscon.c +++ b/src/modules/syscon/e_syscon.c @@ -329,7 +329,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev) } else { - edje_object_signal_emit(o_selected, e,state,focused, e); + edje_object_signal_emit(o_selected, e,state,unfocused, e); o_selected = e_flowlayout_pack_object_prev(o_selected_flow, o_selected); if (!o_selected) { @@ -353,7 +353,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev) } } } -edje_object_signal_emit(o_selected, e,state,unfocused, e); +edje_object_signal_emit(o_selected, e,state,focused, e); } else if ((!strcmp(ev-key, Right)) || (!strcmp(ev-key, Down)) || (!strcmp(ev-key, Tab))) { @@ -361,7 +361,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev) o_selected_flow = o_flow_main, o_selected = e_flowlayout_pack_object_first(o_flow_main); else { - edje_object_signal_emit(o_selected, e,state,focused, e); + edje_object_signal_emit(o_selected, e,state,unfocused, e); o_selected = e_flowlayout_pack_object_next(o_selected_flow, o_selected); if (!o_selected) { @@ -385,7 +385,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev) } } } -edje_object_signal_emit(o_selected, e,state,unfocused, e); +edje_object_signal_emit(o_selected, e,state,focused, e); } else if ((!strcmp(ev-keyname, KP_Enter)) || (!strcmp(ev-keyname, Return))) { --
[EGIT] [core/enlightenment] enlightenment-0.18 05/09: resizeble - resizable
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=80f08a27106791c3a8c8efef71c886588bba3353 commit 80f08a27106791c3a8c8efef71c886588bba3353 Author: Daniel Kolesa quake...@gmail.com Date: Thu May 8 16:33:46 2014 +0100 resizeble - resizable --- src/bin/e_dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c index b923d04..f844f62 100644 --- a/src/bin/e_dialog.c +++ b/src/bin/e_dialog.c @@ -53,7 +53,7 @@ _e_dialog_internal_new(E_Container *con, const char *name, const char *class, in e_widget_on_focus_hook_set(o, _e_dialog_cb_wid_on_focus, dia); dia-box_object = o; edje_object_part_swallow(dia-bg_object, e.swallow.buttons, o); - edje_object_signal_emit(dia-bg_object, e,state,no_resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,no_resizable, e); o = evas_object_rectangle_add(e_win_evas_get(dia-win)); dia-event_object = o; @@ -221,13 +221,13 @@ e_dialog_resizable_set(E_Dialog *dia, int resizable) { e_win_size_max_set(dia-win, 9, 9); e_util_win_auto_resize_fill(dia-win); - edje_object_signal_emit(dia-bg_object, e,state,resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,resizable, e); } else { e_win_resize(dia-win, dia-min_w, dia-min_h); e_win_size_max_set(dia-win, dia-min_w, dia-min_h); - edje_object_signal_emit(dia-bg_object, e,state,no_resizeble, e); + edje_object_signal_emit(dia-bg_object, e,state,no_resizable, e); } } } --
[EGIT] [core/enlightenment] enlightenment-0.18 09/09: bugfix: reset scanners/sorters and decrement busy state on efm path set
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f5a92867520380821ec90c07643059f9c1e7f3cb commit f5a92867520380821ec90c07643059f9c1e7f3cb Author: Mike Blumenkrantz zm...@samsung.com Date: Wed May 7 17:58:34 2014 -0400 bugfix: reset scanners/sorters and decrement busy state on efm path set no more arbitrarily loading file icons from other directories into the current view, mmk? --- src/bin/e_fm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 3963450..601a1b3 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -1099,6 +1099,15 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const char *path) } if (real_path (sd-realpath == real_path)) return; + E_FREE_FUNC(sd-scan_timer, ecore_timer_del); + E_FREE_FUNC(sd-sort_idler, ecore_idler_del); + if (sd-busy_count) + sd-busy_count--; + if (sd-busy_count == 0) + { +edje_object_signal_emit(sd-overlay, e,state,busy,stop, e); +e_fm2_custom_file_flush(); + } if (sd-realpath) _e_fm2_client_monitor_del(sd-id, sd-realpath); sd-listing = EINA_FALSE; if (sd-new_file.thread) ecore_thread_cancel(sd-new_file.thread); --
[EGIT] [core/enlightenment] enlightenment-0.18 01/09: bugfix: fix systray appindicator icon loading
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=e42762d1ed0658a624f059b1f0ed6b688108d4bc commit e42762d1ed0658a624f059b1f0ed6b688108d4bc Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:59:32 2014 -0400 bugfix: fix systray appindicator icon loading fix T811 --- src/modules/systray/e_mod_notifier_host.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/modules/systray/e_mod_notifier_host.c b/src/modules/systray/e_mod_notifier_host.c index 7141a27..d8bf5fa 100644 --- a/src/modules/systray/e_mod_notifier_host.c +++ b/src/modules/systray/e_mod_notifier_host.c @@ -66,13 +66,27 @@ systray_notifier_item_free(Notifier_Item *item) static void image_load(const char *name, const char *path, Evas_Object *image) { - if (path strlen(path)) + const char *exts[] = + { + .png, + .jpg, + NULL + }; + if (path path[0]) { -char buf[1024]; -sprintf(buf, %s/%s, path, name); +char buf[PATH_MAX]; + +snprintf(buf, sizeof(buf), %s/%s, path, name); if (!e_icon_file_set(image, buf)) - e_util_icon_theme_set(image, dialog-error); -return; + { + const char **ext; + + for (ext = exts; *ext; ext++) + { + snprintf(buf, sizeof(buf), %s/%s%s, path, name, *ext); + if (e_icon_file_set(image, buf)) return; + } + } } if (!e_util_icon_theme_set(image, name)) e_util_icon_theme_set(image, dialog-error); --
[EGIT] [core/enlightenment] enlightenment-0.18 02/09: be in 2013
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=8f022542d151b0a2334aab5da70961b752b3a849 commit 8f022542d151b0a2334aab5da70961b752b3a849 Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 15:59:44 2014 -0400 be in 2013 still using sprintf --- src/modules/systray/e_mod_notifier_watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/systray/e_mod_notifier_watcher.c b/src/modules/systray/e_mod_notifier_watcher.c index 322145b..f1b9cd1 100644 --- a/src/modules/systray/e_mod_notifier_watcher.c +++ b/src/modules/systray/e_mod_notifier_watcher.c @@ -48,7 +48,7 @@ register_item_cb(const Eldbus_Service_Interface *s_iface, const Eldbus_Message * if (!eldbus_message_arguments_get(msg, s, service)) return NULL; - sprintf(buf, %s%s, eldbus_message_sender_get(msg), service); + snprintf(buf, sizeof(buf), %s%s, eldbus_message_sender_get(msg), service); service = eina_stringshare_add(buf); if (eina_list_data_find(items, service)) { --
[EGIT] [core/enlightenment] enlightenment-0.18 04/09: bugfix: fix obviously-wrong winlist animator deletion
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3597a8cafa646992c8596b4623fed06169661541 commit 3597a8cafa646992c8596b4623fed06169661541 Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 14:46:47 2014 -0400 bugfix: fix obviously-wrong winlist animator deletion fix T1215 --- src/modules/winlist/e_winlist.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c index 67b4f84..6e6b523 100644 --- a/src/modules/winlist/e_winlist.c +++ b/src/modules/winlist/e_winlist.c @@ -1010,12 +1010,6 @@ _e_winlist_activate(void) e_border_focus_set(ww-border, 1, 1); set = 0; } -if (!_animator) - _animator = ecore_animator_add(_e_winlist_animator, NULL); - } -else - { - E_FREE_FUNC(_animator, ecore_animator_del); } if ((!ww-border-lock_user_stacking) --
[EGIT] [core/enlightenment] enlightenment-0.18 08/09: bugfix: reset efm icon image/text/state after applying even/odd
discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=20b00d29a553e48189fcd14628962247c6a861d6 commit 20b00d29a553e48189fcd14628962247c6a861d6 Author: Mike Blumenkrantz zm...@samsung.com Date: Wed May 7 19:39:44 2014 -0400 bugfix: reset efm icon image/text/state after applying even/odd fix T1222 --- src/bin/e_fm.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 8356366..3963450 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -8400,6 +8400,13 @@ _e_fm2_obj_icons_place(E_Fm2_Smart_Data *sd) EINA_LIST_FOREACH(rg-list, ll, ic) { + const char *th[] = + { + list/fixed, + list_odd/fixed, + }; + Evas_Object *prev; + if (!ic-realized) continue; if (!_e_fm2_icon_visible(ic)) { @@ -8423,14 +8430,15 @@ _e_fm2_obj_icons_place(E_Fm2_Smart_Data *sd) * 6 if icon is inserted into current viewport during 4.5, even/odd for surrounding items * will always be wrong (ticket #1579) */ - if (ic-odd) -_e_fm2_theme_edje_object_set(ic-sd, ic-obj, - base/theme/widgets, - list_odd/fixed); - else -_e_fm2_theme_edje_object_set(ic-sd, ic-obj, - base/theme/widgets, - list/fixed); + + prev = edje_object_part_swallow_get(ic-obj, e.swallow.icon); + _e_fm2_theme_edje_object_set(ic-sd, ic-obj, +base/theme/widgets, +th[ic-odd]); + edje_object_part_swallow(ic-obj, e.swallow.icon, prev); + _e_fm2_icon_label_set(ic, ic-obj); + if (ic-selected) + edje_object_signal_emit(ic-obj, e,state,selected, e); } } } --
[E-devel] $HOME/public_html available to public
Hi, For all developers, you now (officially) have an URL http://devs.enlightenment.org/~LOGIN available for you for publishing files, archives, artwork, and whatever you want or need. To have you own files published to the web, ssh to devs.enlightenment.org and put the needed files into public_html/ directory. On client side, please use the following ~/.ssh/config snippet : Host devs.enlightenment.org User LOGIN ProxyCommand none By default, the listing of directories is disabled so you may enable it by creating a .htaccess with the following content : Options Indexes For thoses who already used it in the past, datas was on a different server and have been moved to the correct one. This hosts also have all the necessary tools to build and play as the jenkins slaves. Missing features ? Ask for it. -- Beber -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] $HOME/public_html available to public
great... but all users will now show Parent Directory (from auto generated indexes) and devs.e.o provides nothing. I'd say we should provide the list of developers or at least redirect to http://enlightenment.org/p.php?p=contactl=en while at that, what about rewrite rules so this is less ugly? ie: http://enlightenment.org/en/contact ^/(en|fr|pt|...)/([A-za-z0-9_-]+)(.*)$ /p.php?l=\1p=\2 and while at at (ok, last time), couldn't we get rid of the annoying PHP to generate pages and use Apache's MultiView ( http://httpd.apache.org/docs/current/content-negotiation.html) and Server Side Includes (http://httpd.apache.org/docs/current/howto/ssi.html). I never used them, but seem to deliver what we want without the actual need to have those weird php. The news list and rss can be done using SSI as well. On Thu, May 8, 2014 at 6:16 PM, Bertrand Jacquin be...@meleeweb.net wrote: Hi, For all developers, you now (officially) have an URL http://devs.enlightenment.org/~LOGIN available for you for publishing files, archives, artwork, and whatever you want or need. To have you own files published to the web, ssh to devs.enlightenment.org and put the needed files into public_html/ directory. On client side, please use the following ~/.ssh/config snippet : Host devs.enlightenment.org User LOGIN ProxyCommand none By default, the listing of directories is disabled so you may enable it by creating a .htaccess with the following content : Options Indexes For thoses who already used it in the past, datas was on a different server and have been moved to the correct one. This hosts also have all the necessary tools to build and play as the jenkins slaves. Missing features ? Ask for it. -- Beber -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 99225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [bindings/python/python-efl] master 01/01: Elementary.layout: Fix signal callbacks
kuuko pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=4be0d71c70bf796de734996388feb90989ae9e2d commit 4be0d71c70bf796de734996388feb90989ae9e2d Author: Kai Huuhko kai.huu...@gmail.com Date: Fri May 9 03:44:46 2014 +0300 Elementary.layout: Fix signal callbacks --- efl/elementary/layout_class.pyx | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/efl/elementary/layout_class.pyx b/efl/elementary/layout_class.pyx index 7a2965f..b5fb3e9 100644 --- a/efl/elementary/layout_class.pyx +++ b/efl/elementary/layout_class.pyx @@ -65,6 +65,9 @@ cdef class LayoutClass(Object): +def __cinit__(self): +self._elm_layout_signal_cbs = {} + def content_set(self, swallow=None, evasObject content=None): Set the layout content. @@ -884,7 +887,7 @@ cdef class LayoutClass(Object): :rtype: list of objects. .. versionadded:: 1.9 - + cdef: Eina_List *l = elm_layout_content_swallow_list_get(self.obj) --
[EGIT] [core/efl] master 01/01: call edje_cc link combining when popping the group so the last group doesn't not get linked
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c911ac2fb998b04cb0bb744cc47bcbd656de239b commit c911ac2fb998b04cb0bb744cc47bcbd656de239b Author: Mike Blumenkrantz zm...@samsung.com Date: Thu May 8 21:03:53 2014 -0400 call edje_cc link combining when popping the group so the last group doesn't not get linked --- src/bin/edje/edje_cc_handlers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 62b00da..394b056 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -2894,8 +2894,6 @@ ob_collections_group(void) current_part = NULL; current_desc = NULL; - if (current_de) - _link_combine(); current_group_inherit = EINA_FALSE; @@ -11205,6 +11203,8 @@ edje_cc_handlers_pop_notify(const char *token) } else if (current_program (!strcmp(token, link))) current_program = NULL; + else if (current_de (!strcmp(token, group))) + _link_combine(); } static void --
[EGIT] [core/efl] master 01/01: ecore/example: Modify the explanation of ecore evas extn plug example.
woohyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e4f5c1d3f8a35d8ee751054f4b0e96e7491becb2 commit e4f5c1d3f8a35d8ee751054f4b0e96e7491becb2 Author: WooHyun Jung wh0705.j...@samsung.com Date: Fri May 9 13:34:38 2014 +0900 ecore/example: Modify the explanation of ecore evas extn plug example. --- src/examples/ecore/ecore_evas_extn_plug_example.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/examples/ecore/ecore_evas_extn_plug_example.c b/src/examples/ecore/ecore_evas_extn_plug_example.c index b08cf5e..e3d6e1c 100644 --- a/src/examples/ecore/ecore_evas_extn_plug_example.c +++ b/src/examples/ecore/ecore_evas_extn_plug_example.c @@ -1,12 +1,10 @@ /** - * Ecore example illustrating the basics of ecore evas extn socket usage. + * Ecore example illustrating the basics of ecore evas extn plug usage. * - * You'll need at least one Evas engine built for it (excluding the - * buffer one). See stdout/stderr for output. - * You can check functions of ecore extn socket if you use ecore extn plug together. + * For checking with ecore evas extn socket, please run with ecore_evas_extn_socket_example. * * @verbatim - * gcc -o ecore_evas_extn_socket_example ecore_evas_extn_socket_example.c `pkg-config --libs --cflags ecore-evas` + * gcc -o ecore_evas_extn_plug_example ecore_evas_extn_plug_example.c `pkg-config --libs --cflags ecore-evas` * @endverbatim */ --