[EGIT] [core/efl] master 01/01: evas: disable use of mmap on windows for allocating pixels buffer.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=39a0ac4315c557bfc4a794af39ab68fa8c0ba741 commit 39a0ac4315c557bfc4a794af39ab68fa8c0ba741 Author: Cedric BAIL cedric.b...@samsung.com Date: Fri Jan 3 17:53:51 2014 +0900 evas: disable use of mmap on windows for allocating pixels buffer. We do have mmap provided by Evil, but there is no implementation yet of an anonymous map support. Also it is not clear how the memory system of windows does actually work, so not sure this optimization is relevant to windows at all. Thus we disable it for the time being and unbreak the windows support. - cherry-pick me - --- src/lib/evas/common/evas_image_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c index 75767dc..eed7dec 100644 --- a/src/lib/evas/common/evas_image_main.c +++ b/src/lib/evas/common/evas_image_main.c @@ -113,7 +113,7 @@ static inline size_t _evas_common_rgba_image_surface_size(unsigned int w, unsigned int h, Eina_Bool alpha_only) { #define PAGE_SIZE (4 * 1024) -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) # define ALIGN_TO_PAGE(Siz) (((Siz / PAGE_SIZE) + (Siz % PAGE_SIZE ? 1 : 0)) * PAGE_SIZE) #else # define ALIGN_TO_PAGE(Siz) Siz @@ -140,7 +140,7 @@ _evas_common_rgba_image_surface_mmap(unsigned int w, unsigned int h, Eina_Bool a siz = _evas_common_rgba_image_surface_size(w, h, alpha_only); -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) #ifndef MAP_HUGETLB # define MAP_HUGETLB 0 #endif @@ -169,7 +169,7 @@ _evas_common_rgba_image_surface_mmap(unsigned int w, unsigned int h, Eina_Bool a static void _evas_common_rgba_image_surface_munmap(void *data, unsigned int w, unsigned int h, Eina_Bool alpha_only) { -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) size_t siz; siz = _evas_common_rgba_image_surface_size(w, h, alpha_only); --
[EGIT] [core/efl] efl-1.8 01/01: evas: disable use of mmap on windows for allocating pixels buffer.
cedric pushed a commit to branch efl-1.8. http://git.enlightenment.org/core/efl.git/commit/?id=4eca8910fc29ebfa1bc7fc2fc82668c0dcd05add commit 4eca8910fc29ebfa1bc7fc2fc82668c0dcd05add Author: Cedric BAIL cedric.b...@samsung.com Date: Fri Jan 3 17:53:51 2014 +0900 evas: disable use of mmap on windows for allocating pixels buffer. We do have mmap provided by Evil, but there is no implementation yet of an anonymous map support. Also it is not clear how the memory system of windows does actually work, so not sure this optimization is relevant to windows at all. Thus we disable it for the time being and unbreak the windows support. - cherry-pick me - --- src/lib/evas/common/evas_image_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c index 75767dc..eed7dec 100644 --- a/src/lib/evas/common/evas_image_main.c +++ b/src/lib/evas/common/evas_image_main.c @@ -113,7 +113,7 @@ static inline size_t _evas_common_rgba_image_surface_size(unsigned int w, unsigned int h, Eina_Bool alpha_only) { #define PAGE_SIZE (4 * 1024) -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) # define ALIGN_TO_PAGE(Siz) (((Siz / PAGE_SIZE) + (Siz % PAGE_SIZE ? 1 : 0)) * PAGE_SIZE) #else # define ALIGN_TO_PAGE(Siz) Siz @@ -140,7 +140,7 @@ _evas_common_rgba_image_surface_mmap(unsigned int w, unsigned int h, Eina_Bool a siz = _evas_common_rgba_image_surface_size(w, h, alpha_only); -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) #ifndef MAP_HUGETLB # define MAP_HUGETLB 0 #endif @@ -169,7 +169,7 @@ _evas_common_rgba_image_surface_mmap(unsigned int w, unsigned int h, Eina_Bool a static void _evas_common_rgba_image_surface_munmap(void *data, unsigned int w, unsigned int h, Eina_Bool alpha_only) { -#ifdef HAVE_SYS_MMAN_H +#if defined (HAVE_SYS_MMAN_H) (!defined (_WIN32)) size_t siz; siz = _evas_common_rgba_image_surface_size(w, h, alpha_only); --
[EGIT] [core/elementary] master 01/01: label: fix typo in comment
jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=ef521c042334c16cf8c10beec95b916cb3c6bde0 commit ef521c042334c16cf8c10beec95b916cb3c6bde0 Author: Jihoon Kim jihoon48@samsung.com Date: Fri Jan 3 18:32:27 2014 +0900 label: fix typo in comment --- src/lib/elm_label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c index 7881c18..33c979b 100644 --- a/src/lib/elm_label.c +++ b/src/lib/elm_label.c @@ -50,7 +50,7 @@ _recalc(void *data) /* This is a hack to workaround the way min size hints are treated. * If the minimum width is smaller than the restricted width, it means -* the mininmum doesn't matter. */ +* the minimum doesn't matter. */ if ((minw = resw) (minw != sd-wrap_w)) { Evas_Coord ominw = -1; --
[EGIT] [core/elementary] master 01/01: entry: Add elm_entry_input_panel_show_on_demand_set/get API
jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=c8f021ba302279a91666ddda04f0247b3a2931f6 commit c8f021ba302279a91666ddda04f0247b3a2931f6 Author: Jihoon Kim jihoon48@samsung.com Date: Fri Jan 3 18:51:38 2014 +0900 entry: Add elm_entry_input_panel_show_on_demand_set/get API This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus. --- src/lib/elm_entry.c| 61 +- src/lib/elm_entry_eo.h | 30 +++ src/lib/elm_entry_legacy.h | 24 ++ src/lib/elm_widget_entry.h | 1 + 4 files changed, 115 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 81a35db..cc155c3 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -594,6 +594,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list) (sd-entry_edje, elm.text, (Edje_Input_Panel_Return_Key_Type)sd-input_panel_return_key_type); edje_object_part_text_input_panel_return_key_disabled_set (sd-entry_edje, elm.text, sd-input_panel_return_key_disabled); + edje_object_part_text_input_panel_show_on_demand_set + (sd-entry_edje, elm.text, sd-input_panel_show_on_demand); // elm_entry_cursor_pos_set - cursor,changed - widget_show_region_set // - smart_objects_calculate will call all smart calculate functions, @@ -918,7 +920,7 @@ _elm_entry_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list) { evas_object_focus_set(sd-entry_edje, EINA_TRUE); edje_object_signal_emit(sd-entry_edje, elm,action,focus, elm); -if (top top_is_win sd-input_panel_enable +if (top top_is_win sd-input_panel_enable !sd-input_panel_show_on_demand !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL); @@ -1576,6 +1578,8 @@ _mouse_up_cb(void *data, void *event_info) { Evas_Event_Mouse_Up *ev = event_info; + Eina_Bool top_is_win = EINA_FALSE; + Evas_Object *top; ELM_ENTRY_DATA_GET(data, sd); @@ -1588,6 +1592,19 @@ _mouse_up_cb(void *data, _magnifier_hide(data); _menu_call(data); } +else + { + top = elm_widget_top_get(data); + if (top) + { + if (!strcmp(evas_object_type_get(top), elm_win)) +top_is_win = EINA_TRUE; + + if (top_is_win sd-input_panel_enable sd-input_panel_show_on_demand + !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) +elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); + } + } } else if ((ev-button == 3) (!_elm_config-desktop_entry)) { @@ -5600,6 +5617,44 @@ _input_panel_return_key_autoenabled_set(Eo *obj, void *_pd, va_list *list) _return_key_enabled_check(obj); } +EAPI void +elm_entry_input_panel_show_on_demand_set(Evas_Object *obj, + Eina_Bool ondemand) +{ + ELM_ENTRY_CHECK(obj); + eo_do(obj, elm_obj_entry_input_panel_show_on_demand_set(ondemand)); +} + +static void +_input_panel_show_on_demand_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Eina_Bool ondemand = va_arg(*list, int); + Elm_Entry_Smart_Data *sd = _pd; + + sd-input_panel_show_on_demand = ondemand; + + edje_object_part_text_input_panel_show_on_demand_set + (sd-entry_edje, elm.text, ondemand); +} + +EAPI Eina_Bool +elm_entry_input_panel_show_on_demand_get(const Evas_Object *obj) +{ + ELM_ENTRY_CHECK(obj) EINA_FALSE; + Eina_Bool ret = EINA_FALSE; + eo_do((Eo *) obj, elm_obj_entry_input_panel_show_on_demand_get(ret)); + return ret; +} + +static void +_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Eina_Bool *ret = va_arg(*list, Eina_Bool *); + Elm_Entry_Smart_Data *sd = _pd; + + if (ret) *ret = sd-input_panel_show_on_demand; +} + EAPI void * elm_entry_imf_context_get(Evas_Object *obj) { @@ -5868,6 +5923,8 @@ _class_constructor(Eo_Class *klass) EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END), _anchor_hover_end), EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_SET), _input_panel_layout_variation_set), EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_GET), _input_panel_layout_variation_get), + EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_SHOW_ON_DEMAND_SET), _input_panel_show_on_demand_set), + EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_SHOW_ON_DEMAND_GET), _input_panel_show_on_demand_get),
Re: [E-devel] elementary frame for wayland backend ?
Do you mean the WIDI cases? It makes sense to extend the protocol. And for the short term usage, is it possible to make it configurable through themes or some configuration? Best Regards Happy New year, Juan On 12/30/2013 4:09 PM, Carsten Haitzler (The Rasterman) wrote: On Mon, 30 Dec 2013 16:06:08 +0800 Juan Zhao juan.j.z...@linux.intel.com said: i think that the best way to do this is an extension to wayland protocol to indicate apps should avoid drawing frames with their toolkits. :) this will require some negotiation before the first buffer is rendered. ie surface created but not SHOWN... then ask wayland given this surface, if i showed it, should i draw frames or not?. this kind of negotiation will be needed for many other things - like requesting what possible screen it may end up on - or what profile to use. imagine a phone WITH a desktop monitor attached. does the app display on the desktop monitor in desktop mode with frames etc. and work with kbd+mouse, or does it display on the mobile screen with no mouse and fill the screen etc.? Hi, In current elementary code, we can find that elementary will add an frame for wayland backend. While this is not required for all conditions. For example, in mobile environment, most of the windows will be fullscreened, or frameless. Because other than the desktop environment, it's better to add a frame on demand. I'm thinking of one way to remove this default setting, and leverage the frame setting to the application itself, the reference code is listed below, and what's your suggestions for this frame setting? diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 9d23d1a..ca39bdb 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -3144,10 +3144,6 @@ _win_constructor(Eo *obj, void *_pd, va_list *list) { TRAP(sd, fullscreen_set, 1); } - else if ((type != ELM_WIN_INLINED_IMAGE) -(ENGINE_COMPARE(ELM_WAYLAND_SHM) || - ENGINE_COMPARE(ELM_WAYLAND_EGL))) - _elm_win_frame_add(sd, default); cc tizen-dev maillist, because tizen mobile and ivi are using the same code base. Best Regards, Juan -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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: entry: Add elm_entry_input_panel_show_on_demand_set/get API
Oops we're in a feature freeze and stabilization period. This needs to be reverted. https://phab.enlightenment.org/w/efl_and_elementary_1_9/ Thanks. Daniel Juyung seo (SeoZ) On Fri, Jan 3, 2014 at 6:55 PM, Jihoon Kim imfin...@gmail.com wrote: jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=c8f021ba302279a91666ddda04f0247b3a2931f6 commit c8f021ba302279a91666ddda04f0247b3a2931f6 Author: Jihoon Kim jihoon48@samsung.com Date: Fri Jan 3 18:51:38 2014 +0900 entry: Add elm_entry_input_panel_show_on_demand_set/get API This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus. --- src/lib/elm_entry.c| 61 +- src/lib/elm_entry_eo.h | 30 +++ src/lib/elm_entry_legacy.h | 24 ++ src/lib/elm_widget_entry.h | 1 + 4 files changed, 115 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 81a35db..cc155c3 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -594,6 +594,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list) (sd-entry_edje, elm.text, (Edje_Input_Panel_Return_Key_Type)sd-input_panel_return_key_type); edje_object_part_text_input_panel_return_key_disabled_set (sd-entry_edje, elm.text, sd-input_panel_return_key_disabled); + edje_object_part_text_input_panel_show_on_demand_set + (sd-entry_edje, elm.text, sd-input_panel_show_on_demand); // elm_entry_cursor_pos_set - cursor,changed - widget_show_region_set // - smart_objects_calculate will call all smart calculate functions, @@ -918,7 +920,7 @@ _elm_entry_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list) { evas_object_focus_set(sd-entry_edje, EINA_TRUE); edje_object_signal_emit(sd-entry_edje, elm,action,focus, elm); -if (top top_is_win sd-input_panel_enable +if (top top_is_win sd-input_panel_enable !sd-input_panel_show_on_demand !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL); @@ -1576,6 +1578,8 @@ _mouse_up_cb(void *data, void *event_info) { Evas_Event_Mouse_Up *ev = event_info; + Eina_Bool top_is_win = EINA_FALSE; + Evas_Object *top; ELM_ENTRY_DATA_GET(data, sd); @@ -1588,6 +1592,19 @@ _mouse_up_cb(void *data, _magnifier_hide(data); _menu_call(data); } +else + { + top = elm_widget_top_get(data); + if (top) + { + if (!strcmp(evas_object_type_get(top), elm_win)) +top_is_win = EINA_TRUE; + + if (top_is_win sd-input_panel_enable sd-input_panel_show_on_demand + !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) +elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); + } + } } else if ((ev-button == 3) (!_elm_config-desktop_entry)) { @@ -5600,6 +5617,44 @@ _input_panel_return_key_autoenabled_set(Eo *obj, void *_pd, va_list *list) _return_key_enabled_check(obj); } +EAPI void +elm_entry_input_panel_show_on_demand_set(Evas_Object *obj, + Eina_Bool ondemand) +{ + ELM_ENTRY_CHECK(obj); + eo_do(obj, elm_obj_entry_input_panel_show_on_demand_set(ondemand)); +} + +static void +_input_panel_show_on_demand_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Eina_Bool ondemand = va_arg(*list, int); + Elm_Entry_Smart_Data *sd = _pd; + + sd-input_panel_show_on_demand = ondemand; + + edje_object_part_text_input_panel_show_on_demand_set + (sd-entry_edje, elm.text, ondemand); +} + +EAPI Eina_Bool +elm_entry_input_panel_show_on_demand_get(const Evas_Object *obj) +{ + ELM_ENTRY_CHECK(obj) EINA_FALSE; + Eina_Bool ret = EINA_FALSE; + eo_do((Eo *) obj, elm_obj_entry_input_panel_show_on_demand_get(ret)); + return ret; +} + +static void +_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) +{ + Eina_Bool *ret = va_arg(*list, Eina_Bool *); + Elm_Entry_Smart_Data *sd = _pd; + + if (ret) *ret = sd-input_panel_show_on_demand; +} + EAPI void * elm_entry_imf_context_get(Evas_Object *obj) { @@ -5868,6 +5923,8 @@ _class_constructor(Eo_Class *klass) EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END), _anchor_hover_end), EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_SET), _input_panel_layout_variation_set),
Re: [E-devel] elementary frame for wayland backend ?
On Fri, 03 Jan 2014 17:55:50 +0800 Juan Zhao juan.j.z...@linux.intel.com said: Do you mean the WIDI cases? It makes sense to extend the protocol. WIDI? oooh wireless display - yes. but it doesn't have to be WIDI. any scenario where the same app may display on either as mobile screen OR a desktop-like screen, and the app has to adapt (and toolkit too). it needs to know which style to use dynamically. :) And for the short term usage, is it possible to make it configurable through themes or some configuration? yes. a theme could make a null (empty) border if ti wanted to. Best Regards Happy New year, Juan On 12/30/2013 4:09 PM, Carsten Haitzler (The Rasterman) wrote: On Mon, 30 Dec 2013 16:06:08 +0800 Juan Zhao juan.j.z...@linux.intel.com said: i think that the best way to do this is an extension to wayland protocol to indicate apps should avoid drawing frames with their toolkits. :) this will require some negotiation before the first buffer is rendered. ie surface created but not SHOWN... then ask wayland given this surface, if i showed it, should i draw frames or not?. this kind of negotiation will be needed for many other things - like requesting what possible screen it may end up on - or what profile to use. imagine a phone WITH a desktop monitor attached. does the app display on the desktop monitor in desktop mode with frames etc. and work with kbd+mouse, or does it display on the mobile screen with no mouse and fill the screen etc.? Hi, In current elementary code, we can find that elementary will add an frame for wayland backend. While this is not required for all conditions. For example, in mobile environment, most of the windows will be fullscreened, or frameless. Because other than the desktop environment, it's better to add a frame on demand. I'm thinking of one way to remove this default setting, and leverage the frame setting to the application itself, the reference code is listed below, and what's your suggestions for this frame setting? diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 9d23d1a..ca39bdb 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -3144,10 +3144,6 @@ _win_constructor(Eo *obj, void *_pd, va_list *list) { TRAP(sd, fullscreen_set, 1); } - else if ((type != ELM_WIN_INLINED_IMAGE) -(ENGINE_COMPARE(ELM_WAYLAND_SHM) || - ENGINE_COMPARE(ELM_WAYLAND_EGL))) - _elm_win_frame_add(sd, default); cc tizen-dev maillist, because tizen mobile and ivi are using the same code base. Best Regards, Juan -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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 -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] New year E Korean diner
On 03/01/14 07:41, Cedric BAIL wrote: Hello, So it seems the diner can be tomorrow. Let's meet in the afternoon at 4pm in front of Paris Baguette in Itaewon for the one that can join early. Later on we will move to http://buzzapizza.com/ around 7.30pm (We are trying to book, but not done yet). No surprise that you'd like to meet at Paris Baguette. -- Tom. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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: entry: Add elm_entry_input_panel_show_on_demand_set/get API
Ok. Thanks for reminding me about feature freeze period. I just reverted. On Friday, January 3, 2014, Daniel Juyung Seo wrote: Oops we're in a feature freeze and stabilization period. This needs to be reverted. https://phab.enlightenment.org/w/efl_and_elementary_1_9/ Thanks. Daniel Juyung seo (SeoZ) On Fri, Jan 3, 2014 at 6:55 PM, Jihoon Kim imfin...@gmail.com wrote: jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=c8f021ba302279a91666ddda04f0247b3a2931f6 commit c8f021ba302279a91666ddda04f0247b3a2931f6 Author: Jihoon Kim jihoon48@samsung.com Date: Fri Jan 3 18:51:38 2014 +0900 entry: Add elm_entry_input_panel_show_on_demand_set/get API This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus. --- src/lib/elm_entry.c| 61 +- src/lib/elm_entry_eo.h | 30 +++ src/lib/elm_entry_legacy.h | 24 ++ src/lib/elm_widget_entry.h | 1 + 4 files changed, 115 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 81a35db..cc155c3 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -594,6 +594,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list) (sd-entry_edje, elm.text, (Edje_Input_Panel_Return_Key_Type)sd-input_panel_return_key_type); edje_object_part_text_input_panel_return_key_disabled_set (sd-entry_edje, elm.text, sd-input_panel_return_key_disabled); + edje_object_part_text_input_panel_show_on_demand_set + (sd-entry_edje, elm.text, sd-input_panel_show_on_demand); // elm_entry_cursor_pos_set - cursor,changed - widget_show_region_set // - smart_objects_calculate will call all smart calculate functions, @@ -918,7 +920,7 @@ _elm_entry_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list) { evas_object_focus_set(sd-entry_edje, EINA_TRUE); edje_object_signal_emit(sd-entry_edje, elm,action,focus, elm); -if (top top_is_win sd-input_panel_enable +if (top top_is_win sd-input_panel_enable !sd-input_panel_show_on_demand !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL); @@ -1576,6 +1578,8 @@ _mouse_up_cb(void *data, void *event_info) { Evas_Event_Mouse_Up *ev = event_info; + Eina_Bool top_is_win = EINA_FALSE; + Evas_Object *top; ELM_ENTRY_DATA_GET(data, sd); @@ -1588,6 +1592,19 @@ _mouse_up_cb(void *data, _magnifier_hide(data); _menu_call(data); } +else + { + top = elm_widget_top_get(data); + if (top) + { + if (!strcmp(evas_object_type_get(top), elm_win)) +top_is_win = EINA_TRUE; + + if (top_is_win sd-input_panel_enable sd--- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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: Revert entry: Add elm_entry_input_panel_show_on_demand_set/get API
jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=45196320173fb7cb3a39ffbf3aa4ad6bc27b96d1 commit 45196320173fb7cb3a39ffbf3aa4ad6bc27b96d1 Author: Jihoon Kim jihoon48@samsung.com Date: Fri Jan 3 19:46:21 2014 +0900 Revert entry: Add elm_entry_input_panel_show_on_demand_set/get API It's feature freeze period, so I will add after ending freeze period. --- src/lib/elm_entry.c| 61 +- src/lib/elm_entry_eo.h | 30 --- src/lib/elm_entry_legacy.h | 24 -- src/lib/elm_widget_entry.h | 1 - 4 files changed, 1 insertion(+), 115 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index cc155c3..81a35db 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -594,8 +594,6 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list) (sd-entry_edje, elm.text, (Edje_Input_Panel_Return_Key_Type)sd-input_panel_return_key_type); edje_object_part_text_input_panel_return_key_disabled_set (sd-entry_edje, elm.text, sd-input_panel_return_key_disabled); - edje_object_part_text_input_panel_show_on_demand_set - (sd-entry_edje, elm.text, sd-input_panel_show_on_demand); // elm_entry_cursor_pos_set - cursor,changed - widget_show_region_set // - smart_objects_calculate will call all smart calculate functions, @@ -920,7 +918,7 @@ _elm_entry_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list) { evas_object_focus_set(sd-entry_edje, EINA_TRUE); edje_object_signal_emit(sd-entry_edje, elm,action,focus, elm); -if (top top_is_win sd-input_panel_enable !sd-input_panel_show_on_demand +if (top top_is_win sd-input_panel_enable !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL); @@ -1578,8 +1576,6 @@ _mouse_up_cb(void *data, void *event_info) { Evas_Event_Mouse_Up *ev = event_info; - Eina_Bool top_is_win = EINA_FALSE; - Evas_Object *top; ELM_ENTRY_DATA_GET(data, sd); @@ -1592,19 +1588,6 @@ _mouse_up_cb(void *data, _magnifier_hide(data); _menu_call(data); } -else - { - top = elm_widget_top_get(data); - if (top) - { - if (!strcmp(evas_object_type_get(top), elm_win)) -top_is_win = EINA_TRUE; - - if (top_is_win sd-input_panel_enable sd-input_panel_show_on_demand - !edje_object_part_text_imf_context_get(sd-entry_edje, elm.text)) -elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); - } - } } else if ((ev-button == 3) (!_elm_config-desktop_entry)) { @@ -5617,44 +5600,6 @@ _input_panel_return_key_autoenabled_set(Eo *obj, void *_pd, va_list *list) _return_key_enabled_check(obj); } -EAPI void -elm_entry_input_panel_show_on_demand_set(Evas_Object *obj, - Eina_Bool ondemand) -{ - ELM_ENTRY_CHECK(obj); - eo_do(obj, elm_obj_entry_input_panel_show_on_demand_set(ondemand)); -} - -static void -_input_panel_show_on_demand_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list) -{ - Eina_Bool ondemand = va_arg(*list, int); - Elm_Entry_Smart_Data *sd = _pd; - - sd-input_panel_show_on_demand = ondemand; - - edje_object_part_text_input_panel_show_on_demand_set - (sd-entry_edje, elm.text, ondemand); -} - -EAPI Eina_Bool -elm_entry_input_panel_show_on_demand_get(const Evas_Object *obj) -{ - ELM_ENTRY_CHECK(obj) EINA_FALSE; - Eina_Bool ret = EINA_FALSE; - eo_do((Eo *) obj, elm_obj_entry_input_panel_show_on_demand_get(ret)); - return ret; -} - -static void -_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) -{ - Eina_Bool *ret = va_arg(*list, Eina_Bool *); - Elm_Entry_Smart_Data *sd = _pd; - - if (ret) *ret = sd-input_panel_show_on_demand; -} - EAPI void * elm_entry_imf_context_get(Evas_Object *obj) { @@ -5923,8 +5868,6 @@ _class_constructor(Eo_Class *klass) EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END), _anchor_hover_end), EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_SET), _input_panel_layout_variation_set), EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_GET), _input_panel_layout_variation_get), - EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_SHOW_ON_DEMAND_SET), _input_panel_show_on_demand_set), - EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_SHOW_ON_DEMAND_GET), _input_panel_show_on_demand_get), EO_OP_FUNC_SENTINEL }; eo_class_funcs_set(klass, func_desc); @@ -6022,8 +5965,6 @@ static const
[EGIT] [core/elementary] master 01/01: widget: Fix a bug in elm_widget_newest_focus_order_get.
woohyun pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=9e7e4777de25ad29b1998a50ce2933e1ad77f286 commit 9e7e4777de25ad29b1998a50ce2933e1ad77f286 Author: WooHyun Jung wh0705.j...@samsung.com Date: Fri Jan 3 20:02:30 2014 +0900 widget: Fix a bug in elm_widget_newest_focus_order_get. When elm_widget_newest_focus_order_get is called with can_focus_only, only focusable objects should be the candidates for newest focused object. But there are cases that unfocusable object add +1 to newest_focus_order. --- src/lib/elm_widget.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index b1c5df5..708762a 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -4762,8 +4762,11 @@ _elm_widget_newest_focus_order_get(Eo *obj, void *_pd, va_list *list) best = NULL; if (*newest_focus_order sd-focus_order) { -*newest_focus_order = sd-focus_order; -best = obj; +if (!can_focus_only || elm_widget_can_focus_get(obj)) + { + *newest_focus_order = sd-focus_order; + best = obj; + } } EINA_LIST_FOREACH(sd-subobjs, l, child) { @@ -4772,11 +4775,6 @@ _elm_widget_newest_focus_order_get(Eo *obj, void *_pd, va_list *list) if (!cur) continue; best = cur; } - if (can_focus_only) - { -if ((!best) || (!elm_widget_can_focus_get(best))) - return; - } *ret = best; return; } --
Re: [E-devel] [EGIT] [core/elementary] master 01/01: entry: Add elm_entry_input_panel_show_on_demand_set/get API
Hello. On Fri, 2014-01-03 at 19:47, Jihoon Kim wrote: Ok. Thanks for reminding me about feature freeze period. I just reverted. Resolved before I even could start to yell. Nice. :) regards Stefan Schmidt -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] ECORE_EVAS_EXTN_CLIENT_ADD / ECORE_EVAS_EXTN_CLIENT_DEL
Hi, I noticed something strange while working on the Debian packaging for EFL 1.8: the two symbols mentionned in the title are no longer present in libecore-evas.so but are apparently part of the API: they're exported in Ecore_Evas.h Those two variables seem to have been moved to a module by commit 85f8163c3ee5b5d776d94c70ff9fbc667a615b2a , but as far a I can tell moving the actual symbols in an Ecore_Evas module effectively breaks the ABI: any library or application that used this variable will fail to load because the symbols can't be resolved. Similarly, it's not possible to use them in an application since the symbol can't be resolved at link time. Does anyone know what to make of this? Thanks, -- Albin -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] New year E Korean diner
Drink beer at the Paris Baguette Cedric. Tom will be surprised then. -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: enlightenment-devel@lists.sourceforge.net; Cc: Sent: 2014-01-03 (금) 19:29:10 Subject: Re: [E-devel] New year E Korean diner On 03/01/14 07:41, Cedric BAIL wrote: Hello, So it seems the diner can be tomorrow. Let's meet in the afternoon at 4pm in front of Paris Baguette in Itaewon for the one that can join early. Later on we will move to http://buzzapizza.com/ around 7.30pm (We are trying to book, but not done yet). No surprise that you'd like to meet at Paris Baguette. -- Tom. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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_widget] Fix not to load theme for mirroring if smart data is not set
looks there will be no reason to call elm_widget_mirrored_set() yet there. -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: enlightenment-devel@lists.sourceforge.net; Cc: Sent: 2014-01-02 (목) 19:56:45 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: [elm_widget] Fix not to load theme for mirroring if smart data is not set On 01/01/14 23:31, Daniel Juyung Seo wrote: On Tue, Dec 31, 2013 at 9:41 PM, Tom Hacohen tom.hacohen@samsung.comwrote: On 31/12/13 11:33, Jaehyun Cho wrote: - elm_widget_mirrored_set(obj, elm_config_mirrored_get()); + priv-is_mirrored = elm_config_mirrored_get(); This looks very wrong and bad practice. What happens if I'll change elm_widget_mirrored_set()? Things will break... Unless you have a really good reason for doing that (which you don't, there's no good reason). I suggest this patch will be amended. Agreed. This is easy to be broken. How about adding a parameter to elm_widget_mirrored_set() not to apply the theme? Thanks. Maybe we should have a way (like we talked about before) to say: we are still changing things, don't apply things yet. Or better yet, defer such loading/such till later. In the meanwhile, this change should be changed. -- Tom. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ECORE_EVAS_EXTN_CLIENT_ADD / ECORE_EVAS_EXTN_CLIENT_DEL
Ops! I guess it was a problem when we split ecore_evas into modules, these events should be, indeed, defined in libecore_evas.so, not in the module. I can't commit a fix right now, could someone move the EAPI declaration and ecore_event_new() attribution to ecore_evas.c? On Fri, Jan 3, 2014 at 9:52 AM, Albin Tonnerre lu...@debian.org wrote: Hi, I noticed something strange while working on the Debian packaging for EFL 1.8: the two symbols mentionned in the title are no longer present in libecore-evas.so but are apparently part of the API: they're exported in Ecore_Evas.h Those two variables seem to have been moved to a module by commit 85f8163c3ee5b5d776d94c70ff9fbc667a615b2a , but as far a I can tell moving the actual symbols in an Ecore_Evas module effectively breaks the ABI: any library or application that used this variable will fail to load because the symbols can't be resolved. Similarly, it's not possible to use them in an application since the symbol can't be resolved at link time. Does anyone know what to make of this? Thanks, -- Albin -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] New year E Korean diner
On 03/01/14 11:56, ChunEon Park wrote: Drink beer at the Paris Baguette Cedric. Tom will be surprised then. Haha, yeah. Send me pictures! -- Tom. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Having dark/light concepts in the EFL
On 01/02/14 21:29, Davide Andreoli wrote: Jérôme: can you please provide some examples of the changes you made to adapt ePeriodique to the dark themes? so that I can elaborate better. Maybe the most annoying thing is related to pictures using transparency. They usually expect a white background. In eperiodique, there are lattices for the crystal structure which was black in a transparent png as you can see here bottom right: http://eperiodique.sourceforge.net/shot2.png Switching to new theme made the lattice unreadable. I had choice between adding a white background or changing the lattice color. Having a white square over the background is not really eye-candy so I decided to change the color of the pictures. Unfortunately, I didn't find yet a way to do the same for the 118 bohr models and so it doesn't look really nice (bottom center): http://eperiodique.sourceforge.net/shot4.png Edje animations with colors (mouse over, etc) was made with bw theme so the colors had to be adjusted to the new theme but that was not really difficult. Making a big title with label was not easy when I started eperiodique: widget scaling was not working at this time, default theme didn't provide many choices. It was actually easier to do this with edje. I agree with Raster on the style issue: we definitively need more style to make development easier. -- Jérôme Pinot http://ngc891.blogdns.net/ signature.asc Description: Digital signature -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Having dark/light concepts in the EFL
i can change the popup style to envetor's in near the future. -Regards, Hermet- -Original Message- From: Davide Andreolid...@gurumeditation.it To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2014-01-03 (금) 05:29:07 Subject: Re: [E-devel] Having dark/light concepts in the EFL 2014/1/2 Gustavo Sverzut Barbieri barbieri@gmail.com On Thu, Jan 2, 2014 at 12:08 PM, Tom Hacohen tom.hacohen@samsung.com wrote: I hate comments like that, they are wrong at their core. I'm well aware, this takes a lot of effort to fix it, like many other bugs/issues we have. It doesn't mean just one guy (the one who raised the concern) should do all the work on his own, or even coordinate the efforts. Furthermore, even if I was willing, and was intending on doing that, the nature of the change would require this email. Deciding we officially maintain two themes is a big thing. I've raised the flag, if people agree/want to do it, we'll figure things out. Anyway, it shouldn't be *too* much work, as it'll just be generating two themes from the same edc and having macros for colours, and two sets of images. my team have experience with that and it's never that simple. Particularly the first try may prove that lighter version needs different shadows with different sizes and offsets. Of course you can change to the larger version and add padding inside the image of the smaller to simplify theme, but there is some work to do. Indeed that's not an easy work, I also proposed something like this some times ago. At that time I was thinking about doing a light and simple theme, simpler in the means of edc, so that user can use a cleaner base for their extensions... but my proposal goes in the void at the end. To speak about the current issue: I'm not sure a light/dark theme can solve the original problem, even if I know that the theme is (for example) a dark one, that do not implies that my shiny-blue (for example) label will fit well with the theme background. IMO the concept here is that elm application should never set colors or styles that fit with the default theme. I know it's not an easy task for the developer but in my experience it is usually doable. What we can do to improve the situation is to provide more default styles for widgets and texts. For example labels and entries should have much more tags than the current hilight, we could provide (for example) error, title, big_title, tag... or h1, h2, h3 and so on. This will cut down the number of situations where the developer need to provide custom themes. Jérôme: can you please provide some examples of the changes you made to adapt ePeriodique to the dark themes? so that I can elaborate better. PS: I recently tried enventor, it's theme looks really good, but it suffer from the same problem imo, it is tied to the default theme! PPS: the enventor popup theme is REALLY COOL, but it make all the other apps that use popup looks like they have a not so cool dialogs :) Raster: can we use the enventor popup theme in elm default? do you like that popup? davemds -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
Re: [E-devel] Having dark/light concepts in the EFL
also i pushed the task pane collase/expand feature. so that enventor can be more lightweight. -Regards, Hermet- -Original Message- From: Carsten Haitzlerras...@rasterman.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2014-01-03 (금) 09:44:15 Subject: Re: [E-devel] Having dark/light concepts in the EFL On Thu, 2 Jan 2014 21:29:07 +0100 Davide Andreoli dave@gurumeditation.it said: 2014/1/2 Gustavo Sverzut Barbieri barbieri@gmail.com On Thu, Jan 2, 2014 at 12:08 PM, Tom Hacohen tom.hacohen@samsung.com wrote: I hate comments like that, they are wrong at their core. I'm well aware, this takes a lot of effort to fix it, like many other bugs/issues we have. It doesn't mean just one guy (the one who raised the concern) should do all the work on his own, or even coordinate the efforts. Furthermore, even if I was willing, and was intending on doing that, the nature of the change would require this email. Deciding we officially maintain two themes is a big thing. I've raised the flag, if people agree/want to do it, we'll figure things out. Anyway, it shouldn't be *too* much work, as it'll just be generating two themes from the same edc and having macros for colours, and two sets of images. my team have experience with that and it's never that simple. Particularly the first try may prove that lighter version needs different shadows with different sizes and offsets. Of course you can change to the larger version and add padding inside the image of the smaller to simplify theme, but there is some work to do. Indeed that's not an easy work, I also proposed something like this some times ago. At that time I was thinking about doing a light and simple theme, simpler in the means of edc, so that user can use a cleaner base for their extensions... but my proposal goes in the void at the end. To speak about the current issue: I'm not sure a light/dark theme can solve the original problem, even if I know that the theme is (for example) a dark one, that do not implies that my shiny-blue (for example) label will fit well with the theme background. IMO the concept here is that elm application should never set colors or styles that fit with the default theme. I know it's not an easy task for the developer but in my experience it is usually doable. What we can do to improve the situation is to provide more default styles for widgets and texts. For example labels and entries should have much more tags than the current hilight, we could provide (for example) error, title, big_title, tag... or h1, h2, h3 and so on. This will cut down the number of situations where the developer need to provide custom themes. and voila! you have hit the nail on the head. YES! the solution is to provide more styles so apps have to less and less go out of their way to make custom edj stuff. if they do make custom edj files.. these are self contained graphical elements that do not have to blend/merge or match with anything the core ui theme manages OR it is simple LAYOUT. no images or rects or text/look - just relative layout and animations. if there is a real need for a new style, the app can use a theme EXTENSION edj file - but be prepared for the look to maybe clash... BUT unlike direct elm_layouts pointing to a custom edj file - a theme extension file is meant to extend your theme styles and it allows for the default theme or user them to override your extensions. this basically is a big hint to add that style to the default so everyone can use it and it can be managed and kept in sync with the default theme. :) Jérôme: can you please provide some examples of the changes you made to adapt ePeriodique to the dark themes? so that I can elaborate better. PS: I recently tried enventor, it's theme looks really good, but it suffer from the same problem imo, it is tied to the default theme! PPS: the enventor popup theme is REALLY COOL, but it make all the other apps that use popup looks like they have a not so cool dialogs :) Raster: can we use the enventor popup theme in elm default? do you like that popup? can we branch that off to another topic? the default theme in elm now covers all of elm AND e18. it is big enough to be a major piece of software in its own right. if there is stuff we can improve (and there definitely is) we should discuss that via things like phab were you have a patch submission, or bug task. i know that several features need to go back from apps into elm - like styles. the 2 arrows on the pane separator should become a core feature in the pane widget including the collapse/expand animation. this means core theme changes to support these buttons etc. i know that terminology has some theme elements that should also go back into elm - especially the terminal bg and shading thing - it would be good for frames. rant btw - i'm
Re: [E-devel] Having dark/light concepts in the EFL (was: Re: ePeriodique 0.5)
Agree. At least we should leave the white theme until 2.0 for the theme-extension apps. Even if the white is not in the default but the extra pacakge) -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: enlightenment-devel@lists.sourceforge.net; Cc: Sent: 2014-01-02 (목) 19:54:30 Subject: [E-devel] Having dark/light concepts in the EFL (was: Re: ePeriodique 0.5) It's really bad that applications need to be adjusted to be compatible with elm 1.8. I think we should find a way to have a dark/light concept. So first of all, we'll ship two themes by default, and that second of all, people will be able to provide two themes to their applications, and have the correct one loaded according to system theme's darkness. Thoughts? -- Tom. On 02/01/14 03:49, Jérôme Pinot wrote: Hi, I updated ePeriodique, the EFL periodic table, to be compatible with the new elementary 1.8 theme. Website (with screenshots): http://eperiodique.sourceforge.net/ Direct download: http://sourceforge.net/projects/eperiodique/files/0.5/eperiodique-0.5.tar.bz2/download Blog note about the migration 1.7-1.8 : http://ngc891.blogdns.net/?p=350 -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] Ecore con fix warning when using udp
This patch fix a problem when using ecore_con with UDP Eina_bin_buf is called without calling eina_binbuf_new, resulting with the following warning : lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !! SPANK SPANK SPANK {F7205} PS : i should be stupid, but i can't connect to phab. So i send the patch here -- Nicolas Aguirre Mail: aguirre.nico...@gmail.com Web: http://enna.geexbox.org Blog: http://dev.enlightenment.fr/~captainigloo/ From 4840baef76db4374da5bc1c1723b75c56db8d9af Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre aguirre.nico...@gmail.com Date: Fri, 3 Jan 2014 17:38:15 +0100 Subject: [PATCH] Fix warning in ecore_con. ERR7807: lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !!! This fix a problemm where eina_binbuf was used without calling eina_binbuf_new when ECORE_CON_REMOTE_UDP is used. --- src/lib/ecore_con/ecore_con.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 33f6f77..5813956 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -799,22 +799,24 @@ ecore_con_client_send(Ecore_Con_Client *cl, if (cl-host_server ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_UDP)) sendto(cl-host_server-fd, data, size, 0, (struct sockaddr *)cl-client_addr, cl-client_addr_len); - else if (!cl-buf) + else { -cl-buf = eina_binbuf_new(); -EINA_SAFETY_ON_NULL_RETURN_VAL(cl-buf, 0); -#ifdef TCP_CORK -if ((cl-fd = 0) ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_CORK)) +if (!cl-buf) { - int state = 1; - if (setsockopt(cl-fd, IPPROTO_TCP, TCP_CORK, (char *)state, sizeof(int)) 0) - /* realistically this isn't anything serious so we can just log and continue */ - ERR(corking failed! %s, strerror(errno)); - } + cl-buf = eina_binbuf_new(); + EINA_SAFETY_ON_NULL_RETURN_VAL(cl-buf, 0); +#ifdef TCP_CORK + if ((cl-fd = 0) ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_CORK)) + { + int state = 1; + if (setsockopt(cl-fd, IPPROTO_TCP, TCP_CORK, (char *)state, sizeof(int)) 0) +/* realistically this isn't anything serious so we can just log and continue */ +ERR(corking failed! %s, strerror(errno)); + } #endif + } +eina_binbuf_append_length(cl-buf, data, size); } - eina_binbuf_append_length(cl-buf, data, size); - return size; } -- 1.8.3.2 -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [apps/ecrire] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/apps/ecrire.git/commit/?id=0afaca69688ec43bb2e78551aa9535db7764ae90 commit 0afaca69688ec43bb2e78551aa9535db7764ae90 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:10:04 2014 +0100 Updating serbian translation --- po/sr.po | 140 ++- 1 file changed, 76 insertions(+), 64 deletions(-) diff --git a/po/sr.po b/po/sr.po index 0809f5a..da45baf 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,78 +5,17 @@ msgid msgstr Project-Id-Version: PACKAGE VERSION\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-04-07 20:53+0200\n +POT-Creation-Date: 2013-12-30 11:50+0100\n PO-Revision-Date: 2013-04-11 16:30+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-04-12 05:22+\n -X-Generator: Launchpad (build 16564)\n +X-Launchpad-Export-Date: 2013-12-31 04:55+\n +X-Generator: Launchpad (build 16877)\n Language: \n -#: src/bin/ui/alerts.c:56 -msgid -align=centerWould you like to save changes to document?brAny unsaved -changes will be lost. -msgstr -align=centerДа ли желите да сачувате измене у документу?brНесачуване -измене ће бити изгубљине. - -#: src/bin/ui/alerts.c:71 src/bin/main.c:694 -msgid Save -msgstr Сачувај - -#: src/bin/ui/alerts.c:82 -msgid Discard -msgstr Одбаци - -#: src/bin/ui/alerts.c:88 -msgid Cancel -msgstr Откажи - -#: src/bin/ui/search_dialog.c:148 src/bin/main.c:712 -msgid Find Replace -msgstr Нађи и замени - -#: src/bin/ui/search_dialog.c:170 -msgid Search for: -msgstr Тражи: - -#: src/bin/ui/search_dialog.c:194 -msgid Replace with: -msgstr Замени са: - -#: src/bin/ui/search_dialog.c:218 -msgid Find -msgstr Нађи - -#: src/bin/ui/search_dialog.c:226 -msgid Replace -msgstr Замени - -#: src/bin/ui/font_dialog.c:89 -msgid Select Font -msgstr Одаберите словни лик - -#: src/bin/ui/font_dialog.c:114 -msgid Font size: -msgstr Величина словонг лика: - -#: src/bin/ui/font_dialog.c:119 -#, c-format -msgid %.0f pts -msgstr %.0f тачака - -#: src/bin/ui/font_dialog.c:157 -msgid Use Default Font: -msgstr Користи задати словни лик: - -#: src/bin/ui/font_dialog.c:168 -msgid Set -msgstr Постави - #: src/bin/main.c:96 #, c-format msgid %s%s - %s @@ -100,6 +39,10 @@ msgstr Нови msgid Open msgstr Отвори +#: src/bin/main.c:694 src/bin/ui/alerts.c:71 +msgid Save +msgstr Сачувај + #: src/bin/main.c:695 msgid Save As msgstr Сачувај као @@ -124,6 +67,10 @@ msgstr Умножи msgid Paste msgstr Налепи +#: src/bin/main.c:712 src/bin/ui/search_dialog.c:148 +msgid Find Replace +msgstr Нађи и замени + #: src/bin/main.c:714 msgid Goto Line msgstr Иди на линију @@ -131,3 +78,68 @@ msgstr Иди на линију #: src/bin/main.c:717 msgid Settings msgstr Поставке + +#: src/bin/ui/alerts.c:56 +msgid +align=centerWould you like to save changes to document?brAny unsaved +changes will be lost. +msgstr +align=centerДа ли желите да сачувате измене у документу?brНесачуване +измене ће бити изгубљине. + +#: src/bin/ui/alerts.c:82 +msgid Discard +msgstr Одбаци + +#: src/bin/ui/alerts.c:88 +msgid Cancel +msgstr Откажи + +#: src/bin/ui/font_dialog.c:89 +msgid Select Font +msgstr Одаберите словни лик + +#: src/bin/ui/font_dialog.c:114 +msgid Font size: +msgstr Величина словонг лика: + +#: src/bin/ui/font_dialog.c:119 +#, c-format +msgid %.0f pts +msgstr %.0f тачака + +#: src/bin/ui/font_dialog.c:157 +msgid Use Default Font: +msgstr Користи задати словни лик: + +#: src/bin/ui/font_dialog.c:168 +msgid Set +msgstr Постави + +#: src/bin/ui/goto_dialog.c:60 +msgid Go to +msgstr + +#: src/bin/ui/goto_dialog.c:82 +msgid Go to line: +msgstr + +#: src/bin/ui/goto_dialog.c:106 +msgid Go +msgstr + +#: src/bin/ui/search_dialog.c:170 +msgid Search for: +msgstr Тражи: + +#: src/bin/ui/search_dialog.c:194 +msgid Replace with: +msgstr Замени са: + +#: src/bin/ui/search_dialog.c:218 +msgid Find +msgstr Нађи + +#: src/bin/ui/search_dialog.c:226 +msgid Replace +msgstr Замени --
[EGIT] [core/efl] master 01/01: Updating serbian and italian translations
maxerba pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d31f21a28810ced746bf03a412d659c8f8c50595 commit d31f21a28810ced746bf03a412d659c8f8c50595 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:18:55 2014 +0100 Updating serbian and italian translations --- po/it.po | 102 ++- po/sr.po | 108 +-- 2 files changed, 123 insertions(+), 87 deletions(-) diff --git a/po/it.po b/po/it.po index 0087eea..276a15d 100644 --- a/po/it.po +++ b/po/it.po @@ -7,8 +7,8 @@ msgid msgstr Project-Id-Version: Efl\n Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n -POT-Creation-Date: 2013-12-01 18:58+0900\n -PO-Revision-Date: 2013-01-05 20:49+0100\n +POT-Creation-Date: 2013-12-31 17:32+0100\n +PO-Revision-Date: 2014-01-03 18:18+0100\n Last-Translator: Massimo Maiurana maiur...@gmail.com\n Language-Team: none\n Language: it\n @@ -16,159 +16,177 @@ msgstr Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -#: src/lib/ecore/ecore_getopt.c:87 +#: src/lib/ecore/ecore_getopt.c:93 msgid Version: msgstr Versione: -#: src/lib/ecore/ecore_getopt.c:96 +#: src/lib/ecore/ecore_getopt.c:102 msgid Usage: msgstr Uso: -#: src/lib/ecore/ecore_getopt.c:101 +#: src/lib/ecore/ecore_getopt.c:109 #, c-format -msgid %s [options]\n -msgstr %s [opzioni]\n +msgid %s [options] +msgstr %s [opzioni] -#: src/lib/ecore/ecore_getopt.c:256 +#: src/lib/ecore/ecore_getopt.c:309 msgid Copyright: msgstr Copyright: -#: src/lib/ecore/ecore_getopt.c:268 +#: src/lib/ecore/ecore_getopt.c:321 msgid License: msgstr Licenza: -#: src/lib/ecore/ecore_getopt.c:449 +#: src/lib/ecore/ecore_getopt.c:507 msgid Type: msgstr Tipo: -#: src/lib/ecore/ecore_getopt.c:525 +#: src/lib/ecore/ecore_getopt.c:583 msgid Default: msgstr Predefinito: -#: src/lib/ecore/ecore_getopt.c:552 +#: src/lib/ecore/ecore_getopt.c:610 msgid Choices: msgstr Scelte: -#: src/lib/ecore/ecore_getopt.c:653 +#: src/lib/ecore/ecore_getopt.c:716 msgid Options:\n msgstr Opzioni:\n -#: src/lib/ecore/ecore_getopt.c:787 +#: src/lib/ecore/ecore_getopt.c:725 +msgid Positional arguments:\n +msgstr Argomenti posizionali:\n + +#: src/lib/ecore/ecore_getopt.c:858 #, c-format msgid ERROR: unknown option --%s.\n msgstr ERRORE: opzione sconosciuta --%s.\n -#: src/lib/ecore/ecore_getopt.c:789 +#: src/lib/ecore/ecore_getopt.c:860 #, c-format msgid ERROR: unknown option -%c.\n msgstr ERRORE: opzione sconosciuta -%c.\n -#: src/lib/ecore/ecore_getopt.c:852 +#: src/lib/ecore/ecore_getopt.c:923 msgid ERROR: msgstr ERRORE: -#: src/lib/ecore/ecore_getopt.c:937 src/lib/ecore/ecore_getopt.c:1074 -#: src/lib/ecore/ecore_getopt.c:1090 src/lib/ecore/ecore_getopt.c:1105 -#: src/lib/ecore/ecore_getopt.c:1122 src/lib/ecore/ecore_getopt.c:1169 -#: src/lib/ecore/ecore_getopt.c:1289 src/lib/ecore/ecore_getopt.c:1330 +#: src/lib/ecore/ecore_getopt.c:1016 src/lib/ecore/ecore_getopt.c:1153 +#: src/lib/ecore/ecore_getopt.c:1169 src/lib/ecore/ecore_getopt.c:1184 +#: src/lib/ecore/ecore_getopt.c:1201 src/lib/ecore/ecore_getopt.c:1248 +#: src/lib/ecore/ecore_getopt.c:1368 src/lib/ecore/ecore_getopt.c:1409 msgid value has no pointer set.\n msgstr il valore non ha puntatori impostati.\n -#: src/lib/ecore/ecore_getopt.c:969 src/lib/ecore/ecore_getopt.c:1189 +#: src/lib/ecore/ecore_getopt.c:1048 src/lib/ecore/ecore_getopt.c:1268 #, c-format msgid unknown boolean value %s.\n msgstr valore booleano sconosciuto %s.\n -#: src/lib/ecore/ecore_getopt.c:1020 src/lib/ecore/ecore_getopt.c:1277 +#: src/lib/ecore/ecore_getopt.c:1099 src/lib/ecore/ecore_getopt.c:1356 #, c-format msgid invalid number format %s\n msgstr formato numero non valido %s\n -#: src/lib/ecore/ecore_getopt.c:1135 +#: src/lib/ecore/ecore_getopt.c:1214 #, c-format msgid invalid choice \%s\. Valid values are: msgstr scelta non valida \%s\. I valori ammessi sono: -#: src/lib/ecore/ecore_getopt.c:1163 +#: src/lib/ecore/ecore_getopt.c:1242 msgid missing parameter to append.\n msgstr parametro da appendere mancante.\n -#: src/lib/ecore/ecore_getopt.c:1267 +#: src/lib/ecore/ecore_getopt.c:1346 msgid could not parse value.\n msgstr impossibile il parsing del valore.\n -#: src/lib/ecore/ecore_getopt.c:1324 +#: src/lib/ecore/ecore_getopt.c:1403 msgid missing parameter.\n msgstr parametro mancante.\n -#: src/lib/ecore/ecore_getopt.c:1337 +#: src/lib/ecore/ecore_getopt.c:1416 msgid missing callback function!\n msgstr funzione callback mancante!\n -#: src/lib/ecore/ecore_getopt.c:1366 +#: src/lib/ecore/ecore_getopt.c:1445 msgid no version was defined.\n msgstr nessuna versione definita.\n -#: src/lib/ecore/ecore_getopt.c:1383 +#: src/lib/ecore/ecore_getopt.c:1462 msgid no copyright was defined.\n msgstr nessun copyright definito.\n -#: src/lib/ecore/ecore_getopt.c:1400 +#:
[EGIT] [core/elementary] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=52de1b1fb2038865c77aece45f7c356046498074 commit 52de1b1fb2038865c77aece45f7c356046498074 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:20:20 2014 +0100 Updating serbian translation --- po/sr.po | 73 +++- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/po/sr.po b/po/sr.po index 0cdf302..01f355e 100644 --- a/po/sr.po +++ b/po/sr.po @@ -1,62 +1,61 @@ # # Саша Петровић salepetron...@gmail.com, 2012. # -#: src/lib/elm_config.c:2415 msgid msgstr Project-Id-Version: а\n -Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n -POT-Creation-Date: 2013-12-08 18:12+0900\n -PO-Revision-Date: 2013-04-11 16:30+\n +Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n +POT-Creation-Date: 2013-12-30 11:50+0100\n +PO-Revision-Date: 2013-11-19 01:08+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n -Language: \n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-04-25 05:27+\n -X-Generator: Launchpad (build 16580)\n +X-Launchpad-Export-Date: 2013-12-31 04:56+\n +X-Generator: Launchpad (build 16877)\n +Language: \n -#: src/lib/elc_fileselector.c:1238 +#: src/lib/elc_fileselector.c:1341 msgid Up msgstr Горе -#: src/lib/elc_fileselector.c:1253 +#: src/lib/elc_fileselector.c:1356 msgid Home msgstr Лична фасцикла -#: src/lib/elc_fileselector.c:1470 src/lib/elm_entry.c:1340 -#: src/lib/elm_entry.c:1365 +#: src/lib/elc_fileselector.c:1583 src/lib/elm_entry.c:1346 +#: src/lib/elm_entry.c:1371 msgid Cancel msgstr Откажи -#: src/lib/elc_fileselector.c:1479 +#: src/lib/elc_fileselector.c:1592 msgid OK msgstr У реду -#: src/lib/elc_multibuttonentry.c:575 +#: src/lib/elc_multibuttonentry.c:614 msgid multi button entry label msgstr -#: src/lib/elc_multibuttonentry.c:597 +#: src/lib/elc_multibuttonentry.c:635 msgid multi button entry item msgstr -#: src/lib/elc_multibuttonentry.c:1471 +#: src/lib/elc_multibuttonentry.c:1512 msgid multi button entry msgstr #: src/lib/elc_naviframe.c:377 msgid Title -msgstr +msgstr Наслов #: src/lib/elc_naviframe.c:906 src/lib/elc_naviframe.c:1130 msgid Back -msgstr +msgstr Назад #: src/lib/elc_naviframe.c:1209 msgid Next -msgstr +msgstr Следеће #: src/lib/elc_popup.c:282 src/lib/elc_popup.c:908 msgid Popup Title @@ -77,7 +76,7 @@ msgstr Кликнуто #: src/lib/elm_button.c:279 src/lib/elm_check.c:222 src/lib/elm_gengrid.c:705 #: src/lib/elm_genlist.c:1464 src/lib/elm_list.c:1547 src/lib/elm_radio.c:265 #: src/lib/elm_segment_control.c:537 src/lib/elm_spinner.c:561 -#: src/lib/elm_toolbar.c:1980 +#: src/lib/elm_toolbar.c:1979 msgid State: Disabled msgstr Стање: онемогућено @@ -158,18 +157,17 @@ msgstr Стање: уредиво msgid Clock msgstr Сат -#: src/lib/elm_colorselector.c:1349 +#: src/lib/elm_colorselector.c:1370 msgid color selector palette item msgstr ставка избирача палете боја -#: src/lib/elm_config.c:2431 +#: src/lib/elm_config.c:2441 msgid default:LTR msgstr задато:слева на десно #: src/lib/elm_dayselector.c:422 -#, fuzzy msgid day selector item -msgstr ставка одабира диска +msgstr #: src/lib/elm_diskselector.c:681 msgid diskselector item @@ -179,19 +177,19 @@ msgstr ставка одабира диска msgid Copy msgstr Умножи -#: src/lib/elm_entry.c:1337 +#: src/lib/elm_entry.c:1338 msgid Cut msgstr Исеци -#: src/lib/elm_entry.c:1352 -msgid Select -msgstr Изаберите - -#: src/lib/elm_entry.c:1359 +#: src/lib/elm_entry.c:1342 src/lib/elm_entry.c:1365 msgid Paste msgstr Прилепи -#: src/lib/elm_entry.c:3301 +#: src/lib/elm_entry.c:1358 +msgid Select +msgstr Изаберите + +#: src/lib/elm_entry.c:3306 msgid Entry msgstr Улаз @@ -231,14 +229,13 @@ msgstr трака напретка msgid Radio msgstr Радио -#: src/lib/elm_segment_control.c:540 src/lib/elm_toolbar.c:1982 +#: src/lib/elm_segment_control.c:540 src/lib/elm_toolbar.c:1981 msgid State: Selected msgstr Стање: означено #: src/lib/elm_segment_control.c:542 -#, fuzzy msgid State: Unselected -msgstr Стање: означено +msgstr #: src/lib/elm_segment_control.c:554 msgid Segment Control Item @@ -260,22 +257,22 @@ msgstr стрелица избирача смањења msgid spinner msgstr избирач са стрелицама -#: src/lib/elm_toolbar.c:1451 src/lib/elm_toolbar.c:2041 +#: src/lib/elm_toolbar.c:1450 src/lib/elm_toolbar.c:2040 msgid Selected msgstr Изабрано -#: src/lib/elm_toolbar.c:1978 +#: src/lib/elm_toolbar.c:1977 msgid Separator msgstr Одвајач -#: src/lib/elm_toolbar.c:1984 +#: src/lib/elm_toolbar.c:1983 msgid Has menu msgstr Има изборник -#: src/lib/elm_toolbar.c:2036 +#: src/lib/elm_toolbar.c:2035 msgid Unselected msgstr Неозначено -#: src/lib/elm_toolbar.c:2053 +#: src/lib/elm_toolbar.c:2052 msgid Toolbar Item msgstr Ставка траке
[EGIT] [e16/e16] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=72aa0ce15cdde4a593366aeb5e68f6dabc7ff192 commit 72aa0ce15cdde4a593366aeb5e68f6dabc7ff192 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:41:46 2014 +0100 Updating serbian translation --- po/sr.po | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/po/sr.po b/po/sr.po index 8b9d4b8..1620148 100644 --- a/po/sr.po +++ b/po/sr.po @@ -4,17 +4,17 @@ msgid msgstr Project-Id-Version: trunk\n -Report-Msgid-Bugs-To: enlightenment-i...@lists.sourceforge.net\n -POT-Creation-Date: 2013-12-29 09:52+0100\n +Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n +POT-Creation-Date: 2013-12-30 11:50+0100\n PO-Revision-Date: 2013-06-20 12:49+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски српски xfce-i...@xfce.org\n -Language: \n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-21 05:36+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-12-31 04:55+\n +X-Generator: Launchpad (build 16877)\n +Language: \n #: src/about.c:35 #, c-format @@ -771,7 +771,8 @@ msgstr Само нови прозори потврде бивају узети #: src/focus.c:879 msgid Only new dialogs whose owner is focused get the focus -msgstr Само нови прозори потврде чији власник је под жижом се узимају у жижу +msgstr +Само нови прозори потврде чији власник је под жижом се узимају у жижу #: src/focus.c:884 msgid Raise windows while switching focus @@ -830,7 +831,8 @@ msgid Send mouse pointer to window after focus switch msgstr Пошаљи показивач миша на прозор по промени жиже #: src/focus.c:973 -msgid Focuslist image display policy (if one operation fails, try the next): +msgid +Focuslist image display policy (if one operation fails, try the next): msgstr Смернице приказа списка прозора у жижи (ако једна радња откаже, покушај следећу): @@ -2237,7 +2239,8 @@ msgid Stick/Unstick msgstr Залепи/Одлепи #: config/strings.c:61 -msgid Toggle the Omnipresent (visible on all Desktops) state of this window. +msgid +Toggle the Omnipresent (visible on all Desktops) state of this window. msgstr Прекидач стања свеприсутности (видљивог на свим радним површима) прозора. --
[EGIT] [enlightenment/modules/alarm] master 01/01: updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/alarm.git/commit/?id=5ff2deff5481582ed7af5aca5d5d2a9b0134b524 commit 5ff2deff5481582ed7af5aca5d5d2a9b0134b524 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:44:29 2014 +0100 updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 34630cc..ac27911 100644 --- a/po/sr.po +++ b/po/sr.po @@ -3,15 +3,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:04+0200\n +POT-Creation-Date: 2013-08-23 11:50+0200\n PO-Revision-Date: 2013-06-26 06:51+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: sr\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-27 05:36+\n -X-Generator: Launchpad (build 16681)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: sr\n #: src/e_mod_config.c:52 --
[EGIT] [enlightenment/modules/cpu] master 01/02: Updating hungarian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/cpu.git/commit/?id=16f56ff941f1a18faded54d7070383c878208990 commit 16f56ff941f1a18faded54d7070383c878208990 Author: maxerba maiur...@gmail.com Date: Wed Dec 25 23:15:22 2013 +0100 Updating hungarian translation --- po/hu.po | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/po/hu.po b/po/hu.po index bd7a7ea..89169dd 100644 --- a/po/hu.po +++ b/po/hu.po @@ -7,40 +7,45 @@ msgid msgstr Project-Id-Version: cpu\n Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n -POT-Creation-Date: 2009-08-28 16:31+0800\n -PO-Revision-Date: 2008-02-02 20:13+0100\n -Last-Translator: Lisovszki lisovs...@gmail.com\n +POT-Creation-Date: 2013-12-25 15:38+0100\n +PO-Revision-Date: 2013-12-25 16:18+0100\n +Last-Translator: rezso re...@rezso.net\n Language-Team: hungarian h...@li.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Generator: KBabel 1.11.4\n -Plural-Forms: nplurals=2; plural=(n != 1);\n +X-Generator: Poedit 1.5.5\n +Plural-Forms: nplurals=2; plural=(n != 1);\n +Language: hu\n #: ../src/e_mod_main.c:132 msgid Cpu msgstr CPU -#: ../src/e_mod_main.c:366 +#: ../src/e_mod_main.c:374 msgid Fast (0.5 sec) msgstr Gyors (0.5 mp) -#: ../src/e_mod_main.c:373 +#: ../src/e_mod_main.c:381 msgid Medium (1 sec) msgstr Közepes (1 mp) -#: ../src/e_mod_main.c:380 +#: ../src/e_mod_main.c:388 msgid Normal (2 sec) msgstr Normál (2 mp) -#: ../src/e_mod_main.c:387 +#: ../src/e_mod_main.c:395 msgid Slow (5 sec) msgstr Lassú (5 mp) -#: ../src/e_mod_main.c:394 +#: ../src/e_mod_main.c:402 msgid Very Slow (30 sec) msgstr Nagyon lassú (30 mp) -#: ../src/e_mod_main.c:405 +#: ../src/e_mod_main.c:409 msgid Time Between Updates msgstr Frissítési időköz + +#: ../src/e_mod_main.c:415 +msgid Merge CPU's into single Statistic +msgstr Összevont statisztika az összes CPU-ról --
[EGIT] [enlightenment/modules/cpu] master 02/02: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/cpu.git/commit/?id=0d7f988f97c537ad2e09a9c300c5cd9ef24b0980 commit 0d7f988f97c537ad2e09a9c300c5cd9ef24b0980 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:48:26 2014 +0100 Updating serbian translation --- po/sr.po | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/sr.po b/po/sr.po index 862128b..01ab279 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n -PO-Revision-Date: 2012-12-19 19:18+\n +POT-Creation-Date: 2013-08-24 11:50+0200\n +PO-Revision-Date: 2013-07-09 05:22+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-22 05:38+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_main.c:132 @@ -46,4 +46,4 @@ msgstr Време између освежавања #: src/e_mod_main.c:415 msgid Merge CPU's into single Statistic -msgstr +msgstr Споји процесоре у једну статистику --
[EGIT] [enlightenment/modules/engage] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/engage.git/commit/?id=40d37014df679cddafe3586fea732f1de1f5b8cd commit 40d37014df679cddafe3586fea732f1de1f5b8cd Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:49:45 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 54a1dc9..cded06d 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-23 11:50+0200\n PO-Revision-Date: 2013-06-23 19:28+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-24 04:43+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:04+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_main.c:1705 src/e_mod_main.c:1863 src/e_mod_main.c:1890 --
[EGIT] [enlightenment/modules/eweather] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/eweather.git/commit/?id=dbfe76fbdff0b31af2c31edf7e1a8cce090cd1e9 commit dbfe76fbdff0b31af2c31edf7e1a8cce090cd1e9 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:52:13 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index f140b4d..73ad0ef 100644 --- a/po/sr.po +++ b/po/sr.po @@ -7,15 +7,15 @@ msgid msgstr Project-Id-Version: enlightenment\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:50+0200\n PO-Revision-Date: 2013-06-23 19:46+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: Serbian s...@li.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-24 04:43+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:04+\n +X-Generator: Launchpad (build 16738)\n Language: sr\n #: src/module/e_mod_config.c:122 --
[EGIT] [enlightenment/modules/forecasts] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/forecasts.git/commit/?id=a16955961683449175ce620a4a80c2c68d9736d0 commit a16955961683449175ce620a4a80c2c68d9736d0 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:53:03 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index d9fc932..d0d625d 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:50+0200\n PO-Revision-Date: 2013-06-24 08:29+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_config.c:42 --
[EGIT] [enlightenment/modules/mail] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/mail.git/commit/?id=18be5591e03939c986ab2024db47e363fda62c74 commit 18be5591e03939c986ab2024db47e363fda62c74 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:54:04 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 976a56b..8f88c6b 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-24 08:40+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_config_box.c:68 --
[EGIT] [core/efl] master 01/01: ecore_con - Fix binary buffer when using ECORE_CON_REMOTE_UDP.
kuri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=503e7a5b03d12d6d50a81d829383fb866763143c commit 503e7a5b03d12d6d50a81d829383fb866763143c Author: Nicolas Aguirre aguirre.nico...@gmail.com Date: Fri Jan 3 18:57:56 2014 +0100 ecore_con - Fix binary buffer when using ECORE_CON_REMOTE_UDP. ERR7807: lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !!! This fix a problem where eina_binbuf was used without calling eina_binbuf_new when ECORE_CON_REMOTE_UDP is used. --- src/lib/ecore_con/ecore_con.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 33f6f77..5813956 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -799,22 +799,24 @@ ecore_con_client_send(Ecore_Con_Client *cl, if (cl-host_server ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_UDP)) sendto(cl-host_server-fd, data, size, 0, (struct sockaddr *)cl-client_addr, cl-client_addr_len); - else if (!cl-buf) + else { -cl-buf = eina_binbuf_new(); -EINA_SAFETY_ON_NULL_RETURN_VAL(cl-buf, 0); -#ifdef TCP_CORK -if ((cl-fd = 0) ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_CORK)) +if (!cl-buf) { - int state = 1; - if (setsockopt(cl-fd, IPPROTO_TCP, TCP_CORK, (char *)state, sizeof(int)) 0) - /* realistically this isn't anything serious so we can just log and continue */ - ERR(corking failed! %s, strerror(errno)); - } + cl-buf = eina_binbuf_new(); + EINA_SAFETY_ON_NULL_RETURN_VAL(cl-buf, 0); +#ifdef TCP_CORK + if ((cl-fd = 0) ((cl-host_server-type ECORE_CON_TYPE) == ECORE_CON_REMOTE_CORK)) + { + int state = 1; + if (setsockopt(cl-fd, IPPROTO_TCP, TCP_CORK, (char *)state, sizeof(int)) 0) +/* realistically this isn't anything serious so we can just log and continue */ +ERR(corking failed! %s, strerror(errno)); + } #endif + } +eina_binbuf_append_length(cl-buf, data, size); } - eina_binbuf_append_length(cl-buf, data, size); - return size; } --
[EGIT] [enlightenment/modules/mpdule] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/mpdule.git/commit/?id=1b5801a56ef24e6de27429bc5b9ebe62d965c142 commit 1b5801a56ef24e6de27429bc5b9ebe62d965c142 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:59:39 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 30fc1bc..7e81ce9 100644 --- a/po/sr.po +++ b/po/sr.po @@ -7,15 +7,15 @@ msgid msgstr Project-Id-Version: enlightenment\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-24 08:58+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: Serbian s...@li.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:04+\n +X-Generator: Launchpad (build 16738)\n Language: sr\n #: src/e_mod_config.c:39 --
[EGIT] [enlightenment/modules/net] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/net.git/commit/?id=38f23531b2e77f630fd7a05d04a740e1175d1541 commit 38f23531b2e77f630fd7a05d04a740e1175d1541 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:00:36 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index a3e17ca..1ebc0de 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-28 04:30+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-30 05:56+\n -X-Generator: Launchpad (build 16692)\n +X-Launchpad-Export-Date: 2013-08-25 05:01+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_configure.c:44 --
[EGIT] [enlightenment/modules/moon] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/moon.git/commit/?id=01620b453083de96608bf7807b9b69d539e3d53c commit 01620b453083de96608bf7807b9b69d539e3d53c Author: maxerba maiur...@gmail.com Date: Fri Jan 3 18:58:28 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 902eeb8..c87d298 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-24 08:51+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:01+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_config.c:97 --
[EGIT] [enlightenment/modules/news] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/news.git/commit/?id=27f720e596a7adf25e02fd9d01cb74e1b9f1f54d commit 27f720e596a7adf25e02fd9d01cb74e1b9f1f54d Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:01:25 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 4a670dd..4730672 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-23 11:50+0200\n PO-Revision-Date: 2013-06-30 16:03+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-07-01 05:14+\n -X-Generator: Launchpad (build 16692)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_main.c:52 --
[EGIT] [enlightenment/modules/packagekit] master 01/01: Adding serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=234a5410d6b59415b59eb9a31bb2fb051f9da957 commit 234a5410d6b59415b59eb9a31bb2fb051f9da957 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:02:38 2014 +0100 Adding serbian translation --- po/LINGUAS | 1 + po/sr.po | 99 ++ 2 files changed, 100 insertions(+) diff --git a/po/LINGUAS b/po/LINGUAS index 614532e..c926048 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -2,3 +2,4 @@ fi gl it pt +sr diff --git a/po/sr.po b/po/sr.po new file mode 100644 index 000..6d0de10 --- /dev/null +++ b/po/sr.po @@ -0,0 +1,99 @@ +# Serbian translation for enlightenment +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the enlightenment package. +# FIRST AUTHOR EMAIL@ADDRESS, 2013. +# +msgid +msgstr +Project-Id-Version: enlightenment\n +Report-Msgid-Bugs-To: FULL NAME EMAIL@ADDRESS\n +POT-Creation-Date: 2013-12-01 22:47+0100\n +PO-Revision-Date: 2013-12-04 07:58+\n +Last-Translator: Саша Петровић salepetron...@gmail.com\n +Language-Team: Serbian s...@li.org\n +MIME-Version: 1.0\n +Content-Type: text/plain; charset=UTF-8\n +Content-Transfer-Encoding: 8bit\n +X-Launchpad-Export-Date: 2013-12-05 05:30+\n +X-Generator: Launchpad (build 16863)\n + +#: src/e_mod_main.c:50 +msgid Refresh Packages +msgstr Освежи списак пакета + +#: src/e_mod_main.c:52 +msgid Never +msgstr Никада + +#: src/e_mod_main.c:54 +msgid Hourly +msgstr Сваког сата + +#: src/e_mod_main.c:56 +msgid Daily +msgstr Дневно + +#: src/e_mod_main.c:58 +msgid Weekly +msgstr Седмично + +#: src/e_mod_main.c:62 +msgid Package list +msgstr Списак пакета + +#: src/e_mod_main.c:64 +msgid Show package name +msgstr Приказуј имена пакета + +#: src/e_mod_main.c:66 +msgid Show package description +msgstr Приказуј описе пакета + +#: src/e_mod_main.c:70 +msgid Package Manager +msgstr Управник пакета + +#: src/e_mod_main.c:129 +msgid System Updates Settings +msgstr Поставке надградње система + +#: src/e_mod_main.c:163 +msgid Settings +msgstr Поставке + +#: src/e_mod_main.c:229 +msgid System Updates +msgstr Надоградње система + +#: src/e_mod_packagekit.c:42 +msgid No package manager configured +msgstr Није одређен управник пакета + +#: src/e_mod_packagekit.c:43 +msgid +You need to set your preferred package manager.brPlease open the module +configuration and setbrthe program to run.br +msgstr +Треба да одредите који је управник пакета у питању.brОтворите поставке +јединице и поставитеbrпрограм који ће се извршавати.br + +#: src/e_mod_packagekit.c:62 +msgid No information available +msgstr Нема доступних података + +#: src/e_mod_packagekit.c:125 +msgid One update available +msgstr Једна надградња је доступна + +#: src/e_mod_packagekit.c:127 +#, c-format +msgid %d updates available +msgstr Доступно је %d надоградњи + +#: src/e_mod_packagekit.c:129 +msgid Your system is updated +msgstr Систем је свеж + +#: src/e_mod_packagekit.c:161 +msgid Run the package manager +msgstr Покрени управника пакета --
[EGIT] [enlightenment/modules/photo] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/photo.git/commit/?id=ee030af03241b87857bf626ec0c559954f26089e commit ee030af03241b87857bf626ec0c559954f26089e Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:04:29 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 0746138..7f669e3 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,15 +5,15 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-23 11:50+0200\n PO-Revision-Date: 2013-06-21 13:31+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-22 05:37+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_main.c:53 src/e_mod_main.c:60 src/e_mod_main.c:67 --
Re: [E-devel] [PATCH] Ecore con fix warning when using udp
On 03/01/2014 17:51, Nicolas Aguirre wrote: This patch fix a problem when using ecore_con with UDP Eina_bin_buf is called without calling eina_binbuf_new, resulting with the following warning : lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !! SPANK SPANK SPANK {F7205} PS : i should be stupid, but i can't connect to phab. So i send the patch here I reproduced bug using attached files, and indeed, this patch solves it. //Compile with: // gcc -o ecore_con_client_simple_example ecore_con_client_simple_example.c `pkg-config --libs --cflags ecore ecore-con eina` #include stdio.h #include Ecore.h #include Ecore_Con.h Eina_Bool _data(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Data *ev) { char fmt[128]; snprintf(fmt, sizeof(fmt), Received %i bytes from server:\n \n %%.%is\n \n, ev-size, ev-size); printf(fmt, ev-data); return ECORE_CALLBACK_RENEW; } int main(int argc, const char *argv[]) { Ecore_Con_Server *svr; const char *address; char welcome[] = hello! - sent from the client; int port = 8080; if (argc 2) { printf(wrong usage. Command syntax is:\n); printf(\tecore_con_client_simple_example address [port]\n); exit(1); } address = argv[1]; if (argc 2) port = atoi(argv[2]); eina_init(); ecore_init(); ecore_con_init(); if (!(svr = ecore_con_server_connect(ECORE_CON_REMOTE_UDP, address, port, NULL))) { printf(could not connect to the server: %s, port %d.\n, address, port); exit(2); } /* set event handler for receiving server data */ ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DATA, (Ecore_Event_Handler_Cb)_data, NULL); ecore_con_server_send(svr, welcome, sizeof(welcome)); /* start client */ ecore_main_loop_begin(); ecore_con_init(); ecore_init(); eina_init(); return 0; } //Compile with: // gcc -o ecore_con_server_simple_example ecore_con_server_simple_example.c `pkg-config --libs --cflags ecore ecore-con eina` #include stdio.h #include Ecore.h #include Ecore_Con.h struct _Client { int sdata; }; Eina_Bool _add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Add *ev) { char welcome[] = hello! - sent from the server; Ecore_Con_Server *srv; Ecore_Con_Client *cl; const Eina_List *clients, *l; struct _Client *client = malloc(sizeof(*client)); client-sdata = 0; printf(Client with ip %s, port %d, connected = %d!\n, ecore_con_client_ip_get(ev-client), ecore_con_client_port_get(ev-client), ecore_con_client_connected_get(ev-client)); ecore_con_client_send(ev-client, welcome, sizeof(welcome)); ecore_con_client_flush(ev-client); ecore_con_client_timeout_set(ev-client, 6); ecore_con_client_data_set(ev-client, client); srv = ecore_con_client_server_get(ev-client); printf(Clients connected to this server:\n); clients = ecore_con_server_clients_get(srv); EINA_LIST_FOREACH(clients, l, cl) printf(%s\n, ecore_con_client_ip_get(cl)); return ECORE_CALLBACK_RENEW; } Eina_Bool _del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Del *ev) { struct _Client *client; if (!ev-client) return ECORE_CALLBACK_RENEW; client = ecore_con_client_data_get(ev-client); printf(Lost client with ip %s!\n, ecore_con_client_ip_get(ev-client)); printf(Total data received from this client: %d\n, client-sdata); printf(Client was connected for %0.3f seconds.\n, ecore_con_client_uptime_get(ev-client)); if (client) free(client); ecore_con_client_del(ev-client); return ECORE_CALLBACK_RENEW; } Eina_Bool _data(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Data *ev) { char fmt[128]; struct _Client *client = ecore_con_client_data_get(ev-client); snprintf(fmt, sizeof(fmt), Received %i bytes from client %s port %d:\n \n %%.%is\n \n, ev-size, ecore_con_client_ip_get(ev-client), ecore_con_client_port_get(ev-client), ev-size); printf(fmt, ev-data); client-sdata += ev-size; return ECORE_CALLBACK_RENEW; } int main(void) { Ecore_Con_Server *svr; Ecore_Con_Client *cl; const Eina_List *clients, *l; eina_init(); ecore_init(); ecore_con_init(); if (!(svr = ecore_con_server_add(ECORE_CON_REMOTE_UDP, 127.0.0.1, , NULL))) exit(1); ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_ADD, (Ecore_Event_Handler_Cb)_add, NULL); ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_DEL, (Ecore_Event_Handler_Cb)_del, NULL); ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_DATA, (Ecore_Event_Handler_Cb)_data, NULL); ecore_con_server_timeout_set(svr, 10); ecore_con_server_client_limit_set(svr, 3, 0); ecore_main_loop_begin(); clients =
[EGIT] [enlightenment/modules/penguins] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/penguins.git/commit/?id=9a5abb6501068fabfca079b6707d8f6a887d8a65 commit 9a5abb6501068fabfca079b6707d8f6a887d8a65 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:03:35 2014 +0100 Updating serbian translation --- po/sr.po | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/po/sr.po b/po/sr.po index 3476027..7238cbd 100644 --- a/po/sr.po +++ b/po/sr.po @@ -5,20 +5,20 @@ msgid msgstr Project-Id-Version: trunk\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n -PO-Revision-Date: 2013-06-26 06:33+\n +POT-Creation-Date: 2013-08-24 11:51+0200\n +PO-Revision-Date: 2013-07-24 13:47+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: српски xfce-i...@xfce.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-27 05:36+\n -X-Generator: Launchpad (build 16681)\n +X-Launchpad-Export-Date: 2013-08-25 05:01+\n +X-Generator: Launchpad (build 16738)\n Language: \n #: src/e_mod_config.c:42 msgid Population Settings -msgstr +msgstr Поставке популације #: src/e_mod_config.c:92 msgid Number of penguins: @@ -44,7 +44,7 @@ msgstr Провидност: #: src/e_mod_config.c:108 msgid Select population: -msgstr +msgstr Одредите популацију #: src/e_mod_main.c:61 msgid Look --
[EGIT] [enlightenment/modules/places] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=58cd7894e3a2bd01b21699da0c7fb428a54f2d3e commit 58cd7894e3a2bd01b21699da0c7fb428a54f2d3e Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:05:08 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index f869a4e..f9e6459 100644 --- a/po/sr.po +++ b/po/sr.po @@ -7,15 +7,15 @@ msgid msgstr Project-Id-Version: enlightenment\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-24 09:31+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: Serbian s...@li.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:04+\n +X-Generator: Launchpad (build 16738)\n Language: sr\n #: src/e_mod_config.c:55 --
[EGIT] [enlightenment/modules/tclock] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/tclock.git/commit/?id=e0ed91901e7c2a1306e78028511e7c08d1673553 commit e0ed91901e7c2a1306e78028511e7c08d1673553 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:05:58 2014 +0100 Updating serbian translation --- po/sr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sr.po b/po/sr.po index 914cd7c..d0ee199 100644 --- a/po/sr.po +++ b/po/sr.po @@ -7,15 +7,15 @@ msgid msgstr Project-Id-Version: enlightenment\n Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n -POT-Creation-Date: 2013-06-21 01:05+0200\n +POT-Creation-Date: 2013-08-24 11:51+0200\n PO-Revision-Date: 2013-06-24 09:39+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: Serbian s...@li.org\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n -X-Launchpad-Export-Date: 2013-06-25 05:15+\n -X-Generator: Launchpad (build 16677)\n +X-Launchpad-Export-Date: 2013-08-25 05:02+\n +X-Generator: Launchpad (build 16738)\n Language: sr\n #: src/e_mod_config.c:39 --
[EGIT] [games/elemines] master 01/01: Updating serbian translation
maxerba pushed a commit to branch master. http://git.enlightenment.org/games/elemines.git/commit/?id=89dba2c561c36a486dcdec6a728b5ace6890e178 commit 89dba2c561c36a486dcdec6a728b5ace6890e178 Author: maxerba maiur...@gmail.com Date: Fri Jan 3 19:06:54 2014 +0100 Updating serbian translation --- po/sr.po | 35 --- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/po/sr.po b/po/sr.po index 28bdfc8..f7808bb 100644 --- a/po/sr.po +++ b/po/sr.po @@ -6,15 +6,17 @@ msgid msgstr Project-Id-Version: elemines 0.2.3\n -Report-Msgid-Bugs-To: ngc...@gmail.com\n -POT-Creation-Date: 2013-08-14 12:30+0200\n -PO-Revision-Date: 2013-04-20 18:07+\n +Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n +POT-Creation-Date: 2013-08-28 11:51+0200\n +PO-Revision-Date: 2013-08-31 05:28+\n Last-Translator: Саша Петровић salepetron...@gmail.com\n Language-Team: Serbian s...@li.org\n -Language: sr\n MIME-Version: 1.0\n Content-Type: text/plain; charset=UTF-8\n Content-Transfer-Encoding: 8bit\n +X-Launchpad-Export-Date: 2013-09-01 04:40+\n +X-Generator: Launchpad (build 16750)\n +Language: sr\n #: src/gui.c:57 msgid High Scores @@ -51,11 +53,11 @@ msgstr О програму #: src/gui.c:150 #, c-format msgid -b%s %s/bbrbr%sbrbrPictures derived from Battle For Wesnoth: -brhttp://www.wesnoth.org/br +b%s %s/bbrbr%sbrbrPictures derived from Battle For +Wesnoth:brhttp://www.wesnoth.org/br msgstr -b%s %s/bbrbr%sbrbrСлике су порклом из Боја за Веснот:brhttp://; -www.wesnoth.org/br +b%s %s/bbrbr%sbrbrСлике су порклом из Боја за +Веснот:brhttp://www.wesnoth.org/br #: src/gui.c:370 msgid Refresh @@ -74,27 +76,22 @@ msgid Quit msgstr Напусти #: src/game.c:144 -#, fuzzy, c-format +#, c-format msgid Score: %d -msgstr Достигнућа +msgstr #: src/game.c:151 -#, fuzzy msgid High Score!! -msgstr Најрезултати +msgstr #: src/game.c:159 msgid You win! -msgstr +msgstr Победа! #: src/elemines.h:56 msgid Standard -msgstr +msgstr Уобичајено #: src/elemines.h:57 msgid Custom -msgstr - -#: src/main.c:222 -msgid Level -msgstr +msgstr Прилагођено --
[EGIT] [core/efl] master 02/03: eina - Fix coding style madness.
kuri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1073bfcd44479049facdbbab1efbed26e1f0f7d7 commit 1073bfcd44479049facdbbab1efbed26e1f0f7d7 Author: Guillaume Friloux k...@efl.so Date: Fri Jan 3 19:10:16 2014 +0100 eina - Fix coding style madness. --- src/lib/eina/eina_log.c | 47 --- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index 7459d92..a123a77 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c @@ -1927,30 +1927,31 @@ eina_log_print_cb_journald(const Eina_Log_Domain *d, else { Eina_Strbuf *bts; - char **strings; +char **strings; void *bt[256]; - int btlen; - int i; - - btlen = backtrace((void **)bt, 256); - strings = backtrace_symbols((void **)bt, btlen); - - bts = eina_strbuf_new(); - for (i = 0; i btlen; i++) - if (i + 1 == btlen) - eina_strbuf_append_printf(bts, [%s], strings[i]); - else - eina_strbuf_append_printf(bts, [%s], , strings[i]); - - sd_journal_send_with_location(file, buf, fnc, - PRIORITY=%i, level, - MESSAGE=%s, tmp, - EFL_DOMAIN=%s, d-domain_str, - THREAD=%lu, cur, - BACKTRACE=%s, eina_strbuf_string_get(bts), - NULL); - eina_strbuf_free(bts); - free(strings); +int btlen; +int i; + +btlen = backtrace((void **)bt, 256); +strings = backtrace_symbols((void **)bt, btlen); + +bts = eina_strbuf_new(); +for (i = 0; i btlen; i++) + if (i + 1 == btlen) +eina_strbuf_append_printf(bts, [%s], strings[i]); + else +eina_strbuf_append_printf(bts, [%s], , strings[i]); + +sd_journal_send_with_location(file, buf, fnc, + PRIORITY=%i, level, + MESSAGE=%s, tmp, + EFL_DOMAIN=%s, d-domain_str, + THREAD=%lu, cur, + BACKTRACE=%s, + eina_strbuf_string_get(bts), + NULL); +eina_strbuf_free(bts); +free(strings); } #endif --
[EGIT] [core/efl] master 03/03: eina - Fix compilation warning in eina_log_print_cb_journald.
kuri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ec3d13d6c972448caae42d8da2f7d596d865479f commit ec3d13d6c972448caae42d8da2f7d596d865479f Author: Guillaume Friloux k...@efl.so Date: Fri Jan 3 19:13:30 2014 +0100 eina - Fix compilation warning in eina_log_print_cb_journald. vasprintf can return -1, in which case the buffer is corrupted. So we better handle this ... gcc told me of this thanks to -Wunused-result when building package, thank you gcc for your incredible powers. --- src/lib/eina/eina_log.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index a123a77..c54c3ac 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c @@ -1907,8 +1907,14 @@ eina_log_print_cb_journald(const Eina_Log_Domain *d, char buf[12]; char *tmp; Eina_Thread cur; + int r; - vasprintf(tmp, fmt, args); + r = vasprintf(tmp, fmt, args); + if (r == -1) + { +fputs(ERR: eina_log_print_cb_journald() vasprintf failed\n); +return; + } eina_convert_itoa(line, buf); --
[EGIT] [core/efl] master 01/03: ecore_audio - Fix doxygen command that does not exist.
kuri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=5ad2e0455f3c22437e9b2eed709c48566bdf8a68 commit 5ad2e0455f3c22437e9b2eed709c48566bdf8a68 Author: Guillaume Friloux k...@efl.so Date: Fri Jan 3 19:07:03 2014 +0100 ecore_audio - Fix doxygen command that does not exist. --- src/lib/ecore_audio/ecore_audio_obj_out_pulse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.h b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.h index a031831..667ae56 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.h +++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.h @@ -30,7 +30,7 @@ extern C /** * @defgroup ecore_audio_obj_out_pulse - Ecore_Audio pulseaudio output - * @intogroup Ecore_Audio_Group + * @ingroup Ecore_Audio_Group * @{ */ --
Re: [E-devel] [PATCH] Ecore con fix warning when using udp
On Sat, Jan 4, 2014 at 3:05 AM, Guillaume Friloux guillaume.fril...@gmail.com wrote: On 03/01/2014 17:51, Nicolas Aguirre wrote: This patch fix a problem when using ecore_con with UDP Eina_bin_buf is called without calling eina_binbuf_new, resulting with the following warning : lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !! SPANK SPANK SPANK {F7205} PS : i should be stupid, but i can't connect to phab. So i send the patch here I reproduced bug using attached files, and indeed, this patch solves it. Would be cool to integrate those into ecore_con test suite. -- Cedric BAIL -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [core/efl] master 02/03: eina: fix build break on systemd based system.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=4225ef35e1914429bd6947892154f37965f4b8f5 commit 4225ef35e1914429bd6947892154f37965f4b8f5 Author: Cedric Bail cedric.b...@free.fr Date: Sat Jan 4 11:24:48 2014 +0900 eina: fix build break on systemd based system. --- src/lib/eina/eina_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index c54c3ac..46494d6 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c @@ -1912,7 +1912,7 @@ eina_log_print_cb_journald(const Eina_Log_Domain *d, r = vasprintf(tmp, fmt, args); if (r == -1) { -fputs(ERR: eina_log_print_cb_journald() vasprintf failed\n); +fputs(ERR: eina_log_print_cb_journald() vasprintf failed\n, stderr); return; } --
[EGIT] [core/efl] master 01/03: ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3e302e7e61abe9c2342e3e891e13df599d5c60b5 commit 3e302e7e61abe9c2342e3e891e13df599d5c60b5 Author: Cedric Bail cedric.b...@free.fr Date: Sat Jan 4 11:23:47 2014 +0900 ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break. Thanks to Albin and Debian tools to have spotted that. - cherry-pick me - --- src/Makefile_Ecore_Evas.am | 1 + src/lib/ecore_evas/ecore_evas.c | 5 + src/lib/ecore_evas/ecore_evas_extn.c| 19 +++ src/lib/ecore_evas/ecore_evas_private.h | 3 +++ .../ecore_evas/engines/extn/ecore_evas_extn.c | 21 ++--- 5 files changed, 34 insertions(+), 15 deletions(-) diff --git a/src/Makefile_Ecore_Evas.am b/src/Makefile_Ecore_Evas.am index a6c1f46..d72cd86 100644 --- a/src/Makefile_Ecore_Evas.am +++ b/src/Makefile_Ecore_Evas.am @@ -18,6 +18,7 @@ lib/ecore_evas/ecore_evas_ews.c \ lib/ecore_evas/ecore_evas_module.c \ lib/ecore_evas/ecore_evas_private.h \ lib/ecore_evas/ecore_evas_extn.h \ +lib/ecore_evas/ecore_evas_extn.c \ lib/ecore_evas/ecore_evas_wayland.h \ lib/ecore_evas/ecore_evas_win32.h \ lib/ecore_evas/ecore_evas_x11.h \ diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index ecf4d74..75510ef 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -359,6 +359,8 @@ ecore_evas_init(void) _ecore_evas_ews_events_init(); #endif + _ecore_evas_extn_init(); + _ecore_evas_engine_init(); eina_log_timing(_ecore_evas_log_dom, @@ -398,6 +400,9 @@ ecore_evas_shutdown(void) if (ecore_evas_animator) ecore_animator_del(ecore_evas_animator); ecore_evas_animator = NULL; #endif + + _ecore_evas_extn_shutdown(); + #ifdef BUILD_ECORE_EVAS_EWS while (_ecore_evas_ews_shutdown()); #endif diff --git a/src/lib/ecore_evas/ecore_evas_extn.c b/src/lib/ecore_evas/ecore_evas_extn.c new file mode 100644 index 000..5500f09 --- /dev/null +++ b/src/lib/ecore_evas/ecore_evas_extn.c @@ -0,0 +1,19 @@ +#include Ecore.h +#include Ecore_Evas.h + +EAPI int ECORE_EVAS_EXTN_CLIENT_ADD = 0; +EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0; + +void +_ecore_evas_extn_init(void) +{ + ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new(); + ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new(); +} + +void +_ecore_evas_extn_shutdown(void) +{ + ECORE_EVAS_EXTN_CLIENT_ADD = 0; + ECORE_EVAS_EXTN_CLIENT_DEL = 0; +} diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h index 3158e8a..570f9b0 100644 --- a/src/lib/ecore_evas/ecore_evas_private.h +++ b/src/lib/ecore_evas/ecore_evas_private.h @@ -329,6 +329,9 @@ void _ecore_evas_ews_events_init(void); int _ecore_evas_ews_shutdown(void); #endif +void _ecore_evas_extn_init(void); +void _ecore_evas_extn_shutdown(void); + Eina_Module *_ecore_evas_engine_load(const char *engine); const Eina_List *_ecore_evas_available_engines_get(void); void _ecore_evas_engine_init(void); diff --git a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c index f8ec4bb..9c33ea5 100644 --- a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c +++ b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c @@ -41,23 +41,14 @@ struct _Extn static Eina_List *extn_ee_list = NULL; -EAPI int ECORE_EVAS_EXTN_CLIENT_ADD = 0; -EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0; - -Eina_Bool -_ecore_evas_extn_init(void) +static Eina_Bool +_ecore_evas_extn_module_init(void) { - if (!ECORE_EVAS_EXTN_CLIENT_ADD) - { - ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new(); - ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new(); - } - return EINA_TRUE; } -void -_ecore_evas_extn_shutdown(void) +static void +_ecore_evas_extn_module_shutdown(void) { } @@ -2214,5 +2205,5 @@ _ecore_evas_extn_interface_new(void) return iface; } -EINA_MODULE_INIT(_ecore_evas_extn_init); -EINA_MODULE_SHUTDOWN(_ecore_evas_extn_shutdown); +EINA_MODULE_INIT(_ecore_evas_extn_module_init); +EINA_MODULE_SHUTDOWN(_ecore_evas_extn_module_shutdown); --
[EGIT] [core/efl] master 03/03: eina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier.
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=319766f83759c4199f6e035a705de48d5f9a83c4 commit 319766f83759c4199f6e035a705de48d5f9a83c4 Author: Cedric Bail cedric.b...@free.fr Date: Sat Jan 4 11:25:19 2014 +0900 eina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier. --- src/lib/eina/eina_inline_lock_posix.x | 12 1 file changed, 12 insertions(+) diff --git a/src/lib/eina/eina_inline_lock_posix.x b/src/lib/eina/eina_inline_lock_posix.x index 2e5b038..c42d088 100644 --- a/src/lib/eina/eina_inline_lock_posix.x +++ b/src/lib/eina/eina_inline_lock_posix.x @@ -19,6 +19,12 @@ #ifndef EINA_INLINE_LOCK_POSIX_X_ #define EINA_INLINE_LOCK_POSIX_X_ +#ifdef _XOPEN_SOURCE +# define EINA_XOPEN_SOURCE _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif +#define _XOPEN_SOURCE 600 + #ifdef EINA_HAVE_POSIX_SPINLOCK # include sched.h #endif @@ -650,4 +656,10 @@ eina_spinlock_free(Eina_Spinlock *spinlock) #endif } +#undef _XOPEN_SOURCE +// This is necessary to let third party still define this macro +#ifdef EINA_XOPEN_SOURCE +# define _XOPEN_SOURCE EINA_XOPEN_SOURCE +#endif + #endif --
[EGIT] [core/efl] efl-1.8 01/01: ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break.
cedric pushed a commit to branch efl-1.8. http://git.enlightenment.org/core/efl.git/commit/?id=e1b12968a54e9bbb3ab9603f9510854a363f72f4 commit e1b12968a54e9bbb3ab9603f9510854a363f72f4 Author: Cedric Bail cedric.b...@free.fr Date: Sat Jan 4 11:23:47 2014 +0900 ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break. Thanks to Albin and Debian tools to have spotted that. - cherry-pick me - --- src/Makefile_Ecore_Evas.am | 1 + src/lib/ecore_evas/ecore_evas.c | 4 src/lib/ecore_evas/ecore_evas_extn.c| 19 +++ src/lib/ecore_evas/ecore_evas_private.h | 3 +++ .../ecore_evas/engines/extn/ecore_evas_extn.c | 21 ++--- 5 files changed, 33 insertions(+), 15 deletions(-) diff --git a/src/Makefile_Ecore_Evas.am b/src/Makefile_Ecore_Evas.am index a6c1f46..d72cd86 100644 --- a/src/Makefile_Ecore_Evas.am +++ b/src/Makefile_Ecore_Evas.am @@ -18,6 +18,7 @@ lib/ecore_evas/ecore_evas_ews.c \ lib/ecore_evas/ecore_evas_module.c \ lib/ecore_evas/ecore_evas_private.h \ lib/ecore_evas/ecore_evas_extn.h \ +lib/ecore_evas/ecore_evas_extn.c \ lib/ecore_evas/ecore_evas_wayland.h \ lib/ecore_evas/ecore_evas_win32.h \ lib/ecore_evas/ecore_evas_x11.h \ diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 771e7dc..e7b2023 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -318,6 +318,8 @@ ecore_evas_init(void) _ecore_evas_ews_events_init(); #endif + _ecore_evas_extn_init(); + _ecore_evas_engine_init(); eina_log_timing(_ecore_evas_log_dom, @@ -352,6 +354,8 @@ ecore_evas_shutdown(void) ecore_idle_enterer_del(ecore_evas_idle_enterer); ecore_evas_idle_enterer = NULL; + _ecore_evas_extn_shutdown(); + #ifdef BUILD_ECORE_EVAS_EWS while (_ecore_evas_ews_shutdown()); #endif diff --git a/src/lib/ecore_evas/ecore_evas_extn.c b/src/lib/ecore_evas/ecore_evas_extn.c new file mode 100644 index 000..5500f09 --- /dev/null +++ b/src/lib/ecore_evas/ecore_evas_extn.c @@ -0,0 +1,19 @@ +#include Ecore.h +#include Ecore_Evas.h + +EAPI int ECORE_EVAS_EXTN_CLIENT_ADD = 0; +EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0; + +void +_ecore_evas_extn_init(void) +{ + ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new(); + ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new(); +} + +void +_ecore_evas_extn_shutdown(void) +{ + ECORE_EVAS_EXTN_CLIENT_ADD = 0; + ECORE_EVAS_EXTN_CLIENT_DEL = 0; +} diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h index 46d2316..d1e8d42 100644 --- a/src/lib/ecore_evas/ecore_evas_private.h +++ b/src/lib/ecore_evas/ecore_evas_private.h @@ -329,6 +329,9 @@ void _ecore_evas_ews_events_init(void); int _ecore_evas_ews_shutdown(void); #endif +void _ecore_evas_extn_init(void); +void _ecore_evas_extn_shutdown(void); + Eina_Module *_ecore_evas_engine_load(const char *engine); const Eina_List *_ecore_evas_available_engines_get(void); void _ecore_evas_engine_init(void); diff --git a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c index 66eec8c..b1332b6 100644 --- a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c +++ b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c @@ -43,23 +43,14 @@ struct _Extn static Eina_List *extn_ee_list = NULL; -EAPI int ECORE_EVAS_EXTN_CLIENT_ADD = 0; -EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0; - -Eina_Bool -_ecore_evas_extn_init(void) +static Eina_Bool +_ecore_evas_extn_module_init(void) { - if (!ECORE_EVAS_EXTN_CLIENT_ADD) - { - ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new(); - ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new(); - } - return EINA_TRUE; } -void -_ecore_evas_extn_shutdown(void) +static void +_ecore_evas_extn_module_shutdown(void) { } @@ -2209,5 +2200,5 @@ _ecore_evas_extn_interface_new(void) return iface; } -EINA_MODULE_INIT(_ecore_evas_extn_init); -EINA_MODULE_SHUTDOWN(_ecore_evas_extn_shutdown); +EINA_MODULE_INIT(_ecore_evas_extn_module_init); +EINA_MODULE_SHUTDOWN(_ecore_evas_extn_module_shutdown); --
[EGIT] [core/efl] efl-1.8 01/01: eina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier.
cedric pushed a commit to branch efl-1.8. http://git.enlightenment.org/core/efl.git/commit/?id=fdf3454d9bdc2b0c6f1f9cfc917998e6a12a0240 commit fdf3454d9bdc2b0c6f1f9cfc917998e6a12a0240 Author: Cedric Bail cedric.b...@free.fr Date: Sat Jan 4 11:25:19 2014 +0900 eina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier. --- src/lib/eina/eina_inline_lock_posix.x | 12 1 file changed, 12 insertions(+) diff --git a/src/lib/eina/eina_inline_lock_posix.x b/src/lib/eina/eina_inline_lock_posix.x index 2e5b038..c42d088 100644 --- a/src/lib/eina/eina_inline_lock_posix.x +++ b/src/lib/eina/eina_inline_lock_posix.x @@ -19,6 +19,12 @@ #ifndef EINA_INLINE_LOCK_POSIX_X_ #define EINA_INLINE_LOCK_POSIX_X_ +#ifdef _XOPEN_SOURCE +# define EINA_XOPEN_SOURCE _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif +#define _XOPEN_SOURCE 600 + #ifdef EINA_HAVE_POSIX_SPINLOCK # include sched.h #endif @@ -650,4 +656,10 @@ eina_spinlock_free(Eina_Spinlock *spinlock) #endif } +#undef _XOPEN_SOURCE +// This is necessary to let third party still define this macro +#ifdef EINA_XOPEN_SOURCE +# define _XOPEN_SOURCE EINA_XOPEN_SOURCE +#endif + #endif --
[EGIT] [core/efl] master 01/01: Major cleanup of the Emotion GStreamer 1.x video sink
cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9637c2b835c4b48b84a4509d57c1af19d1b8608f commit 9637c2b835c4b48b84a4509d57c1af19d1b8608f Author: Sebastian Dröge sebast...@centricular.com Date: Sat Jan 4 11:41:37 2014 +0900 Major cleanup of the Emotion GStreamer 1.x video sink Next step: state handling in the GStreamer backend Reviewers: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D431 Signed-off-by: Cedric Bail cedric.b...@free.fr --- src/modules/emotion/gstreamer1/emotion_alloc.c | 30 +- src/modules/emotion/gstreamer1/emotion_gstreamer.c | 241 ++-- src/modules/emotion/gstreamer1/emotion_gstreamer.h | 105 ++-- src/modules/emotion/gstreamer1/emotion_sink.c | 623 ++--- 4 files changed, 421 insertions(+), 578 deletions(-) diff --git a/src/modules/emotion/gstreamer1/emotion_alloc.c b/src/modules/emotion/gstreamer1/emotion_alloc.c index 80d1160..11c2f59 100644 --- a/src/modules/emotion/gstreamer1/emotion_alloc.c +++ b/src/modules/emotion/gstreamer1/emotion_alloc.c @@ -5,23 +5,26 @@ #include emotion_gstreamer.h Emotion_Gstreamer_Buffer * -emotion_gstreamer_buffer_alloc(EvasVideoSinkPrivate *sink, +emotion_gstreamer_buffer_alloc(EmotionVideoSink *sink, GstBuffer *buffer, - Eina_Bool preroll) + GstVideoInfo *info, + Evas_Colorspace eformat, + int eheight, + Evas_Video_Convert_Cb func) { Emotion_Gstreamer_Buffer *send; - if (!sink-ev) return NULL; + if (!sink-priv-emotion_object) return NULL; send = malloc(sizeof (Emotion_Gstreamer_Buffer)); if (!send) return NULL; - send-sink = sink; + send-sink = gst_object_ref(sink); send-frame = gst_buffer_ref(buffer); - send-preroll = preroll; - send-force = EINA_FALSE; - sink-ev-out++; - send-ev = sink-ev; + send-info = *info; + send-eformat = eformat; + send-eheight = eheight; + send-func = func; return send; } @@ -29,14 +32,8 @@ emotion_gstreamer_buffer_alloc(EvasVideoSinkPrivate *sink, void emotion_gstreamer_buffer_free(Emotion_Gstreamer_Buffer *send) { - send-ev-in++; - - if (send-ev-in == send-ev-out -send-ev-threads == NULL -send-ev-delete_me) - send-ev-api-del(send-ev); - - gst_buffer_unref(send-frame); + gst_object_unref(send-sink); + gst_buffer_replace(send-frame, NULL); free(send); } @@ -52,6 +49,7 @@ emotion_gstreamer_message_alloc(Emotion_Gstreamer_Video *ev, if (!send) return NULL; ev-out++; + send-ev = ev; send-msg = gst_message_ref(msg); diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c b/src/modules/emotion/gstreamer1/emotion_gstreamer.c index 759c2d4..06c8b6b 100644 --- a/src/modules/emotion/gstreamer1/emotion_gstreamer.c +++ b/src/modules/emotion/gstreamer1/emotion_gstreamer.c @@ -13,10 +13,14 @@ static int _emotion_init_count = 0; static void _for_each_tag(GstTagList const* list, gchar const* tag, void *data); static void _free_metadata (Emotion_Gstreamer_Metadata *m); +static GstElement * _create_pipeline (Emotion_Gstreamer_Video *ev, Evas_Object *o, const char *uri); + static GstBusSyncReply _eos_sync_fct(GstBus *bus, GstMessage *message, gpointer data); +static Eina_Bool _emotion_gstreamer_video_pipeline_parse(Emotion_Gstreamer_Video *ev, Eina_Bool force); + /* Module interface */ static const char * @@ -70,12 +74,6 @@ emotion_visualization_element_name_get(Emotion_Vis visualisation) static void em_cleanup(Emotion_Gstreamer_Video *ev) { - if (ev-send) - { -emotion_gstreamer_buffer_free(ev-send); -ev-send = NULL; - } - if (ev-eos_bus) { gst_object_unref(GST_OBJECT(ev-eos_bus)); @@ -88,25 +86,10 @@ em_cleanup(Emotion_Gstreamer_Video *ev) ev-metadata = NULL; } - if (ev-last_buffer) - { -gst_buffer_unref(ev-last_buffer); -ev-last_buffer = NULL; - } - - if (!ev-stream) - { -evas_object_image_video_surface_set(emotion_object_image_get(ev-obj), NULL); -ev-stream = EINA_TRUE; - } - if (ev-pipeline) { - gstreamer_video_sink_new(ev, ev-obj, NULL); - - g_object_set(G_OBJECT(ev-esink), ev, NULL, NULL); - g_object_set(G_OBJECT(ev-esink), evas-object, NULL, NULL); gst_element_set_state(ev-pipeline, GST_STATE_NULL); + g_object_set(G_OBJECT(ev-esink), emotion-object, NULL, NULL); gst_object_unref(ev-pipeline); ev-pipeline = NULL; @@ -178,7 +161,7 @@ em_file_open(void *video, uri = sbuf ? eina_strbuf_string_get(sbuf) : file; DBG(setting file to '%s', uri); - ev-pipeline = gstreamer_video_sink_new(ev, ev-obj, uri); +
[EGIT] [core/efl] master 01/01: ecore_imf_example: remove wrong implementation code.
jihoon pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b879e3dcc6a4890961e6ef397c0d4ac73ee90baf commit b879e3dcc6a4890961e6ef397c0d4ac73ee90baf Author: Jihoon Kim jihoon48@samsung.com Date: Sat Jan 4 14:23:38 2014 +0900 ecore_imf_example: remove wrong implementation code. Enter or Escape key should be processed by input method framework. Editor should not call ecore_imf_context_reset by itself. --- src/examples/ecore/ecore_imf_example.c | 4 1 file changed, 4 deletions(-) diff --git a/src/examples/ecore/ecore_imf_example.c b/src/examples/ecore/ecore_imf_example.c index 73bf4fd..14c3b87 100644 --- a/src/examples/ecore/ecore_imf_example.c +++ b/src/examples/ecore/ecore_imf_example.c @@ -366,10 +366,6 @@ _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) alt = evas_key_modifier_is_set(ev-modifiers, Alt); shift = evas_key_modifier_is_set(ev-modifiers, Shift); - if ((!strcmp(ev-keyname, Escape)) || - (!strcmp(ev-keyname, Return)) || (!strcmp(ev-keyname, KP_Enter))) - ecore_imf_context_reset(en-imf_context); - if (!strcmp(ev-key, BackSpace)) { if (evas_textblock_cursor_char_prev(en-cursor)) --
[EGIT] [core/efl] efl-1.8 01/01: ecore_imf_example: remove wrong implementation code.
jihoon pushed a commit to branch efl-1.8. http://git.enlightenment.org/core/efl.git/commit/?id=989c862f6357e8dd11f2cb129b4ac10baa63b521 commit 989c862f6357e8dd11f2cb129b4ac10baa63b521 Author: Jihoon Kim jihoon48@samsung.com Date: Sat Jan 4 14:23:38 2014 +0900 ecore_imf_example: remove wrong implementation code. Enter or Escape key should be processed by input method framework. Editor should not call ecore_imf_context_reset by itself. --- src/examples/ecore/ecore_imf_example.c | 4 1 file changed, 4 deletions(-) diff --git a/src/examples/ecore/ecore_imf_example.c b/src/examples/ecore/ecore_imf_example.c index 73bf4fd..14c3b87 100644 --- a/src/examples/ecore/ecore_imf_example.c +++ b/src/examples/ecore/ecore_imf_example.c @@ -366,10 +366,6 @@ _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) alt = evas_key_modifier_is_set(ev-modifiers, Alt); shift = evas_key_modifier_is_set(ev-modifiers, Shift); - if ((!strcmp(ev-keyname, Escape)) || - (!strcmp(ev-keyname, Return)) || (!strcmp(ev-keyname, KP_Enter))) - ecore_imf_context_reset(en-imf_context); - if (!strcmp(ev-key, BackSpace)) { if (evas_textblock_cursor_char_prev(en-cursor)) --