Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, Dec 18, 2012 at 11:08 PM, Enlightenment SVN wrote: > Log: > wake up. fix svn breakages. yay. :) Sorry, I forgot elementary Lucas De Marchi -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, Aug 2, 2012 at 5:42 AM, Enlightenment SVN wrote: > Log: > fix interactive flip so it works again! :/ I can't test it right now, but based on the following comment it seems you fixed one case and broke the other: > +#if 0 // this breaks manual flipping. :/ > if (sd->state == sd->next_state) >{ > /* it was flipped while flipping, do it again */ > @@ -1282,7 +1287,7 @@ > sd->state = !sd->next_state; > return ECORE_CALLBACK_RENEW; >} > - > +#endif Is that right? The case where "it was flipped while flipping" is now broken? Also, since you're fixing it and I've complained already about the mess, what about having clearly separate cases for manual (page) and automatic flip modes? It's an impossible-to-understand mess at the moment :-/ -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, 2 Aug 2012 15:26:02 -0300 Gustavo Sverzut Barbieri said: > On Thu, Aug 2, 2012 at 5:42 AM, Enlightenment SVN > wrote: > > Log: > > fix interactive flip so it works again! :/ > > I can't test it right now, but based on the following comment it seems > you fixed one case and broke the other: > > > +#if 0 // this breaks manual flipping. :/ > > if (sd->state == sd->next_state) > >{ > > /* it was flipped while flipping, do it again */ > > @@ -1282,7 +1287,7 @@ > > sd->state = !sd->next_state; > > return ECORE_CALLBACK_RENEW; > >} > > - > > +#endif > > > Is that right? The case where "it was flipped while flipping" is now broken? correct. SINGLE flips were broken in the manual case... and now... something badly broke map! :( its better than it was. if u flip while flipping u just restart the current flip anim. not as bad as it was anyway. > Also, since you're fixing it and I've complained already about the > mess, what about having clearly separate cases for manual (page) and > automatic flip modes? It's an impossible-to-understand mess at the > moment :-/ they are done that way because when dealing with manual flip, we don't just move from 0.0 to 1.0 - we have to maintain x and y coords thanks to page flip. also have to handle "revert flip" - ie go back to starting point without actually flipping to the next page etc. i'm not refactoring that code - it works. there's a long list of bugs elsewhere in elm and some even very core ones in terms of child/content handling i think as a result of the infra changes. > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thursday, August 9, 2012, Enlightenment SVN wrote: > Log: > sorry yoz - u cant use min size set from outside the widget as wisgets > set it all the time themselves for read-only use outside. :) if uw ant > this u have to accomplish this another way. eg table with genlist PLUS > invisible rect obj at the same cell spot (0, 0, 1x1). and make the > invisible rect have a min size hint. table takes care of using the > "constraints" of both rect and gnelist then for sizing. :) > > I've explained a similar thing to mekius at #edevelop: some widgets will calculate and set their min or max size based on internal contents calculation. But this can be a PITA. Should we have a general toggle per widget that inhibits this? Maybe a widget "size calc" that is analogous to Edje and just returns info to user? One drawback of this is that user may forget to apply scale and finger size. But many times user want to set a fixed size, based on his users or based on information acquired from outside, like edje group min/max Last, related to this is the elm_box behavior. With Evas layout functions we had covered cases of no-expand, no-fill and no-both. In these cases the original size is kept, no resize. Elementary box does not handle no-expand and no resize cases as far as I remember, or at least in some weird case I've experienced the other day (econnman, I've fixed setting content/icon min/max to be used in genlist "end" icon, but maybe such problem was due genlist end SWALLOW description) > > > Author: raster > Date: 2012-08-09 05:12:29 -0700 (Thu, 09 Aug 2012) > New Revision: 75044 > Trac: http://trac.enlightenment.org/e/changeset/75044 > > Modified: > trunk/elementary/src/lib/elm_genlist.c > > Modified: trunk/elementary/src/lib/elm_genlist.c > === > --- trunk/elementary/src/lib/elm_genlist.c 2012-08-09 12:03:16 UTC > (rev 75043) > +++ trunk/elementary/src/lib/elm_genlist.c 2012-08-09 12:12:29 UTC > (rev 75044) > @@ -582,7 +582,7 @@ > > if (sd->on_sub_del) return;; > > - evas_object_size_hint_min_get(obj, &minw, &minh); > + evas_object_size_hint_min_get(obj, &minw, NULL); > evas_object_size_hint_max_get(obj, &maxw, &maxh); > > edje_object_size_min_calc(ELM_WIDGET_DATA(sd)->resize_obj, &vmw, &vmh); > @@ -606,8 +606,7 @@ > sd->calc_job = ecore_job_add(_calc_job, sd); >} > minw = vmw; > -if (minh < vmh) > - minh = vmh; > +minh = vmh; > } > else if (sd->mode == ELM_LIST_LIMIT) > { > @@ -617,8 +616,7 @@ > else > { > minw = vmw; > -if (minh < vmh) > - minh = vmh; > +minh = vmh; > } > > evas_object_size_hint_min_set(obj, minw, minh); > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, 9 Aug 2012 09:43:40 -0300 Gustavo Sverzut Barbieri said: > On Thursday, August 9, 2012, Enlightenment SVN wrote: > > > Log: > > sorry yoz - u cant use min size set from outside the widget as wisgets > > set it all the time themselves for read-only use outside. :) if uw ant > > this u have to accomplish this another way. eg table with genlist PLUS > > invisible rect obj at the same cell spot (0, 0, 1x1). and make the > > invisible rect have a min size hint. table takes care of using the > > "constraints" of both rect and gnelist then for sizing. :) > > > > > I've explained a similar thing to mekius at #edevelop: some widgets will > calculate and set their min or max size based on internal contents > calculation. > > But this can be a PITA. Should we have a general toggle per widget that > inhibits this? Maybe a widget "size calc" that is analogous to Edje and > just returns info to user? umho the way to do this is have a set of "user hints" (min/max) set separately to current hints and that when calculating sizing we accoutn for both automatic size hints AND user hints. we can provide a function that does this for you in a single predictable way and thus replace all the min size hint get funcs with that. > One drawback of this is that user may forget to apply scale and finger > size. But many times user want to set a fixed size, based on his users or > based on information acquired from outside, like edje group min/max > > Last, related to this is the elm_box behavior. With Evas layout functions > we had covered cases of no-expand, no-fill and no-both. In these cases the > original size is kept, no resize. Elementary box does not handle no-expand > and no resize cases as far as I remember, or at least in some weird case > I've experienced the other day (econnman, I've fixed setting content/icon > min/max to be used in genlist "end" icon, but maybe such problem was due > genlist end SWALLOW description) hmm no the elm box stuff does handle weight 0 fill 0.5 - the item is never expanded AND stays at min size as a result. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Friday, August 10, 2012, Carsten Haitzler wrote: > On Thu, 9 Aug 2012 09:43:40 -0300 Gustavo Sverzut Barbieri > > said: > > > On Thursday, August 9, 2012, Enlightenment SVN wrote: > > > > > Log: > > > sorry yoz - u cant use min size set from outside the widget as wisgets > > > set it all the time themselves for read-only use outside. :) if uw > ant > > > this u have to accomplish this another way. eg table with genlist > PLUS > > > invisible rect obj at the same cell spot (0, 0, 1x1). and make the > > > invisible rect have a min size hint. table takes care of using the > > > "constraints" of both rect and gnelist then for sizing. :) > > > > > > > > I've explained a similar thing to mekius at #edevelop: some widgets will > > calculate and set their min or max size based on internal contents > > calculation. > > > > But this can be a PITA. Should we have a general toggle per widget that > > inhibits this? Maybe a widget "size calc" that is analogous to Edje and > > just returns info to user? > > umho the way to do this is have a set of "user hints" (min/max) set > separately > to current hints and that when calculating sizing we accoutn for both > automatic > size hints AND user hints. we can provide a function that does this for > you in > a single predictable way and thus replace all the min size hint get funcs > with > that. > > Should be good enough for what me need. > > One drawback of this is that user may forget to apply scale and finger > > size. But many times user want to set a fixed size, based on his users or > > based on information acquired from outside, like edje group min/max > > > > Last, related to this is the elm_box behavior. With Evas layout functions > > we had covered cases of no-expand, no-fill and no-both. In these cases > the > > original size is kept, no resize. Elementary box does not handle > no-expand > > and no resize cases as far as I remember, or at least in some weird case > > I've experienced the other day (econnman, I've fixed setting content/icon > > min/max to be used in genlist "end" icon, but maybe such problem was due > > genlist end SWALLOW description) > > hmm no the elm box stuff does handle weight 0 fill 0.5 - the item is never > expanded AND stays at min size as a result. If no min size? Evas layouts do not modify size if there is no fill (align = -1.0) and no expand (weight > 0.0) > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 10 Aug 2012 08:38:44 -0300 Gustavo Sverzut Barbieri said: > On Friday, August 10, 2012, Carsten Haitzler wrote: > > > On Thu, 9 Aug 2012 09:43:40 -0300 Gustavo Sverzut Barbieri > > > said: > > > > > On Thursday, August 9, 2012, Enlightenment SVN wrote: > > > > > > > Log: > > > > sorry yoz - u cant use min size set from outside the widget as wisgets > > > > set it all the time themselves for read-only use outside. :) if uw > > ant > > > > this u have to accomplish this another way. eg table with genlist > > PLUS > > > > invisible rect obj at the same cell spot (0, 0, 1x1). and make the > > > > invisible rect have a min size hint. table takes care of using the > > > > "constraints" of both rect and gnelist then for sizing. :) > > > > > > > > > > > I've explained a similar thing to mekius at #edevelop: some widgets will > > > calculate and set their min or max size based on internal contents > > > calculation. > > > > > > But this can be a PITA. Should we have a general toggle per widget that > > > inhibits this? Maybe a widget "size calc" that is analogous to Edje and > > > just returns info to user? > > > > umho the way to do this is have a set of "user hints" (min/max) set > > separately > > to current hints and that when calculating sizing we accoutn for both > > automatic > > size hints AND user hints. we can provide a function that does this for > > you in > > a single predictable way and thus replace all the min size hint get funcs > > with > > that. > > > > > Should be good enough for what me need. > > > > > > One drawback of this is that user may forget to apply scale and finger > > > size. But many times user want to set a fixed size, based on his users or > > > based on information acquired from outside, like edje group min/max > > > > > > Last, related to this is the elm_box behavior. With Evas layout functions > > > we had covered cases of no-expand, no-fill and no-both. In these cases > > the > > > original size is kept, no resize. Elementary box does not handle > > no-expand > > > and no resize cases as far as I remember, or at least in some weird case > > > I've experienced the other day (econnman, I've fixed setting content/icon > > > min/max to be used in genlist "end" icon, but maybe such problem was due > > > genlist end SWALLOW description) > > > > hmm no the elm box stuff does handle weight 0 fill 0.5 - the item is never > > expanded AND stays at min size as a result. > > > If no min size? if no min size then it'd have a min size of 0x0 thus it'd be 0x0. :) 0 is a valid min size... :) so it "dos the right thing"... makes it 0. :) > Evas layouts do not modify size if there is no fill (align = -1.0) and no > expand (weight > 0.0) evas swallows? they have always modified the size and used hints to restrict that - no hint then assume 0x0 for min size and ininfite for max size... > > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Oops raster, Why did you commented this out? Any problem was there? Actually you committed the code and the code came from Chanwook Jung's patch. http://trac.enlightenment.org/e/changeset/68934 I don't know why he added that but at least you disabled genlist item cache. Daniel Juyung Seo (SeoZ) On Tue, Aug 14, 2012 at 6:38 PM, Enlightenment SVN wrote: > Log: > genlist tree effect off fix. > > > > Author: raster > Date: 2012-08-14 02:38:36 -0700 (Tue, 14 Aug 2012) > New Revision: 75249 > Trac: http://trac.enlightenment.org/e/changeset/75249 > > Modified: > trunk/elementary/src/lib/elm_genlist.c > > Modified: trunk/elementary/src/lib/elm_genlist.c > === > --- trunk/elementary/src/lib/elm_genlist.c 2012-08-14 09:18:48 UTC (rev > 75248) > +++ trunk/elementary/src/lib/elm_genlist.c 2012-08-14 09:38:36 UTC (rev > 75249) > @@ -1268,6 +1268,8 @@ > it->item->nocache_once = EINA_FALSE; > else if (!it->item->nocache) > itc = _item_cache_find(it); > +/* XXX: so someone explain why this is here forcing items to NOT be realized > + * if tree effect is disabled? this doesn't make sense. fix. > if (itc && (!GL_IT(it)->wsd->tree_effect_enabled)) > { > VIEW(it) = itc->base_view; > @@ -1275,7 +1277,7 @@ > it->spacer = itc->spacer; > itc->spacer = NULL; > } > - else > + else */ > { > const char *stacking_even; > const char *stacking; > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 2 Oct 2012 18:33:34 +0900 Daniel Juyung Seo said: i have no idea now... i am sure i was chasing a bug... weird. re-enabled now in svn. > Oops raster, Why did you commented this out? Any problem was there? > Actually you committed the code and the code came from Chanwook Jung's patch. > http://trac.enlightenment.org/e/changeset/68934 > > I don't know why he added that but at least you disabled genlist item cache. > > Daniel Juyung Seo (SeoZ) > > On Tue, Aug 14, 2012 at 6:38 PM, Enlightenment SVN > wrote: > > Log: > > genlist tree effect off fix. > > > > > > > > Author: raster > > Date: 2012-08-14 02:38:36 -0700 (Tue, 14 Aug 2012) > > New Revision: 75249 > > Trac: http://trac.enlightenment.org/e/changeset/75249 > > > > Modified: > > trunk/elementary/src/lib/elm_genlist.c > > > > Modified: trunk/elementary/src/lib/elm_genlist.c > > === > > --- trunk/elementary/src/lib/elm_genlist.c 2012-08-14 09:18:48 UTC > > (rev 75248) +++ trunk/elementary/src/lib/elm_genlist.c 2012-08-14 > > 09:38:36 UTC (rev 75249) @@ -1268,6 +1268,8 @@ > > it->item->nocache_once = EINA_FALSE; > > else if (!it->item->nocache) > > itc = _item_cache_find(it); > > +/* XXX: so someone explain why this is here forcing items to NOT be > > realized > > + * if tree effect is disabled? this doesn't make sense. fix. > > if (itc && (!GL_IT(it)->wsd->tree_effect_enabled)) > > { > > VIEW(it) = itc->base_view; > > @@ -1275,7 +1277,7 @@ > > it->spacer = itc->spacer; > > itc->spacer = NULL; > > } > > - else > > + else */ > > { > > const char *stacking_even; > > const char *stacking; > > > > > > -- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > ___ > 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 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
* Enlightenment SVN [2012-02-22 20:20:30 -0800]: > Log: > hermet's code didnt create a bug.. it brought out an existing bug... > FIX! > Thanks muchly :) > > > Author: raster > Date: 2012-02-22 20:20:30 -0800 (Wed, 22 Feb 2012) > New Revision: 68298 > Trac: http://trac.enlightenment.org/e/changeset/68298 > > Modified: > trunk/elementary/src/lib/elm_widget.c > > Modified: trunk/elementary/src/lib/elm_widget.c > === > --- trunk/elementary/src/lib/elm_widget.c 2012-02-23 04:11:04 UTC (rev > 68297) > +++ trunk/elementary/src/lib/elm_widget.c 2012-02-23 04:20:30 UTC (rev > 68298) > @@ -3497,9 +3497,9 @@ > if (!sd) return; > sd->obj = obj; > sd->x = sd->y = sd->w = sd->h = 0; > - sd->can_focus = 1; > sd->mirrored_auto_mode = EINA_TRUE; /* will follow system locale settings > */ > evas_object_smart_data_set(obj, sd); > + elm_widget_can_focus_set(obj, EINA_TRUE); > } > > static Evas_Object * > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Gustavo Lima Chaves Computer Engineer @ ProFUSION Embedded Systems -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Should it be fixed? If then, the title visible states would be corrupted. I intended to recover the title visible state for all pages. -Regards, Hermet- -Original Message- From: "Enlightenment SVN"To: enlightenment-...@lists.sourceforge.net Cc: Sent: 12-02-24(금) 22:04:37 Subject: E SVN: raster trunk/elementary/src/lib Log: fix naviframe theme hook. Author: raster Date: 2012-02-24 05:04:37 -0800 (Fri, 24 Feb 2012) New Revision: 68413 Trac: http://trac.enlightenment.org/e/changeset/68413 Modified: trunk/elementary/src/lib/elc_naviframe.c Modified: trunk/elementary/src/lib/elc_naviframe.c === --- trunk/elementary/src/lib/elc_naviframe.c 2012-02-24 12:46:18 UTC (rev 68412) +++ trunk/elementary/src/lib/elc_naviframe.c 2012-02-24 13:04:37 UTC (rev 68413) @@ -217,8 +217,9 @@ EINA_INLIST_FOREACH(wd->stack, it) { _item_style_set(it, it->style); - _item_title_visible_update(it); } + if (it) + _item_title_visible_update(it); } static void _emit_hook(Evas_Object *obj, -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Mon, 27 Feb 2012 14:06:38 +0900 ChunEon Park said: aaahbug was a different one- i just hid it. fixed now. title visibility was always enabled when u change style.. pretty wrong imho. > Should it be fixed? If then, the title visible states would be corrupted. > I intended to recover the title visible state for all pages. > > -Regards, Hermet- > > -Original Message- > From: "Enlightenment SVN"> To: enlightenment-...@lists.sourceforge.net > Cc: > Sent: 12-02-24(금) 22:04:37 > Subject: E SVN: raster trunk/elementary/src/lib > Log: > fix naviframe theme hook. > > > Author: raster > Date: 2012-02-24 05:04:37 -0800 (Fri, 24 Feb 2012) > New Revision: 68413 > Trac: http://trac.enlightenment.org/e/changeset/68413 > Modified: > trunk/elementary/src/lib/elc_naviframe.c > Modified: trunk/elementary/src/lib/elc_naviframe.c > === > --- trunk/elementary/src/lib/elc_naviframe.c 2012-02-24 12:46:18 UTC (rev > 68412) +++ trunk/elementary/src/lib/elc_naviframe.c 2012-02-24 13:04:37 UTC > (rev 68413) @@ -217,8 +217,9 @@ > EINA_INLIST_FOREACH(wd->stack, it) > { > _item_style_set(it, it->style); > - _item_title_visible_update(it); > } > + if (it) > + _item_title_visible_update(it); > } > > static void _emit_hook(Evas_Object *obj, > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > ___ > 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 -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
The author of this, Hyoyoung, didn't inted to use that for VERSION. It's just a flag for user generated or genlist generated. Hyoyoung will send a patch. Thanks. Daniel Juyung Seo (SeoZ) On Mon, Mar 5, 2012 at 9:50 PM, Enlightenment SVN wrote: > Log: > no - version is good - 0 == external const provided version 1 = > allocated version etc. > > > > Author: raster > Date: 2012-03-05 04:50:12 -0800 (Mon, 05 Mar 2012) > New Revision: 68711 > Trac: http://trac.enlightenment.org/e/changeset/68711 > > Modified: > trunk/elementary/src/lib/elm_deprecated_before.h > > Modified: trunk/elementary/src/lib/elm_deprecated_before.h > === > --- trunk/elementary/src/lib/elm_deprecated_before.h 2012-03-05 12:46:15 > UTC (rev 68710) > +++ trunk/elementary/src/lib/elm_deprecated_before.h 2012-03-05 12:50:12 > UTC (rev 68711) > @@ -9,8 +9,6 @@ > typedef void (*Elm_Gen_Item_Del_Cb)(void *data, > Evas_Object *obj); /**< Deletion class function for gen item classes. */ > struct _Elm_Gen_Item_Class > { > - //XXX: version name is not intuitive. > - //How about Eina_Bool allocated_by_gen : 1 ? > int version; > unsigned int refcount; > Eina_Bool delete_me : 1; > > > -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
This needs to be implemented again using Evas_Smart_Cb like other widgets. I discussed this with multibuttonentry contributor and she agreed to remove "item,selected" and "item,clicked" smart callback and use Evas_Smart_Cb instead. Thanks. Daniel Juyung Seo (SeoZ) On Tue, Mar 6, 2012 at 9:14 PM, Enlightenment SVN wrote: > Log: > ok warn-- in multibuttonentry - getting bored of seeing it. > > > > Author: raster > Date: 2012-03-06 04:14:35 -0800 (Tue, 06 Mar 2012) > New Revision: 68817 > Trac: http://trac.enlightenment.org/e/changeset/68817 > > Modified: > trunk/elementary/src/lib/elc_multibuttonentry.c > trunk/elementary/src/lib/elc_multibuttonentry.h > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.c > === > --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:08:11 > UTC (rev 68816) > +++ trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:14:35 > UTC (rev 68817) > @@ -1529,25 +1529,25 @@ > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void > *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, > data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, > Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void > *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > *before, const char *label, Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > *before, const char *label, void *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_BEFORE, before, > data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > *after, const char *label, Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > *after, const char *label, void *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_AFTER, after, > data); > } > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.h > === > --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:08:11 > UTC (rev 68816) > +++ trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:14:35 > UTC (rev 68817) > @@ -113,7 +113,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > const char *label, Evas_Smart_Cb func, void *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > const char *label, void *data); > > /** > * Append a new item to the multibuttonentry > @@ -126,7 +126,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > const char *label, Evas_Smart_Cb func, void *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > const char *label, void *data); > > /** > * Add a new item to the multibuttonentry before the indicated object > @@ -141,7 +141,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void > *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > *obj, Elm_Object_Item *before, const char *label, void *data); > > /** > * Add a new item to the multibuttonentry after the indicated object > @@ -155,7 +155,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void > *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > *obj, Elm_Object_Item *after, const char *label, void *data); > > /** > * Get a list of items in the multibuttonentry > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 21:38:22 +0900 Daniel Juyung Seo said: well put it back WHEN its implemented. i'm staring at warnings continually amongst reams of other warnings i'm going thru and fixing as i am altering other api's too - its distracting to have to keep filtering these out mentally. :) > This needs to be implemented again using Evas_Smart_Cb like other widgets. > I discussed this with multibuttonentry contributor and she agreed to > remove "item,selected" and "item,clicked" smart callback and use > Evas_Smart_Cb instead. > > Thanks. > > Daniel Juyung Seo (SeoZ) > > On Tue, Mar 6, 2012 at 9:14 PM, Enlightenment SVN > wrote: > > Log: > > ok warn-- in multibuttonentry - getting bored of seeing it. > > > > > > > > Author: raster > > Date: 2012-03-06 04:14:35 -0800 (Tue, 06 Mar 2012) > > New Revision: 68817 > > Trac: http://trac.enlightenment.org/e/changeset/68817 > > > > Modified: > > trunk/elementary/src/lib/elc_multibuttonentry.c > > trunk/elementary/src/lib/elc_multibuttonentry.h > > > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.c > > === > > --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:08:11 > > UTC (rev 68816) +++ trunk/elementary/src/lib/elc_multibuttonentry.c > > 2012-03-06 12:14:35 UTC (rev 68817) @@ -1529,25 +1529,25 @@ > > } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > > Evas_Smart_Cb func, void *data) +elm_multibuttonentry_item_prepend > > (Evas_Object *obj, const char *label, void *data) { > > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, > > data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, > > Evas_Smart_Cb func, void *data) +elm_multibuttonentry_item_append > > (Evas_Object *obj, const char *label, void *data) { > > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, > > data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > > *before, const char *label, Evas_Smart_Cb func, void *data) > > +elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > > *before, const char *label, void *data) { return _add_button_item(obj, > > label, MULTIBUTTONENTRY_POS_BEFORE, before, data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > > *after, const char *label, Evas_Smart_Cb func, void *data) > > +elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > > *after, const char *label, void *data) { return _add_button_item(obj, > > label, MULTIBUTTONENTRY_POS_AFTER, after, data); } > > > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.h > > === > > --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:08:11 > > UTC (rev 68816) +++ trunk/elementary/src/lib/elc_multibuttonentry.h > > 2012-03-06 12:14:35 UTC (rev 68817) @@ -113,7 +113,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > > const char *label, Evas_Smart_Cb func, void *data); +EAPI Elm_Object_Item > > *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > > void *data); > > > > /** > > * Append a new item to the multibuttonentry > > @@ -126,7 +126,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > > const char *label, Evas_Smart_Cb func, void *data); +EAPI Elm_Object_Item > > *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void > > *data); > > > > /** > > * Add a new item to the multibuttonentry before the indicated object > > @@ -141,7 +141,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > > *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void > > *data); +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before > > (Evas_Object *obj, Elm_Object_Item *before, const char *label, void *data); > > > > /** > > * Add a new item to the multibuttonentry after the indicated object > > @@ -155,7 +155,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > > *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void > > *data); +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after > > (Evas_Object *obj, Elm_Object_Item *after, const char *label, void *data); > > > > /** > > * Get a list of items in the multibuttonentry > > > > > > -- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comp
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 04:30:16 -0800 "Enlightenment SVN" wrote: > Log: > adree with XXX -> rename focus funcs, deprecate old. > > > > Author: raster > Date: 2012-03-06 04:30:16 -0800 (Tue, 06 Mar 2012) > New Revision: 68822 > Trac: http://trac.enlightenment.org/e/changeset/68822 > > Modified: > trunk/elementary/src/lib/elm_deprecated.h > trunk/elementary/src/lib/elm_focus.h trunk/elementary/src/lib/elm_main.c > huge spankies on this. huge. but I'll fix it for you this once because I'm such a swell guy. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 12:54:05 -0500 Michael Blumenkrantz said: :-P > On Tue, 6 Mar 2012 04:30:16 -0800 > "Enlightenment SVN" wrote: > > > Log: > > adree with XXX -> rename focus funcs, deprecate old. > > > > > > > > Author: raster > > Date: 2012-03-06 04:30:16 -0800 (Tue, 06 Mar 2012) > > New Revision: 68822 > > Trac: http://trac.enlightenment.org/e/changeset/68822 > > > > Modified: > > trunk/elementary/src/lib/elm_deprecated.h > > trunk/elementary/src/lib/elm_focus.h trunk/elementary/src/lib/elm_main.c > > > > huge spankies on this. huge. but I'll fix it for you this once because I'm > such a swell guy. > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > 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 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
shouldn't the doc be updated when signatures of exported functions are modified ? Vincent On Wed, Mar 7, 2012 at 9:13 AM, Enlightenment SVN wrote: > Log: > warn-- > > > > Author: raster > Date: 2012-03-07 00:13:06 -0800 (Wed, 07 Mar 2012) > New Revision: 68892 > Trac: http://trac.enlightenment.org/e/changeset/68892 > > Modified: > trunk/elementary/src/lib/elm_gesture_layer.c > trunk/elementary/src/lib/elm_spinner.c trunk/elementary/src/lib/elm_spinner.h > > Modified: trunk/elementary/src/lib/elm_gesture_layer.c > === > --- trunk/elementary/src/lib/elm_gesture_layer.c 2012-03-07 08:11:00 > UTC (rev 68891) > +++ trunk/elementary/src/lib/elm_gesture_layer.c 2012-03-07 08:13:06 > UTC (rev 68892) > @@ -1570,13 +1570,14 @@ > * @ingroup Elm_Gesture_Layer > */ > static void > -_set_momentum(Elm_Gesture_Momentum_Info *momentum, Evas_Coord x1, Evas_Coord > y1, > - Evas_Coord x2, Evas_Coord y2, unsigned int t1x, unsigned int t1y, > - unsigned int t2) > +_set_momentum(Elm_Gesture_Momentum_Info *momentum, > + Evas_Coord xx1, Evas_Coord yy1, > + Evas_Coord xx2, Evas_Coord yy2, > + unsigned int t1x, unsigned int t1y, unsigned int t2) > { > Evas_Coord velx = 0, vely = 0, vel; > - Evas_Coord dx = x2 - x1; > - Evas_Coord dy = y2 - y1; > + Evas_Coord dx = xx2 - xx1; > + Evas_Coord dy = yy2 - yy1; > int dtx = t2 - t1x; > int dty = t2 - t1y; > if (dtx > 0) > > Modified: trunk/elementary/src/lib/elm_spinner.c > === > --- trunk/elementary/src/lib/elm_spinner.c 2012-03-07 08:11:00 UTC (rev > 68891) > +++ trunk/elementary/src/lib/elm_spinner.c 2012-03-07 08:13:06 UTC (rev > 68892) > @@ -804,12 +804,12 @@ > } > > EAPI void > -elm_spinner_round_set(Evas_Object *obj, int round) > +elm_spinner_round_set(Evas_Object *obj, int rnd) > { > ELM_CHECK_WIDTYPE(obj, widtype); > Widget_Data *wd = elm_widget_data_get(obj); > if (!wd) return; > - wd->round = round; > + wd->round = rnd; > } > > EAPI int > > Modified: trunk/elementary/src/lib/elm_spinner.h > === > --- trunk/elementary/src/lib/elm_spinner.h 2012-03-07 08:11:00 UTC (rev > 68891) > +++ trunk/elementary/src/lib/elm_spinner.h 2012-03-07 08:13:06 UTC (rev > 68892) > @@ -404,7 +404,7 @@ > * > * @ingroup Spinner > */ > -EAPI void elm_spinner_round_set(Evas_Object *obj, int round); > +EAPI void elm_spinner_round_set(Evas_Object *obj, int rnd); > > /** > * Get the round value for rounding > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Wed, 7 Mar 2012 09:16:56 +0100 Vincent Torri said: i missed 1 doc string. i fixed the others. > shouldn't the doc be updated when signatures of exported functions are > modified ? > > Vincent > > > > On Wed, Mar 7, 2012 at 9:13 AM, Enlightenment SVN > wrote: > > Log: > > warn-- > > > > > > > > Author: raster > > Date: 2012-03-07 00:13:06 -0800 (Wed, 07 Mar 2012) > > New Revision: 68892 > > Trac: http://trac.enlightenment.org/e/changeset/68892 > > > > Modified: > > trunk/elementary/src/lib/elm_gesture_layer.c > > trunk/elementary/src/lib/elm_spinner.c > > trunk/elementary/src/lib/elm_spinner.h > > > > Modified: trunk/elementary/src/lib/elm_gesture_layer.c > > === > > --- trunk/elementary/src/lib/elm_gesture_layer.c 2012-03-07 08:11:00 > > UTC (rev 68891) +++ trunk/elementary/src/lib/elm_gesture_layer.c > > 2012-03-07 08:13:06 UTC (rev 68892) @@ -1570,13 +1570,14 @@ > > * @ingroup Elm_Gesture_Layer > > */ > > static void > > -_set_momentum(Elm_Gesture_Momentum_Info *momentum, Evas_Coord x1, > > Evas_Coord y1, > > - Evas_Coord x2, Evas_Coord y2, unsigned int t1x, unsigned int t1y, > > - unsigned int t2) > > +_set_momentum(Elm_Gesture_Momentum_Info *momentum, > > + Evas_Coord xx1, Evas_Coord yy1, > > + Evas_Coord xx2, Evas_Coord yy2, > > + unsigned int t1x, unsigned int t1y, unsigned int t2) > > { > > Evas_Coord velx = 0, vely = 0, vel; > > - Evas_Coord dx = x2 - x1; > > - Evas_Coord dy = y2 - y1; > > + Evas_Coord dx = xx2 - xx1; > > + Evas_Coord dy = yy2 - yy1; > > int dtx = t2 - t1x; > > int dty = t2 - t1y; > > if (dtx > 0) > > > > Modified: trunk/elementary/src/lib/elm_spinner.c > > === > > --- trunk/elementary/src/lib/elm_spinner.c 2012-03-07 08:11:00 UTC > > (rev 68891) +++ trunk/elementary/src/lib/elm_spinner.c 2012-03-07 > > 08:13:06 UTC (rev 68892) @@ -804,12 +804,12 @@ > > } > > > > EAPI void > > -elm_spinner_round_set(Evas_Object *obj, int round) > > +elm_spinner_round_set(Evas_Object *obj, int rnd) > > { > > ELM_CHECK_WIDTYPE(obj, widtype); > > Widget_Data *wd = elm_widget_data_get(obj); > > if (!wd) return; > > - wd->round = round; > > + wd->round = rnd; > > } > > > > EAPI int > > > > Modified: trunk/elementary/src/lib/elm_spinner.h > > === > > --- trunk/elementary/src/lib/elm_spinner.h 2012-03-07 08:11:00 UTC > > (rev 68891) +++ trunk/elementary/src/lib/elm_spinner.h 2012-03-07 > > 08:13:06 UTC (rev 68892) @@ -404,7 +404,7 @@ > > * > > * @ingroup Spinner > > */ > > -EAPI void elm_spinner_round_set(Evas_Object *obj, int round); > > +EAPI void elm_spinner_round_set(Evas_Object *obj, int rnd); > > > > /** > > * Get the round value for rounding > > > > > > -- > > Virtualization & Cloud Management Using Capacity Planning > > Cloud computing makes use of virtualization - but cloud computing > > also focuses on allowing computing to be delivered as a service. > > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > 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 -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, Mar 22, 2012 at 7:14 AM, Enlightenment SVN < no-re...@enlightenment.org> wrote: > Log: > From: cnook > Subject: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list > internally. > > The patch is for using elm_list as a item controller of elc_ctxpopup. > I have learned that there was an opinion to change the internal > structure > of ctxpopup using the list. > It would be able to match up to your expectation. but it is just a draft > version of using list in ctxpopup. > So, It would be pretty good to me if you give any feedback on this. > Thanks. > > My 1st rewrite of the 1st drop-in of this widget used list as its building block. The widget was then renamed and reverted back to what it looked like originally in code, so I stopped following it. > > > > Author: raster > Date: 2012-03-22 03:14:58 -0700 (Thu, 22 Mar 2012) > New Revision: 69561 > Trac: http://trac.enlightenment.org/e/changeset/69561 > > Modified: > trunk/elementary/src/lib/elc_ctxpopup.c > > Modified: trunk/elementary/src/lib/elc_ctxpopup.c > === > --- trunk/elementary/src/lib/elc_ctxpopup.c 2012-03-22 10:10:29 UTC > (rev 69560) > +++ trunk/elementary/src/lib/elc_ctxpopup.c 2012-03-22 10:14:58 UTC > (rev 69561) > @@ -7,9 +7,7 @@ > struct _Elm_Ctxpopup_Item > { >ELM_WIDGET_ITEM; > - const char *label; > - Evas_Object *icon; > - Evas_Smart_Cb func; > + Elm_Object_Item *list_item; > }; > > struct _Widget_Data > @@ -17,16 +15,15 @@ >Evas_Object *parent; >Evas_Object *base; >Evas_Object *content; > + Evas_Object *list; >Evas_Object *box; >Evas_Object *arrow; > - Evas_Object *scr; >Evas_Object *bg; > - Eina_List *items; >Elm_Ctxpopup_Direction dir; >Elm_Ctxpopup_Direction dir_priority[4]; > - Evas_Coord max_sc_w, max_sc_h; >Eina_Bool horizontal:1; >Eina_Bool visible:1; > + Eina_Bool list_visible:1; >Eina_Bool finished:1; > }; > > @@ -36,7 +33,6 @@ > static void _freeze_off(void *data, Evas_Object *obj, void *event_info); > static void _hold_on(void *data, Evas_Object *obj, void *event_info); > static void _hold_off(void *data, Evas_Object *obj, void *event_info); > -static void _scroller_size_reset(Widget_Data *wd); > static void _on_focus_hook(void *data, Evas_Object *obj); > static Eina_Bool _event_hook(Evas_Object *obj, > Evas_Object *src, > @@ -55,7 +51,6 @@ > Evas *e, > Evas_Object *obj, > void *event_info); > -static void _item_sizing_eval(Elm_Ctxpopup_Item *item); > static void _adjust_pos_x(Evas_Coord_Point *pos, > Evas_Coord_Point *base_size, > Evas_Coord_Rectangle *hover_area); > @@ -118,28 +113,16 @@ > Evas *e, > Evas_Object *obj, > void *event_info); > -static void _scroller_resize(void *data, > - Evas *e, > - Evas_Object *obj, > - void *event_info); > static void _ctxpopup_move(void *data, >Evas *e, >Evas_Object *obj, >void *event_info); > static void _restack(void *data, Evas *e, Evas_Object *obj, void > *event_info); > -static void _item_select_cb(void *data, Evas_Object *obj, > -const char *emission, > -const char *source); > -static void _item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon); > -static void _item_label_set(Elm_Ctxpopup_Item *item, const char *label); > -static void _item_new(Elm_Ctxpopup_Item *item, char *group_name); > static void _content_del(void *data, > Evas *e, > Evas_Object *obj, > void *event_info); > static void _list_del(Widget_Data *wd); > -static void _list_new(Evas_Object *obj); > -static void _remove_items(Widget_Data * wd); > static void _disable_hook(Evas_Object *obj); > static void _signal_emit_hook(Evas_Object *obj, const char *emission, > const char *source); > static void _signal_callback_add_hook(Evas_Object *obj, const char > *emission, const char *source, Edje_Signal_Cb func_cb, void *data); > @@ -158,8 +141,8 @@ > { >Widget_Data *wd = elm_widget_data_get(obj); > > - if ((!wd) || (!wd->scr)) return; > - elm_object_scroll_freeze_push(wd->scr); > + if ((!wd) || (!wd->list)) return; > + elm_widget_scroll_freeze_push(wd->list); > } > > static void > @@ -168,8 +151,8 @@ > { >Widget_Data *wd = elm_widget_data_get(obj); > > - if ((!wd) || (!wd->scr)) return; > - elm_object_scroll_freeze_pop(wd->scr); > + if ((!wd) || (!wd->list)) return; > + elm_widget_scroll_freeze_pop(wd->list); > } > > static void > @@ -177,8 +160,8 @@ > { >Widget_
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Mon, 9 Apr 2012 00:43:21 -0700 "Enlightenment SVN" wrote: > Log: > why strlen wat u are about to ewalk thru anyway WHEN U ALREADY KNOW > THE LENGTH! use actual known length. > > > > Author: raster > Date: 2012-04-09 00:43:21 -0700 (Mon, 09 Apr 2012) > New Revision: 69963 > Trac: http://trac.enlightenment.org/e/changeset/69963 > > Modified: > trunk/elementary/src/lib/elm_entry.c > obviously we're so awesome that we have to handicap ourselves with things like this so that other toolkits have a chance -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
* Enlightenment SVN [2012-05-20 21:17:11 -0700]: > Log: > due to use obj structure if sd->api is null.. we have crashes - eg if > webkit not supported. fix this. (no no changelog as ita part of the > whole new structure changes) I wonder how is this code path where sd->api does not exist... Could you explain better or show me backtrace, please? BR, Glima. > > > > Author: raster > Date: 2012-05-20 21:17:11 -0700 (Sun, 20 May 2012) > New Revision: 71263 > Trac: http://trac.enlightenment.org/e/changeset/71263 > > Modified: > trunk/elementary/src/lib/elm_widget.c > > Modified: trunk/elementary/src/lib/elm_widget.c > === > --- trunk/elementary/src/lib/elm_widget.c 2012-05-21 01:43:44 UTC (rev > 71262) > +++ trunk/elementary/src/lib/elm_widget.c 2012-05-21 04:17:11 UTC (rev > 71263) > @@ -594,6 +594,7 @@ > API_ENTRY return EINA_FALSE; > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA(sd)->focus_next; > + if (!sd->api) return EINA_FALSE; > return sd->api->focus_next && >(sd->api->focus_next != _elm_widget_focus_next_func_unimplemented); > } > @@ -604,6 +605,7 @@ > API_ENTRY return EINA_FALSE; > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA(sd)->focus_direction; > + if (!sd->api) return EINA_FALSE; > return sd->api->focus_direction && >(sd->api->focus_direction != > _elm_widget_focus_direction_func_unimplemented); > @@ -813,6 +815,7 @@ > > focus_order++; > sd->focus_order = focus_order; > + if (!sd->api) return; > if (sd->top_win_focused) > { > sd->focused = EINA_TRUE; > @@ -1183,6 +1186,8 @@ > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > + if (!sd->api) return EINA_FALSE; > + > ret &= sd->api->theme(obj); > > return ret; > @@ -1226,6 +1231,7 @@ > if (sd->hover_obj) elm_widget_theme(sd->hover_obj); > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > + if (!sd->api) return; > sd->api->theme(obj); > } > > @@ -1480,6 +1486,7 @@ > API_ENTRY return EINA_FALSE; > EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); > > + if (!sd->api) return EINA_FALSE; > if (!_elm_legacy_is(obj)) return sd->api->sub_object_add(obj, sobj); > > /* this part will go away once all widgets are migrated to the new schema > */ > @@ -1543,6 +1550,7 @@ > > if (!sobj) return EINA_FALSE; > > + if (!sd->api) return EINA_FALSE; > if (!_elm_legacy_is(obj)) return sd->api->sub_object_del(obj, sobj); > > /* this part will go away once all widgets are migrated to the new schema > */ > @@ -1996,6 +2004,7 @@ > sd = evas_object_smart_data_get(parent); > if ((!sd) || (!_elm_widget_is(obj))) >return EINA_FALSE; //Not Elm Widget > +if (!sd->api) return EINA_FALSE; > > if (sd->api->event(parent, obj, type, event_info)) >return EINA_TRUE; > @@ -2260,6 +2269,8 @@ > || (elm_widget_tree_unfocusable_get(obj))) > return EINA_FALSE; > > + if (!sd->api) return EINA_FALSE; > + > /* Try use hook */ > if (_elm_widget_focus_direction_manager_is(obj)) > return sd->api->focus_direction(obj, base, degree, direction, weight); > @@ -2373,6 +2384,8 @@ > || (elm_widget_tree_unfocusable_get(obj))) > return EINA_FALSE; > > + if (!sd->api) return EINA_FALSE; > + > /* Try use hook */ > if (_elm_widget_focus_chain_manager_is(obj)) > return sd->api->focus_next(obj, dir, next); > @@ -2598,6 +2611,8 @@ > { > API_ENTRY return; > > + if (!sd->api) return; > + > if (!sd->focused) > { > focus_order++; > @@ -2672,6 +2687,8 @@ > { > API_ENTRY return; > > + if (!sd->api) return; > + > if (!sd->focused) return; > if (sd->resize_obj && elm_widget_focus_get(sd->resize_obj)) > elm_widget_focused_object_clear(sd->resize_obj); > @@ -2815,6 +2832,7 @@ > if (sd->disabled == disabled) return; > sd->disabled = !!disabled; > elm_widget_focus_disabled_handle(obj); > + if (!sd->api) return; > sd->api->disable(obj); > } > > @@ -3145,6 +3163,7 @@ > EINA_LIST_FOREACH(sd->subobjs, l, child) elm_widget_translate(child); > if (sd->resize_obj) elm_widget_translate(sd->resize_obj); > if (sd->hover_obj) elm_widget_translate(sd->hover_obj); > + if (!sd->api) return; > sd->api->translate(obj); > > #ifdef HAVE_GETTEXT > @@ -3161,6 +3180,7 @@ > { > API_ENTRY return; > > + if (!sd->api) return; > if (_elm_legacy_is(obj) && COMPAT_SMART_DATA(sd)->content_set) > COMPAT_SMART_DATA(sd)->content_set(obj, part, content); > else if (evas_object_smart_type_check(obj, "elm_container")) > @@ -3172,6 +
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Mon, 21 May 2012 11:17:32 -0300 Gustavo Lima Chaves said: > * Enlightenment SVN [2012-05-20 21:17:11 -0700]: > > > Log: > > due to use obj structure if sd->api is null.. we have crashes - eg if > > webkit not supported. fix this. (no no changelog as ita part of the > > whole new structure changes) > > I wonder how is this code path where sd->api does not exist... Could > you explain better or show me backtrace, please? sd->api was NULL. the code assumed it was never null. how? elm_web widget was created and played with in the documentation test apps that we screenshot for the docs. since my elm built without webkit support... the elm_web widget was only partly filled in. :) > BR, > > Glima. > > > > > > > > > Author: raster > > Date: 2012-05-20 21:17:11 -0700 (Sun, 20 May 2012) > > New Revision: 71263 > > Trac: http://trac.enlightenment.org/e/changeset/71263 > > > > Modified: > > trunk/elementary/src/lib/elm_widget.c > > > > Modified: trunk/elementary/src/lib/elm_widget.c > > === > > --- trunk/elementary/src/lib/elm_widget.c 2012-05-21 01:43:44 UTC > > (rev 71262) +++ trunk/elementary/src/lib/elm_widget.c 2012-05-21 > > 04:17:11 UTC (rev 71263) @@ -594,6 +594,7 @@ > > API_ENTRY return EINA_FALSE; > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA(sd)->focus_next; > > + if (!sd->api) return EINA_FALSE; > > return sd->api->focus_next && > >(sd->api->focus_next != > > _elm_widget_focus_next_func_unimplemented); } > > @@ -604,6 +605,7 @@ > > API_ENTRY return EINA_FALSE; > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA > > (sd)->focus_direction; > > + if (!sd->api) return EINA_FALSE; > > return sd->api->focus_direction && > >(sd->api->focus_direction != > > _elm_widget_focus_direction_func_unimplemented); > > @@ -813,6 +815,7 @@ > > > > focus_order++; > > sd->focus_order = focus_order; > > + if (!sd->api) return; > > if (sd->top_win_focused) > > { > > sd->focused = EINA_TRUE; > > @@ -1183,6 +1186,8 @@ > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > > > + if (!sd->api) return EINA_FALSE; > > + > > ret &= sd->api->theme(obj); > > > > return ret; > > @@ -1226,6 +1231,7 @@ > > if (sd->hover_obj) elm_widget_theme(sd->hover_obj); > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > + if (!sd->api) return; > > sd->api->theme(obj); > > } > > > > @@ -1480,6 +1486,7 @@ > > API_ENTRY return EINA_FALSE; > > EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); > > > > + if (!sd->api) return EINA_FALSE; > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_add(obj, sobj); > > > > /* this part will go away once all widgets are migrated to the new > > schema */ @@ -1543,6 +1550,7 @@ > > > > if (!sobj) return EINA_FALSE; > > > > + if (!sd->api) return EINA_FALSE; > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_del(obj, sobj); > > > > /* this part will go away once all widgets are migrated to the new > > schema */ @@ -1996,6 +2004,7 @@ > > sd = evas_object_smart_data_get(parent); > > if ((!sd) || (!_elm_widget_is(obj))) > >return EINA_FALSE; //Not Elm Widget > > +if (!sd->api) return EINA_FALSE; > > > > if (sd->api->event(parent, obj, type, event_info)) > >return EINA_TRUE; > > @@ -2260,6 +2269,8 @@ > > || (elm_widget_tree_unfocusable_get(obj))) > > return EINA_FALSE; > > > > + if (!sd->api) return EINA_FALSE; > > + > > /* Try use hook */ > > if (_elm_widget_focus_direction_manager_is(obj)) > > return sd->api->focus_direction(obj, base, degree, direction, weight); > > @@ -2373,6 +2384,8 @@ > > || (elm_widget_tree_unfocusable_get(obj))) > > return EINA_FALSE; > > > > + if (!sd->api) return EINA_FALSE; > > + > > /* Try use hook */ > > if (_elm_widget_focus_chain_manager_is(obj)) > > return sd->api->focus_next(obj, dir, next); > > @@ -2598,6 +2611,8 @@ > > { > > API_ENTRY return; > > > > + if (!sd->api) return; > > + > > if (!sd->focused) > > { > > focus_order++; > > @@ -2672,6 +2687,8 @@ > > { > > API_ENTRY return; > > > > + if (!sd->api) return; > > + > > if (!sd->focused) return; > > if (sd->resize_obj && elm_widget_focus_get(sd->resize_obj)) > > elm_widget_focused_object_clear(sd->resize_obj); > > @@ -2815,6 +2832,7 @@ > > if (sd->disabled == disabled) return; > > sd->disabled = !!disabled; > > elm_widget_focus_disabled_handle(obj); > > + if (!sd->api) return; > > sd->api->disable(obj); > > } > > > > @@ -3145,6 +3163,
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
* Carsten Haitzler [2012-05-22 08:42:00 +0900]: > On Mon, 21 May 2012 11:17:32 -0300 Gustavo Lima Chaves > said: > > > * Enlightenment SVN [2012-05-20 21:17:11 > > -0700]: > > > > > Log: > > > due to use obj structure if sd->api is null.. we have crashes - eg if > > > webkit not supported. fix this. (no no changelog as ita part of the > > > whole new structure changes) > > > > I wonder how is this code path where sd->api does not exist... Could > > you explain better or show me backtrace, please? > > sd->api was NULL. the code assumed it was never null. how? elm_web widget was > created and played with in the documentation test apps that we screenshot for > the docs. since my elm built without webkit support... the elm_web widget was > only partly filled in. :) OK, I'll look better at elm web's code and try to find this booboo -- a quick look on the 1st answer didn't raise anything. If I find it, I'll fix it properly and remove those checks of absurd/totally wrong conditions, OK? :) > > > BR, > > > > Glima. > > > > > > > > > > > > > > Author: raster > > > Date: 2012-05-20 21:17:11 -0700 (Sun, 20 May 2012) > > > New Revision: 71263 > > > Trac: http://trac.enlightenment.org/e/changeset/71263 > > > > > > Modified: > > > trunk/elementary/src/lib/elm_widget.c > > > > > > Modified: trunk/elementary/src/lib/elm_widget.c > > > === > > > --- trunk/elementary/src/lib/elm_widget.c 2012-05-21 01:43:44 UTC > > > (rev 71262) +++ trunk/elementary/src/lib/elm_widget.c 2012-05-21 > > > 04:17:11 UTC (rev 71263) @@ -594,6 +594,7 @@ > > > API_ENTRY return EINA_FALSE; > > > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA(sd)->focus_next; > > > + if (!sd->api) return EINA_FALSE; > > > return sd->api->focus_next && > > >(sd->api->focus_next != > > > _elm_widget_focus_next_func_unimplemented); } > > > @@ -604,6 +605,7 @@ > > > API_ENTRY return EINA_FALSE; > > > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA > > > (sd)->focus_direction; > > > + if (!sd->api) return EINA_FALSE; > > > return sd->api->focus_direction && > > >(sd->api->focus_direction != > > > _elm_widget_focus_direction_func_unimplemented); > > > @@ -813,6 +815,7 @@ > > > > > > focus_order++; > > > sd->focus_order = focus_order; > > > + if (!sd->api) return; > > > if (sd->top_win_focused) > > > { > > > sd->focused = EINA_TRUE; > > > @@ -1183,6 +1186,8 @@ > > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > > > > > + if (!sd->api) return EINA_FALSE; > > > + > > > ret &= sd->api->theme(obj); > > > > > > return ret; > > > @@ -1226,6 +1231,7 @@ > > > if (sd->hover_obj) elm_widget_theme(sd->hover_obj); > > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > > + if (!sd->api) return; > > > sd->api->theme(obj); > > > } > > > > > > @@ -1480,6 +1486,7 @@ > > > API_ENTRY return EINA_FALSE; > > > EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); > > > > > > + if (!sd->api) return EINA_FALSE; > > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_add(obj, sobj); > > > > > > /* this part will go away once all widgets are migrated to the new > > > schema */ @@ -1543,6 +1550,7 @@ > > > > > > if (!sobj) return EINA_FALSE; > > > > > > + if (!sd->api) return EINA_FALSE; > > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_del(obj, sobj); > > > > > > /* this part will go away once all widgets are migrated to the new > > > schema */ @@ -1996,6 +2004,7 @@ > > > sd = evas_object_smart_data_get(parent); > > > if ((!sd) || (!_elm_widget_is(obj))) > > >return EINA_FALSE; //Not Elm Widget > > > +if (!sd->api) return EINA_FALSE; > > > > > > if (sd->api->event(parent, obj, type, event_info)) > > >return EINA_TRUE; > > > @@ -2260,6 +2269,8 @@ > > > || (elm_widget_tree_unfocusable_get(obj))) > > > return EINA_FALSE; > > > > > > + if (!sd->api) return EINA_FALSE; > > > + > > > /* Try use hook */ > > > if (_elm_widget_focus_direction_manager_is(obj)) > > > return sd->api->focus_direction(obj, base, degree, direction, > > > weight); > > > @@ -2373,6 +2384,8 @@ > > > || (elm_widget_tree_unfocusable_get(obj))) > > > return EINA_FALSE; > > > > > > + if (!sd->api) return EINA_FALSE; > > > + > > > /* Try use hook */ > > > if (_elm_widget_focus_chain_manager_is(obj)) > > > return sd->api->focus_next(obj, dir, next); > > > @@ -2598,6 +2611,8 @@ > > > { > > > API_ENTRY return; > > > > > > + if (!sd->api) return; > > > + > > > if (!sd->focused) > > >
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 22 May 2012 00:08:36 -0300 Gustavo Lima Chaves said: > * Carsten Haitzler [2012-05-22 08:42:00 +0900]: > > > On Mon, 21 May 2012 11:17:32 -0300 Gustavo Lima Chaves > > said: > > > > > * Enlightenment SVN [2012-05-20 21:17:11 > > > -0700]: > > > > > > > Log: > > > > due to use obj structure if sd->api is null.. we have crashes - eg if > > > > webkit not supported. fix this. (no no changelog as ita part of the > > > > whole new structure changes) > > > > > > I wonder how is this code path where sd->api does not exist... Could > > > you explain better or show me backtrace, please? > > > > sd->api was NULL. the code assumed it was never null. how? elm_web widget > > was created and played with in the documentation test apps that we > > screenshot for the docs. since my elm built without webkit support... the > > elm_web widget was only partly filled in. :) > > OK, I'll look better at elm web's code and try to find this booboo -- > a quick look on the 1st answer didn't raise anything. If I find it, > I'll fix it properly and remove those checks of absurd/totally wrong > conditions, OK? :) sure. but then we need to make sure we dont get into this absurd condition earlier along the way :) > > > > > BR, > > > > > > Glima. > > > > > > > > > > > > > > > > > > > Author: raster > > > > Date: 2012-05-20 21:17:11 -0700 (Sun, 20 May 2012) > > > > New Revision: 71263 > > > > Trac: http://trac.enlightenment.org/e/changeset/71263 > > > > > > > > Modified: > > > > trunk/elementary/src/lib/elm_widget.c > > > > > > > > Modified: trunk/elementary/src/lib/elm_widget.c > > > > === > > > > --- trunk/elementary/src/lib/elm_widget.c 2012-05-21 01:43:44 UTC > > > > (rev 71262) +++ trunk/elementary/src/lib/elm_widget.c 2012-05-21 > > > > 04:17:11 UTC (rev 71263) @@ -594,6 +594,7 @@ > > > > API_ENTRY return EINA_FALSE; > > > > > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA(sd)->focus_next; > > > > + if (!sd->api) return EINA_FALSE; > > > > return sd->api->focus_next && > > > >(sd->api->focus_next != > > > > _elm_widget_focus_next_func_unimplemented); } > > > > @@ -604,6 +605,7 @@ > > > > API_ENTRY return EINA_FALSE; > > > > > > > > if (_elm_legacy_is(obj)) return !!COMPAT_SMART_DATA > > > > (sd)->focus_direction; > > > > + if (!sd->api) return EINA_FALSE; > > > > return sd->api->focus_direction && > > > >(sd->api->focus_direction != > > > > _elm_widget_focus_direction_func_unimplemented); > > > > @@ -813,6 +815,7 @@ > > > > > > > > focus_order++; > > > > sd->focus_order = focus_order; > > > > + if (!sd->api) return; > > > > if (sd->top_win_focused) > > > > { > > > > sd->focused = EINA_TRUE; > > > > @@ -1183,6 +1186,8 @@ > > > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > > > > > > > + if (!sd->api) return EINA_FALSE; > > > > + > > > > ret &= sd->api->theme(obj); > > > > > > > > return ret; > > > > @@ -1226,6 +1231,7 @@ > > > > if (sd->hover_obj) elm_widget_theme(sd->hover_obj); > > > > EINA_LIST_FOREACH(sd->tooltips, l, tt) elm_tooltip_theme(tt); > > > > EINA_LIST_FOREACH(sd->cursors, l, cur) elm_cursor_theme(cur); > > > > + if (!sd->api) return; > > > > sd->api->theme(obj); > > > > } > > > > > > > > @@ -1480,6 +1486,7 @@ > > > > API_ENTRY return EINA_FALSE; > > > > EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); > > > > > > > > + if (!sd->api) return EINA_FALSE; > > > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_add(obj, sobj); > > > > > > > > /* this part will go away once all widgets are migrated to the new > > > > schema */ @@ -1543,6 +1550,7 @@ > > > > > > > > if (!sobj) return EINA_FALSE; > > > > > > > > + if (!sd->api) return EINA_FALSE; > > > > if (!_elm_legacy_is(obj)) return sd->api->sub_object_del(obj, sobj); > > > > > > > > /* this part will go away once all widgets are migrated to the new > > > > schema */ @@ -1996,6 +2004,7 @@ > > > > sd = evas_object_smart_data_get(parent); > > > > if ((!sd) || (!_elm_widget_is(obj))) > > > >return EINA_FALSE; //Not Elm Widget > > > > +if (!sd->api) return EINA_FALSE; > > > > > > > > if (sd->api->event(parent, obj, type, event_info)) > > > >return EINA_TRUE; > > > > @@ -2260,6 +2269,8 @@ > > > > || (elm_widget_tree_unfocusable_get(obj))) > > > > return EINA_FALSE; > > > > > > > > + if (!sd->api) return EINA_FALSE; > > > > + > > > > /* Try use hook */ > > > > if (_elm_widget_focus_direction_manager_is(obj)) > > > > return sd->api->focus_direction(obj, base, degree, direction, > > > > weight); @@ -2373,6 +2384,8 @@ > > > > || (elm_widget_tree_unfocusa
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
printf in elm_slider.c? Daniel Juyung Seo (SeoZ) On Tue, Jul 24, 2012 at 1:59 PM, Enlightenment SVN wrote: > Log: > fix layer bug with floating popup object in slider i added just before > freeze. > > > > Author: raster > Date: 2012-07-23 21:59:45 -0700 (Mon, 23 Jul 2012) > New Revision: 74343 > Trac: http://trac.enlightenment.org/e/changeset/74343 > > Modified: > trunk/elementary/src/lib/elm_slider.c > > Modified: trunk/elementary/src/lib/elm_slider.c > === > --- trunk/elementary/src/lib/elm_slider.c 2012-07-24 04:59:22 UTC (rev > 74342) > +++ trunk/elementary/src/lib/elm_slider.c 2012-07-24 04:59:45 UTC (rev > 74343) > @@ -309,6 +309,8 @@ > ELM_SLIDER_DATA_GET(data, sd); > if (sd->popup) > { > +printf("%i\n", evas_object_layer_get(data)); > +evas_object_layer_set(sd->popup, evas_object_layer_get(data)); > evas_object_raise(sd->popup); > evas_object_show(sd->popup); > edje_object_signal_emit(sd->popup, "popup,show", "elm"); > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Wed, May 4, 2011 at 7:09 AM, Enlightenment SVN wrote: > Log: > allow elm to auto-screenshot and save windows all by itself just with > a special elm_engine var - great way to auto-generate screenies from > apps and change config/theme and everything automatically (via scripts > etc.) ;-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, 26 May 2011, Enlightenment SVN wrote: > Log: > fix hover doc -> no html tags. breaks latex docs. > > > > Author: raster > Date: 2011-05-26 22:42:27 -0700 (Thu, 26 May 2011) > New Revision: 59726 > Trac: http://trac.enlightenment.org/e/changeset/59726 > > Modified: > trunk/elementary/src/lib/elm_hover.c > > Modified: trunk/elementary/src/lib/elm_hover.c > === > --- trunk/elementary/src/lib/elm_hover.c 2011-05-27 04:36:33 UTC (rev > 59725) > +++ trunk/elementary/src/lib/elm_hover.c 2011-05-27 05:42:27 UTC (rev > 59726) > @@ -943,12 +943,10 @@ > * NULL, on errors. > * > * @p pref_axis may be one of > - * > * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation > * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal > * - @c ELM_HOVER_AXIS_VERTICAL -- vertical > * - @c ELM_HOVER_AXIS_BOTH -- both > - * http://www.stack.nl/~dimitri/doxygen/commands.html#cmdli Vincent > * > * See also elm_hover_content_set(). > * > > > -- > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Man, this is done by you 3 years ago. (not blaming, I was just curious) http://trac.enlightenment.org/e/changeset/36487/trunk/TMP/st/elementary/src/lib/elm_win.c But it was working before. It looks like elm_win sub objects eval was affected by something else :( Daniel Juyung Seo (SeoZ) On Mon, Aug 1, 2011 at 9:19 PM, Enlightenment SVN wrote: > Log: > min size of a win is NOT -1!! > > > > Author: raster > Date: 2011-08-01 05:19:36 -0700 (Mon, 01 Aug 2011) > New Revision: 61948 > Trac: http://trac.enlightenment.org/e/changeset/61948 > > Modified: > trunk/elementary/src/lib/elm_win.c > > Modified: trunk/elementary/src/lib/elm_win.c > === > --- trunk/elementary/src/lib/elm_win.c 2011-08-01 12:16:39 UTC (rev 61947) > +++ trunk/elementary/src/lib/elm_win.c 2011-08-01 12:19:36 UTC (rev 61948) > @@ -786,8 +786,8 @@ > if (wy == 0.0) xy = 0; > > evas_object_size_hint_min_get(child, &w, &h); > - if (w < 1) w = -1; > - if (h < 1) h = -1; > + if (w < 1) w = 1; > + if (h < 1) h = 1; > if (w > minw) minw = w; > if (h > minh) minh = h; > > > > -- > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Good job! Btw, why don't you use elm_object_content_get/set()? They're there! Thanks. Daniel Juyung Seo (SeoZ) On Fri, Aug 5, 2011 at 4:45 PM, Enlightenment SVN wrote: > Log: > elm factory... in, genscroller out. > > > > Author: raster > Date: 2011-08-05 00:45:45 -0700 (Fri, 05 Aug 2011) > New Revision: 62124 > Trac: http://trac.enlightenment.org/e/changeset/62124 > > Added: > trunk/elementary/src/lib/elm_factory.c > Removed: > trunk/elementary/src/lib/elm_genscroller.c > Modified: > trunk/elementary/src/lib/Elementary.h.in trunk/elementary/src/lib/Makefile.am > > Modified: trunk/elementary/src/lib/Elementary.h.in > === > --- trunk/elementary/src/lib/Elementary.h.in 2011-08-05 05:59:53 UTC (rev > 62123) > +++ trunk/elementary/src/lib/Elementary.h.in 2011-08-05 07:45:45 UTC (rev > 62124) > @@ -24186,9 +24186,11 @@ > EAPI void elm_grid_pack_set(Evas_Object *subobj, int x, int y, int > w, int h); > EAPI void elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, > int *w, int *h); > > - EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent); > - EAPI void elm_genscroller_world_size_set(Evas_Object *obj, > Evas_Coord w, Evas_Coord h); > > + EAPI Evas_Object *elm_factory_add(Evas_Object *parent); > + EAPI void elm_factory_content_set(Evas_Object *obj, Evas_Object > *content); > + EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj); > + > EAPI Evas_Object *elm_video_add(Evas_Object *parent); > EAPI void elm_video_file_set(Evas_Object *video, const char *filename); > EAPI void elm_video_uri_set(Evas_Object *video, const char *uri); > > Modified: trunk/elementary/src/lib/Makefile.am > === > --- trunk/elementary/src/lib/Makefile.am 2011-08-05 05:59:53 UTC (rev > 62123) > +++ trunk/elementary/src/lib/Makefile.am 2011-08-05 07:45:45 UTC (rev > 62124) > @@ -66,13 +66,13 @@ > elm_conform.c \ > elm_diskselector.c \ > elm_entry.c \ > +elm_factory.c \ > elm_flip.c \ > elm_flipselector.c \ > elm_font.c \ > elm_frame.c \ > elm_gengrid.c \ > elm_genlist.c \ > -elm_genscroller.c \ > elm_gesture_layer.c \ > elm_glview.c \ > elm_grid.c \ > > > -- > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 5 Aug 2011 17:26:03 +0900 Daniel Juyung Seo said: didn't know it existed. that's new. have other issues to solve first tho... > Good job! > > Btw, why don't you use elm_object_content_get/set()? > They're there! > > Thanks. > Daniel Juyung Seo (SeoZ) > > On Fri, Aug 5, 2011 at 4:45 PM, Enlightenment SVN > wrote: > > Log: > > elm factory... in, genscroller out. > > > > > > > > Author: raster > > Date: 2011-08-05 00:45:45 -0700 (Fri, 05 Aug 2011) > > New Revision: 62124 > > Trac: http://trac.enlightenment.org/e/changeset/62124 > > > > Added: > > trunk/elementary/src/lib/elm_factory.c > > Removed: > > trunk/elementary/src/lib/elm_genscroller.c > > Modified: > > trunk/elementary/src/lib/Elementary.h.in > > trunk/elementary/src/lib/Makefile.am > > > > Modified: trunk/elementary/src/lib/Elementary.h.in > > === > > --- trunk/elementary/src/lib/Elementary.h.in 2011-08-05 05:59:53 UTC > > (rev 62123) +++ trunk/elementary/src/lib/Elementary.h.in 2011-08-05 > > 07:45:45 UTC (rev 62124) @@ -24186,9 +24186,11 @@ > > EAPI void elm_grid_pack_set(Evas_Object *subobj, int x, int y, > > int w, int h); EAPI void elm_grid_pack_get(Evas_Object *subobj, int > > *x, int *y, int *w, int *h); > > > > - EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent); > > - EAPI void elm_genscroller_world_size_set(Evas_Object *obj, > > Evas_Coord w, Evas_Coord h); > > > > + EAPI Evas_Object *elm_factory_add(Evas_Object *parent); > > + EAPI void elm_factory_content_set(Evas_Object *obj, Evas_Object > > *content); > > + EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj); > > + > > EAPI Evas_Object *elm_video_add(Evas_Object *parent); > > EAPI void elm_video_file_set(Evas_Object *video, const char *filename); > > EAPI void elm_video_uri_set(Evas_Object *video, const char *uri); > > > > Modified: trunk/elementary/src/lib/Makefile.am > > === > > --- trunk/elementary/src/lib/Makefile.am 2011-08-05 05:59:53 UTC > > (rev 62123) +++ trunk/elementary/src/lib/Makefile.am 2011-08-05 > > 07:45:45 UTC (rev 62124) @@ -66,13 +66,13 @@ > > elm_conform.c \ > > elm_diskselector.c \ > > elm_entry.c \ > > +elm_factory.c \ > > elm_flip.c \ > > elm_flipselector.c \ > > elm_font.c \ > > elm_frame.c \ > > elm_gengrid.c \ > > elm_genlist.c \ > > -elm_genscroller.c \ > > elm_gesture_layer.c \ > > elm_glview.c \ > > elm_grid.c \ > > > > > > -- > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > The must-attend event for mobile developers. Connect with experts. > > Get tools for creating Super Apps. See the latest technologies. > > Sessions, hands-on labs, demos & much more. Register early & save! > > http://p.sf.net/sfu/rim-blackberry-1 > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > -- > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > ___ > 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 -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Thanks but I as said this might be a big change for applications. We'll see what's happening. Thanks. Daniel Juyung Seo (SeoZ) On Mon, Aug 8, 2011 at 7:32 PM, Enlightenment SVN wrote: > Log: > we really should focus when we release mouse AND on_hold is... NOT > set. happy happy joy joy. > > > > Author: raster > Date: 2011-08-08 03:32:32 -0700 (Mon, 08 Aug 2011) > New Revision: 62197 > Trac: http://trac.enlightenment.org/e/changeset/62197 > > Modified: > trunk/elementary/src/lib/elm_widget.c trunk/elementary/src/lib/elm_widget.h > trunk/elementary/src/lib/elm_win.c > > Modified: trunk/elementary/src/lib/elm_widget.c > === > --- trunk/elementary/src/lib/elm_widget.c 2011-08-08 09:44:22 UTC (rev > 62196) > +++ trunk/elementary/src/lib/elm_widget.c 2011-08-08 10:32:32 UTC (rev > 62197) > @@ -233,12 +233,14 @@ > } > > static void > -_sub_obj_mouse_down(void *data __UNUSED__, > - Evas *e __UNUSED__, > - Evas_Object *obj, > - void *event_info __UNUSED__) > +_sub_obj_mouse_up(void *data __UNUSED__, > + Evas *e __UNUSED__, > + Evas_Object *obj, > + void *event_info) > { > - elm_widget_focus_mouse_down_handle(obj); > + Evas_Event_Mouse_Up *ev = event_info; > + if (!(ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)) > + elm_widget_focus_mouse_up_handle(obj); > } > > static void > @@ -986,8 +988,8 @@ > } > evas_object_event_callback_del_full(sd->resize_obj, EVAS_CALLBACK_DEL, > _sub_obj_del, sd); > - evas_object_event_callback_del_full(sd->resize_obj, > EVAS_CALLBACK_MOUSE_DOWN, > - _sub_obj_mouse_down, sd); > + evas_object_event_callback_del_full(sd->resize_obj, > EVAS_CALLBACK_MOUSE_UP, > + _sub_obj_mouse_up, sd); > evas_object_smart_member_del(sd->resize_obj); > if (_elm_widget_is(sd->resize_obj)) > { > @@ -1007,8 +1009,8 @@ > } > evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_DEL, > _sub_obj_del, sd); > - evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_MOUSE_DOWN, > - _sub_obj_mouse_down, sd); > + evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_MOUSE_UP, > + _sub_obj_mouse_up, sd); > evas_object_smart_member_del(sobj); > if (_elm_widget_is(sobj)) > { > @@ -1030,8 +1032,8 @@ > evas_object_smart_member_add(sobj, obj); > evas_object_event_callback_add(sobj, EVAS_CALLBACK_DEL, > _sub_obj_del, sd); > - evas_object_event_callback_add(sobj, EVAS_CALLBACK_MOUSE_DOWN, > - _sub_obj_mouse_down, sd); > + evas_object_event_callback_add(sobj, EVAS_CALLBACK_MOUSE_UP, > + _sub_obj_mouse_up, sd); > _smart_reconfigure(sd); > evas_object_data_set(sobj, "elm-parent", obj); > evas_object_smart_callback_call(obj, "sub-object-add", sobj); > @@ -2445,7 +2447,7 @@ > } > > EAPI void > -elm_widget_focus_mouse_down_handle(Evas_Object *obj) > +elm_widget_focus_mouse_up_handle(Evas_Object *obj) > { > Evas_Object *o = obj; > do > > Modified: trunk/elementary/src/lib/elm_widget.h > === > --- trunk/elementary/src/lib/elm_widget.h 2011-08-08 09:44:22 UTC (rev > 62196) > +++ trunk/elementary/src/lib/elm_widget.h 2011-08-08 10:32:32 UTC (rev > 62197) > @@ -341,7 +341,7 @@ > EAPI Eina_List *elm_widget_stringlist_get(const char *str); > EAPI void elm_widget_stringlist_free(Eina_List *list); > EAPI void elm_widget_focus_hide_handle(Evas_Object *obj); > -EAPI void elm_widget_focus_mouse_down_handle(Evas_Object *obj); > +EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj); > EAPI void elm_widget_focus_tree_unfocusable_handle(Evas_Object > *obj); > EAPI void elm_widget_focus_disabled_handle(Evas_Object *obj); > EAPI void elm_widget_text_part_set(Evas_Object *obj, const char > *part, const char *label); > > Modified: trunk/elementary/src/lib/elm_win.c > === > --- trunk/elementary/src/lib/elm_win.c 2011-08-08 09:44:22 UTC (rev 62196) > +++ trunk/elementary/src/lib/elm_win.c 2011-08-08 10:32:32 UTC (rev 62197) > @@ -1277,13 +1277,15 @@ > } > > static void > -_win_img_mouse_down(void *data, > - Evas *e __UNUSED__, > - Evas_Objec
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
hilight -> highlight http://en.wiktionary.org/wiki/hilight I won't touch elm_access while raster is heavily working on it. So fix it! Daniel Juyung Seo (SeoZ) On Tue, Aug 23, 2011 at 5:46 PM, Enlightenment SVN wrote: > Log: > make access hilight follow object around and vanish it target is > hidden or deleted. > > > > Author: raster > Date: 2011-08-23 01:46:01 -0700 (Tue, 23 Aug 2011) > New Revision: 62714 > Trac: http://trac.enlightenment.org/e/changeset/62714 > > Modified: > trunk/elementary/src/lib/elm_access.c trunk/elementary/src/lib/elm_widget.h > > Modified: trunk/elementary/src/lib/elm_access.c > === > --- trunk/elementary/src/lib/elm_access.c 2011-08-23 07:44:49 UTC (rev > 62713) > +++ trunk/elementary/src/lib/elm_access.c 2011-08-23 08:46:01 UTC (rev > 62714) > @@ -101,7 +101,7 @@ > { > Elm_Access_Info *ac = evas_object_data_get(data, "_elm_access"); > if (!ac) return; > - _elm_access_object_unhilight(data); > +// _elm_access_object_unhilight(data); > if (ac->delay_timer) > { > ecore_timer_del(ac->delay_timer); > @@ -135,6 +135,44 @@ > printf("read done\n"); > } > > +static void > +_access_obj_hilight_del_cb(void *data __UNUSED__, Evas *e, Evas_Object *obj > __UNUSED__, void *event_info __UNUSED__) > +{ > + _elm_access_object_hilight_disable(e); > +} > + > +static void > +_access_obj_hilight_hide_cb(void *data __UNUSED__, Evas *e, Evas_Object *obj > __UNUSED__, void *event_info __UNUSED__) > +{ > + _elm_access_object_hilight_disable(e); > +} > + > +static void > +_access_obj_hilight_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, > Evas_Object *obj, void *event_info __UNUSED__) > +{ > + Evas_Coord x, y; > + Evas_Object *o; > + > + o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); > + if (!o) return; > + evas_object_geometry_get(obj, &x, &y, NULL, NULL); > + evas_object_move(o, x, y); > +} > + > +static void > +_access_obj_hilight_resize_cb(void *data __UNUSED__, Evas *e __UNUSED__, > Evas_Object *obj, void *event_info __UNUSED__) > +{ > + Evas_Coord w, h; > + Evas_Object *o; > + > + o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); > + if (!o) return; > + evas_object_geometry_get(obj, NULL, NULL, &w, &h); > + evas_object_resize(o, w, h); > +} > + > + > + > //-// > > EAPI void > @@ -252,6 +290,7 @@ > _elm_access_object_hilight(Evas_Object *obj) > { > Evas_Object *o; > + Evas_Coord x, y, w, h; > > o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); > if (!o) > @@ -266,27 +305,31 @@ > if (ptarget) > { > evas_object_data_del(o, "_elm_access_target"); > - // FIXME: delete move/resize/del callbacks from ptarget > + evas_object_event_callback_del_full(ptarget, EVAS_CALLBACK_DEL, > + _access_obj_hilight_del_cb, > NULL); > + evas_object_event_callback_del_full(ptarget, EVAS_CALLBACK_HIDE, > + > _access_obj_hilight_hide_cb, NULL); > + evas_object_event_callback_del_full(ptarget, EVAS_CALLBACK_MOVE, > + > _access_obj_hilight_move_cb, NULL); > + evas_object_event_callback_del_full(ptarget, > EVAS_CALLBACK_RESIZE, > + > _access_obj_hilight_resize_cb, NULL); > } > } > evas_object_data_set(o, "_elm_access_target", obj); > - // FIXME: track obj pos/size until hilight removed > _elm_theme_object_set(obj, o, "access", "base", "default"); > + evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, > + _access_obj_hilight_del_cb, NULL); > + evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, > + _access_obj_hilight_hide_cb, NULL); > + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, > + _access_obj_hilight_move_cb, NULL); > + evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, > + _access_obj_hilight_resize_cb, NULL); > evas_object_raise(o); > - > - { > - Evas_Coord x, y, w, h; > - evas_object_geometry_get(obj, &x, &y, &w, &h); > - evas_object_move(o, x, y); > - evas_object_resize(o, w, h); > - } > - > + evas_object_geometry_get(obj, &x, &y, &w, &h); > + evas_object_move(o, x, y); > + evas_object_resize(o, w, h); > evas_object_show(o); > - // if hilight obj doesnt exist - create and attach to window > - // make sure its on a high layer > - // show it and emit signal > - // if exists, move and resize to obj object location > - // ** try use dragables to specify pos+size?? > } >
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
How do you think raster about hilight -> highlight? Daniel Juyung Seo (SeoZ) On Tue, Aug 23, 2011 at 9:31 PM, Daniel Juyung Seo wrote: > hilight -> highlight > http://en.wiktionary.org/wiki/hilight > > I won't touch elm_access while raster is heavily working on it. > So fix it! > > Daniel Juyung Seo (SeoZ) > > > On Tue, Aug 23, 2011 at 5:46 PM, Enlightenment SVN > wrote: >> Log: >> make access hilight follow object around and vanish it target is >> hidden or deleted. >> >> >> >> Author: raster >> Date: 2011-08-23 01:46:01 -0700 (Tue, 23 Aug 2011) >> New Revision: 62714 >> Trac: http://trac.enlightenment.org/e/changeset/62714 >> >> Modified: >> trunk/elementary/src/lib/elm_access.c trunk/elementary/src/lib/elm_widget.h >> >> Modified: trunk/elementary/src/lib/elm_access.c >> === >> --- trunk/elementary/src/lib/elm_access.c 2011-08-23 07:44:49 UTC (rev >> 62713) >> +++ trunk/elementary/src/lib/elm_access.c 2011-08-23 08:46:01 UTC (rev >> 62714) >> @@ -101,7 +101,7 @@ >> { >> Elm_Access_Info *ac = evas_object_data_get(data, "_elm_access"); >> if (!ac) return; >> - _elm_access_object_unhilight(data); >> +// _elm_access_object_unhilight(data); >> if (ac->delay_timer) >> { >> ecore_timer_del(ac->delay_timer); >> @@ -135,6 +135,44 @@ >> printf("read done\n"); >> } >> >> +static void >> +_access_obj_hilight_del_cb(void *data __UNUSED__, Evas *e, Evas_Object *obj >> __UNUSED__, void *event_info __UNUSED__) >> +{ >> + _elm_access_object_hilight_disable(e); >> +} >> + >> +static void >> +_access_obj_hilight_hide_cb(void *data __UNUSED__, Evas *e, Evas_Object >> *obj __UNUSED__, void *event_info __UNUSED__) >> +{ >> + _elm_access_object_hilight_disable(e); >> +} >> + >> +static void >> +_access_obj_hilight_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, >> Evas_Object *obj, void *event_info __UNUSED__) >> +{ >> + Evas_Coord x, y; >> + Evas_Object *o; >> + >> + o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); >> + if (!o) return; >> + evas_object_geometry_get(obj, &x, &y, NULL, NULL); >> + evas_object_move(o, x, y); >> +} >> + >> +static void >> +_access_obj_hilight_resize_cb(void *data __UNUSED__, Evas *e __UNUSED__, >> Evas_Object *obj, void *event_info __UNUSED__) >> +{ >> + Evas_Coord w, h; >> + Evas_Object *o; >> + >> + o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); >> + if (!o) return; >> + evas_object_geometry_get(obj, NULL, NULL, &w, &h); >> + evas_object_resize(o, w, h); >> +} >> + >> + >> + >> //-// >> >> EAPI void >> @@ -252,6 +290,7 @@ >> _elm_access_object_hilight(Evas_Object *obj) >> { >> Evas_Object *o; >> + Evas_Coord x, y, w, h; >> >> o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp"); >> if (!o) >> @@ -266,27 +305,31 @@ >> if (ptarget) >> { >> evas_object_data_del(o, "_elm_access_target"); >> - // FIXME: delete move/resize/del callbacks from ptarget >> + evas_object_event_callback_del_full(ptarget, EVAS_CALLBACK_DEL, >> + >> _access_obj_hilight_del_cb, NULL); >> + evas_object_event_callback_del_full(ptarget, >> EVAS_CALLBACK_HIDE, >> + >> _access_obj_hilight_hide_cb, NULL); >> + evas_object_event_callback_del_full(ptarget, >> EVAS_CALLBACK_MOVE, >> + >> _access_obj_hilight_move_cb, NULL); >> + evas_object_event_callback_del_full(ptarget, >> EVAS_CALLBACK_RESIZE, >> + >> _access_obj_hilight_resize_cb, NULL); >> } >> } >> evas_object_data_set(o, "_elm_access_target", obj); >> - // FIXME: track obj pos/size until hilight removed >> _elm_theme_object_set(obj, o, "access", "base", "default"); >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, >> + _access_obj_hilight_del_cb, NULL); >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, >> + _access_obj_hilight_hide_cb, NULL); >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, >> + _access_obj_hilight_move_cb, NULL); >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, >> + _access_obj_hilight_resize_cb, NULL); >> evas_object_raise(o); >> - >> - { >> - Evas_Coord x, y, w, h; >> - evas_object_geometry_get(obj, &x, &y, &w, &h); >> - evas_object_move(o, x, y); >> - evas_object_resize(o, w, h); >> - } >> - >> + evas_object_geometry_get(obj, &x, &y, &w, &h); >> + evas_object_move(o, x, y); >> + evas_object_resize
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 26 Aug 2011 09:33:58 +0900 Daniel Juyung Seo said: thats actually a moot thing. hi is very often short for "high". you'll see it on appliances with: hi lo :) > How do you think raster about hilight -> highlight? > > Daniel Juyung Seo (SeoZ) > > On Tue, Aug 23, 2011 at 9:31 PM, Daniel Juyung Seo > wrote: > > hilight -> highlight > > http://en.wiktionary.org/wiki/hilight > > > > I won't touch elm_access while raster is heavily working on it. > > So fix it! > > > > Daniel Juyung Seo (SeoZ) > > > > > > On Tue, Aug 23, 2011 at 5:46 PM, Enlightenment SVN > > wrote: > >> Log: > >> make access hilight follow object around and vanish it target is > >> hidden or deleted. > >> > >> > >> > >> Author: raster > >> Date: 2011-08-23 01:46:01 -0700 (Tue, 23 Aug 2011) > >> New Revision: 62714 > >> Trac: http://trac.enlightenment.org/e/changeset/62714 > >> > >> Modified: > >> trunk/elementary/src/lib/elm_access.c > >> trunk/elementary/src/lib/elm_widget.h > >> > >> Modified: trunk/elementary/src/lib/elm_access.c > >> === > >> --- trunk/elementary/src/lib/elm_access.c 2011-08-23 07:44:49 UTC > >> (rev 62713) +++ trunk/elementary/src/lib/elm_access.c 2011-08-23 > >> 08:46:01 UTC (rev 62714) @@ -101,7 +101,7 @@ > >> { > >> Elm_Access_Info *ac = evas_object_data_get(data, "_elm_access"); > >> if (!ac) return; > >> - _elm_access_object_unhilight(data); > >> +// _elm_access_object_unhilight(data); > >> if (ac->delay_timer) > >> { > >> ecore_timer_del(ac->delay_timer); > >> @@ -135,6 +135,44 @@ > >> printf("read done\n"); > >> } > >> > >> +static void > >> +_access_obj_hilight_del_cb(void *data __UNUSED__, Evas *e, Evas_Object > >> *obj __UNUSED__, void *event_info __UNUSED__) +{ > >> + _elm_access_object_hilight_disable(e); > >> +} > >> + > >> +static void > >> +_access_obj_hilight_hide_cb(void *data __UNUSED__, Evas *e, Evas_Object > >> *obj __UNUSED__, void *event_info __UNUSED__) +{ > >> + _elm_access_object_hilight_disable(e); > >> +} > >> + > >> +static void > >> +_access_obj_hilight_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, > >> Evas_Object *obj, void *event_info __UNUSED__) +{ > >> + Evas_Coord x, y; > >> + Evas_Object *o; > >> + > >> + o = evas_object_name_find(evas_object_evas_get(obj), > >> "_elm_access_disp"); > >> + if (!o) return; > >> + evas_object_geometry_get(obj, &x, &y, NULL, NULL); > >> + evas_object_move(o, x, y); > >> +} > >> + > >> +static void > >> +_access_obj_hilight_resize_cb(void *data __UNUSED__, Evas *e __UNUSED__, > >> Evas_Object *obj, void *event_info __UNUSED__) +{ > >> + Evas_Coord w, h; > >> + Evas_Object *o; > >> + > >> + o = evas_object_name_find(evas_object_evas_get(obj), > >> "_elm_access_disp"); > >> + if (!o) return; > >> + evas_object_geometry_get(obj, NULL, NULL, &w, &h); > >> + evas_object_resize(o, w, h); > >> +} > >> + > >> + > >> + > >> //-// > >> > >> EAPI void > >> @@ -252,6 +290,7 @@ > >> _elm_access_object_hilight(Evas_Object *obj) > >> { > >> Evas_Object *o; > >> + Evas_Coord x, y, w, h; > >> > >> o = evas_object_name_find(evas_object_evas_get(obj), > >> "_elm_access_disp"); if (!o) > >> @@ -266,27 +305,31 @@ > >> if (ptarget) > >> { > >> evas_object_data_del(o, "_elm_access_target"); > >> - // FIXME: delete move/resize/del callbacks from ptarget > >> + evas_object_event_callback_del_full(ptarget, > >> EVAS_CALLBACK_DEL, > >> + > >> _access_obj_hilight_del_cb, NULL); > >> + evas_object_event_callback_del_full(ptarget, > >> EVAS_CALLBACK_HIDE, > >> + > >> _access_obj_hilight_hide_cb, NULL); > >> + evas_object_event_callback_del_full(ptarget, > >> EVAS_CALLBACK_MOVE, > >> + > >> _access_obj_hilight_move_cb, NULL); > >> + evas_object_event_callback_del_full(ptarget, > >> EVAS_CALLBACK_RESIZE, > >> + > >> _access_obj_hilight_resize_cb, NULL); } > >> } > >> evas_object_data_set(o, "_elm_access_target", obj); > >> - // FIXME: track obj pos/size until hilight removed > >> _elm_theme_object_set(obj, o, "access", "base", "default"); > >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, > >> + _access_obj_hilight_del_cb, NULL); > >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, > >> + _access_obj_hilight_hide_cb, NULL); > >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, > >> + _access_obj_hilight_move_cb, NULL); > >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, > >> + _access_obj_hilight_resize_cb, NULL); > >> evas_object_raise(o); > >> - > >> - { > >> - Evas_Coord x, y, w, h; > >> - evas_object_geometry_get(obj, &x, &y
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
If so, just leave it. Thanks :) Daniel Juyung Seo (SeoZ) On Fri, Aug 26, 2011 at 12:04 PM, Carsten Haitzler wrote: > On Fri, 26 Aug 2011 09:33:58 +0900 Daniel Juyung Seo > said: > > thats actually a moot thing. hi is very often short for "high". you'll see it > on appliances with: > > hi > lo > > :) > >> How do you think raster about hilight -> highlight? >> >> Daniel Juyung Seo (SeoZ) >> >> On Tue, Aug 23, 2011 at 9:31 PM, Daniel Juyung Seo >> wrote: >> > hilight -> highlight >> > http://en.wiktionary.org/wiki/hilight >> > >> > I won't touch elm_access while raster is heavily working on it. >> > So fix it! >> > >> > Daniel Juyung Seo (SeoZ) >> > >> > >> > On Tue, Aug 23, 2011 at 5:46 PM, Enlightenment SVN >> > wrote: >> >> Log: >> >> make access hilight follow object around and vanish it target is >> >> hidden or deleted. >> >> >> >> >> >> >> >> Author: raster >> >> Date: 2011-08-23 01:46:01 -0700 (Tue, 23 Aug 2011) >> >> New Revision: 62714 >> >> Trac: http://trac.enlightenment.org/e/changeset/62714 >> >> >> >> Modified: >> >> trunk/elementary/src/lib/elm_access.c >> >> trunk/elementary/src/lib/elm_widget.h >> >> >> >> Modified: trunk/elementary/src/lib/elm_access.c >> >> === >> >> --- trunk/elementary/src/lib/elm_access.c 2011-08-23 07:44:49 UTC >> >> (rev 62713) +++ trunk/elementary/src/lib/elm_access.c 2011-08-23 >> >> 08:46:01 UTC (rev 62714) @@ -101,7 +101,7 @@ >> >> { >> >> Elm_Access_Info *ac = evas_object_data_get(data, "_elm_access"); >> >> if (!ac) return; >> >> - _elm_access_object_unhilight(data); >> >> +// _elm_access_object_unhilight(data); >> >> if (ac->delay_timer) >> >> { >> >> ecore_timer_del(ac->delay_timer); >> >> @@ -135,6 +135,44 @@ >> >> printf("read done\n"); >> >> } >> >> >> >> +static void >> >> +_access_obj_hilight_del_cb(void *data __UNUSED__, Evas *e, Evas_Object >> >> *obj __UNUSED__, void *event_info __UNUSED__) +{ >> >> + _elm_access_object_hilight_disable(e); >> >> +} >> >> + >> >> +static void >> >> +_access_obj_hilight_hide_cb(void *data __UNUSED__, Evas *e, Evas_Object >> >> *obj __UNUSED__, void *event_info __UNUSED__) +{ >> >> + _elm_access_object_hilight_disable(e); >> >> +} >> >> + >> >> +static void >> >> +_access_obj_hilight_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, >> >> Evas_Object *obj, void *event_info __UNUSED__) +{ >> >> + Evas_Coord x, y; >> >> + Evas_Object *o; >> >> + >> >> + o = evas_object_name_find(evas_object_evas_get(obj), >> >> "_elm_access_disp"); >> >> + if (!o) return; >> >> + evas_object_geometry_get(obj, &x, &y, NULL, NULL); >> >> + evas_object_move(o, x, y); >> >> +} >> >> + >> >> +static void >> >> +_access_obj_hilight_resize_cb(void *data __UNUSED__, Evas *e __UNUSED__, >> >> Evas_Object *obj, void *event_info __UNUSED__) +{ >> >> + Evas_Coord w, h; >> >> + Evas_Object *o; >> >> + >> >> + o = evas_object_name_find(evas_object_evas_get(obj), >> >> "_elm_access_disp"); >> >> + if (!o) return; >> >> + evas_object_geometry_get(obj, NULL, NULL, &w, &h); >> >> + evas_object_resize(o, w, h); >> >> +} >> >> + >> >> + >> >> + >> >> //-// >> >> >> >> EAPI void >> >> @@ -252,6 +290,7 @@ >> >> _elm_access_object_hilight(Evas_Object *obj) >> >> { >> >> Evas_Object *o; >> >> + Evas_Coord x, y, w, h; >> >> >> >> o = evas_object_name_find(evas_object_evas_get(obj), >> >> "_elm_access_disp"); if (!o) >> >> @@ -266,27 +305,31 @@ >> >> if (ptarget) >> >> { >> >> evas_object_data_del(o, "_elm_access_target"); >> >> - // FIXME: delete move/resize/del callbacks from ptarget >> >> + evas_object_event_callback_del_full(ptarget, >> >> EVAS_CALLBACK_DEL, >> >> + >> >> _access_obj_hilight_del_cb, NULL); >> >> + evas_object_event_callback_del_full(ptarget, >> >> EVAS_CALLBACK_HIDE, >> >> + >> >> _access_obj_hilight_hide_cb, NULL); >> >> + evas_object_event_callback_del_full(ptarget, >> >> EVAS_CALLBACK_MOVE, >> >> + >> >> _access_obj_hilight_move_cb, NULL); >> >> + evas_object_event_callback_del_full(ptarget, >> >> EVAS_CALLBACK_RESIZE, >> >> + >> >> _access_obj_hilight_resize_cb, NULL); } >> >> } >> >> evas_object_data_set(o, "_elm_access_target", obj); >> >> - // FIXME: track obj pos/size until hilight removed >> >> _elm_theme_object_set(obj, o, "access", "base", "default"); >> >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, >> >> + _access_obj_hilight_del_cb, NULL); >> >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, >> >> + _access_obj_hilight_hide_cb, NULL); >> >> + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, >> >> + _access_obj_hilight_move_cb, NULL); >> >> + evas_ob
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Hello, raster line 1167: Grid_Item "gi" instance will be removed. So it is meaningless. ;-) BR, Yunhan Kim On Tue, Nov 1, 2011 at 11:38 AM, Enlightenment SVN < no-re...@enlightenment.org> wrote: > Log: > and set have to false in other error cases. > > > > Author: raster > Date: 2011-10-31 19:38:28 -0700 (Mon, 31 Oct 2011) > New Revision: 64599 > Trac: http://trac.enlightenment.org/e/changeset/64599 > > Modified: > trunk/elementary/src/lib/elm_map.c > > Modified: trunk/elementary/src/lib/elm_map.c > === > --- trunk/elementary/src/lib/elm_map.c 2011-11-01 02:35:40 UTC (rev 64598) > +++ trunk/elementary/src/lib/elm_map.c 2011-11-01 02:38:28 UTC (rev 64599) > @@ -1164,6 +1164,7 @@ > DBG("DOWNLOAD abort %s", gi->file); > ecore_file_download_abort(gi->job); > ecore_file_remove(gi->file); > + gi->have = EINA_FALSE; > gi->job = NULL; > wd->try_num--; > } > @@ -1223,6 +1224,7 @@ > { > DBG("Download failed %s (%d) ", gi->file, status); > ecore_file_remove(gi->file); > +gi->have = EINA_FALSE; > } >else > gi->wd->finish_num++; > > > > -- > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Does this need to be announced? I think this will affect many people. Thanks. Daniel Juyung Seo (SeoZ) On Thu, Nov 24, 2011 at 7:31 PM, Enlightenment SVN wrote: > Log: > it's time we dont auto-scale finger size with scale .. set finger size > to what u need/want. > > > > Author: raster > Date: 2011-11-24 02:31:42 -0800 (Thu, 24 Nov 2011) > New Revision: 65569 > Trac: http://trac.enlightenment.org/e/changeset/65569 > > Modified: > trunk/elementary/src/lib/elm_config.c > > Modified: trunk/elementary/src/lib/elm_config.c > === > --- trunk/elementary/src/lib/elm_config.c 2011-11-24 08:35:14 UTC (rev > 65568) > +++ trunk/elementary/src/lib/elm_config.c 2011-11-24 10:31:42 UTC (rev > 65569) > @@ -1311,8 +1311,6 @@ > s = getenv("ELM_SCALE"); > if (s) _elm_config->scale = atof(s); > > - _elm_config->finger_size = > - (double)_elm_config->finger_size * _elm_config->scale; > s = getenv("ELM_FINGER_SIZE"); > if (s) _elm_config->finger_size = atoi(s); > > > > -- > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 25 Nov 2011 11:07:51 +0900 Daniel Juyung Seo said: no - almost everyone uses scale 1.0 so they dont get affected, and those that use scaling also play with finger size :) > Does this need to be announced? > I think this will affect many people. > > Thanks. > Daniel Juyung Seo (SeoZ) > > On Thu, Nov 24, 2011 at 7:31 PM, Enlightenment SVN > wrote: > > Log: > > it's time we dont auto-scale finger size with scale .. set finger size > > to what u need/want. > > > > > > > > Author: raster > > Date: 2011-11-24 02:31:42 -0800 (Thu, 24 Nov 2011) > > New Revision: 65569 > > Trac: http://trac.enlightenment.org/e/changeset/65569 > > > > Modified: > > trunk/elementary/src/lib/elm_config.c > > > > Modified: trunk/elementary/src/lib/elm_config.c > > === > > --- trunk/elementary/src/lib/elm_config.c 2011-11-24 08:35:14 UTC > > (rev 65568) +++ trunk/elementary/src/lib/elm_config.c 2011-11-24 > > 10:31:42 UTC (rev 65569) @@ -1311,8 +1311,6 @@ > > s = getenv("ELM_SCALE"); > > if (s) _elm_config->scale = atof(s); > > > > - _elm_config->finger_size = > > - (double)_elm_config->finger_size * _elm_config->scale; > > s = getenv("ELM_FINGER_SIZE"); > > if (s) _elm_config->finger_size = atoi(s); > > > > > > > > -- > > All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity, and more. Splunk takes this > > data and makes sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-novd2d > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > -- > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > ___ > 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Sun, 25 Dec 2011 20:08:45 -0800 "Enlightenment SVN" wrote: > Log: > From: Hyoyoung Chang > Subject: [E-devel] [patch] elm_cnp_helper - make some cnp apis as > public EAPI > > As I suggested, I made a patch for some cnp apis. > I think copying and pasting APIs are pretty mature to be public > Those are elm_selection_set, elm_selection_clear, elm_selection_get. > And adding cnp prefix for distinction from word, or char selections. > > elm_selection_set--> elm_cnp_selection_set > elm_selection_clear --> elm_cnp_selection_clear > elm_selection_get--> elm_cnp_selection_get > > And drag and drop APIs should be remained as private. > It has many flaws. > > > > > Author: raster > Date: 2011-12-25 20:08:45 -0800 (Sun, 25 Dec 2011) > New Revision: 66505 > Trac: http://trac.enlightenment.org/e/changeset/66505 > > Modified: > trunk/elementary/src/lib/Elementary.h.in > trunk/elementary/src/lib/elm_cnp_helper.c > trunk/elementary/src/lib/elm_entry.c trunk/elementary/src/lib/elm_widget.h > I still doubt that anyone will ever use these, but I don't have a problem with it. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 30 Dec 2011 16:14:30 +0900 Daniel Juyung Seo wrote: > From: Daniel Juyung Seo > To: enlightenment-devel@lists.sourceforge.net > Cc: enlightenment-...@lists.sourceforge.net > Subject: Re: [E-devel] E SVN: raster trunk/elementary/src/lib > Date: Fri, 30 Dec 2011 16:14:30 +0900 > Reply-To: Enlightenment developer list > > > yay finally! > > Daniel Juyung Seo (SeoZ) why the FUCK did you quote the whole thing in your reply?? -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Sorry, I just pressed "reply to all" button :) Daniel Juyung Seo (SeoZ) On Fri, Dec 30, 2011 at 4:27 PM, Michael Blumenkrantz wrote: > On Fri, 30 Dec 2011 16:14:30 +0900 > Daniel Juyung Seo wrote: > >> From: Daniel Juyung Seo >> To: enlightenment-devel@lists.sourceforge.net >> Cc: enlightenment-...@lists.sourceforge.net >> Subject: Re: [E-devel] E SVN: raster trunk/elementary/src/lib >> Date: Fri, 30 Dec 2011 16:14:30 +0900 >> Reply-To: Enlightenment developer list >> >> >> yay finally! >> >> Daniel Juyung Seo (SeoZ) > why the FUCK did you quote the whole thing in your reply?? -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 30 Dec 2011 02:27:16 -0500 Michael Blumenkrantz wrote: > On Fri, 30 Dec 2011 16:14:30 +0900 > Daniel Juyung Seo wrote: > > > From: Daniel Juyung Seo > > To: enlightenment-devel@lists.sourceforge.net > > Cc: enlightenment-...@lists.sourceforge.net > > Subject: Re: [E-devel] E SVN: raster trunk/elementary/src/lib > > Date: Fri, 30 Dec 2011 16:14:30 +0900 > > Reply-To: Enlightenment developer list > > > > > > yay finally! > > > > Daniel Juyung Seo (SeoZ) > why the FUCK did you quote the whole thing in your reply?? Coz that's what most people do. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Raster, Ecore_IMF and edje should be applied according to your layout type insertion in elm. Would you please review and apply this patch for ecore_imf and edje? On Monday, January 2, 2012, Enlightenment SVN wrote: > Log: > add a password mode. > > > > Author: raster > Date: 2012-01-02 04:03:33 -0800 (Mon, 02 Jan 2012) > New Revision: 66751 > Trac: http://trac.enlightenment.org/e/changeset/66751 > > Modified: > trunk/elementary/src/lib/elm_entry.h > > Modified: trunk/elementary/src/lib/elm_entry.h > === > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 12:01:17 UTC > (rev 66750) > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 12:03:33 UTC > (rev 66751) > @@ -28,6 +28,7 @@ >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ >ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ >ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout */ > + ELM_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, > no auto-capitalization etc. */ > } Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > use - this is a hint and may not provide exactly what is desired. */ > > typedef enum > > > > -- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > Index: src/lib/ecore_imf/ecore_imf_context.c === --- src/lib/ecore_imf/ecore_imf_context.c (revision 66783) +++ src/lib/ecore_imf/ecore_imf_context.c (working copy) @@ -1134,7 +1134,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IM { ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT, "ecore_imf_context_input_panel_layout_get"); -return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; +return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL; } if (ctx->klass->input_panel_layout_get) @@ -1142,7 +1142,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IM return ctx->input_panel_layout; } else - return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; + return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL; } /** Index: src/lib/ecore_imf/Ecore_IMF.h === --- src/lib/ecore_imf/Ecore_IMF.h (revision 66783) +++ src/lib/ecore_imf/Ecore_IMF.h (working copy) @@ -138,8 +138,10 @@ typedef enum ECORE_IMF_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ ECORE_IMF_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ - ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID -} Ecore_IMF_Input_Panel_Layout; + ECORE_IMF_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ + ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL,/**< Command-line terminal layout */ + ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. */ +} Ecore_IMF_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired. */ typedef enum { Index: src/lib/edje_util.c === --- src/lib/edje_util.c (revision 66783) +++ src/lib/edje_util.c (working copy) @@ -1748,14 +1748,14 @@ edje_object_part_text_input_panel_layout_get(const Edje_Real_Part *rp; ed = _edje_fetch(obj); - if ((!ed) || (!part)) return EDJE_INPUT_PANEL_LAYOUT_INVALID; + if ((!ed) || (!part)) return EDJE_INPUT_PANEL_LAYOUT_NORMAL; rp = _edje_real_part_recursive_get(ed, part); if (!rp) return EINA_FALSE; if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) { return _edje_entry_input_panel_layout_get(rp); } - return EDJE_INPUT_PANEL_LAYOUT_INVALID; + return EDJE_INPUT_PANEL_LAYOUT_NORMAL; } EAPI void Index: src/lib/Edje.h === --- src/lib/Edje.h (revision 66783) +++ src/lib/Edje.h (working copy) @@ -804,8 +804,10 @@ typedef enum EDJE_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ EDJE_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ - EDJE_INPUT_PANEL_LAYOUT_INVALID -} Edje_Input_Panel_Layout; + EDJE_INPUT_PANEL_LAYO
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 3 Jan 2012 17:28:21 +0900 Jihoon Kim said: yeah - i know. i havent gotten there yet. i was reviewing elm api and have a mental note to do this. > Raster, Ecore_IMF and edje should be applied according to your layout type > insertion in elm. > > Would you please review and apply this patch for ecore_imf and edje? > > On Monday, January 2, 2012, Enlightenment SVN wrote: > > > Log: > > add a password mode. > > > > > > > > Author: raster > > Date: 2012-01-02 04:03:33 -0800 (Mon, 02 Jan 2012) > > New Revision: 66751 > > Trac: http://trac.enlightenment.org/e/changeset/66751 > > > > Modified: > > trunk/elementary/src/lib/elm_entry.h > > > > Modified: trunk/elementary/src/lib/elm_entry.h > > === > > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 12:01:17 UTC > > (rev 66750) > > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 12:03:33 UTC > > (rev 66751) > > @@ -28,6 +28,7 @@ > >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ > >ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ > >ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout */ > > + ELM_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, > > no auto-capitalization etc. */ > > } Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > > use - this is a hint and may not provide exactly what is desired. */ > > > > typedef enum > > > > > > > > -- > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > > infrastructure or vast IT resources to deliver seamless, secure access to > > virtual desktops. With this all-in-one solution, easily deploy virtual > > desktops for less than the cost of PCs and save 60% on VDI infrastructure > > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
2012/1/3 Jihoon Kim : > Raster, Ecore_IMF and edje should be applied according to your layout type > insertion in elm. > > Would you please review and apply this patch for ecore_imf and edje? > Don't these patches break both API and ABI? -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
And I think these changes need to be described here as well. http://trac.enlightenment.org/e/wiki/ElementaryChanges Whenever I see applications which are written by elementary, I seriously feel the need of ElementaryChanges documentation updates. This documentation is so needed in apps written by elm for their convenience even we didn't release elm 1.0 yet. We've been changed elm A LOT so far and we will change elm A LOT until 1.0. This is a consideration for thankful developers out there. Daniel Juyung Seo (SeoZ) On Tue, Jan 3, 2012 at 10:02 PM, Iván Briano (Sachiel) wrote: > 2012/1/3 Jihoon Kim : >> Raster, Ecore_IMF and edje should be applied according to your layout type >> insertion in elm. >> >> Would you please review and apply this patch for ecore_imf and edje? >> > > Don't these patches break both API and ABI? > > -- > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On 03/01/12 15:53, Daniel Juyung Seo wrote: > And I think these changes need to be described here as well. > http://trac.enlightenment.org/e/wiki/ElementaryChanges > > Whenever I see applications which are written by elementary, I > seriously feel the need of ElementaryChanges documentation updates. > This documentation is so needed in apps written by elm for their > convenience even we didn't release elm 1.0 yet. We've been changed elm > A LOT so far and we will change elm A LOT until 1.0. > This is a consideration for thankful developers out there. This is ecore, not elm, we do *not* break ecore's API. :) -- Tom. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Wed, Jan 4, 2012 at 2:16 AM, Tom Hacohen wrote: > On 03/01/12 15:53, Daniel Juyung Seo wrote: >> And I think these changes need to be described here as well. >> http://trac.enlightenment.org/e/wiki/ElementaryChanges >> >> Whenever I see applications which are written by elementary, I >> seriously feel the need of ElementaryChanges documentation updates. >> This documentation is so needed in apps written by elm for their >> convenience even we didn't release elm 1.0 yet. We've been changed elm >> A LOT so far and we will change elm A LOT until 1.0. >> This is a consideration for thankful developers out there. > > This is ecore, not elm, we do *not* break ecore's API. :) Ooops! Bad gmail thread!! I meant to reply to another email but other mails are in the same thread. Sorry about that. Daniel Juyung Seo (SeoZ) > > -- > Tom. > -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 3 Jan 2012 11:02:32 -0200 Iván Briano (Sachiel) said: > 2012/1/3 Jihoon Kim : > > Raster, Ecore_IMF and edje should be applied according to your layout type > > insertion in elm. > > > > Would you please review and apply this patch for ecore_imf and edje? > > > > Don't these patches break both API and ABI? no - they'd ADD new keyboard types. adding wont break. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 3 Jan 2012 22:53:23 +0900 Daniel Juyung Seo said: well these ADD new panel input types... i did remove the "invalid" type.. which was... err. well.. invalid... :) > And I think these changes need to be described here as well. > http://trac.enlightenment.org/e/wiki/ElementaryChanges > > Whenever I see applications which are written by elementary, I > seriously feel the need of ElementaryChanges documentation updates. > This documentation is so needed in apps written by elm for their > convenience even we didn't release elm 1.0 yet. We've been changed elm > A LOT so far and we will change elm A LOT until 1.0. > This is a consideration for thankful developers out there. > > Daniel Juyung Seo (SeoZ) > > > On Tue, Jan 3, 2012 at 10:02 PM, Iván Briano (Sachiel) > wrote: > > 2012/1/3 Jihoon Kim : > >> Raster, Ecore_IMF and edje should be applied according to your layout type > >> insertion in elm. > >> > >> Would you please review and apply this patch for ecore_imf and edje? > >> > > > > Don't these patches break both API and ABI? > > > > -- > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > -- > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > ___ > 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 -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
yes, the work to remove INVALID type will make some problem. I thought the number of current layout is sufficient. What I added INVALID type as last type was my fault. I will be careful. Thanks for Ivan and Raster. :) On Wednesday, January 4, 2012, Carsten Haitzler wrote: > On Tue, 3 Jan 2012 22:53:23 +0900 Daniel Juyung Seo > > > said: > > well these ADD new panel input types... i did remove the "invalid" type.. > which > was... err. well.. invalid... :) > > > And I think these changes need to be described here as well. > > http://trac.enlightenment.org/e/wiki/ElementaryChanges > > > > Whenever I see applications which are written by elementary, I > > seriously feel the need of ElementaryChanges documentation updates. > > This documentation is so needed in apps written by elm for their > > convenience even we didn't release elm 1.0 yet. We've been changed elm > > A LOT so far and we will change elm A LOT until 1.0. > > This is a consideration for thankful developers out there. > > > > Daniel Juyung Seo (SeoZ) > > > > > > On Tue, Jan 3, 2012 at 10:02 PM, Iván Briano (Sachiel) > > > wrote: > > > 2012/1/3 Jihoon Kim >: > > >> Raster, Ecore_IMF and edje should be applied according to your layout > type > > >> insertion in elm. > > >> > > >> Would you please review and apply this patch for ecore_imf and edje? > > >> > > > > > > Don't these patches break both API and ABI? > > > > > > > -- > > > Write once. Port to many. > > > Get the SDK and tools to simplify cross-platform app development. > Create > > > new or port existing apps to sell to consumers worldwide. Explore the > > > Intel AppUpSM program developer opportunity. > appdeveloper.intel.com/join > > > http://p.sf.net/sfu/intel-appdev > > > ___ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > ___ > > 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 > > > > -- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Raster, would you please change the return value as 'normal' of ecore_imf_context_input_panel_layout_get and edje_object_part_text_input_panel_layout_get like elm_entry_input_panel_layout_get? I've attached the patch. Thanks. On Monday, January 2, 2012, Enlightenment SVN wrote: > Log: > get rid of invalid panel layout and add hex and terminal. > > > > Author: raster > Date: 2012-01-02 03:53:26 -0800 (Mon, 02 Jan 2012) > New Revision: 66749 > Trac: http://trac.enlightenment.org/e/changeset/66749 > > Modified: > trunk/elementary/src/lib/elm_entry.c trunk/elementary/src/lib/elm_entry.h > > Modified: trunk/elementary/src/lib/elm_entry.c > === > --- trunk/elementary/src/lib/elm_entry.c2012-01-02 11:46:32 UTC > (rev 66748) > +++ trunk/elementary/src/lib/elm_entry.c2012-01-02 11:53:26 UTC > (rev 66749) > @@ -3431,9 +3431,9 @@ > EAPI Elm_Input_Panel_Layout > elm_entry_input_panel_layout_get(Evas_Object *obj) > { > - ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_INVALID; > + ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_NORMAL; >Widget_Data *wd = elm_widget_data_get(obj); > - if (!wd) return ELM_INPUT_PANEL_LAYOUT_INVALID; > + if (!wd) return ELM_INPUT_PANEL_LAYOUT_NORMAL; > >return wd->input_panel_layout; > } > > Modified: trunk/elementary/src/lib/elm_entry.h > === > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 11:46:32 UTC > (rev 66748) > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 11:53:26 UTC > (rev 66749) > @@ -26,8 +26,9 @@ >ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ >ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ > - ELM_INPUT_PANEL_LAYOUT_INVALID // XXX: remove this so we can expand > -} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > use */ > + ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ > + ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout */ > +} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > use - this is a hint and may not provide exactly what is desired. */ > > typedef enum > { > @@ -871,8 +872,7 @@ > * @param s The string (in markup) to be converted > * @return The converted string (in UTF-8). It should be freed. > */ > -EAPI char *elm_entry_markup_to_utf8(const char *s) > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > +EAPI char *elm_entry_markup_to_utf8(const char *s); > > /** > * This converts a UTF-8 string into markup (HTML-like). > @@ -883,8 +883,7 @@ > * @param s The string (in UTF-8) to be converted > * @return The converted string (in markup). It should be freed. > */ > -EAPI char *elm_entry_utf8_to_markup(const char *s) > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > +EAPI char *elm_entry_utf8_to_markup(const char *s); > > /** > * This sets the file (and implicitly loads it) for the text to display and > @@ -1008,6 +1007,7 @@ > * @param obj The scrolled entry object > * @return the left widget inside the scroller > */ > +// XXX: deprecate - used elm_object_content_set() > EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj); > > /** > @@ -1020,6 +1020,7 @@ > * > * @see elm_entry_icon_set() > */ > +// XXX: deprecate - used elm_object_content_set() > EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj); > > /** > @@ -1045,6 +1046,7 @@ > * > * @see elm_entry_icon_set > */ > +// XXX: deprecate - used elm_object_content_set() > EAPI void elm_entry_end_set(Evas_Object *obj, Evas_Object > *end); > > /** > @@ -1054,6 +1056,7 @@ > * @param obj The scrolled entry object > * @return the right widget inside the scroller > */ > +// XXX: deprecate - used elm_object_content_set() > EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj); > > /** > @@ -1066,6 +1069,7 @@ > * > * @see elm_entry_icon_set() > */ > +// XXX: deprecate - used elm_object_content_set() > EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj); > > /** > @@ -1113,7 +1117,58 @@ > */ > EAPI void elm_entry_bounce_get(const Evas_Object *obj, > Eina_Bool *h_bounce, Eina_Bool *v_bounce); > > +/** > + * Set the input panel layout of the entry > + * > + * @param obj The entry object > + * @param layout layout type > + */ > +EAPI void elm_entry_input_panel_layout_set(Evas_Object > *obj, Elm_Input_Panel_Layout layout); > + > +/** > + * Get the input panel layout of the entry > + * > + * @param obj The entry object > + * @return layout type > + * > + * @see elm_entry_input_panel_layout_set > + */ > +EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object > *obj); > + > +/** > + * Set the autocapitalization type on the immodule. > + * > + * @param obj The entry object >
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Wed, 4 Jan 2012 16:58:35 +0900 Jihoon Kim said: i just made elm return invalid again > Raster, would you please change the return value as 'normal' of > ecore_imf_context_input_panel_layout_get and > edje_object_part_text_input_panel_layout_get like > elm_entry_input_panel_layout_get? > > I've attached the patch. > > Thanks. > > On Monday, January 2, 2012, Enlightenment SVN wrote: > > > Log: > > get rid of invalid panel layout and add hex and terminal. > > > > > > > > Author: raster > > Date: 2012-01-02 03:53:26 -0800 (Mon, 02 Jan 2012) > > New Revision: 66749 > > Trac: http://trac.enlightenment.org/e/changeset/66749 > > > > Modified: > > trunk/elementary/src/lib/elm_entry.c trunk/elementary/src/lib/elm_entry.h > > > > Modified: trunk/elementary/src/lib/elm_entry.c > > === > > --- trunk/elementary/src/lib/elm_entry.c2012-01-02 11:46:32 UTC > > (rev 66748) > > +++ trunk/elementary/src/lib/elm_entry.c2012-01-02 11:53:26 UTC > > (rev 66749) > > @@ -3431,9 +3431,9 @@ > > EAPI Elm_Input_Panel_Layout > > elm_entry_input_panel_layout_get(Evas_Object *obj) > > { > > - ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_INVALID; > > + ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_NORMAL; > >Widget_Data *wd = elm_widget_data_get(obj); > > - if (!wd) return ELM_INPUT_PANEL_LAYOUT_INVALID; > > + if (!wd) return ELM_INPUT_PANEL_LAYOUT_NORMAL; > > > >return wd->input_panel_layout; > > } > > > > Modified: trunk/elementary/src/lib/elm_entry.h > > === > > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 11:46:32 UTC > > (rev 66748) > > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 11:53:26 UTC > > (rev 66749) > > @@ -26,8 +26,9 @@ > >ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ > >ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ > >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ > > - ELM_INPUT_PANEL_LAYOUT_INVALID // XXX: remove this so we can expand > > -} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > > use */ > > + ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ > > + ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout */ > > +} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to > > use - this is a hint and may not provide exactly what is desired. */ > > > > typedef enum > > { > > @@ -871,8 +872,7 @@ > > * @param s The string (in markup) to be converted > > * @return The converted string (in UTF-8). It should be freed. > > */ > > -EAPI char *elm_entry_markup_to_utf8(const char *s) > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > +EAPI char *elm_entry_markup_to_utf8(const char *s); > > > > /** > > * This converts a UTF-8 string into markup (HTML-like). > > @@ -883,8 +883,7 @@ > > * @param s The string (in UTF-8) to be converted > > * @return The converted string (in markup). It should be freed. > > */ > > -EAPI char *elm_entry_utf8_to_markup(const char *s) > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > +EAPI char *elm_entry_utf8_to_markup(const char *s); > > > > /** > > * This sets the file (and implicitly loads it) for the text to display and > > @@ -1008,6 +1007,7 @@ > > * @param obj The scrolled entry object > > * @return the left widget inside the scroller > > */ > > +// XXX: deprecate - used elm_object_content_set() > > EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj); > > > > /** > > @@ -1020,6 +1020,7 @@ > > * > > * @see elm_entry_icon_set() > > */ > > +// XXX: deprecate - used elm_object_content_set() > > EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj); > > > > /** > > @@ -1045,6 +1046,7 @@ > > * > > * @see elm_entry_icon_set > > */ > > +// XXX: deprecate - used elm_object_content_set() > > EAPI void elm_entry_end_set(Evas_Object *obj, Evas_Object > > *end); > > > > /** > > @@ -1054,6 +1056,7 @@ > > * @param obj The scrolled entry object > > * @return the right widget inside the scroller > > */ > > +// XXX: deprecate - used elm_object_content_set() > > EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj); > > > > /** > > @@ -1066,6 +1069,7 @@ > > * > > * @see elm_entry_icon_set() > > */ > > +// XXX: deprecate - used elm_object_content_set() > > EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj); > > > > /** > > @@ -1113,7 +1117,58 @@ > > */ > > EAPI void elm_entry_bounce_get(const Evas_Object *obj, > > Eina_Bool *h_bounce, Eina_Bool *v_bounce); > > > > +/** > > + * Set the input panel layout of the entry > > + * > > + * @param obj The entry object > > + * @param layout layout type > > + */ > > +EAPI void elm_entry_input_panel_layout_set(Evas_Object > > *obj, Elm_Input_Panel_Layout layout); > > + >
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
Yes, I know you made invalid again, That patch I've sent recent is for changing return value as 'NORMAL' instead of 'invalid'. elm_entry_input_panel_layout_get returns NORMAL as default return value. I also think 'normal' is more appropriate default return value. On Thursday, January 5, 2012, Carsten Haitzler wrote: > On Wed, 4 Jan 2012 16:58:35 +0900 Jihoon Kim > > > said: > > i just made elm return invalid again > > > Raster, would you please change the return value as 'normal' of > > ecore_imf_context_input_panel_layout_get and > > edje_object_part_text_input_panel_layout_get like > > elm_entry_input_panel_layout_get? > > > > I've attached the patch. > > > > Thanks. > > > > On Monday, January 2, 2012, Enlightenment SVN wrote: > > > > > Log: > > > get rid of invalid panel layout and add hex and terminal. > > > > > > > > > > > > Author: raster > > > Date: 2012-01-02 03:53:26 -0800 (Mon, 02 Jan 2012) > > > New Revision: 66749 > > > Trac: http://trac.enlightenment.org/e/changeset/66749 > > > > > > Modified: > > > trunk/elementary/src/lib/elm_entry.c > trunk/elementary/src/lib/elm_entry.h > > > > > > Modified: trunk/elementary/src/lib/elm_entry.c > > > === > > > --- trunk/elementary/src/lib/elm_entry.c2012-01-02 11:46:32 UTC > > > (rev 66748) > > > +++ trunk/elementary/src/lib/elm_entry.c2012-01-02 11:53:26 UTC > > > (rev 66749) > > > @@ -3431,9 +3431,9 @@ > > > EAPI Elm_Input_Panel_Layout > > > elm_entry_input_panel_layout_get(Evas_Object *obj) > > > { > > > - ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_INVALID; > > > + ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_NORMAL; > > >Widget_Data *wd = elm_widget_data_get(obj); > > > - if (!wd) return ELM_INPUT_PANEL_LAYOUT_INVALID; > > > + if (!wd) return ELM_INPUT_PANEL_LAYOUT_NORMAL; > > > > > >return wd->input_panel_layout; > > > } > > > > > > Modified: trunk/elementary/src/lib/elm_entry.h > > > === > > > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 11:46:32 UTC > > > (rev 66748) > > > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 11:53:26 UTC > > > (rev 66749) > > > @@ -26,8 +26,9 @@ > > >ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ > > >ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ > > >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ > > > - ELM_INPUT_PANEL_LAYOUT_INVALID // XXX: remove this so we can expand > > > -} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) > to > > > use */ > > > + ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ > > > + ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout > */ > > > +} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) > to > > > use - this is a hint and may not provide exactly what is desired. */ > > > > > > typedef enum > > > { > > > @@ -871,8 +872,7 @@ > > > * @param s The string (in markup) to be converted > > > * @return The converted string (in UTF-8). It should be freed. > > > */ > > > -EAPI char *elm_entry_markup_to_utf8(const char *s) > > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > > +EAPI char *elm_entry_markup_to_utf8(const char *s); > > > > > > /** > > > * This converts a UTF-8 string into markup (HTML-like). > > > @@ -883,8 +883,7 @@ > > > * @param s The string (in UTF-8) to be converted > > > * @return The converted string (in markup). It should be freed. > > > */ > > > -EAPI char *elm_entry_utf8_to_markup(const char *s) > > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > > +EAPI char *elm_entry_utf8_to_markup(const char *s); > > > > > > /** > > > * This sets the file (and implicitly loads it) for the text to > display and > > > @@ -1008,6 +1007,7 @@ > > > * @param obj The scrolled entry object > > > * @return the left widget insi> > > enlightenment-...@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Fri, 6 Jan 2012 09:57:37 +0900 Jihoon Kim said: i'm not sure we can change the return value of this in edje due to it breaking abi... :/ ie expected return it USEd to give on error now changed. :/ > Yes, I know you made invalid again, > > That patch I've sent recent is for changing return value as 'NORMAL' > instead of 'invalid'. > elm_entry_input_panel_layout_get returns NORMAL as default return value. > I also think 'normal' is more appropriate default return value. > > On Thursday, January 5, 2012, Carsten Haitzler wrote: > > > On Wed, 4 Jan 2012 16:58:35 +0900 Jihoon Kim > > > said: > > > > i just made elm return invalid again > > > > > Raster, would you please change the return value as 'normal' of > > > ecore_imf_context_input_panel_layout_get and > > > edje_object_part_text_input_panel_layout_get like > > > elm_entry_input_panel_layout_get? > > > > > > I've attached the patch. > > > > > > Thanks. > > > > > > On Monday, January 2, 2012, Enlightenment SVN wrote: > > > > > > > Log: > > > > get rid of invalid panel layout and add hex and terminal. > > > > > > > > > > > > > > > > Author: raster > > > > Date: 2012-01-02 03:53:26 -0800 (Mon, 02 Jan 2012) > > > > New Revision: 66749 > > > > Trac: http://trac.enlightenment.org/e/changeset/66749 > > > > > > > > Modified: > > > > trunk/elementary/src/lib/elm_entry.c > > trunk/elementary/src/lib/elm_entry.h > > > > > > > > Modified: trunk/elementary/src/lib/elm_entry.c > > > > === > > > > --- trunk/elementary/src/lib/elm_entry.c2012-01-02 11:46:32 UTC > > > > (rev 66748) > > > > +++ trunk/elementary/src/lib/elm_entry.c2012-01-02 11:53:26 UTC > > > > (rev 66749) > > > > @@ -3431,9 +3431,9 @@ > > > > EAPI Elm_Input_Panel_Layout > > > > elm_entry_input_panel_layout_get(Evas_Object *obj) > > > > { > > > > - ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_INVALID; > > > > + ELM_CHECK_WIDTYPE(obj, widtype) ELM_INPUT_PANEL_LAYOUT_NORMAL; > > > >Widget_Data *wd = elm_widget_data_get(obj); > > > > - if (!wd) return ELM_INPUT_PANEL_LAYOUT_INVALID; > > > > + if (!wd) return ELM_INPUT_PANEL_LAYOUT_NORMAL; > > > > > > > >return wd->input_panel_layout; > > > > } > > > > > > > > Modified: trunk/elementary/src/lib/elm_entry.h > > > > === > > > > --- trunk/elementary/src/lib/elm_entry.h2012-01-02 11:46:32 UTC > > > > (rev 66748) > > > > +++ trunk/elementary/src/lib/elm_entry.h2012-01-02 11:53:26 UTC > > > > (rev 66749) > > > > @@ -26,8 +26,9 @@ > > > >ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ > > > >ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ > > > >ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ > > > > - ELM_INPUT_PANEL_LAYOUT_INVALID // XXX: remove this so we can expand > > > > -} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) > > to > > > > use */ > > > > + ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */ > > > > + ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout > > */ > > > > +} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) > > to > > > > use - this is a hint and may not provide exactly what is desired. */ > > > > > > > > typedef enum > > > > { > > > > @@ -871,8 +872,7 @@ > > > > * @param s The string (in markup) to be converted > > > > * @return The converted string (in UTF-8). It should be freed. > > > > */ > > > > -EAPI char *elm_entry_markup_to_utf8(const char *s) > > > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > > > +EAPI char *elm_entry_markup_to_utf8(const char *s); > > > > > > > > /** > > > > * This converts a UTF-8 string into markup (HTML-like). > > > > @@ -883,8 +883,7 @@ > > > > * @param s The string (in UTF-8) to be converted > > > > * @return The converted string (in markup). It should be freed. > > > > */ > > > > -EAPI char *elm_entry_utf8_to_markup(const char *s) > > > > -EINA_MALLOC EINA_WARN_UNUSED_RESULT; > > > > +EAPI char *elm_entry_utf8_to_markup(const char *s); > > > > > > > > /** > > > > * This sets the file (and implicitly loads it) for the text to > > display and > > > > @@ -1008,6 +1007,7 @@ > > > > * @param obj The scrolled entry object > > > > * @return the left widget insi> > > > enlightenment-...@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > > > > > > > -- > > - 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 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online lear
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
No marks for deprecation? Daniel Juyung Seo (SeoZ) On Thu, Feb 16, 2012 at 2:58 PM, Enlightenment SVN < no-re...@enlightenment.org> wrote: > Log: > elm_thumb_ethumb_client_connected -> > elm_thumb_ethumb_client_connected_get() > > more consistent name. > > > > Author: raster > Date: 2012-02-15 21:58:23 -0800 (Wed, 15 Feb 2012) > New Revision: 68001 > Trac: http://trac.enlightenment.org/e/changeset/68001 > > Modified: > trunk/elementary/src/lib/Elementary.h.intrunk/elementary/src/lib/elm_icon.c > trunk/elementary/src/lib/elm_photo.c > trunk/elementary/src/lib/elm_thumb.c trunk/elementary/src/lib/elm_thumb.h > > Modified: trunk/elementary/src/lib/Elementary.h.in > === > --- trunk/elementary/src/lib/Elementary.h.in2012-02-16 05:03:57 UTC > (rev 68000) > +++ trunk/elementary/src/lib/Elementary.h.in2012-02-16 05:58:23 UTC > (rev 68001) > @@ -244,7 +244,7 @@ > #include // OK > #include // XXX: needs docs > #include // OK > -#include > +#include // OK > #include > #include > #include > > Modified: trunk/elementary/src/lib/elm_icon.c > === > --- trunk/elementary/src/lib/elm_icon.c 2012-02-16 05:03:57 UTC (rev 68000) > +++ trunk/elementary/src/lib/elm_icon.c 2012-02-16 05:58:23 UTC (rev 68001) > @@ -700,7 +700,7 @@ >eina_stringshare_replace(&wd->thumb.file.path, file); >eina_stringshare_replace(&wd->thumb.file.key, group); > > - if (elm_thumb_ethumb_client_connected()) > + if (elm_thumb_ethumb_client_connected_get()) > { > _icon_thumb_apply(wd); > return ; > > Modified: trunk/elementary/src/lib/elm_photo.c > === > --- trunk/elementary/src/lib/elm_photo.c2012-02-16 05:03:57 UTC > (rev 68000) > +++ trunk/elementary/src/lib/elm_photo.c2012-02-16 05:58:23 UTC > (rev 68001) > @@ -591,7 +591,7 @@ >eina_stringshare_replace(&wd->thumb.file.path, file); >eina_stringshare_replace(&wd->thumb.file.key, group); > > - if (elm_thumb_ethumb_client_connected()) > + if (elm_thumb_ethumb_client_connected_get()) > { > _icon_thumb_apply(wd); > return ; > > Modified: trunk/elementary/src/lib/elm_thumb.c > === > --- trunk/elementary/src/lib/elm_thumb.c2012-02-16 05:03:57 UTC > (rev 68000) > +++ trunk/elementary/src/lib/elm_thumb.c2012-02-16 05:58:23 UTC > (rev 68001) > @@ -409,7 +409,7 @@ > { >evas_object_show(wd->frame); > > - if (elm_thumb_ethumb_client_connected()) > + if (elm_thumb_ethumb_client_connected_get()) > { > _thumb_apply(wd); > return; > @@ -690,7 +690,7 @@ > } > > EAPI Eina_Bool > -elm_thumb_ethumb_client_connected(void) > +elm_thumb_ethumb_client_connected_get(void) > { >return _elm_ethumb_connected; > } > > Modified: trunk/elementary/src/lib/elm_thumb.h > === > --- trunk/elementary/src/lib/elm_thumb.h2012-02-16 05:03:57 UTC > (rev 68000) > +++ trunk/elementary/src/lib/elm_thumb.h2012-02-16 05:58:23 UTC > (rev 68001) > @@ -7,7 +7,7 @@ > * A thumb object is used for displaying the thumbnail of an image or > video. > * You must have compiled Elementary with Ethumb_Client support and the > DBus > * service must be present and auto-activated in order to have thumbnails > to > - * be generated. > + * be generated. You must also have a Session bus, not System bus. > * > * Once the thumbnail object becomes visible, it will check if there is a > * previously generated thumbnail image for the file set on it. If not, it > @@ -126,9 +126,9 @@ > EAPI voidelm_thumb_file_get(const Evas_Object > *obj, const char **file, const char **key); > > /** > - * Get the path and key to the image or video generated by ethumb. > + * Get the path and key to the image or video thumbnail generated by > ethumb. > * > - * One just need to make sure that the thumbnail was generated before > getting > + * One just needs to make sure that the thumbnail was generated before > getting > * its path; otherwise, the path will be NULL. One way to do that is by > asking > * for the path when/after the "generate,stop" smart callback is called. > * > @@ -225,7 +225,7 @@ > * @return EINA_TRUE if the client is connected to the server or EINA_FALSE > * otherwise. > */ > -EAPI Eina_Bool elm_thumb_ethumb_client_connected(void); > +EAPI Eina_Bool > elm_thumb_ethumb_client_connected_get(void); > > /** > * Make the thumbnail 'editable'. > > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, 16 Feb 2012 14:59:58 +0900 Daniel Juyung Seo said: no - doing this in a hurry and no one uses this... :) > No marks for deprecation? > > Daniel Juyung Seo (SeoZ) > > On Thu, Feb 16, 2012 at 2:58 PM, Enlightenment SVN < > no-re...@enlightenment.org> wrote: > > > Log: > > elm_thumb_ethumb_client_connected -> > > elm_thumb_ethumb_client_connected_get() > > > > more consistent name. > > > > > > > > Author: raster > > Date: 2012-02-15 21:58:23 -0800 (Wed, 15 Feb 2012) > > New Revision: 68001 > > Trac: http://trac.enlightenment.org/e/changeset/68001 > > > > Modified: > > trunk/elementary/src/lib/Elementary.h.intrunk/elementary/src/lib/elm_icon.c > > trunk/elementary/src/lib/elm_photo.c trunk/elementary/src/lib/elm_thumb.c > > trunk/elementary/src/lib/elm_thumb.h > > > > Modified: trunk/elementary/src/lib/Elementary.h.in > > === > > --- trunk/elementary/src/lib/Elementary.h.in2012-02-16 05:03:57 UTC > > (rev 68000) > > +++ trunk/elementary/src/lib/Elementary.h.in2012-02-16 05:58:23 UTC > > (rev 68001) > > @@ -244,7 +244,7 @@ > > #include // OK > > #include // XXX: needs docs > > #include // OK > > -#include > > +#include // OK > > #include > > #include > > #include > > > > Modified: trunk/elementary/src/lib/elm_icon.c > > === > > --- trunk/elementary/src/lib/elm_icon.c 2012-02-16 05:03:57 UTC (rev 68000) > > +++ trunk/elementary/src/lib/elm_icon.c 2012-02-16 05:58:23 UTC (rev 68001) > > @@ -700,7 +700,7 @@ > >eina_stringshare_replace(&wd->thumb.file.path, file); > >eina_stringshare_replace(&wd->thumb.file.key, group); > > > > - if (elm_thumb_ethumb_client_connected()) > > + if (elm_thumb_ethumb_client_connected_get()) > > { > > _icon_thumb_apply(wd); > > return ; > > > > Modified: trunk/elementary/src/lib/elm_photo.c > > === > > --- trunk/elementary/src/lib/elm_photo.c2012-02-16 05:03:57 UTC > > (rev 68000) > > +++ trunk/elementary/src/lib/elm_photo.c2012-02-16 05:58:23 UTC > > (rev 68001) > > @@ -591,7 +591,7 @@ > >eina_stringshare_replace(&wd->thumb.file.path, file); > >eina_stringshare_replace(&wd->thumb.file.key, group); > > > > - if (elm_thumb_ethumb_client_connected()) > > + if (elm_thumb_ethumb_client_connected_get()) > > { > > _icon_thumb_apply(wd); > > return ; > > > > Modified: trunk/elementary/src/lib/elm_thumb.c > > === > > --- trunk/elementary/src/lib/elm_thumb.c2012-02-16 05:03:57 UTC > > (rev 68000) > > +++ trunk/elementary/src/lib/elm_thumb.c2012-02-16 05:58:23 UTC > > (rev 68001) > > @@ -409,7 +409,7 @@ > > { > >evas_object_show(wd->frame); > > > > - if (elm_thumb_ethumb_client_connected()) > > + if (elm_thumb_ethumb_client_connected_get()) > > { > > _thumb_apply(wd); > > return; > > @@ -690,7 +690,7 @@ > > } > > > > EAPI Eina_Bool > > -elm_thumb_ethumb_client_connected(void) > > +elm_thumb_ethumb_client_connected_get(void) > > { > >return _elm_ethumb_connected; > > } > > > > Modified: trunk/elementary/src/lib/elm_thumb.h > > === > > --- trunk/elementary/src/lib/elm_thumb.h2012-02-16 05:03:57 UTC > > (rev 68000) > > +++ trunk/elementary/src/lib/elm_thumb.h2012-02-16 05:58:23 UTC > > (rev 68001) > > @@ -7,7 +7,7 @@ > > * A thumb object is used for displaying the thumbnail of an image or > > video. > > * You must have compiled Elementary with Ethumb_Client support and the > > DBus > > * service must be present and auto-activated in order to have thumbnails > > to > > - * be generated. > > + * be generated. You must also have a Session bus, not System bus. > > * > > * Once the thumbnail object becomes visible, it will check if there is a > > * previously generated thumbnail image for the file set on it. If not, it > > @@ -126,9 +126,9 @@ > > EAPI voidelm_thumb_file_get(const Evas_Object > > *obj, const char **file, const char **key); > > > > /** > > - * Get the path and key to the image or video generated by ethumb. > > + * Get the path and key to the image or video thumbnail generated by > > ethumb. > > * > > - * One just need to make sure that the thumbnail was generated before > > getting > > + * One just needs to make sure that the thumbnail was generated before > > getting > > * its path; otherwise, the path will be NULL. One way to do that is by > > asking > > * for the path when/after the "generate,stop" smart callback is called. > > * > > @@ -225,7 +225,7 @@ > > * @return EINA_TRUE if the client is connected to the server or EINA_FALSE > > * otherwise. > > */ > > -EAPI Eina_Bool elm_thumb_ethumb_client_connected(