Re: [E-devel] Questions concerning state and progress on internationalization
On Mon, 10 Jan 2011 17:45:53 +1000 David Seikel said: > On Sun, 09 Jan 2011 23:18:15 +0100 Fabian Nowak > wrote: > > > Hey all, > > > > when updating some German translation of e17 trunk, I noticed that > > many components still lack i18n. So I started updating many of them > > and successfully introduced translations as I could verify on my > > computer. > > > > As you may know, translations are an important step for software to be > > spread and thereby debugged, tested, helped, enhanced and commented on > > by a wide range of people from everywhere over the world. > > > > However, many questions have come up: > > > > 1. Why is gettext 0.14 used? 0.18 (and later?) does already exist. > > (component e even uses 0.12.1) > > "version X already exists" is a poor reason to use version X. We > should generally choose to use the latest version that is being used by > the most people. Choosing the very latests, bleeding edge, was just > released this morning version simply because it exists means that our > software just wont work for most people. We can't expect ordinary > users to grab the latest version. We should NOT be expecting even our > developers to grab the latest versions. People stick with the stable > versions of their distributions for good reasons. > > I know, I say this all the time, and people don't listen. :-P i do. i already am there. i'm always on some older stable release of something :) only rarely do i concede the need for some new bleeding :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Recent(-ish) changes to elm genlist? "elm.swallow.icon"
On Mon, 10 Jan 2011 18:29:31 +1100 Brett Nash said: > > > > > > if (strcmp("elm.swallow.end",part)) != 0) return NULL; > > > > > > o = elm_label_add(obj); > > > elm_label_label_set(o, calculated_value(yadda, yadda)); > > > evas_object_show(o); > > > return o; > > > > > > This used to work, but with a recent update it stopped working. > > > > > > Anyone have any ideas what I need to do to make it work, or an alternate > > > suggestion to make the equivalent work? > > > > well i just tested genlist - put a different icon in elm.swallow.end vs > > elm/swallow.icon - works. 2 different icons. printf tells me it's calling > > it for both positions. i can't reproduce your issue here :( > > Did you try it for an elm label? > > Icons work for me too. > > .. Just not an elm_label(). is it complaining on stdout/err about not being able to calc a min size? :) as such sticking a label in an icon is a bit odd because you already have labels i the item itself, but the problem probably is a min size calc thing and may require special care that happened to work before by luck and not by design : ( i know i dont intend labels to work "by design" due to their nature (height is dependant on width thus u cant calc a min width AND height without first fixing width). -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] elc_ctxpopup
On Fri, 07 Jan 2011 17:50:14 +0900 ChunEon Park said: in svn - good, except for a small formattring issue. a if() (with no space after if). i fixed it along the way :) > Hi, this is Hermet. > > Here code is for the ctxpopup. > > Since the functionalities of ctxpopup are somewhat different, > I'm trying to overwrite the ctxpopup code entirely first. > > The main reason is, > Original ctxpopup could determine it's size and position by itself. > Of course, upstreamed version supports this. But it can not be reduced it's > size > And it supposes the arrow position to center of box edje. > > Basically, > This version calculates it's box size first then find available space from > the it's position. > The origin position of the box is not expected, it finds the available > positions. > But if there is not enough space to be shown, then it finds a best direction > to be shown again. > In this case, it reduces it's size also as to be shown entirely. > Since the ctxpopup supports scroller, the reduced box could show the all > items also. > (The point is ctxpopup should know the size of total items...) > > I'm not sure the upstreamed version could cover the above scenario, > If then, I need to modify it first. > > Or not, please review this code. It should have a review definitely. > > Thanks. > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Recent(-ish) changes to elm genlist? "elm.swallow.icon"
hi Raster, is that related to below codes in "elm.swallow.end"? aspect: 1.0 1.0; aspect_preference: VERTICAL; Nash told that label in "elm.swallow.icon" works. Thanks. Daniel Juyung Seo (SeoZ) On Mon, Jan 10, 2011 at 6:04 PM, Carsten Haitzler wrote: > On Mon, 10 Jan 2011 18:29:31 +1100 Brett Nash said: > >> > > >> > > if (strcmp("elm.swallow.end",part)) != 0) return NULL; >> > > >> > > o = elm_label_add(obj); >> > > elm_label_label_set(o, calculated_value(yadda, yadda)); >> > > evas_object_show(o); >> > > return o; >> > > >> > > This used to work, but with a recent update it stopped working. >> > > >> > > Anyone have any ideas what I need to do to make it work, or an alternate >> > > suggestion to make the equivalent work? >> > >> > well i just tested genlist - put a different icon in elm.swallow.end vs >> > elm/swallow.icon - works. 2 different icons. printf tells me it's calling >> > it for both positions. i can't reproduce your issue here :( >> >> Did you try it for an elm label? >> >> Icons work for me too. >> >> .. Just not an elm_label(). > > is it complaining on stdout/err about not being able to calc a min size? :) as > such sticking a label in an icon is a bit odd because you already have labels > i > the item itself, but the problem probably is a min size calc thing and may > require special care that happened to work before by luck and not by design : > ( i know i dont intend labels to work "by design" due to their nature (height > is dependant on width thus u cant calc a min width AND height without first > fixing width). > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > -- > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Recent(-ish) changes to elm genlist? "elm.swallow.icon"
On Mon, 10 Jan 2011 18:23:18 +0900 Daniel Juyung Seo said: > hi Raster, > is that related to below codes in "elm.swallow.end"? > aspect: 1.0 1.0; > aspect_preference: VERTICAL; > > Nash told that label in "elm.swallow.icon" works. > Thanks. that forces it to have a 1:1 aspect ratio with the vertical axis being the controlling/preferred axis - ie width adjusts based on hight with the 1:1 aspect > Daniel Juyung Seo (SeoZ) > > > On Mon, Jan 10, 2011 at 6:04 PM, Carsten Haitzler > wrote: > > On Mon, 10 Jan 2011 18:29:31 +1100 Brett Nash said: > > > >> > > > >> > > if (strcmp("elm.swallow.end",part)) != 0) return NULL; > >> > > > >> > > o = elm_label_add(obj); > >> > > elm_label_label_set(o, calculated_value(yadda, yadda)); > >> > > evas_object_show(o); > >> > > return o; > >> > > > >> > > This used to work, but with a recent update it stopped working. > >> > > > >> > > Anyone have any ideas what I need to do to make it work, or an > >> > > alternate suggestion to make the equivalent work? > >> > > >> > well i just tested genlist - put a different icon in elm.swallow.end vs > >> > elm/swallow.icon - works. 2 different icons. printf tells me it's > >> > calling it for both positions. i can't reproduce your issue here :( > >> > >> Did you try it for an elm label? > >> > >> Icons work for me too. > >> > >> .. Just not an elm_label(). > > > > is it complaining on stdout/err about not being able to calc a min size? :) > > as such sticking a label in an icon is a bit odd because you already have > > labels i the item itself, but the problem probably is a min size calc thing > > and may require special care that happened to work before by luck and not > > by design : ( i know i dont intend labels to work "by design" due to their > > nature (height is dependant on width thus u cant calc a min width AND > > height without first fixing width). > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > > > > -- > > Gaining the trust of online customers is vital for the success of any > > company that requires sensitive data to be transmitted over the Web. > > Learn how to best implement a security strategy that keeps consumers' > > information secure and instills the confidence they need to proceed with > > transactions. http://p.sf.net/sfu/oracle-sfdevnl > > ___ > > 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 -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
On Mon, 10 Jan 2011 15:45:28 +0900 sangho park said: is it "download" or "downloading"... or should it maybe be changed to "downloaded" (like clicked). in your code you use both downloading and downloaded. test uses downloading. so which is it? :) > Dear all, > > This is a patch for elm_map downloading progress info. > > I added one new signal, one new API and fixed seg fault bug. > > - signal : "download" (this signal is called when map_tile is downloaded) > - API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int > *try_num, int *finish_num) > - seg fault : if user select custom map provider, seg fault occurs, because > there is no url_cb in the custom map provider > > you can check download progress using these signal & API. > the example is in "test_map.c". > > thanks. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] [ecore_con_url] Add CA validation control with SSL connections
On Fri, 31 Dec 2010 08:18:40 +0100 PnB said: > Le 30/12/2010 22:10, Vincent Torri a écrit : > > http://en.wikipedia.org/wiki/Software_release_life_cycle#Beta > > http://en.wikipedia.org/wiki/Feature_complete > > > > so: > > > > * testing > > * bug fixing > > > > anything else is postponed after the release. > > Thanks for the clarification. I'll wait then. please don't forget to remind us post 1.0 in case we forget to follow this up :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
On 01/10/2011 03:45 PM, sangho park wrote: > I added one new signal, one new API and fixed seg fault bug. Separate changes are better submitted (and committed) as separate patches. This way, rollbacks only affect bad changes, reviewing changes is easier, some patches can be applied while you rework others, etc. thanks, Mike -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
On Mon, 10 Jan 2011 18:59:38 +0900 Mike McCormack said: > > On 01/10/2011 03:45 PM, sangho park wrote: > > > I added one new signal, one new API and fixed seg fault bug. > > Separate changes are better submitted (and committed) as separate patches. > > This way, rollbacks only affect bad changes, reviewing changes is easier, > some patches can be applied while you rework others, etc. > > thanks, that too :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
It's nice to see people working on elm map. It a very usefull widget but I do not have the time to complete it. 2011/1/10 Carsten Haitzler > On Mon, 10 Jan 2011 18:59:38 +0900 Mike McCormack < > mj.mccorm...@samsung.com> > said: > > > > > On 01/10/2011 03:45 PM, sangho park wrote: > > > > > I added one new signal, one new API and fixed seg fault bug. > > > > Separate changes are better submitted (and committed) as separate > patches. > > > > This way, rollbacks only affect bad changes, reviewing changes is easier, > > some patches can be applied while you rework others, etc. > > > > thanks, > > that too :) > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > -- > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Regards. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
On Mon, 10 Jan 2011 10:55:59 +0100 Atton Jonathan said: thats the point of open source. you did the big initial work of getting it up and showing that it (can) work. making it partly useful - or mostly. now people see more they can do with it - extend and embrace and improve.. and .. so things get better. :) you see your initial baby grow and become more with other people's help. > It's nice to see people working on elm map. It a very usefull widget but I > do not have the time to complete it. > > 2011/1/10 Carsten Haitzler > > > On Mon, 10 Jan 2011 18:59:38 +0900 Mike McCormack < > > mj.mccorm...@samsung.com> > > said: > > > > > > > > On 01/10/2011 03:45 PM, sangho park wrote: > > > > > > > I added one new signal, one new API and fixed seg fault bug. > > > > > > Separate changes are better submitted (and committed) as separate > > patches. > > > > > > This way, rollbacks only affect bad changes, reviewing changes is easier, > > > some patches can be applied while you rework others, etc. > > > > > > thanks, > > > > that too :) > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > > > > > -- > > Gaining the trust of online customers is vital for the success of any > > company > > that requires sensitive data to be transmitted over the Web. Learn how to > > best implement a security strategy that keeps consumers' information secure > > and instills the confidence they need to proceed with transactions. > > http://p.sf.net/sfu/oracle-sfdevnl > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > -- > Regards. > -- > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > ___ > 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 -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Recent(-ish) changes to elm genlist? "elm.swallow.icon"
On Mon, 10 Jan 2011 20:49:05 +1100 Brett Nash said: > > > On 10/01/2011, at 8:04 PM, Carsten Haitzler (The Rasterman) > wrote: > > > On Mon, 10 Jan 2011 18:29:31 +1100 Brett Nash said: > > > > if (strcmp("elm.swallow.end",part)) != 0) return NULL; > > o = elm_label_add(obj); > elm_label_label_set(o, calculated_value(yadda, yadda)); > evas_object_show(o); > return o; > > This used to work, but with a recent update it stopped working. > > Anyone have any ideas what I need to do to make it work, or an alternate > suggestion to make the equivalent work? > >>> > >>> well i just tested genlist - put a different icon in elm.swallow.end vs > >>> elm/swallow.icon - works. 2 different icons. printf tells me it's calling > >>> it for both positions. i can't reproduce your issue here :( > >> > >> Did you try it for an elm label? > >> > >> Icons work for me too. > >> > >> .. Just not an elm_label(). > > > > is it complaining on stdout/err about not being able to calc a min size? :) > > Nope. Nothing on stout except my debug to check the call. > > as > > such sticking a label in an icon is a bit odd because you already have > > labels i the item itself, but the problem probably is a min size calc thing > > and may require special care that happened to work before by luck and not > > by design : ( i know i dont intend labels to work "by design" due to their > > nature (height is dependant on width thus u cant calc a min width AND > > height without first fixing width). > > Well basically I want a pretty standard list of left aligned labels with some > right aligned values. So if you have a suggestion I'd be happy to hear it. > The values are all in the range 5-20 letters and are numeric (so should be > right aligned). there's a dual label item style already - but its a big label plus a smaller one one above the other. you are in need of that - but just re-arranging them to be left and right. create a new item style and provide it for all to use in the default theme! :) then when other people need the same thing.. they share! :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] elm_transit
Dear All. Here is elm_transit patches. 001_elm_transit.txt Added elm_transit_pause, elm_transit_resume, elm_transit_progress_value_get 002_elm_transit.txt fixed customized transit sample error. Check it then apply it please. Thanks. Best Regards Hermet Index: src/lib/elm_transit.c === --- src/lib/elm_transit.c (revision 56024) +++ src/lib/elm_transit.c (working copy) @@ -66,6 +66,8 @@ void *arg; } del_data; struct { + double delayed; + double paused; double duration; double begin; double current; @@ -75,6 +77,7 @@ int current; Eina_Bool reverse; } repeat; + double progress; unsigned int effects_pending_del; int walking; Eina_Bool auto_reverse : 1; @@ -155,12 +158,13 @@ { Eina_List *elist, *elist_next; Elm_Transit_Effect *effect; - + + if(transit->animator) + ecore_animator_del(transit->animator); + if (transit->del_data.func) transit->del_data.func(transit->del_data.arg, transit); - - ecore_animator_del(transit->animator); - + EINA_LIST_FOREACH_SAFE(transit->effect_list, elist, elist_next, effect) _elm_transit_effect_del(transit, effect, elist); @@ -196,38 +200,39 @@ _animator_animate_cb(void *data) { Elm_Transit *transit = data; - double elapsed_time, progress; - + double elapsed_time, duration; + transit->time.current = ecore_loop_time_get(); elapsed_time = transit->time.current - transit->time.begin; - - if (elapsed_time > transit->time.duration) - elapsed_time = transit->time.duration; - - progress = elapsed_time / transit->time.duration; + duration = transit->time.duration + transit->time.delayed; + + if (elapsed_time > duration) + elapsed_time = duration; + + transit->progress = elapsed_time / duration; switch (transit->tween_mode) { case ELM_TRANSIT_TWEEN_MODE_ACCELERATE: -progress = 1.0 - sin((ELM_PI / 2.0) + (progress * ELM_PI / 2.0)); +transit->progress = 1.0 - sin((ELM_PI / 2.0) + (transit->progress * ELM_PI / 2.0)); break; case ELM_TRANSIT_TWEEN_MODE_DECELERATE: -progress = sin(progress * ELM_PI / 2.0); +transit->progress = sin(transit->progress * ELM_PI / 2.0); break; case ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL: -progress = (1.0 - cos(progress * ELM_PI)) / 2.0; +transit->progress = (1.0 - cos(transit->progress * ELM_PI)) / 2.0; break; default: break; } /* Reverse? */ - if (transit->repeat.reverse) progress = 1 - progress; + if (transit->repeat.reverse) transit->progress = 1 - transit->progress; - if (transit->time.duration > 0) _transit_animate_op(transit, progress); + if (transit->time.duration > 0) _transit_animate_op(transit, transit->progress); /* Not end. Keep going. */ - if (elapsed_time < transit->time.duration) return ECORE_CALLBACK_RENEW; - + if (elapsed_time < duration) return ECORE_CALLBACK_RENEW; + /* Repeat and reverse and time done! */ if ((transit->repeat.current == transit->repeat.count) && (!transit->auto_reverse || transit->repeat.reverse)) @@ -794,6 +799,74 @@ transit->animator = ecore_animator_add(_animator_animate_cb, transit); } +/** + * Pause the transition. + * If you call elm_transit_go again, this pause will affect no anymore. + * + * @note @p transit can not be NULL + * + * @see elm_transit_resume() + * + * @param transit The transit object. + * + * @ingroup Transit + */ +EAPI void +elm_transit_pause(Elm_Transit *transit) +{ + ELM_TRANSIT_CHECK_OR_RETURN(transit); + + if ((!transit->animator) || (transit->time.paused > 0)) + return; + + ecore_animator_freeze(transit->animator); + transit->time.paused = ecore_loop_time_get(); +} + +/** + * Resume the transition. + * + * @note @p transit can not be NULL + * + * @see elm_transit_pause() + * + * @param transit The transit object. + * + * @ingroup Transit + */ +EAPI void +elm_transit_resume(Elm_Transit *transit) +{ + ELM_TRANSIT_CHECK_OR_RETURN(transit); + + if ((!transit->animator) || (transit->time.paused == 0)) + return; + + ecore_animator_thaw(transit->animator); + transit->time.delayed += (ecore_loop_time_get() - transit->time.paused); + transit->time.paused = 0; +} + +/** + * Get the time progression of the animation (a double value between 0.0 and 1.0). + * If the transit is not running, it will return -1. + * + * @note @p transit can not be NULL + * + * @param transit The transit object. + * + * @return The time progression value. + * + * @ingroup Transit + */ +EAPI double +elm_transit_progress_value_get(Elm_Transit *transit) +{ + ELM_TRANSIT_CHECK_OR_RETURN(transit); + + return transit->progress; +} + /// //Resizing FX ///
Re: [E-devel] questions about animations with edje
On Mon, Jan 10, 2011 at 4:27 AM, Vincent Torri wrote: > > Hey > > for the shoot'm up i'm writing, i would like to have some animations > (explosions, power ups, ...). I have 2 questions about these animations: > > 1) For explosions, it's just a sequence of images and the animation > finishes when the last image is reached. I used tween images like that: > > group { > name: "explosion1"; > images { > image: "explode1_1.png" COMP; > image: "explode1_2.png" COMP; > image: "explode1_3.png" COMP; > image: "explode1_4.png" COMP; > image: "explode1_5.png" COMP; > image: "explode1_6.png" COMP; > image: "explode1_7.png" COMP; > image: "explode1_8.png" COMP; > } > min: 49 49; > max: 49 49; > parts { > part { > name: "explosion1"; > type: IMAGE; > mouse_events: 0; > description { > state: "default" 0.0; > visible: 0; > aspect: 1.0 1.0; > color: 0 0 0 0; > image { > tween: "explode1_1.png"; > tween: "explode1_2.png"; > tween: "explode1_3.png"; > tween: "explode1_4.png"; > tween: "explode1_5.png"; > tween: "explode1_6.png"; > tween: "explode1_7.png"; > normal: "explode1_8.png"; > } > } > description { > state: "explode" 0.0; > inherit: "default" 0.0; > visible: 1; > color: 255 255 255 255; > } > } > } > program { > name: "start_explosion"; > signal: "start"; > action: STATE_SET "explode" 0.0; > transition: LINEAR 0.5; > target: "explosion1"; > after: "end_explosion"; > } > program { > name: "end_explosion"; > action: SIGNAL_EMIT "end_explosion" ""; > } > } > > > Images #1 to #7 are the animation and image #8 is an empty. #8 is > 'normal', hence the sequence of the animation is: > > #8 #1 #2 #7 #8 > > The problem is that the is a delay at the beginning of the animation > (which is the display of the image #8 the first time). raster told me to > add another state, but i don't know what i have to do. Does someone know > what what i have to add ? Do you know why is it delaying ? Is it taking too much time to load images ? Maybe can you preload this image ? > > 2) For power ups, ennemies, etc..., the animation is infinite. It's the > same than explosions except that it does not end. If there are 4 images > for the animation, the sequence is > > #1 #2 #3 #4 #1 #2 #3 #4 #1 #2 etc... > > I just have no idea on how to achive that with edje (maybe using embryo > ?). Maybe just setting the program to run after itself. In your explosion example, program { name: "start_explosion"; signal: "start"; action: STATE_SET "explode" 0.0; transition: LINEAR 0.5; target: "explosion1"; after: "start_explosion"; } Give it a try and give us feedback if it works =) > > thanks > > Vincent > > PS: the ultimate goal : Ikaruga (look at videos on youtube) :) heheh, amazing. Regards > > -- > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] questions about animations with edje
It is delaying because : - the first image is empty - the transition set to the program is apply for each image. - consequently edje wait a time before the second image is displayed. Thi first image has to be empty because this is also the last image. 2011/1/10 Bruno Dilly > On Mon, Jan 10, 2011 at 4:27 AM, Vincent Torri > wrote: > > > > Hey > > > > for the shoot'm up i'm writing, i would like to have some animations > > (explosions, power ups, ...). I have 2 questions about these animations: > > > > 1) For explosions, it's just a sequence of images and the animation > > finishes when the last image is reached. I used tween images like that: > > > >group { > > name: "explosion1"; > > images { > > image: "explode1_1.png" COMP; > > image: "explode1_2.png" COMP; > > image: "explode1_3.png" COMP; > > image: "explode1_4.png" COMP; > > image: "explode1_5.png" COMP; > > image: "explode1_6.png" COMP; > > image: "explode1_7.png" COMP; > > image: "explode1_8.png" COMP; > > } > > min: 49 49; > > max: 49 49; > > parts { > > part { > > name: "explosion1"; > > type: IMAGE; > > mouse_events: 0; > > description { > >state: "default" 0.0; > >visible: 0; > >aspect: 1.0 1.0; > >color: 0 0 0 0; > >image { > > tween: "explode1_1.png"; > > tween: "explode1_2.png"; > > tween: "explode1_3.png"; > > tween: "explode1_4.png"; > > tween: "explode1_5.png"; > > tween: "explode1_6.png"; > > tween: "explode1_7.png"; > > normal: "explode1_8.png"; > >} > > } > > description { > >state: "explode" 0.0; > >inherit: "default" 0.0; > >visible: 1; > >color: 255 255 255 255; > > } > > } > > } > > program { > > name: "start_explosion"; > > signal: "start"; > > action: STATE_SET "explode" 0.0; > > transition: LINEAR 0.5; > > target: "explosion1"; > > after: "end_explosion"; > > } > > program { > > name: "end_explosion"; > > action: SIGNAL_EMIT "end_explosion" ""; > > } > >} > > > > > > Images #1 to #7 are the animation and image #8 is an empty. #8 is > > 'normal', hence the sequence of the animation is: > > > > #8 #1 #2 #7 #8 > > > > The problem is that the is a delay at the beginning of the animation > > (which is the display of the image #8 the first time). raster told me to > > add another state, but i don't know what i have to do. Does someone know > > what what i have to add ? > > Do you know why is it delaying ? Is it taking too much time to load images > ? > Maybe can you preload this image ? > > > > > 2) For power ups, ennemies, etc..., the animation is infinite. It's the > > same than explosions except that it does not end. If there are 4 images > > for the animation, the sequence is > > > > #1 #2 #3 #4 #1 #2 #3 #4 #1 #2 etc... > > > > I just have no idea on how to achive that with edje (maybe using embryo > > ?). > > Maybe just setting the program to run after itself. In your explosion > example, > > program { > name: "start_explosion"; > signal: "start"; > action: STATE_SET "explode" 0.0; > transition: LINEAR 0.5; > target: "explosion1"; > after: "start_explosion"; > } > > Give it a try and give us feedback if it works =) > > > > > thanks > > > > Vincent > > > > PS: the ultimate goal : Ikaruga (look at videos on youtube) :) > > heheh, amazing. > > Regards > > > > > > -- > > Gaining the trust of online customers is vital for the success of any > company > > that requires sensitive data to be transmitted over the Web. Learn how > to > > best implement a security strategy that keeps consumers' information > secure > > and instills the confidence they need to proceed with transactions. > > http://p.sf.net/sfu/oracle-sfdevnl > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > __
[E-devel] The documentation is not working on IE
The documentations is not working on IE 7. An exemple : http://docs.enlightenment.org/auto/eina/ -- Regards. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] questions about animations with edje
On Mon, 10 Jan 2011, Bruno Dilly wrote: > On Mon, Jan 10, 2011 at 4:27 AM, Vincent Torri wrote: >> >> Hey >> >> for the shoot'm up i'm writing, i would like to have some animations >> (explosions, power ups, ...). I have 2 questions about these animations: >> >> 2) For power ups, ennemies, etc..., the animation is infinite. It's the >> same than explosions except that it does not end. If there are 4 images >> for the animation, the sequence is >> >> #1 #2 #3 #4 #1 #2 #3 #4 #1 #2 etc... >> >> I just have no idea on how to achive that with edje (maybe using embryo >> ?). > > Maybe just setting the program to run after itself. In your explosion example, > > program { > name: "start_explosion"; > signal: "start"; > action: STATE_SET "explode" 0.0; > transition: LINEAR 0.5; > target: "explosion1"; > after: "start_explosion"; > } > > Give it a try and give us feedback if it works =) indeed, it works, thanks :) I paste below the part of the theme, maybe someone (watchwolf ?) will do a small tuto with that Vincent group { name: "crystal1"; images { image: "crystal1_1.png" COMP; image: "crystal1_2.png" COMP; image: "crystal1_3.png" COMP; image: "crystal1_4.png" COMP; image: "crystal1_5.png" COMP; image: "crystal1_6.png" COMP; image: "crystal1_7.png" COMP; image: "crystal1_8.png" COMP; } min: 25 25; max: 50 50; parts { part { name: "crystal1"; type: IMAGE; mouse_events: 0; description { state: "default" 0.0; visible: 0; aspect: 1.0 1.0; image { normal: "crystal1_1.png"; tween: "crystal1_2.png"; tween: "crystal1_3.png"; tween: "crystal1_4.png"; tween: "crystal1_5.png"; tween: "crystal1_6.png"; tween: "crystal1_7.png"; tween: "crystal1_8.png"; } } description { state: "rotate" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } } program { name: "start_crystal1"; signal: "start"; action: STATE_SET "rotate" 0.0; transition: LINEAR 0.5; target: "crystal1"; after: "start_crystal1"; } } -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] another crazy idea from the crazy idea guy
I'm really interested in the network mount, to use in a mediacenter I'm writing. I will wait the release of eeze 1.1 to try it 'couse I have no time at the moment, and because my app is written in python and so I will also need to write eeze python bindings... Please keep up this great work :) I will also use eeze in the Places module as soon as you relese the 1.1 DaveMDS Il giorno sabato 25 dicembre 2010, Mike Blumenkrantz ha scritto: > Over the next week I'll finally get around to finishing the implementation > of eeze mount support (from the 1.1 branch) in e17 that I've been working on > irregularly for some time. Given that eeze mounting is quite a bit more > flexible than the mount functionality of other desktops, this gives us some > potentially interesting options that I'd like to guage interest in: > > *network fs mounting (FUSE/NFS/etc) > *other partition mounting (ie. anything not currently mounted) > *disk image mounting > > Eeze 1.1 already supports all of the above through currently existing api > calls, > and so if these are features that we are interested in then I am willing to > write all of the necessary backend eeze code to make it work. What I would > need, however, is someone who knows the E widget api and whatnot to create the > gui (can be done however you like, I can even write the eeze code to your > specifications) since I have no knowledge of it and no desire to learn it at > this moment. > > Some other possibly interesting features to consider/comment on based on eeze > 1.1 functionality that people may not be aware of: > > *static disk properties - eeze is able to "track" all disks so that > we can save properties for them > *realtime *tab monitoring/parsing - eeze can be set to automatically track > fstab and mtab, allowing the user to mount/unmount things based on any > matching > property (/sys/$path, /dev/$path, uuid, hardware info/type, filesystem, etc) > which could be useful in apps such as enjoy to use for synchronizing external > mp3 players > *simple api for gathering disk infos which would be useful for an app that > might, for instance, need to gather the specs of an attached digital camera. > > > I'll probably bump this thread in a couple weeks for people who are on > vacation > since e17's release is some time off and these are some useful features that > would make e shine (sshfs mounting remote disks on an embedded device > anyone? :)) > -- > Mike Blumenkrantz > Zentific: We run the three-legged race individually. > > -- > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] The documentation is not working on IE
Yes, also noticed this (don't ask me why I used IE..) (This time to the list, sorry) -- Tom. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] another crazy idea from the crazy idea guy
On Mon, 10 Jan 2011 17:51:53 +0100 Dave Andreoli wrote: > I'm really interested in the network mount, to use in a mediacenter I'm > writing. I will wait the release of eeze 1.1 to try it 'couse > I have no time at the moment, and because my app is written in python > and so I will also need to write eeze python bindings... > Please keep up this great work :) > > I will also use eeze in the Places module as soon as you relese the 1.1 > > DaveMDS > > > Il giorno sabato 25 dicembre 2010, Mike Blumenkrantz > ha scritto: > > Over the next week I'll finally get around to finishing the implementation > > of eeze mount support (from the 1.1 branch) in e17 that I've been working on > > irregularly for some time. Given that eeze mounting is quite a bit more > > flexible than the mount functionality of other desktops, this gives us some > > potentially interesting options that I'd like to guage interest in: > > > > *network fs mounting (FUSE/NFS/etc) > > *other partition mounting (ie. anything not currently mounted) > > *disk image mounting > > > > Eeze 1.1 already supports all of the above through currently existing api > > calls, and so if these are features that we are interested in then I am > > willing to write all of the necessary backend eeze code to make it work. > > What I would need, however, is someone who knows the E widget api and > > whatnot to create the gui (can be done however you like, I can even write > > the eeze code to your specifications) since I have no knowledge of it and > > no desire to learn it at this moment. > > > > Some other possibly interesting features to consider/comment on based on > > eeze 1.1 functionality that people may not be aware of: > > > > *static disk properties - eeze is able to "track" all disks so that > > we can save properties for them > > *realtime *tab monitoring/parsing - eeze can be set to automatically track > > fstab and mtab, allowing the user to mount/unmount things based on any > > matching property (/sys/$path, /dev/$path, uuid, hardware info/type, > > filesystem, etc) which could be useful in apps such as enjoy to use for > > synchronizing external mp3 players > > *simple api for gathering disk infos which would be useful for an app that > > might, for instance, need to gather the specs of an attached digital camera. > > > > > > I'll probably bump this thread in a couple weeks for people who are on > > vacation since e17's release is some time off and these are some useful > > features that would make e shine (sshfs mounting remote disks on an > > embedded device anyone? :)) > > -- > > Mike Blumenkrantz > > Zentific: We run the three-legged race individually. > > Check out my recent work in efm with udisks, you should probably integrate that into places module as well. -- Mike Blumenkrantz Zentific: NULL pointer dereferences now 50% off! -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor IN trunk/PROTO/azy/src: bin include lib tests tests/identi.ca tests/rss
On Mon, 10 Jan 2011 17:46:03 -0800 "Enlightenment SVN" wrote: > added Azy_Net_Data struct for easily storing a uchar* buf and size > lots of doc updates > azy_client_send -> azy_client_put > azy_server_client_send -> azy_server_module_send > Azy_Server_Module_Pre_Cb is the new function type for __pre__ directives > azy_client_blank now only takes 4 params > reworked huge amounts of server internals; lots of corner case bugs should > be fixed __pre__ and __post__ directives will now always be called, even on > __download__/__upload__ removed/fixed annoying parser workarounds that I'd > previously added to avoid unused var warnings all tests updated to new api > probably some other stuff that I forgot This was a huge commit for servers. All known bugs have been fixed, and a large number of previously unknown bugs have now also been fixed. A few functions have also been simplified to make them easier to use. If you're a user of Azy and have features/bugs, please comment so that I can get to them. If you aren't a user of Azy, now's a great time to start! -- Mike Blumenkrantz Zentific: NULL pointer dereferences now 50% off! -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
yes.. "downloaded" is right. I changed "download, downloading" to "downloaded". sorry for bothering you :). thanks. On Mon, Jan 10, 2011 at 6:43 PM, Carsten Haitzler wrote: > On Mon, 10 Jan 2011 15:45:28 +0900 sangho park said: > > is it "download" or "downloading"... or should it maybe be changed to > "downloaded" (like clicked). in your code you use both downloading and > downloaded. test uses downloading. so which is it? :) > > > Dear all, > > > > This is a patch for elm_map downloading progress info. > > > > I added one new signal, one new API and fixed seg fault bug. > > > > - signal : "download" (this signal is called when map_tile is downloaded) > > - API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int > > *try_num, int *finish_num) > > - seg fault : if user select custom map provider, seg fault occurs, > because > > there is no url_cb in the custom map provider > > > > you can check download progress using these signal & API. > > the example is in "test_map.c". > > > > thanks. > > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > Index: src/lib/elm_map.c === --- src/lib/elm_map.c (리비전 56014) +++ src/lib/elm_map.c (작업 사본) @@ -19,9 +19,9 @@ * * clicked,double - This is called when a user has double-clicked the photo. * - * load,details - Map detailed data load begins. + * load,detail - Map detailed data load begins. * - * loaded,details - This is called when all parts of the map are loaded. + * loaded,detail - This is called when all parts of the map are loaded. * * zoom,start - Zoom animation started. * @@ -39,6 +39,8 @@ * * scroll,drag,stop - dragging the contents around has stopped * + * downloaded - This is called when map images are downloaded + * * TODO : doxygen */ @@ -70,23 +72,30 @@ typedef struct _Map_Sources_Tab #define ZOOM_MAX 18 //Zemm min is supposed to be 0 -static char *_mapnik_url_cb(Evas_Object *obj __UNUSED__,int x, int y, int zoom); -static char *_osmarender_url_cb(Evas_Object *obj __UNUSED__,int x, int y, int zoom); -static char *_cyclemap_url_cb(Evas_Object *obj __UNUSED__,int x, int y, int zoom); -static char *_maplint_url_cb(Evas_Object *obj __UNUSED__,int x, int y, int zoom); -static char *_module_url_cb(Evas_Object *obj,int x, int y, int zoom); +static char *_mapnik_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char *_osmarender_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char *_cyclemap_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char *_maplint_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char *_module_url_cb(Evas_Object *obj, int x, int y, int zoom); +static char * _custom1_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char * _custom2_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char * _custom3_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char * _custom4_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char * _custom5_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); +static char * _custom6_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom); + static Map_Sources_Tab map_sources_tab[] = { {ELM_MAP_SOURCE_MAPNIK, "Mapnik", 0, 18, _mapnik_url_cb}, {ELM_MAP_SOURCE_OSMARENDER, "Osmarender", 0, 17, _osmarender_url_cb}, {ELM_MAP_SOURCE_CYCLEMAP, "Cycle Map", 0, 17, _cyclemap_url_cb}, {ELM_MAP_SOURCE_MAPLINT, "Maplint", 12, 16, _maplint_url_cb}, - {ELM_MAP_SOURCE_CUSTOM_1, "Custom 1", 0, 18, NULL}, - {ELM_MAP_SOURCE_CUSTOM_2, "Custom 2", 0, 18, NULL}, - {ELM_MAP_SOURCE_CUSTOM_3, "Custom 3", 0, 18, NULL}, - {ELM_MAP_SOURCE_CUSTOM_4, "Custom 4", 0, 18, NULL}, - {ELM_MAP_SOURCE_CUSTOM_5, "Custom 5", 0, 18, NULL}, - {ELM_MAP_SOURCE_CUSTOM_6, "Custom 6", 0, 18, NULL}, + {ELM_MAP_SOURCE_CUSTOM_1, "Custom 1", 0, 18, _custom1_url_cb}, + {ELM_MAP_SOURCE_CUSTOM_2, "Custom 2", 0, 18, _custom2_url_cb}, + {ELM_MAP_SOURCE_CUSTOM_3, "Custom 3", 0, 18, _custom3_url_cb}, + {ELM_MAP_SOURCE_CUSTOM_4, "Custom 4", 0, 18, _custom4_url_cb}, + {ELM_MAP_SOURCE_CUSTOM_5, "Custom 5", 0, 18, _custom5_url_cb}, + {ELM_MAP_SOURCE_CUSTOM_6, "Custom 6", 0, 18, _custom6_url_cb}, {ELM_MAP_SOURCE_MODULE, "Module", 0, 18, _module_url_cb} }; @@ -252,6 +261,8 @@ struct _Widget_Data Elm_Map_Sources source; Mod_Api *api; Eina_List *s_event_list; + int try_num; + int finish_num; }; struct _Mod_Api @@ -300,6 +311,7 @@ static const char SIG_SCROLL_DRAG_STOP[] = "scroll static const char SIG_ZOOM_CHANGE[] = "zoom,change"; static const char SIG_ZOOM_START[] = "zoom,start"; static const char SIG_ZOOM_STOP[] = "zoom,stop"; +static const char SIG_DOWNLOADED[] = "downloaded"; static const Evas_Sm
Re: [E-devel] [PATCH] elm_transit
On Mon, 10 Jan 2011 21:39:32 +0900 ChunEon Park said: oh dear. bad me - i didnt notice the isse. you declared elm_transit_add as: elm_transit_add() - not elm_transit_add(void). that means the compiler doesnt find errors when passing parameters. a function declared with elm_transit_add() in C means "this accepts 0 or MORE parameters - which are undefined". basically it means it wont complain if you call it with no params, 1, 2, or N - it doesnt care. thats really bad. thus the bug lipped through and your fix. first that goes into svn. you have some problems though with pause & resume. on run you never reset delayed to 0. :) so if you want to run multiple times and have paused it at a time in the past with an older run... it'll get things wrong. also you have pause() and resume - why not have a pause_set(transit, EINA_TRUE/FALSE); and a pause_get() so you can set and get the paused state. that'd be better. also i see another if formatting thing: + if(transit->animator) no space after if :) could you fix the above? :) > Dear All. > > Here is elm_transit patches. > > 001_elm_transit.txt > Added elm_transit_pause, elm_transit_resume, elm_transit_progress_value_get > > 002_elm_transit.txt > fixed customized transit sample error. > > > Check it then apply it please. > > Thanks. > > Best Regards > Hermet -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] elm_map downloading progress info & bug fix
On Tue, 11 Jan 2011 11:40:45 +0900 sangho park said: thanks! in svn! :) > yes.. "downloaded" is right. > I changed "download, downloading" to "downloaded". > sorry for bothering you :). > > thanks. > > On Mon, Jan 10, 2011 at 6:43 PM, Carsten Haitzler wrote: > > > On Mon, 10 Jan 2011 15:45:28 +0900 sangho park said: > > > > is it "download" or "downloading"... or should it maybe be changed to > > "downloaded" (like clicked). in your code you use both downloading and > > downloaded. test uses downloading. so which is it? :) > > > > > Dear all, > > > > > > This is a patch for elm_map downloading progress info. > > > > > > I added one new signal, one new API and fixed seg fault bug. > > > > > > - signal : "download" (this signal is called when map_tile is downloaded) > > > - API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int > > > *try_num, int *finish_num) > > > - seg fault : if user select custom map provider, seg fault occurs, > > because > > > there is no url_cb in the custom map provider > > > > > > you can check download progress using these signal & API. > > > the example is in "test_map.c". > > > > > > thanks. > > > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] (no subject)
Dear Elementary developers. It's a bugfix patch and adding new functionality for wrapmode changing at elm_label. 1. bugfix strbuf_key_value_replace which is internal function 2. add wrapmode change api (wordwrap or charwrap) Thank you. --- Hyoyoung CHANG Engineer SAMSUNG ELECTRONICS, Co., Ltd. E-mail: hyoyoung.ch...@samsung.com --- >From 08a36f6733ca41668a9e4b38ba95bf3c92abfab6 Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Tue, 11 Jan 2011 15:17:08 +0900 Subject: [PATCH 2/3] bugfix and improve tag searching in _strbuf_key_value_replace --- src/lib/elm_label.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c index 5240cec..288e7de 100644 --- a/src/lib/elm_label.c +++ b/src/lib/elm_label.c @@ -260,17 +260,12 @@ _strbuf_key_value_replace(Eina_Strbuf *srcbuf, const char *key, const char *valu if (curlocater) { replocater = curlocater + key_len + 1; - while ((*replocater != '=') && (replocater)) -replocater++; - while ((*replocater) && - (*replocater != ' ') && - (*replocater != '>')) + while ((*replocater) && (*replocater != ' ') && (*replocater != '>')) replocater++; - if ((replocater - curlocater) > (key_len + 1)) + if (replocater - curlocater > key_len) { - replocater--; eina_strbuf_append_n(diffbuf, curlocater, replocater-curlocater); } -- 1.7.1 >From d1af20b5e33f773048d810fb8d2b24eafe88c88e Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Tue, 11 Jan 2011 15:33:18 +0900 Subject: [PATCH 3/3] add wrapmode changing API --- data/themes/default.edc | 49 +++ src/lib/Elementary.h.in |2 + src/lib/elm_label.c | 59 +++ 3 files changed, 110 insertions(+), 0 deletions(-) diff --git a/data/themes/default.edc b/data/themes/default.edc index e457e5d..330abb1 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -1403,6 +1403,14 @@ collections { tag: "b" "+ font=Sans:style=Bold"; tag: "tab" "\t"; } + style { name: "textblock_charwrap_style"; +base: "font=Sans font_size=10 color=#000 wrap=char text_class=label"; +tag: "br" "\n"; +tag: "ps" "ps"; +tag: "hilight" "+ font=Sans:style=Bold"; +tag: "b" "+ font=Sans:style=Bold"; +tag: "tab" "\t"; + } } parts { part { name: "label.swallow.background"; @@ -1458,8 +1466,28 @@ collections { min: 0 1; } } + description { state: "charwrap_mode" 0.0; + text { + style: "textblock_style"; + min: 0 1; + } + } } } + programs { + program { name: "default_wrap"; +signal: "elm,state,default"; +source: "elm"; +action: STATE_SET "default" 0.0; +target: "elm.text"; + } + program { name: "char_wrap"; +signal: "elm,state,charwrap"; +source: "elm"; +action: STATE_SET "charwrap_mode" 0.0; +target: "elm.text"; + } + } } group { name: "elm/label/base_wrap_ellipsis/default"; @@ -1487,8 +1515,29 @@ collections { min: 0 1; } } + description { state: "charwrap_mode" 0.0; + fixed: 0 1; + text { + style: "textblock_charwrap_style"; + min: 0 1; + } + } } } + programs { + program { name: "default_wrap"; +signal: "elm,state,default"; +source: "elm"; +action: STATE_SET "default" 0.0; +target: "elm.text"; + } + program { name: "char_wrap"; +signal: "elm,state,charwrap"; +source: "elm"; +action: STATE_SET "charwrap_mode" 0.0; +target: "elm.text"; + } + } } group { name: "elm/label/base/marker"; diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 8e6bba3..722a3cd 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -813,6 +813,8 @@ extern "C" { EAPI void elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1); EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a) EINA_ARG_NONNULL(
[E-devel] elm_label patch(bugfix and wrapmode changing)
Dear Elementary developers. It's a bugfix patch and adding new functionality for wrapmode changing at elm_label. 1. bugfix strbuf_key_value_replace which is internal function 2. add wrapmode change api (wordwrap or charwrap) Thank you. --- Hyoyoung CHANG Engineer SAMSUNG ELECTRONICS, Co., Ltd. E-mail: hyoyoung.ch...@samsung.com --- >From 08a36f6733ca41668a9e4b38ba95bf3c92abfab6 Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Tue, 11 Jan 2011 15:17:08 +0900 Subject: [PATCH 2/3] bugfix and improve tag searching in _strbuf_key_value_replace --- src/lib/elm_label.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c index 5240cec..288e7de 100644 --- a/src/lib/elm_label.c +++ b/src/lib/elm_label.c @@ -260,17 +260,12 @@ _strbuf_key_value_replace(Eina_Strbuf *srcbuf, const char *key, const char *valu if (curlocater) { replocater = curlocater + key_len + 1; - while ((*replocater != '=') && (replocater)) -replocater++; - while ((*replocater) && - (*replocater != ' ') && - (*replocater != '>')) + while ((*replocater) && (*replocater != ' ') && (*replocater != '>')) replocater++; - if ((replocater - curlocater) > (key_len + 1)) + if (replocater - curlocater > key_len) { - replocater--; eina_strbuf_append_n(diffbuf, curlocater, replocater-curlocater); } -- 1.7.1 >From d1af20b5e33f773048d810fb8d2b24eafe88c88e Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Tue, 11 Jan 2011 15:33:18 +0900 Subject: [PATCH 3/3] add wrapmode changing API --- data/themes/default.edc | 49 +++ src/lib/Elementary.h.in |2 + src/lib/elm_label.c | 59 +++ 3 files changed, 110 insertions(+), 0 deletions(-) diff --git a/data/themes/default.edc b/data/themes/default.edc index e457e5d..330abb1 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -1403,6 +1403,14 @@ collections { tag: "b" "+ font=Sans:style=Bold"; tag: "tab" "\t"; } + style { name: "textblock_charwrap_style"; +base: "font=Sans font_size=10 color=#000 wrap=char text_class=label"; +tag: "br" "\n"; +tag: "ps" "ps"; +tag: "hilight" "+ font=Sans:style=Bold"; +tag: "b" "+ font=Sans:style=Bold"; +tag: "tab" "\t"; + } } parts { part { name: "label.swallow.background"; @@ -1458,8 +1466,28 @@ collections { min: 0 1; } } + description { state: "charwrap_mode" 0.0; + text { + style: "textblock_style"; + min: 0 1; + } + } } } + programs { + program { name: "default_wrap"; +signal: "elm,state,default"; +source: "elm"; +action: STATE_SET "default" 0.0; +target: "elm.text"; + } + program { name: "char_wrap"; +signal: "elm,state,charwrap"; +source: "elm"; +action: STATE_SET "charwrap_mode" 0.0; +target: "elm.text"; + } + } } group { name: "elm/label/base_wrap_ellipsis/default"; @@ -1487,8 +1515,29 @@ collections { min: 0 1; } } + description { state: "charwrap_mode" 0.0; + fixed: 0 1; + text { + style: "textblock_charwrap_style"; + min: 0 1; + } + } } } + programs { + program { name: "default_wrap"; +signal: "elm,state,default"; +source: "elm"; +action: STATE_SET "default" 0.0; +target: "elm.text"; + } + program { name: "char_wrap"; +signal: "elm,state,charwrap"; +source: "elm"; +action: STATE_SET "charwrap_mode" 0.0; +target: "elm.text"; + } + } } group { name: "elm/label/base/marker"; diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 8e6bba3..722a3cd 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -813,6 +813,8 @@ extern "C" { EAPI void elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1); EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a) EINA_ARG_NONNULL
Re: [E-devel] elm_label patch(bugfix and wrapmode changing)
Dear Hyoyoung, I don't currently have the time to fully review the patches, but regarding the wrapping: please be advised that after the release there will be a new wrap mode, "mixedwrap" which is a word-wrap that falls back to "charwrap" if a wordwrap can't be done (I assume you have seen that before). I'm saying this because I hope your patch will be easily adjustable to that change, if not, please consider revising it. -- Tom. On Tue, 2011-01-11 at 15:47 +0900, Hyoyoung Chang wrote: > Dear Elementary developers. > > It's a bugfix patch and adding new functionality for wrapmode changing at > elm_label. > > 1. bugfix strbuf_key_value_replace which is internal function > 2. add wrapmode change api (wordwrap or charwrap) > > > Thank you. > > > --- > Hyoyoung CHANG > Engineer > > SAMSUNG ELECTRONICS, Co., Ltd. > E-mail: hyoyoung.ch...@samsung.com > --- > -- > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > ___ enlightenment-devel mailing > list enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_label patch(bugfix and wrapmode changing)
Dear Tom If then, I should change wrap mode type from Eina_Bool to int(maybe enum). It's a simple patch that made charwrap style and just change-signaling to edc. Thank you > -Original Message- > From: Tom Hacohen [mailto:tom.haco...@partner.samsung.com] > Sent: Tuesday, January 11, 2011 3:52 PM > To: Hyoyoung Chang > Cc: enlightenment-devel@lists.sourceforge.net > Subject: Re: [E-devel] elm_label patch(bugfix and wrapmode changing) > > Dear Hyoyoung, > > I don't currently have the time to fully review the patches, but > regarding the wrapping: please be advised that after the release there > will be a new wrap mode, "mixedwrap" which is a word-wrap that falls > back to "charwrap" if a wordwrap can't be done (I assume you have seen > that before). I'm saying this because I hope your patch will be easily > adjustable to that change, if not, please consider revising it. > > -- > Tom. > > On Tue, 2011-01-11 at 15:47 +0900, Hyoyoung Chang wrote: > > Dear Elementary developers. > > > > It's a bugfix patch and adding new functionality for wrapmode changing > at > > elm_label. > > > > 1. bugfix strbuf_key_value_replace which is internal function > > 2. add wrapmode change api (wordwrap or charwrap) > > > > > > Thank you. > > > > > > --- > > Hyoyoung CHANG > > Engineer > > > > SAMSUNG ELECTRONICS, Co., Ltd. > > E-mail: hyoyoung.ch...@samsung.com > > --- > > > -- > > Gaining the trust of online customers is vital for the success of any > company > > that requires sensitive data to be transmitted over the Web. Learn how > to > > best implement a security strategy that keeps consumers' information > secure > > and instills the confidence they need to proceed with transactions. > > http://p.sf.net/sfu/oracle-sfdevnl > > ___ enlightenment-devel > mailing list enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_label patch(bugfix and wrapmode changing)
Yes, that's probably for the best. We will may support even new wrapping styles in the future (one that adds hyphens? just an idea...). -- Tom. On Tue, 2011-01-11 at 16:09 +0900, Hyoyoung Chang wrote: > Dear Tom > > If then, I should change wrap mode type from Eina_Bool to int(maybe enum). > It's a simple patch that made charwrap style and just change-signaling to edc. > > Thank you > > > -Original Message- > > From: Tom Hacohen [mailto:tom.haco...@partner.samsung.com] > > Sent: Tuesday, January 11, 2011 3:52 PM > > To: Hyoyoung Chang > > Cc: enlightenment-devel@lists.sourceforge.net > > Subject: Re: [E-devel] elm_label patch(bugfix and wrapmode changing) > > > > Dear Hyoyoung, > > > > I don't currently have the time to fully review the patches, but > > regarding the wrapping: please be advised that after the release there > > will be a new wrap mode, "mixedwrap" which is a word-wrap that falls > > back to "charwrap" if a wordwrap can't be done (I assume you have seen > > that before). I'm saying this because I hope your patch will be easily > > adjustable to that change, if not, please consider revising it. > > > > -- > > Tom. > > > > On Tue, 2011-01-11 at 15:47 +0900, Hyoyoung Chang wrote: > > > Dear Elementary developers. > > > > > > It's a bugfix patch and adding new functionality for wrapmode changing > > at > > > elm_label. > > > > > > 1. bugfix strbuf_key_value_replace which is internal function > > > 2. add wrapmode change api (wordwrap or charwrap) > > > > > > > > > Thank you. > > > > > > > > > --- > > > Hyoyoung CHANG > > > Engineer > > > > > > SAMSUNG ELECTRONICS, Co., Ltd. > > > E-mail: hyoyoung.ch...@samsung.com > > > --- > > > > > -- > > > Gaining the trust of online customers is vital for the success of any > > company > > > that requires sensitive data to be transmitted over the Web. Learn how > > to > > > best implement a security strategy that keeps consumers' information > > secure > > > and instills the confidence they need to proceed with transactions. > > > http://p.sf.net/sfu/oracle-sfdevnl > > > ___ enlightenment-devel > > mailing list enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel