[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] =?utf-8?q?=5BEGIT=5D_=5Bcore/elementary=5D_elementary-1?=
From:       ChunEon Park <hermet () naver ! com>
Date:       2014-04-29 12:21:59
Message-ID: 1cb5891ce2167f291a7e1b5d6a426673 () cweb15 ! nm ! nhnsystem ! com
[Download RAW message or body]

It was happened while i tryed resolving merge conflict. 
Fixed. Thank you.

------------------------------------
-Regards, Hermet-

-----Original Message-----
From: "Stefan Schmidt"<stefan@datenfreihafen.org> 
To: "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; 
Cc: 
Sent: 2014-04-29 (화) 17:42:29
Subject: Re: [E-devel] [EGIT] [core/elementary] elementary-1.9 01/01: spinner: fixed \
odd behavior of the spinner

Hello.

On Wed, 2014-04-16 at 20:02, Jaeun Choi wrote:
> hermet pushed a commit to branch elementary-1.9.
> 
> http://git.enlightenment.org/core/elementary.git/commit/?id=c3413c3387dd71f34e9453f1af39cc557ab594a6
>  
> commit c3413c3387dd71f34e9453f1af39cc557ab594a6
> Author: Jaeun Choi <jaeun12.choi>@samsung.com>
> Date:   Thu Apr 17 11:51:47 2014 +0900
> 
> spinner: fixed odd behavior of the spinner
> 
> Summary:
> when multiple key down is coming while increase/decrease the spinner values,
> the speed acceleration will be reset by the new key down.
> 
> Instead, it stops the increase/decrease the spinner values behavior.
> 
> @fix
> 
> Test Plan: None
> 
> Reviewers: Hermet, raster
> 
> CC: seoz
> 
> Differential Revision: https://phab.enlightenment.org/D749
> 
> Conflicts:
> 
> src/lib/elm_spinner.c
> ---
> src/lib/elm_spinner.c  17 +++++------------
> 1 file changed, 5 insertions(+), 12 deletions(-)
> 
> diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
> index 2f62fff..8d89535 100644
> --- a/src/lib/elm_spinner.c
> +++ b/src/lib/elm_spinner.c
> @@ -508,22 +508,15 @@ _elm_spinner_smart_event(Eo *obj, void *_pd EINA_UNUSED, \
> va_list *list) (!strcmp(ev->key, "KP_Enter")) 
> (!strcmp(ev->key, "space")))
> {
> -             _entry_toggle_cb(NULL, obj, NULL, NULL);
> +             if (sd->spin_timer) _val_dec_stop(obj);
> +             else _entry_toggle_cb(NULL, obj, NULL, NULL);
> }
> +        else if (sd->spin_timer) _val_dec_stop(obj);
> }
> else if (type == EVAS_CALLBACK_KEY_UP)
> {
> -        if (!strcmp(ev->key, "Right") 
> -            ((!strcmp(ev->key, "KP_Right")) && (!ev->string)) 
> -            !strcmp(ev->key, "Up") 
> -            ((!strcmp(ev->key, "KP_Up")) && (!ev->string)))
> -          _val_inc_stop(obj);
> -        else if (!strcmp(ev->key, "Left") 
> -                 ((!strcmp(ev->key, "KP_Left")) && (!ev->string)) 
> -                 !strcmp(ev->key, "Down") 
> -                 ((!strcmp(ev->key, "KP_Down")) && (!ev->string)))
> -          _val_dec_stop(obj);
> -        else return;
> +        if (sd->spin_timer) _val_dec_stop(obj);
> +        else return EINA_FALSE;

This seems wrongly backported. In the 1.9 branch this function has a a
void return type thus EINA_FALSE makes no sense. There is even a
warning for it.

While git HEAD has Eina_Bool as return type. I don't want to blindly
change this return but instead letting the person who did the backport
having a look.

regards
Stefan Schmidt

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic