Re: [E-devel] [EGIT] [core/enlightenment] master 01/01: Revert "Revert "mixer: do not set back the value from emix once the drag is finished""
Sorry for the miss of comments about this revert. I explained to you, this commit remove something needed to get proper value setted to the volume slider. When you have done this revert you have posted this video https://omicron.homeip.net/filedump/mixer_gadget_bug.ogv. We can see that emixer works great but not the enlightenment mixer module. Both share about 90 percents of the code to talk to pulseaudio. So no need to talk with pulseaudio guys, we got something weird into our enlightenment volume mixer. I analyze code of two and see the enlightenment module make some alloc to set the volume and emixer doesn't. I fix that in the previous commit (dbdf411b488fd4d3f37a26d8cb142b25aba784d6). I've asked morlenxus to check my branch, but he never came back to say if this work. I don't see why this wouldn't working because emixer and enlightenment module are the same code now. And more important, not getting this commit into our code just hidde us the bug and give us no chance to spot it. 2017-02-23 9:09 GMT+01:00 Marcel Hollerbach <marcel-hollerb...@t-online.de>: > bu5hm4n pushed a commit to branch master. > > http://git.enlightenment.org/core/enlightenment.git/commit/?id= > 9745890a37036091d5dec320fecda7ed4c6bdb6c > > commit 9745890a37036091d5dec320fecda7ed4c6bdb6c > Author: Marcel Hollerbach <marcel-hollerb...@t-online.de> > Date: Thu Feb 23 09:08:24 2017 +0100 > > Revert "Revert "mixer: do not set back the value from emix once the > drag is finished"" > > This reverts commit fba185798cf75eaeaba4a95d2be25fb2fea6ef1a. > > There is not even a description why you reverted it. This is a bugfix > that fixed a bug. So talk to me what the issue is, but please stop > reverting commits silently. > --- > src/modules/mixer/e_mod_main.c | 11 --- > src/modules/mixer/emixer.c | 13 - > 2 files changed, 24 deletions(-) > > diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_ > main.c > index ac805cc..2c86915 100644 > --- a/src/modules/mixer/e_mod_main.c > +++ b/src/modules/mixer/e_mod_main.c > @@ -481,16 +481,6 @@ _slider_changed_cb(void *data EINA_UNUSED, > Evas_Object *obj, > } > > static void > -_slider_drag_stop_cb(void *data EINA_UNUSED, Evas_Object *obj, > - void *event EINA_UNUSED) > -{ > - EINA_SAFETY_ON_NULL_RETURN(mixer_context->sink_default); > - Emix_Sink *s = (Emix_Sink *)mixer_context->sink_default; > - int val = s->volume.volumes[0]; > - elm_slider_value_set(obj, val); > -} > - > -static void > _sink_selected_cb(void *data, Evas_Object *obj EINA_UNUSED, void > *event_info EINA_UNUSED) > { > Emix_Sink *s = data; > @@ -554,7 +544,6 @@ _popup_new(Instance *inst) > evas_object_show(slider); > elm_slider_min_max_set(slider, 0.0, emix_max_volume_get()); > evas_object_smart_callback_add(slider, "changed", _slider_changed_cb, > NULL); > - evas_object_smart_callback_add(slider, "slider,drag,stop", > _slider_drag_stop_cb, NULL); > elm_slider_value_set(slider, volume); > elm_box_pack_end(bx, slider); > evas_object_show(slider); > diff --git a/src/modules/mixer/emixer.c b/src/modules/mixer/emixer.c > index 5cde881..1bcd96c 100644 > --- a/src/modules/mixer/emixer.c > +++ b/src/modules/mixer/emixer.c > @@ -49,17 +49,6 @@ _cb_sink_volume_change(void *data, > } > > static void > -_cb_sink_volume_drag_stop(void *data, > - Evas_Object *obj, > - void *event EINA_UNUSED) > -{ > - Evas_Object *bxv = data; > - Emix_Sink *sink = evas_object_data_get(bxv, "sink"); > - int vol = sink->volume.volumes[0]; > - elm_slider_value_set(obj, vol); > -} > - > -static void > _cb_sink_mute_change(void *data, > Evas_Object *obj, > void *event_info EINA_UNUSED) > @@ -134,8 +123,6 @@ _emix_sink_add(Emix_Sink *sink) > elm_box_pack_end(bx, sl); > evas_object_show(sl); > evas_object_smart_callback_add(sl, "changed", _cb_sink_volume_change, > bxv); > - evas_object_smart_callback_add(sl, "slider,drag,stop", > - _cb_sink_volume_drag_stop, bxv); > > ck = elm_check_add(win); > evas_object_data_set(bxv, "mute", ck); > > -- > > > -- Michaël Bouchaud (yoz) <y...@efl.so> -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] xkbd config panel discussion
Hi, I'm writing to the list because I am planning to give some love to the gui of the keyboard layout config panel. And I want to tell you what I will do before I start. The first challenge of this panel is the amount of options it provides and how they are displayed to the user. In my point of view a multi-tab panel for this config isn't great at all. I want to keep the first tab but gather the other tabs into the first one and prune the visible options to basic usage. I think we could keep keyboard layout, compose, 3rd level, and switch options in this one and expose others options with an advanced panel. The advanced panel will be like terminology's config shortcut panel. The main advantage of this gui is to bring easy access to common options and for experts they will go onto the advanced panel. You can see a mockup I've made here: https://www.enlightenment.org/ss/e- 581087a96d28d0.00516313.jpg -- Michaël Bouchaud (yoz) <y...@efl.so> -- The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/01: eolian generator: check fwrite return value currectly
and what about the close of fd if blen is 0 2016-03-11 14:16 GMT+01:00 Daniel Kolesa <dan...@octaforge.org>: > q66 pushed a commit to branch master. > > > http://git.enlightenment.org/core/efl.git/commit/?id=97adf6d52bd726520524873e846c3f847439cf55 > > commit 97adf6d52bd726520524873e846c3f847439cf55 > Author: Daniel Kolesa <d.kol...@osg.samsung.com> > Date: Fri Mar 11 13:16:34 2016 + > > eolian generator: check fwrite return value currectly > > This fixes CID 1327247. > > @fix > --- > src/bin/eolian/main.c | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c > index 77ad87f..f545960 100644 > --- a/src/bin/eolian/main.c > +++ b/src/bin/eolian/main.c > @@ -105,8 +105,18 @@ _write_file(const char *filename, const Eina_Strbuf > *buffer, Eina_Bool append) > return EINA_FALSE; > } > > - if (eina_strbuf_length_get(buffer)) > - fwrite(eina_strbuf_string_get(buffer), 1, > eina_strbuf_length_get(buffer), fd); > + size_t blen = eina_strbuf_length_get(buffer); > + if (!blen) > + return EINA_TRUE; > + > + if (fwrite(eina_strbuf_string_get(buffer), 1, blen, fd) != blen) > + { > +fprintf(stderr, "eolian: could not write '%s' (%s)\n", > +filename, strerror(errno)); > + fclose(fd); > +return EINA_FALSE; > + } > + > fclose(fd); > return EINA_TRUE; > } > > -- > > > -- Michaël Bouchaud (yoz) <y...@efl.so> -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje align box to bottom.
Not really cheating, only let the designer what he want to do (align, offset, ...). The align for the box (like in evas, because edje_box == evas_box) is the point of the balance of the object. So if you have horizontal box only the first parameter of align field is taken into account, to know if the objects is right aligned(0.0) or left aligned(1.0) or placed at the middle(0.5). Same for vertical layout box, only the second parameter of the align is taken into account and place the objects bottom, upper or in middle. Try it :) But the box check the size hint of each objects appended to know how to place it into this layout. Evas_Box and Edje_Box is low level api, if you are not happy with them use elementary :P. 2015-04-28 21:08 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 17:08 GMT+02:00 Michaël Bouchaud y...@efl.so: You can make a container group with 2 parts... The first one fill the place and the second, who is a swallow, aligned to bottom. You swallow your content in this group and add this group to the box. Here you are cheating :) The whole point of this thread is that edje seems (is?) not able to vertically align items in a box, and this should be a basic operation for a box. 2015-04-28 16:44 GMT+02:00 Wolfgang Morawetz wolfgang.moraw...@gmail.com : This will make the split of designe and code useless. Michaël Bouchaud schrieb It isn't difficult to do it from the c code. Use the function to set the size hint align to 0.5 1.0 of the objet appended. like evas_object_size_hint_align_set(o, 0.5, 1.0); if you use the legacy api. 2015-04-28 16:04 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 15:39 GMT+02:00 Michaël Bouchaud y...@efl.so: like this http://pastebin.com/PvfDxn8L 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud y...@efl.so: just add align: 0.5 1.0; in items block too easy that way :P As I explained the box is populated from C code, not in the edc. 2015-04-28 14:45 GMT+02:00 Davide Andreoli d...@gurumeditation.it : 2015-04-28 0:32 GMT+02:00 Carsten Haitzler ras...@rasterman.com : On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli d...@gurumeditation.it said: 2015-04-27 7:06 GMT+02:00 Carsten Haitzler ras...@rasterman.com : On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz wolfgang.moraw...@gmail.com said: align: 0.5 0.5; is the default in every description - try 0.5 1.0 for bottom aligned - depending what you want to align to bottom... :) The problem is that align for box items do not really works, please give a look at this super simple example: http://pastebin.com/dRBspmJu and the result: http://www.enlightenment.org/ss/e-553e90974f63b7.62413817.jpg As you can see, only the first item is bottom-aligned, because of the explicit align on the item (line 36). But the second item do not respect the align asked on line 27. This is just an example, in the real world the box is populated from the C/python code. Thus the designer is not able to choose the vertical alignment for the items in the box. you don't want to align the items, but align the BOX. make the box not an expanded blob but a minimal sized blob vertically and then align that. using min size of items to expand this 0 height box to the minimum size of items... I think I really want to align the items, not the box. Your solution works only when items are homogeneous (same size). Do you have a solution for this one? http://pastebin.com/hVBLiFxm http://www.enlightenment.org/ss/e-553f801e21d243.51319171.jpg here I would like to have all the items aligned to the bottom, and remember that it will be populated from code, so I cannot set alignment for each item. A classic example of this layout usage is the mac-style launcher. Is this a bug? An expected behavior? Thanks Hi, i have some trouble to align the userslist.box to the bottom. Git source is: https://github.com/wfx/enter/blob/master/data/themes/enter/main.edc It is allways centered (screenshot: http://www.enlightenment.org/ss/e-553d22aee06ca9.61403495.jpg ) The edc part is at line 339: part { name: userslist; type: SPACER; description { state: default 0.0; rel1 { to: user
Re: [E-devel] edje align box to bottom.
It isn't difficult to do it from the c code. Use the function to set the size hint align to 0.5 1.0 of the objet appended. like evas_object_size_hint_align_set(o, 0.5, 1.0); if you use the legacy api. 2015-04-28 16:04 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 15:39 GMT+02:00 Michaël Bouchaud y...@efl.so: like this http://pastebin.com/PvfDxn8L 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud y...@efl.so: just add align: 0.5 1.0; in items block too easy that way :P As I explained the box is populated from C code, not in the edc. 2015-04-28 14:45 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 0:32 GMT+02:00 Carsten Haitzler ras...@rasterman.com: On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli d...@gurumeditation.it said: 2015-04-27 7:06 GMT+02:00 Carsten Haitzler ras...@rasterman.com : On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz wolfgang.moraw...@gmail.com said: align: 0.5 0.5; is the default in every description - try 0.5 1.0 for bottom aligned - depending what you want to align to bottom... :) The problem is that align for box items do not really works, please give a look at this super simple example: http://pastebin.com/dRBspmJu and the result: http://www.enlightenment.org/ss/e-553e90974f63b7.62413817.jpg As you can see, only the first item is bottom-aligned, because of the explicit align on the item (line 36). But the second item do not respect the align asked on line 27. This is just an example, in the real world the box is populated from the C/python code. Thus the designer is not able to choose the vertical alignment for the items in the box. you don't want to align the items, but align the BOX. make the box not an expanded blob but a minimal sized blob vertically and then align that. using min size of items to expand this 0 height box to the minimum size of items... I think I really want to align the items, not the box. Your solution works only when items are homogeneous (same size). Do you have a solution for this one? http://pastebin.com/hVBLiFxm http://www.enlightenment.org/ss/e-553f801e21d243.51319171.jpg here I would like to have all the items aligned to the bottom, and remember that it will be populated from code, so I cannot set alignment for each item. A classic example of this layout usage is the mac-style launcher. Is this a bug? An expected behavior? Thanks Hi, i have some trouble to align the userslist.box to the bottom. Git source is: https://github.com/wfx/enter/blob/master/data/themes/enter/main.edc It is allways centered (screenshot: http://www.enlightenment.org/ss/e-553d22aee06ca9.61403495.jpg ) The edc part is at line 339: part { name: userslist; type: SPACER; description { state: default 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 1.0 (1.0 - 1.0); } } description { state: visible 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 2.0 1.0; } } part { name: userslist.box; /* API */ type: BOX; description { state: default 0.0; box { layout: horizontal; align: 0.0 0.0; padding: 24 0; } } } Thanks wfx -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net
Re: [E-devel] edje align box to bottom.
://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje align box to bottom.
like this http://pastebin.com/PvfDxn8L 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud y...@efl.so: just add align: 0.5 1.0; in items block 2015-04-28 14:45 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 0:32 GMT+02:00 Carsten Haitzler ras...@rasterman.com: On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli d...@gurumeditation.it said: 2015-04-27 7:06 GMT+02:00 Carsten Haitzler ras...@rasterman.com: On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz wolfgang.moraw...@gmail.com said: align: 0.5 0.5; is the default in every description - try 0.5 1.0 for bottom aligned - depending what you want to align to bottom... :) The problem is that align for box items do not really works, please give a look at this super simple example: http://pastebin.com/dRBspmJu and the result: http://www.enlightenment.org/ss/e-553e90974f63b7.62413817.jpg As you can see, only the first item is bottom-aligned, because of the explicit align on the item (line 36). But the second item do not respect the align asked on line 27. This is just an example, in the real world the box is populated from the C/python code. Thus the designer is not able to choose the vertical alignment for the items in the box. you don't want to align the items, but align the BOX. make the box not an expanded blob but a minimal sized blob vertically and then align that. using min size of items to expand this 0 height box to the minimum size of items... I think I really want to align the items, not the box. Your solution works only when items are homogeneous (same size). Do you have a solution for this one? http://pastebin.com/hVBLiFxm http://www.enlightenment.org/ss/e-553f801e21d243.51319171.jpg here I would like to have all the items aligned to the bottom, and remember that it will be populated from code, so I cannot set alignment for each item. A classic example of this layout usage is the mac-style launcher. Is this a bug? An expected behavior? Thanks Hi, i have some trouble to align the userslist.box to the bottom. Git source is: https://github.com/wfx/enter/blob/master/data/themes/enter/main.edc It is allways centered (screenshot: http://www.enlightenment.org/ss/e-553d22aee06ca9.61403495.jpg ) The edc part is at line 339: part { name: userslist; type: SPACER; description { state: default 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 1.0 (1.0 - 1.0); } } description { state: visible 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 2.0 1.0; } } part { name: userslist.box; /* API */ type: BOX; description { state: default 0.0; box { layout: horizontal; align: 0.0 0.0; padding: 24 0; } } } Thanks wfx -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Re: [E-devel] edje align box to bottom.
You can make a container group with 2 parts... The first one fill the place and the second, who is a swallow, aligned to bottom. You swallow your content in this group and add this group to the box. 2015-04-28 16:44 GMT+02:00 Wolfgang Morawetz wolfgang.moraw...@gmail.com: This will make the split of designe and code useless. Michaël Bouchaud schrieb It isn't difficult to do it from the c code. Use the function to set the size hint align to 0.5 1.0 of the objet appended. like evas_object_size_hint_align_set(o, 0.5, 1.0); if you use the legacy api. 2015-04-28 16:04 GMT+02:00 Davide Andreoli d...@gurumeditation.it: 2015-04-28 15:39 GMT+02:00 Michaël Bouchaud y...@efl.so: like this http://pastebin.com/PvfDxn8L 2015-04-28 15:37 GMT+02:00 Michaël Bouchaud y...@efl.so: just add align: 0.5 1.0; in items block too easy that way :P As I explained the box is populated from C code, not in the edc. 2015-04-28 14:45 GMT+02:00 Davide Andreoli d...@gurumeditation.it : 2015-04-28 0:32 GMT+02:00 Carsten Haitzler ras...@rasterman.com: On Mon, 27 Apr 2015 21:47:57 +0200 Davide Andreoli d...@gurumeditation.it said: 2015-04-27 7:06 GMT+02:00 Carsten Haitzler ras...@rasterman.com : On Sun, 26 Apr 2015 20:29:38 +0200 Wolfgang Morawetz wolfgang.moraw...@gmail.com said: align: 0.5 0.5; is the default in every description - try 0.5 1.0 for bottom aligned - depending what you want to align to bottom... :) The problem is that align for box items do not really works, please give a look at this super simple example: http://pastebin.com/dRBspmJu and the result: http://www.enlightenment.org/ss/e-553e90974f63b7.62413817.jpg As you can see, only the first item is bottom-aligned, because of the explicit align on the item (line 36). But the second item do not respect the align asked on line 27. This is just an example, in the real world the box is populated from the C/python code. Thus the designer is not able to choose the vertical alignment for the items in the box. you don't want to align the items, but align the BOX. make the box not an expanded blob but a minimal sized blob vertically and then align that. using min size of items to expand this 0 height box to the minimum size of items... I think I really want to align the items, not the box. Your solution works only when items are homogeneous (same size). Do you have a solution for this one? http://pastebin.com/hVBLiFxm http://www.enlightenment.org/ss/e-553f801e21d243.51319171.jpg here I would like to have all the items aligned to the bottom, and remember that it will be populated from code, so I cannot set alignment for each item. A classic example of this layout usage is the mac-style launcher. Is this a bug? An expected behavior? Thanks Hi, i have some trouble to align the userslist.box to the bottom. Git source is: https://github.com/wfx/enter/blob/master/data/themes/enter/main.edc It is allways centered (screenshot: http://www.enlightenment.org/ss/e-553d22aee06ca9.61403495.jpg ) The edc part is at line 339: part { name: userslist; type: SPACER; description { state: default 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 1.0 (1.0 - 1.0); } } description { state: visible 0.0; rel1 { to: user; relative: 1.0 0.0; offset: 24 0; } rel2 { to: user; relative: 2.0 1.0; } } part { name: userslist.box; /* API */ type: BOX; description { state: default 0.0; box { layout: horizontal; align: 0.0 0.0; padding: 24 0; } } } Thanks wfx -- One dashboard
Re: [E-devel] Elementary edje_externals Label Problem
Hum something wrong here too. I have no labels with external object. You could fill a report with this subject. I haven't taken the time to look at it. But I think it's really a bug too. 2014-09-03 6:22 GMT+00:00 Brian Wang brian.wang.0...@gmail.com: Hello all, I just pulled the latest EFL and Elementary from git. The labels on the buttons within all the ExtButton, ExtSlider, Ext* tests of elementary_test are all blank. No text is shown. I am wondering if I am the only one having the problem, as my upgrade method may not be proper. Thanks in advance. Brian -- brian -- Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 02/09: entrance: Updated the entrance_conf.c
to factorize 2014-04-08 21:01 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : I write two times the macro LIST_FILL, and two times with different content(thats why I write the macro twice not once), so I dont see why I should put that into one macro ? On Mon, Apr 07, 2014 at 02:37:04PM +0200, Michaël Bouchaud wrote: yeah you write two times a macro LIST_FILL who call IMG_LIST_FORK. Why not creating only one macro in entrance_conf.h 2014-04-07 14:30 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : I use them in entrance_conf_main.c and entrance_conf_user.c, so where should I put the macro ? The group has the name entrance/wallpaper/foo I just want to display foo so I need something which returns me foo ecore_file_file_get does that, but okay, I will do it different. On Mon, Apr 07, 2014 at 02:19:13PM +0200, Michaël Bouchaud wrote: nothing to do in a .h if you are using in one place. It's a design request. And a macro calling another macro is just a wrong design. Or you target is to write unmaintainable code. ecore_file is for file and nothing else ... Write a little algo to find last / ??? 2014-04-07 12:57 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : On Mon, Apr 07, 2014 at 10:42:20AM +0200, Michaël Bouchaud wrote: Please split you patch. why adding a macro used nowhere in this patch ? I am using this macro in the user settings and the general settings. Should I put them in the headers od the user and general settings ? And stop to cut and paste some code. A group isn't a file ... Try to give a better quality in your patch I never copy and paste that, I wanted to ecore_file_file_get cause it is just returning the last substring after the last /. Of course I can write a little algo to do the same. 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=cf5c4cf46a598925bcd9549e04f141903c3871b4 commit cf5c4cf46a598925bcd9549e04f141903c3871b4 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:18:47 2014 +0200 entrance: Updated the entrance_conf.c - backgrounds are hold in pools, no need to generate them there - New Textes for the Items are used - Lets use the thumb style in the settings pane - There is a macro to get Entrance_Image structs to Entrance_Conf_Background struct (in lists) --- src/bin/entrance_conf.c | 121 +++- src/bin/entrance_conf.h | 16 ++- 2 files changed, 63 insertions(+), 74 deletions(-) diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 4d0623f..979c6a0 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -76,7 +76,44 @@ _entrance_conf_end(Evas_Object *win) _entrance_conf-current = NULL; } -static void +void +entrance_conf_background_title_gen(Entrance_Conf_Background *cbg) +{ + char buf[PATH_MAX]; + char *group_suffix = NULL, *result; + const char *filename = NULL; + + if (cbg-path) + { +filename = ecore_file_file_get(cbg-path); + } + + if (cbg-group) + { +group_suffix = ecore_file_file_get(cbg-group); + } + + if ((group_suffix) (filename)) + { +snprintf(buf, sizeof(buf), %s - %s, filename, group_suffix); + } + else if (group_suffix) + { +snprintf(buf, sizeof(buf), %s, group_suffix); + } + else if(filename) + { +snprintf(buf, sizeof(buf), %s, filename); + } + else + { +snprintf(buf, sizeof(buf), None); + } + + cbg-name = eina_stringshare_add(buf); +} + + static void _entrance_conf_promote(Entrance_Conf_Module *conf) { elm_naviframe_item_promote(conf-item); @@ -126,12 +163,15 @@ _entrance_conf_bg_content_get(void *data, Evas_Object *obj, const char *part) cbg = data; if (part !strcmp(elm.swallow.icon, part)) { -o = elm_image_add(obj); -elm_image_file_set(o, cbg-path, cbg-group); -elm_image_smooth_set(o, EINA_FALSE); -evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND
Re: [E-devel] [EGIT] [misc/entrance] master 02/02: entrance: Implemented session to use in entrance_conf_user.
if user have no previous session, the pointer lsess will be null. So you will segfault 2014-04-09 9:42 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=1a0e7a59daaebd294df7d0a521fd6ae9fe81cf3c commit 1a0e7a59daaebd294df7d0a521fd6ae9fe81cf3c Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 9 09:41:11 2014 +0200 entrance: Implemented session to use in entrance_conf_user. --- src/bin/entrance_conf_user.c | 58 +++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/src/bin/entrance_conf_user.c b/src/bin/entrance_conf_user.c index 111ebf0..12eb1cd 100644 --- a/src/bin/entrance_conf_user.c +++ b/src/bin/entrance_conf_user.c @@ -100,10 +100,64 @@ _entrance_conf_user_icon_fill_cb(void *data, Elm_Object_Item *it) return EINA_FALSE; } +static void +_entrance_conf_session_update(Evas_Object *session_sel) +{ + const Eina_List *sessions, *node; + Entrance_Xsession *session; + const char *icon = NULL; + Evas_Object *ic; + + sessions = entrance_gui_xsessions_get(); + //search the correct struct + elm_object_text_set(session_sel, _entrance_int_conf_user-lsess); + EINA_LIST_FOREACH(sessions, node, session) + { +if (!strcmp(_entrance_int_conf_user-lsess,session-name)) + { + icon = session-icon; + } + } + //create the icon + ic = elm_object_part_content_get(session_sel, icon); + if (icon) + { +if (!ic) + ic = elm_icon_add(session_sel); +elm_image_file_set(ic, icon, NULL); +elm_object_part_content_set(session_sel, icon, ic); + } + else + { +if (ic) + evas_object_del(ic); +elm_object_part_content_set(ic, icon, NULL); + } + +} + +static void +_entrance_conf_session_sel(void *data EINA_UNUSED, Evas_Object *obj, void *event_info) +{ + Entrance_Xsession *exs; + exs = elm_object_item_data_get(event_info); + _entrance_int_conf_user-lsess = exs-name; + _entrance_conf_session_update(obj); + entrance_conf_changed(); +} + static char * _entrance_conf_session_text_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED) { - return NULL; + Entrance_Xsession *exs; + exs = data; + if (!part) + return strdup(exs-name); + else + if (exs-icon) + return strdup(exs-icon); + else + return NULL; } static Evas_Object * @@ -336,6 +390,8 @@ _entrance_conf_user_build_cb(Evas_Object *t, Entrance_Login *eu) elm_table_pack(t, o, 1, j, 1, 1); evas_object_show(o); ++j; + entrance_fill(o, _entrance_session_fill, entrance_gui_xsessions_get(), NULL, _entrance_conf_session_sel, NULL); + _entrance_conf_session_update(o); /* Remember last session */ o = elm_label_add(t); -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 02/02: entrance: Implemented session to use in entrance_conf_user.
And about text_get func, check if we want the part icon to return the path of icon. That would be better 2014-04-09 9:47 GMT+02:00 Michaël Bouchaud y...@efl.so: if user have no previous session, the pointer lsess will be null. So you will segfault 2014-04-09 9:42 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=1a0e7a59daaebd294df7d0a521fd6ae9fe81cf3c commit 1a0e7a59daaebd294df7d0a521fd6ae9fe81cf3c Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 9 09:41:11 2014 +0200 entrance: Implemented session to use in entrance_conf_user. --- src/bin/entrance_conf_user.c | 58 +++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/src/bin/entrance_conf_user.c b/src/bin/entrance_conf_user.c index 111ebf0..12eb1cd 100644 --- a/src/bin/entrance_conf_user.c +++ b/src/bin/entrance_conf_user.c @@ -100,10 +100,64 @@ _entrance_conf_user_icon_fill_cb(void *data, Elm_Object_Item *it) return EINA_FALSE; } +static void +_entrance_conf_session_update(Evas_Object *session_sel) +{ + const Eina_List *sessions, *node; + Entrance_Xsession *session; + const char *icon = NULL; + Evas_Object *ic; + + sessions = entrance_gui_xsessions_get(); + //search the correct struct + elm_object_text_set(session_sel, _entrance_int_conf_user-lsess); + EINA_LIST_FOREACH(sessions, node, session) + { +if (!strcmp(_entrance_int_conf_user-lsess,session-name)) + { + icon = session-icon; + } + } + //create the icon + ic = elm_object_part_content_get(session_sel, icon); + if (icon) + { +if (!ic) + ic = elm_icon_add(session_sel); +elm_image_file_set(ic, icon, NULL); +elm_object_part_content_set(session_sel, icon, ic); + } + else + { +if (ic) + evas_object_del(ic); +elm_object_part_content_set(ic, icon, NULL); + } + +} + +static void +_entrance_conf_session_sel(void *data EINA_UNUSED, Evas_Object *obj, void *event_info) +{ + Entrance_Xsession *exs; + exs = elm_object_item_data_get(event_info); + _entrance_int_conf_user-lsess = exs-name; + _entrance_conf_session_update(obj); + entrance_conf_changed(); +} + static char * _entrance_conf_session_text_get(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED) { - return NULL; + Entrance_Xsession *exs; + exs = data; + if (!part) + return strdup(exs-name); + else + if (exs-icon) + return strdup(exs-icon); + else + return NULL; } static Evas_Object * @@ -336,6 +390,8 @@ _entrance_conf_user_build_cb(Evas_Object *t, Entrance_Login *eu) elm_table_pack(t, o, 1, j, 1, 1); evas_object_show(o); ++j; + entrance_fill(o, _entrance_session_fill, entrance_gui_xsessions_get(), NULL, _entrance_conf_session_sel, NULL); + _entrance_conf_session_update(o); /* Remember last session */ o = elm_label_add(t); -- -- Michaël Bouchaud (yoz) y...@efl.so -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: append the user in the history if there was an update
no need to alloc it, just append it. 2014-04-09 11:06 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=fd8c7b75b5ab92b305f35ee8f77ae8a373a1b8e6 commit fd8c7b75b5ab92b305f35ee8f77ae8a373a1b8e6 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 9 11:06:01 2014 +0200 entrance: append the user in the history if there was an update --- src/daemon/entrance_history.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/daemon/entrance_history.c b/src/daemon/entrance_history.c index 678af57..12371fe 100644 --- a/src/daemon/entrance_history.c +++ b/src/daemon/entrance_history.c @@ -162,7 +162,7 @@ void entrance_history_user_update(const Entrance_Login *eu) { Eina_List *l; - Entrance_Login *el; + Entrance_Login *el, *eln; PT(Updating user info\n); @@ -182,7 +182,10 @@ entrance_history_user_update(const Entrance_Login *eu) if (!strcmp(eu-login, el-login)) { PT(Append user in history\n); - _entrance_history_user_set(el, eu); + eln = calloc(1, sizeof(Entrance_Login)); + memcpy(eln, el, sizeof(Entrance_Login)); + _entrance_history_user_set(eln, eu); + _entrance_history-history = eina_list_append(_entrance_history-history, eln); break; } } -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 01/02: entrance: Show None if there is no session.
using bracket after if to better delimit it. So we know EINA_LIST_FOREACH is in 2014-04-09 10:35 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=c3f817b849f52d85e98d0c7c08ef696a3771efdc commit c3f817b849f52d85e98d0c7c08ef696a3771efdc Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 9 10:28:25 2014 +0200 entrance: Show None if there is no session. --- src/bin/entrance_conf_user.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/bin/entrance_conf_user.c b/src/bin/entrance_conf_user.c index 12eb1cd..33ce924 100644 --- a/src/bin/entrance_conf_user.c +++ b/src/bin/entrance_conf_user.c @@ -110,14 +110,20 @@ _entrance_conf_session_update(Evas_Object *session_sel) sessions = entrance_gui_xsessions_get(); //search the correct struct - elm_object_text_set(session_sel, _entrance_int_conf_user-lsess); - EINA_LIST_FOREACH(sessions, node, session) - { -if (!strcmp(_entrance_int_conf_user-lsess,session-name)) - { - icon = session-icon; - } - } + if (_entrance_int_conf_user-lsess) + elm_object_text_set(session_sel, _entrance_int_conf_user-lsess); + else + elm_object_text_set(session_sel, None); + + if (_entrance_int_conf_user-lsess) + EINA_LIST_FOREACH(sessions, node, session) + { + if ((_entrance_int_conf_user-lsess) + !strcmp(_entrance_int_conf_user-lsess,session-name)) +{ + icon = session-icon; +} + } //create the icon ic = elm_object_part_content_get(session_sel, icon); if (icon) @@ -131,7 +137,7 @@ _entrance_conf_session_update(Evas_Object *session_sel) { if (ic) evas_object_del(ic); -elm_object_part_content_set(ic, icon, NULL); +elm_object_part_content_set(session_sel, icon, NULL); } } -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 02/09: entrance: Updated the entrance_conf.c
= str; - /* TODO use entrance/desktop/background or e/desktop/background */ - cbg-group = eina_stringshare_add(e/desktop/background); - { - char *name, *p; - name = strrchr(str, '/'); - if (name) -{ - name++; - name = strdupa(name); - p = strrchr(name, '.'); - if (p) *p = '\0'; -} - cbg-name = eina_stringshare_add(name); - } - nl = eina_list_append(nl, cbg); - } -else - eina_stringshare_del(str); - } - eina_iterator_free(it); - - return nl; -} - Entrance_Fill * entrance_conf_background_fill_get(void) { diff --git a/src/bin/entrance_conf.h b/src/bin/entrance_conf.h index 8082bea..73ea6cc 100644 --- a/src/bin/entrance_conf.h +++ b/src/bin/entrance_conf.h @@ -8,6 +8,20 @@ typedef struct Entrance_Conf_Background_ const char *name; } Entrance_Conf_Background; +#define IMG_LIST_FORK(l_src, l_dest) \ + do { \ + Entrance_Image *ptr; \ + Entrance_Conf_Background *tmp_ptr; \ + EINA_LIST_FOREACH(l_src, node, ptr) \ + { \ + tmp_ptr = malloc(sizeof(Entrance_Conf_Background)); \ + tmp_ptr-path = eina_stringshare_add(ptr-path); \ + tmp_ptr-group = eina_stringshare_add(ptr-group); \ + entrance_conf_background_title_gen(tmp_ptr);\ + l_dest = eina_list_append(l_dest, tmp_ptr); \ + } \ + }while(0); + typedef void (*Entrance_Conf_Begin) (void); typedef void (*Entrance_Conf_End) (void); typedef Evas_Object *(*Entrance_Conf_Build) (Evas_Object *obj); @@ -19,7 +33,7 @@ void entrance_conf_shutdown(void); void entrance_conf_module_register(const char *label, Entrance_Conf_Begin begin, Entrance_Conf_End end, Entrance_Conf_Build build, Entrance_Conf_Check check, Entrance_Conf_Apply apply); void entrance_conf_begin(Evas_Object *obj, Evas_Object *parent); void entrance_conf_changed(void); -Eina_List *entrance_conf_backgrounds_get(Evas_Object *obj, const char *user); +void entrance_conf_background_title_gen(Entrance_Conf_Background *ptr); Entrance_Fill *entrance_conf_background_fill_get(void); -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 03/09: entrance: Updated the general Settings
(); + +#define LIST_FILL(list) \ + tmp = NULL; \ + IMG_LIST_FORK(list, tmp); \ + entrance_fill(o, entrance_conf_background_fill_get(),\ + tmp, _entrance_conf_bg_fill_cb,\ + _entrance_conf_bg_sel, o); + + LIST_FILL(s_bg); + LIST_FILL(t_bg); + +#undef LIST_FILL + + return bx; +} + +static Evas_Object* +_entrance_conf_main_themesel(Evas_Object *obj) +{ + Evas_Object *o; + /* Theme selector */ + o = elm_label_add(obj); + elm_object_text_set(o, TODO Implement theme selector!); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + return o; +} + +static Evas_Object* +_entrance_conf_main_graph_log(Evas_Object *obj) +{ + Evas_Object *o; + /* Graphical Log */ + o = elm_label_add(obj); + elm_object_text_set(o, TODO Implement Graphical Log !); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + return o; +} + +static Evas_Object * +_entrance_conf_main_build(Evas_Object *obj) +{ + Evas_Object *tb, *bx_over, *o, *bx; + + /*Main Frame*/ + o = bx_over = elm_box_add(obj); + elm_box_horizontal_set(o, EINA_TRUE); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + evas_object_show(o); + + o = tb = elm_toolbar_add(obj); + evas_object_size_hint_weight_set(o, 0, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + elm_toolbar_horizontal_set(o, EINA_FALSE); + elm_toolbar_select_mode_set(o, ELM_OBJECT_SELECT_MODE_ALWAYS); + elm_toolbar_shrink_mode_set(o, ELM_TOOLBAR_SHRINK_SCROLL); + elm_toolbar_homogeneous_set(o, EINA_FALSE); + elm_box_pack_end(bx_over, o); + evas_object_show(o); + + o = bx = elm_box_add(obj); + elm_box_horizontal_set(o, EINA_TRUE); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + elm_box_pack_end(bx_over, o); + evas_object_show(o); + + _entrance_int_conf_main-display_area = o; + + elm_toolbar_item_append(tb, NULL, General, + _entrance_conf_toolbar_click, _entrance_conf_main_general(obj)); + elm_toolbar_item_append(tb, NULL, Background, + _entrance_conf_toolbar_click, _entrance_conf_main_background(obj)); + elm_toolbar_item_append(tb, NULL, Theme, + _entrance_conf_toolbar_click, _entrance_conf_main_themesel(obj)); + elm_toolbar_item_append(tb, NULL, Log, + _entrance_conf_toolbar_click, _entrance_conf_main_graph_log(obj)); + + return bx_over; } static Eina_Bool @@ -251,6 +329,8 @@ _entrance_conf_main_apply(void) conf.bg.path = _entrance_int_conf_main-bg.path; conf.bg.group = _entrance_int_conf_main-bg.group; + conf.background_pool = NULL; + conf.icon_pool = NULL; conf.vkbd_enabled = _entrance_int_conf_main-vkbd_enabled; if (_entrance_int_conf_main-scale != elm_config_scale_get()) -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 03/09: entrance: Updated the general Settings
Good idea to use a macro inside a macro, where the first one is never used ... 2014-04-07 10:45 GMT+02:00 Michaël Bouchaud y...@efl.so: Like before, Split your patch. Here you remove all the modularity of conf panel. This is really bad 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de : bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=bd7d06b2c4f58d3fb1d420d0c0a93d96118a4501 commit bd7d06b2c4f58d3fb1d420d0c0a93d96118a4501 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:22:50 2014 +0200 entrance: Updated the general Settings - There is a toolbar on the left side - Added placeholder for themeselector and graphical log - Backgrounds are displayed from the pools ! --- src/bin/entrance_conf_main.c | 248 --- 1 file changed, 164 insertions(+), 84 deletions(-) diff --git a/src/bin/entrance_conf_main.c b/src/bin/entrance_conf_main.c index cf295d3..9cf2efb 100644 --- a/src/bin/entrance_conf_main.c +++ b/src/bin/entrance_conf_main.c @@ -8,6 +8,7 @@ typedef struct Entrance_Int_Conf_Main_ const char *path; const char *group; } bg; + Evas_Object *display_area; const char *theme; const char *elm_profile; Eina_Bool vkbd_enabled : 1; @@ -55,15 +56,17 @@ _entrance_conf_bg_fill_cb(void *data, Elm_Object_Item *it) cbg = data; entrance_gui_background_get(bg_path, bg_group); - if ((cbg-path) -(cbg-group) -(bg_path) -(bg_group) -(!strcmp(cbg-path, bg_path)) -(!strcmp(cbg-group, bg_group))) + if (((cbg-path) (bg_path) + (!strcmp(cbg-path, bg_path))) || + ((!cbg-path) (!bg_path))) { -elm_genlist_item_selected_set(it, EINA_TRUE); -return EINA_TRUE; +if (((cbg-group) (bg_group) + (!strcmp(cbg-group, bg_group))) || +((!cbg-group) (!bg_group))) + { + elm_gengrid_item_selected_set(it, EINA_TRUE); + return EINA_TRUE; + } } return EINA_FALSE; } @@ -73,12 +76,6 @@ _entrance_conf_bg_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void { Entrance_Conf_Background *cbg; cbg = elm_object_item_data_get(event_info); - if (!elm_layout_file_set(_entrance_int_conf_main-bg.preview, - cbg-path, cbg-group)) - { -PT(Error on loading ); -fprintf(stderr, %s %s\n, cbg-path, cbg-group); - } _entrance_int_conf_main-bg.path = cbg-path; _entrance_int_conf_main-bg.group = cbg-group; entrance_conf_changed(); @@ -105,68 +102,43 @@ _entrance_conf_scale_changed(void *data EINA_UNUSED, Evas_Object *obj, void *eve entrance_conf_changed(); } +static void +_entrance_conf_toolbar_click(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) +{ + Evas_Object *o = data, *old; -static Evas_Object * -_entrance_conf_main_build(Evas_Object *obj) + Eina_List *childs = elm_box_children_get(_entrance_int_conf_main-display_area); + old = eina_list_data_get(childs); + elm_box_unpack(_entrance_int_conf_main-display_area, old); + + evas_object_hide(old); + + elm_box_pack_end(_entrance_int_conf_main-display_area, o); + evas_object_show(o); +} + +static Evas_Object* +_entrance_conf_main_general(Evas_Object *obj) { - Evas_Object *t, *bx, *hbx, *o, *gl; - Eina_List *l; - int j = 0; + Evas_Object *t, *o; + /* General */ t = elm_table_add(obj); - elm_table_padding_set(t, 5 , 5); + elm_table_padding_set(t, 0, 0); evas_object_size_hint_weight_set(t, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - - /* Background */ - o = elm_label_add(t); - elm_object_text_set(o, Background); - evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); - evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_table_pack(t, o, 0, j, 1, 1); - evas_object_show(o); - ++j; - - hbx = elm_box_add(t); - elm_box_horizontal_set(hbx, EINA_TRUE); - elm_table_pack(t, hbx, 0, j, 2, 3); - evas_object_size_hint_weight_set(hbx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - evas_object_size_hint_align_set(hbx, EVAS_HINT_FILL, EVAS_HINT_FILL); - gl = elm_genlist_add(hbx); - elm_scroller_bounce_set(gl, EINA_FALSE, EINA_TRUE); - evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_box_pack_end(hbx, gl); - evas_object_show(gl); - bx = elm_box_add(hbx); - elm_box_pack_end(hbx, bx); - evas_object_show(bx); - o = elm_layout_add(hbx); - _entrance_int_conf_main-bg.preview = o; - elm_box_pack_end(bx, o); - evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
Re: [E-devel] [EGIT] [misc/entrance] master 06/09: entrance: Use the algo from gui_update also for the user background !
Factorizing code could be a better idea instead cut and paste ... 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=ad00fd25dfe971aff71d8c2c735b52d978e19c29 commit ad00fd25dfe971aff71d8c2c735b52d978e19c29 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 16:00:04 2014 +0200 entrance: Use the algo from gui_update also for the user background ! --- src/bin/entrance_gui.c | 84 ++ 1 file changed, 50 insertions(+), 34 deletions(-) diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c index 423f640..519d4be 100755 --- a/src/bin/entrance_gui.c +++ b/src/bin/entrance_gui.c @@ -561,6 +561,51 @@ entrance_gui_vkbd_enabled_get(void) return _gui-vkbd_enabled; } +static Evas_Object * +_entrance_gui_background_obj_get(Evas_Object *par, const char *path, const char *group) +{ + Evas_Object *bg = NULL; + if (group) + { +if (path) + { + bg = elm_layout_add(par); + if (!elm_layout_file_set(bg, path, group)) + { + evas_object_del(bg); + return NULL; + } + } +else + { + bg = entrance_gui_theme_get(par, + entrance/background/default); + } + } + else if (path) + { +if (eina_str_has_extension(path,.edj)) + { + bg = elm_layout_add(par); + if (!elm_layout_file_set(bg, path, entrance/background/default)) + { + evas_object_del(bg); + return NULL; + } + } +else + { + bg = elm_bg_add(par); + if (!elm_bg_file_set(bg, path, NULL)) + { + evas_object_del(bg); + return NULL; + } + } + } + return bg; +} + void entrance_gui_user_bg_set(const char *path, const char *group) { @@ -568,12 +613,12 @@ entrance_gui_user_bg_set(const char *path, const char *group) Entrance_Screen *screen; Evas_Object *o; + PT(User Background - %s %s, path, group); EINA_LIST_FOREACH(_gui-screens, l, screen) { -if (path group) +if (path || group) { - o = elm_layout_add(screen-background); - elm_layout_file_set(o, path, group); + o = _entrance_gui_background_obj_get(screen-transition, path, group); elm_object_part_content_set(screen-transition, entrance.wallpaper.user.start, o); evas_object_show(o); @@ -599,38 +644,9 @@ _entrance_gui_update(void) if (_gui-changed ENTRANCE_CONF_WALLPAPER) { PT(Set background %s - %s\n, _gui-bg.path, _gui-bg.group); - if (_gui-bg.group) - { - if (_gui-bg.path) -{ - bg = elm_layout_add(screen-transition); - success = elm_layout_file_set(bg, _gui-bg.path, _gui-bg.group); -} - else -{ - bg = entrance_gui_theme_get(screen-transition, - entrance/background/default); - if (bg) - success = EINA_TRUE; -} - } - else if (_gui-bg.path) - { - if (eina_str_has_extension(_gui-bg.path,.edj)) -{ - bg = elm_layout_add(screen-transition); - success = elm_layout_file_set(bg, _gui-bg.path, entrance/background/default); -} - else -{ - bg = elm_bg_add(screen-transition); - success = elm_bg_file_set(bg, _gui-bg.path, NULL); -} - } - if (!success) + bg = _entrance_gui_background_obj_get(screen-transition, _gui-bg.path, _gui-bg.group); + if (!bg) { - if (bg) -evas_object_del(bg); const char *path; const char *group; if ((_gui-bg.group) || (_gui-bg.path)) -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ enlightenment
Re: [E-devel] [EGIT] [misc/entrance] master 04/09: entrance: Updated the user settings
); evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_object_part_text_set(o, left, Enabled); elm_object_part_text_set(o, right, Disabled); @@ -255,6 +353,7 @@ _entrance_conf_user_build_cb(Evas_Object *t, Entrance_Login *eu) ++j; evas_object_show(t); + #undef LIST_FILL } -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: Changed the Settingspane
/entrance_conf_theme.h @@ -0,0 +1,7 @@ +#ifndef ENTRANCE_CONF_THEME_H_ +#define ENTRANCE_CONF_THEME_H_ + +void entrance_conf_theme_init(void); +void entrance_conf_theme_shutdown(void); + +#endif /* ENTRANCE_CONF_MAIN_H_ */ -- -- Michaël Bouchaud (yoz) y...@efl.so -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 02/09: entrance: Updated the entrance_conf.c
nothing to do in a .h if you are using in one place. It's a design request. And a macro calling another macro is just a wrong design. Or you target is to write unmaintainable code. ecore_file is for file and nothing else ... Write a little algo to find last / ??? 2014-04-07 12:57 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : On Mon, Apr 07, 2014 at 10:42:20AM +0200, Michaël Bouchaud wrote: Please split you patch. why adding a macro used nowhere in this patch ? I am using this macro in the user settings and the general settings. Should I put them in the headers od the user and general settings ? And stop to cut and paste some code. A group isn't a file ... Try to give a better quality in your patch I never copy and paste that, I wanted to ecore_file_file_get cause it is just returning the last substring after the last /. Of course I can write a little algo to do the same. 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=cf5c4cf46a598925bcd9549e04f141903c3871b4 commit cf5c4cf46a598925bcd9549e04f141903c3871b4 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:18:47 2014 +0200 entrance: Updated the entrance_conf.c - backgrounds are hold in pools, no need to generate them there - New Textes for the Items are used - Lets use the thumb style in the settings pane - There is a macro to get Entrance_Image structs to Entrance_Conf_Background struct (in lists) --- src/bin/entrance_conf.c | 121 +++- src/bin/entrance_conf.h | 16 ++- 2 files changed, 63 insertions(+), 74 deletions(-) diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 4d0623f..979c6a0 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -76,7 +76,44 @@ _entrance_conf_end(Evas_Object *win) _entrance_conf-current = NULL; } -static void +void +entrance_conf_background_title_gen(Entrance_Conf_Background *cbg) +{ + char buf[PATH_MAX]; + char *group_suffix = NULL, *result; + const char *filename = NULL; + + if (cbg-path) + { +filename = ecore_file_file_get(cbg-path); + } + + if (cbg-group) + { +group_suffix = ecore_file_file_get(cbg-group); + } + + if ((group_suffix) (filename)) + { +snprintf(buf, sizeof(buf), %s - %s, filename, group_suffix); + } + else if (group_suffix) + { +snprintf(buf, sizeof(buf), %s, group_suffix); + } + else if(filename) + { +snprintf(buf, sizeof(buf), %s, filename); + } + else + { +snprintf(buf, sizeof(buf), None); + } + + cbg-name = eina_stringshare_add(buf); +} + + static void _entrance_conf_promote(Entrance_Conf_Module *conf) { elm_naviframe_item_promote(conf-item); @@ -126,12 +163,15 @@ _entrance_conf_bg_content_get(void *data, Evas_Object *obj, const char *part) cbg = data; if (part !strcmp(elm.swallow.icon, part)) { -o = elm_image_add(obj); -elm_image_file_set(o, cbg-path, cbg-group); -elm_image_smooth_set(o, EINA_FALSE); -evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, - EVAS_HINT_EXPAND); -evas_object_show(o); +if (cbg-path || cbg-group) + { + o = elm_image_add(obj); + elm_image_file_set(o, cbg-path, cbg-group); + elm_image_smooth_set(o, EINA_FALSE); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, + EVAS_HINT_EXPAND); + evas_object_show(o); + } } return o; } @@ -160,7 +200,7 @@ entrance_conf_init(void) PT(conf init\n); _entrance_conf = calloc(1, sizeof(Entrance_Int_Conf)); _entrance_conf-background_fill = - entrance_fill_new(default, + entrance_fill_new(thumb, _entrance_conf_bg_text_get, _entrance_conf_bg_content_get, _entrance_conf_bg_state_get, @@ -305,71 +345,6 @@ entrance_conf_changed(void) } } -Eina_List * -entrance_conf_backgrounds_get(Evas_Object *obj, const char *user) -{ - Evas_Object *o, *edj; - Eina_List *list, *l, *nl = NULL; - Entrance_Conf_Background *cbg; - const char *str; - const char *path; - char buf[PATH_MAX]; - Eina_Iterator *it; - - o = entrance_gui_theme_get(obj, entrance/background); - edj = elm_layout_edje_get(o
Re: [E-devel] [EGIT] [misc/entrance] master 06/09: entrance: Use the algo from gui_update also for the user background !
Same as you said, so we could factorize. Less code to maintain and if we found a bug in it, we don't need to do same in two place. It's the basic of the programation 2014-04-07 13:02 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : What do you mean ? Its exactly the same thing in those two cases, so why factorizing, it would end up in the same ?? On Mon, Apr 07, 2014 at 10:48:33AM +0200, Michaël Bouchaud wrote: Factorizing code could be a better idea instead cut and paste ... 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=ad00fd25dfe971aff71d8c2c735b52d978e19c29 commit ad00fd25dfe971aff71d8c2c735b52d978e19c29 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 16:00:04 2014 +0200 entrance: Use the algo from gui_update also for the user background ! --- src/bin/entrance_gui.c | 84 ++ 1 file changed, 50 insertions(+), 34 deletions(-) diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c index 423f640..519d4be 100755 --- a/src/bin/entrance_gui.c +++ b/src/bin/entrance_gui.c @@ -561,6 +561,51 @@ entrance_gui_vkbd_enabled_get(void) return _gui-vkbd_enabled; } +static Evas_Object * +_entrance_gui_background_obj_get(Evas_Object *par, const char *path, const char *group) +{ + Evas_Object *bg = NULL; + if (group) + { +if (path) + { + bg = elm_layout_add(par); + if (!elm_layout_file_set(bg, path, group)) + { + evas_object_del(bg); + return NULL; + } + } +else + { + bg = entrance_gui_theme_get(par, + entrance/background/default); + } + } + else if (path) + { +if (eina_str_has_extension(path,.edj)) + { + bg = elm_layout_add(par); + if (!elm_layout_file_set(bg, path, entrance/background/default)) + { + evas_object_del(bg); + return NULL; + } + } +else + { + bg = elm_bg_add(par); + if (!elm_bg_file_set(bg, path, NULL)) + { + evas_object_del(bg); + return NULL; + } + } + } + return bg; +} + void entrance_gui_user_bg_set(const char *path, const char *group) { @@ -568,12 +613,12 @@ entrance_gui_user_bg_set(const char *path, const char *group) Entrance_Screen *screen; Evas_Object *o; + PT(User Background - %s %s, path, group); EINA_LIST_FOREACH(_gui-screens, l, screen) { -if (path group) +if (path || group) { - o = elm_layout_add(screen-background); - elm_layout_file_set(o, path, group); + o = _entrance_gui_background_obj_get(screen-transition, path, group); elm_object_part_content_set(screen-transition, entrance.wallpaper.user.start, o); evas_object_show(o); @@ -599,38 +644,9 @@ _entrance_gui_update(void) if (_gui-changed ENTRANCE_CONF_WALLPAPER) { PT(Set background %s - %s\n, _gui-bg.path, _gui-bg.group); - if (_gui-bg.group) - { - if (_gui-bg.path) -{ - bg = elm_layout_add(screen-transition); - success = elm_layout_file_set(bg, _gui-bg.path, _gui-bg.group); -} - else -{ - bg = entrance_gui_theme_get(screen-transition, - entrance/background/default); - if (bg) - success = EINA_TRUE; -} - } - else if (_gui-bg.path) - { - if (eina_str_has_extension(_gui-bg.path,.edj)) -{ - bg = elm_layout_add(screen-transition); - success = elm_layout_file_set(bg, _gui-bg.path, entrance/background/default); -} - else -{ - bg = elm_bg_add(screen-transition); - success = elm_bg_file_set(bg, _gui-bg.path, NULL); -} - } - if (!success) + bg = _entrance_gui_background_obj_get(screen-transition, _gui-bg.path, _gui-bg.group); + if (!bg
Re: [E-devel] [EGIT] [misc/entrance] master 03/09: entrance: Updated the general Settings
you don't respect ui design, having multiple toolbar isn't a good things for user. They go to be lost in multiple menu and can't be a good gui (multiple context). And why you break modularity because your code don't match the previous design made by me few weeks ago. 2014-04-07 12:59 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : On Mon, Apr 07, 2014 at 10:45:12AM +0200, Michaël Bouchaud wrote: Like before, Split your patch. Here you remove all the modularity of conf panel. This is really bad Where do I remove the modularity ? I moved the theme and log stuff allready to there own conf modules. (If you mean that) 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=bd7d06b2c4f58d3fb1d420d0c0a93d96118a4501 commit bd7d06b2c4f58d3fb1d420d0c0a93d96118a4501 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:22:50 2014 +0200 entrance: Updated the general Settings - There is a toolbar on the left side - Added placeholder for themeselector and graphical log - Backgrounds are displayed from the pools ! --- src/bin/entrance_conf_main.c | 248 --- 1 file changed, 164 insertions(+), 84 deletions(-) diff --git a/src/bin/entrance_conf_main.c b/src/bin/entrance_conf_main.c index cf295d3..9cf2efb 100644 --- a/src/bin/entrance_conf_main.c +++ b/src/bin/entrance_conf_main.c @@ -8,6 +8,7 @@ typedef struct Entrance_Int_Conf_Main_ const char *path; const char *group; } bg; + Evas_Object *display_area; const char *theme; const char *elm_profile; Eina_Bool vkbd_enabled : 1; @@ -55,15 +56,17 @@ _entrance_conf_bg_fill_cb(void *data, Elm_Object_Item *it) cbg = data; entrance_gui_background_get(bg_path, bg_group); - if ((cbg-path) -(cbg-group) -(bg_path) -(bg_group) -(!strcmp(cbg-path, bg_path)) -(!strcmp(cbg-group, bg_group))) + if (((cbg-path) (bg_path) + (!strcmp(cbg-path, bg_path))) || + ((!cbg-path) (!bg_path))) { -elm_genlist_item_selected_set(it, EINA_TRUE); -return EINA_TRUE; +if (((cbg-group) (bg_group) + (!strcmp(cbg-group, bg_group))) || +((!cbg-group) (!bg_group))) + { + elm_gengrid_item_selected_set(it, EINA_TRUE); + return EINA_TRUE; + } } return EINA_FALSE; } @@ -73,12 +76,6 @@ _entrance_conf_bg_sel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void { Entrance_Conf_Background *cbg; cbg = elm_object_item_data_get(event_info); - if (!elm_layout_file_set(_entrance_int_conf_main-bg.preview, - cbg-path, cbg-group)) - { -PT(Error on loading ); -fprintf(stderr, %s %s\n, cbg-path, cbg-group); - } _entrance_int_conf_main-bg.path = cbg-path; _entrance_int_conf_main-bg.group = cbg-group; entrance_conf_changed(); @@ -105,68 +102,43 @@ _entrance_conf_scale_changed(void *data EINA_UNUSED, Evas_Object *obj, void *eve entrance_conf_changed(); } +static void +_entrance_conf_toolbar_click(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) +{ + Evas_Object *o = data, *old; -static Evas_Object * -_entrance_conf_main_build(Evas_Object *obj) + Eina_List *childs = elm_box_children_get(_entrance_int_conf_main-display_area); + old = eina_list_data_get(childs); + elm_box_unpack(_entrance_int_conf_main-display_area, old); + + evas_object_hide(old); + + elm_box_pack_end(_entrance_int_conf_main-display_area, o); + evas_object_show(o); +} + +static Evas_Object* +_entrance_conf_main_general(Evas_Object *obj) { - Evas_Object *t, *bx, *hbx, *o, *gl; - Eina_List *l; - int j = 0; + Evas_Object *t, *o; + /* General */ t = elm_table_add(obj); - elm_table_padding_set(t, 5 , 5); + elm_table_padding_set(t, 0, 0); evas_object_size_hint_weight_set(t, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - - /* Background */ - o = elm_label_add(t); - elm_object_text_set(o, Background); - evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); - evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_table_pack(t, o, 0, j, 1, 1); - evas_object_show(o); - ++j; - - hbx = elm_box_add(t); - elm_box_horizontal_set(hbx, EINA_TRUE); - elm_table_pack(t, hbx, 0, j, 2, 3); - evas_object_size_hint_weight_set(hbx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: Changed the Settingspane
Settings in entrance_client must just to be related to ui not to system. So this panel is just uneeded. 2014-04-07 13:15 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : Idea is to display the log file and a few labels where the log files are located! On Mon, Apr 07, 2014 at 11:03:40AM +0200, Michaël Bouchaud wrote: what did you want to display in this conf log panel ? Split your patch !!! 2014-04-06 21:23 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=1539a34296d9bf04a4d17a54ce0060c9f6bba380 commit 1539a34296d9bf04a4d17a54ce0060c9f6bba380 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Sun Apr 6 21:21:08 2014 +0200 entrance: Changed the Settingspane - Themeselector Log is a new place in the segment control. It is less confusing if there is just one place where you can click throuw the settings! - Moved background and general Settings back into one pane. --- src/bin/Makefile.am | 4 + src/bin/entrance_client.h | 2 + src/bin/entrance_conf.c | 4 + src/bin/entrance_conf_log.c | 62 ++ src/bin/entrance_conf_log.h | 7 ++ src/bin/entrance_conf_main.c | 190 ++ src/bin/entrance_conf_theme.c | 74 src/bin/entrance_conf_theme.h | 7 ++ 8 files changed, 221 insertions(+), 129 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 1124e5a..a47667b 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -20,6 +20,10 @@ entrance_conf.h \ entrance_conf.c \ entrance_conf_main.h \ entrance_conf_main.c \ +entrance_conf_theme.h \ +entrance_conf_theme.c \ +entrance_conf_log.h \ +entrance_conf_log.c \ entrance_conf_user.h \ entrance_conf_user.c \ entrance_connect.h\ diff --git a/src/bin/entrance_client.h b/src/bin/entrance_client.h index ed2113a..d0728b7 100644 --- a/src/bin/entrance_client.h +++ b/src/bin/entrance_client.h @@ -14,6 +14,8 @@ #include entrance_fill.h #include entrance_conf.h #include entrance_conf_main.h +#include entrance_conf_log.h +#include entrance_conf_theme.h #include entrance_conf_user.h #include entrance_connect.h #include entrance_client.h diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 37a1a9d..41427ba 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -209,6 +209,8 @@ entrance_conf_init(void) entrance_conf_main_init(); entrance_conf_user_init(); + entrance_conf_theme_init(); + entrance_conf_log_init(); } void @@ -219,6 +221,8 @@ entrance_conf_shutdown(void) PT(conf shutdown\n); entrance_conf_user_shutdown(); entrance_conf_main_shutdown(); + entrance_conf_theme_shutdown(); + entrance_conf_log_shutdown(); EINA_LIST_FREE(_entrance_conf-modules, conf) { eina_stringshare_del(conf-label); diff --git a/src/bin/entrance_conf_log.c b/src/bin/entrance_conf_log.c new file mode 100644 index 000..ab4a569 --- /dev/null +++ b/src/bin/entrance_conf_log.c @@ -0,0 +1,62 @@ +#include entrance_client.h + +static void _entrance_conf_log_begin(void); +static void _entrance_conf_log_end(void); +static Evas_Object *_entrance_conf_log_build(Evas_Object *obj); +static Eina_Bool _entrance_conf_log_check(void); +static void _entrance_conf_log_apply(void); + +static void +_entrance_conf_log_begin(void) +{ + +} + +static void +_entrance_conf_log_end(void) +{ + +} + +static Evas_Object * +_entrance_conf_log_build(Evas_Object *obj) +{ + Evas_Object *o; + /* Graphical Log */ + o = elm_label_add(obj); + elm_object_text_set(o, TODO Implement graphical Log !); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + return o; +} + +static Eina_Bool +_entrance_conf_log_check(void) +{ + return 0; +} + +static void +_entrance_conf_log_apply(void) +{ +} + + +void +entrance_conf_log_init(void) +{ + PT(conf grapical log init\n); + entrance_conf_module_register(Log, + _entrance_conf_log_begin, + _entrance_conf_log_end, + _entrance_conf_log_build, + _entrance_conf_log_check, + _entrance_conf_log_apply); +} + +void +entrance_conf_log_shutdown(void) +{ + PT(conf log shutdown\n
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: Changed the Settingspane
And REALLY SPLIT YOUR PATCH NEXT TIMES. Or I couldn't review it correctly. Next time, I don't read them. I will just do a revert. 2014-04-07 14:30 GMT+02:00 Michaël Bouchaud y...@efl.so: Settings in entrance_client must just to be related to ui not to system. So this panel is just uneeded. 2014-04-07 13:15 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de: Idea is to display the log file and a few labels where the log files are located! On Mon, Apr 07, 2014 at 11:03:40AM +0200, Michaël Bouchaud wrote: what did you want to display in this conf log panel ? Split your patch !!! 2014-04-06 21:23 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=1539a34296d9bf04a4d17a54ce0060c9f6bba380 commit 1539a34296d9bf04a4d17a54ce0060c9f6bba380 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Sun Apr 6 21:21:08 2014 +0200 entrance: Changed the Settingspane - Themeselector Log is a new place in the segment control. It is less confusing if there is just one place where you can click throuw the settings! - Moved background and general Settings back into one pane. --- src/bin/Makefile.am | 4 + src/bin/entrance_client.h | 2 + src/bin/entrance_conf.c | 4 + src/bin/entrance_conf_log.c | 62 ++ src/bin/entrance_conf_log.h | 7 ++ src/bin/entrance_conf_main.c | 190 ++ src/bin/entrance_conf_theme.c | 74 src/bin/entrance_conf_theme.h | 7 ++ 8 files changed, 221 insertions(+), 129 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 1124e5a..a47667b 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -20,6 +20,10 @@ entrance_conf.h \ entrance_conf.c \ entrance_conf_main.h \ entrance_conf_main.c \ +entrance_conf_theme.h \ +entrance_conf_theme.c \ +entrance_conf_log.h \ +entrance_conf_log.c \ entrance_conf_user.h \ entrance_conf_user.c \ entrance_connect.h\ diff --git a/src/bin/entrance_client.h b/src/bin/entrance_client.h index ed2113a..d0728b7 100644 --- a/src/bin/entrance_client.h +++ b/src/bin/entrance_client.h @@ -14,6 +14,8 @@ #include entrance_fill.h #include entrance_conf.h #include entrance_conf_main.h +#include entrance_conf_log.h +#include entrance_conf_theme.h #include entrance_conf_user.h #include entrance_connect.h #include entrance_client.h diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 37a1a9d..41427ba 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -209,6 +209,8 @@ entrance_conf_init(void) entrance_conf_main_init(); entrance_conf_user_init(); + entrance_conf_theme_init(); + entrance_conf_log_init(); } void @@ -219,6 +221,8 @@ entrance_conf_shutdown(void) PT(conf shutdown\n); entrance_conf_user_shutdown(); entrance_conf_main_shutdown(); + entrance_conf_theme_shutdown(); + entrance_conf_log_shutdown(); EINA_LIST_FREE(_entrance_conf-modules, conf) { eina_stringshare_del(conf-label); diff --git a/src/bin/entrance_conf_log.c b/src/bin/entrance_conf_log.c new file mode 100644 index 000..ab4a569 --- /dev/null +++ b/src/bin/entrance_conf_log.c @@ -0,0 +1,62 @@ +#include entrance_client.h + +static void _entrance_conf_log_begin(void); +static void _entrance_conf_log_end(void); +static Evas_Object *_entrance_conf_log_build(Evas_Object *obj); +static Eina_Bool _entrance_conf_log_check(void); +static void _entrance_conf_log_apply(void); + +static void +_entrance_conf_log_begin(void) +{ + +} + +static void +_entrance_conf_log_end(void) +{ + +} + +static Evas_Object * +_entrance_conf_log_build(Evas_Object *obj) +{ + Evas_Object *o; + /* Graphical Log */ + o = elm_label_add(obj); + elm_object_text_set(o, TODO Implement graphical Log !); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); + return o; +} + +static Eina_Bool +_entrance_conf_log_check(void) +{ + return 0; +} + +static void +_entrance_conf_log_apply(void) +{ +} + + +void +entrance_conf_log_init(void) +{ + PT(conf grapical log init\n); + entrance_conf_module_register(Log, + _entrance_conf_log_begin, + _entrance_conf_log_end, + _entrance_conf_log_build
Re: [E-devel] [EGIT] [misc/entrance] master 02/09: entrance: Updated the entrance_conf.c
yeah you write two times a macro LIST_FILL who call IMG_LIST_FORK. Why not creating only one macro in entrance_conf.h 2014-04-07 14:30 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : I use them in entrance_conf_main.c and entrance_conf_user.c, so where should I put the macro ? The group has the name entrance/wallpaper/foo I just want to display foo so I need something which returns me foo ecore_file_file_get does that, but okay, I will do it different. On Mon, Apr 07, 2014 at 02:19:13PM +0200, Michaël Bouchaud wrote: nothing to do in a .h if you are using in one place. It's a design request. And a macro calling another macro is just a wrong design. Or you target is to write unmaintainable code. ecore_file is for file and nothing else ... Write a little algo to find last / ??? 2014-04-07 12:57 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : On Mon, Apr 07, 2014 at 10:42:20AM +0200, Michaël Bouchaud wrote: Please split you patch. why adding a macro used nowhere in this patch ? I am using this macro in the user settings and the general settings. Should I put them in the headers od the user and general settings ? And stop to cut and paste some code. A group isn't a file ... Try to give a better quality in your patch I never copy and paste that, I wanted to ecore_file_file_get cause it is just returning the last substring after the last /. Of course I can write a little algo to do the same. 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=cf5c4cf46a598925bcd9549e04f141903c3871b4 commit cf5c4cf46a598925bcd9549e04f141903c3871b4 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:18:47 2014 +0200 entrance: Updated the entrance_conf.c - backgrounds are hold in pools, no need to generate them there - New Textes for the Items are used - Lets use the thumb style in the settings pane - There is a macro to get Entrance_Image structs to Entrance_Conf_Background struct (in lists) --- src/bin/entrance_conf.c | 121 +++- src/bin/entrance_conf.h | 16 ++- 2 files changed, 63 insertions(+), 74 deletions(-) diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 4d0623f..979c6a0 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -76,7 +76,44 @@ _entrance_conf_end(Evas_Object *win) _entrance_conf-current = NULL; } -static void +void +entrance_conf_background_title_gen(Entrance_Conf_Background *cbg) +{ + char buf[PATH_MAX]; + char *group_suffix = NULL, *result; + const char *filename = NULL; + + if (cbg-path) + { +filename = ecore_file_file_get(cbg-path); + } + + if (cbg-group) + { +group_suffix = ecore_file_file_get(cbg-group); + } + + if ((group_suffix) (filename)) + { +snprintf(buf, sizeof(buf), %s - %s, filename, group_suffix); + } + else if (group_suffix) + { +snprintf(buf, sizeof(buf), %s, group_suffix); + } + else if(filename) + { +snprintf(buf, sizeof(buf), %s, filename); + } + else + { +snprintf(buf, sizeof(buf), None); + } + + cbg-name = eina_stringshare_add(buf); +} + + static void _entrance_conf_promote(Entrance_Conf_Module *conf) { elm_naviframe_item_promote(conf-item); @@ -126,12 +163,15 @@ _entrance_conf_bg_content_get(void *data, Evas_Object *obj, const char *part) cbg = data; if (part !strcmp(elm.swallow.icon, part)) { -o = elm_image_add(obj); -elm_image_file_set(o, cbg-path, cbg-group); -elm_image_smooth_set(o, EINA_FALSE); -evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, - EVAS_HINT_EXPAND); -evas_object_show(o); +if (cbg-path || cbg-group) + { + o = elm_image_add(obj); + elm_image_file_set(o, cbg-path, cbg-group); + elm_image_smooth_set(o, EINA_FALSE); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, + EVAS_HINT_EXPAND); + evas_object_show(o); + } } return o; } @@ -160,7 +200,7 @@ entrance_conf_init(void) PT(conf init\n
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: Changed the Settingspane
No we don't have to place them anywhere. It's already in configuration of entrance. /etc/entrance.conf. It's a system feature not ui feature. 2014-04-07 14:35 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : mhmm a few users asked me where to find the logs etc. so I thought if would be a good idea to display them there. Where so you think should we place them ?? On Mon, Apr 07, 2014 at 02:30:20PM +0200, Michaël Bouchaud wrote: Settings in entrance_client must just to be related to ui not to system. So this panel is just uneeded. 2014-04-07 13:15 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : Idea is to display the log file and a few labels where the log files are located! On Mon, Apr 07, 2014 at 11:03:40AM +0200, Michaël Bouchaud wrote: what did you want to display in this conf log panel ? Split your patch !!! 2014-04-06 21:23 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=1539a34296d9bf04a4d17a54ce0060c9f6bba380 commit 1539a34296d9bf04a4d17a54ce0060c9f6bba380 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Sun Apr 6 21:21:08 2014 +0200 entrance: Changed the Settingspane - Themeselector Log is a new place in the segment control. It is less confusing if there is just one place where you can click throuw the settings! - Moved background and general Settings back into one pane. --- src/bin/Makefile.am | 4 + src/bin/entrance_client.h | 2 + src/bin/entrance_conf.c | 4 + src/bin/entrance_conf_log.c | 62 ++ src/bin/entrance_conf_log.h | 7 ++ src/bin/entrance_conf_main.c | 190 ++ src/bin/entrance_conf_theme.c | 74 src/bin/entrance_conf_theme.h | 7 ++ 8 files changed, 221 insertions(+), 129 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 1124e5a..a47667b 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -20,6 +20,10 @@ entrance_conf.h \ entrance_conf.c \ entrance_conf_main.h \ entrance_conf_main.c \ +entrance_conf_theme.h \ +entrance_conf_theme.c \ +entrance_conf_log.h \ +entrance_conf_log.c \ entrance_conf_user.h \ entrance_conf_user.c \ entrance_connect.h\ diff --git a/src/bin/entrance_client.h b/src/bin/entrance_client.h index ed2113a..d0728b7 100644 --- a/src/bin/entrance_client.h +++ b/src/bin/entrance_client.h @@ -14,6 +14,8 @@ #include entrance_fill.h #include entrance_conf.h #include entrance_conf_main.h +#include entrance_conf_log.h +#include entrance_conf_theme.h #include entrance_conf_user.h #include entrance_connect.h #include entrance_client.h diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 37a1a9d..41427ba 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -209,6 +209,8 @@ entrance_conf_init(void) entrance_conf_main_init(); entrance_conf_user_init(); + entrance_conf_theme_init(); + entrance_conf_log_init(); } void @@ -219,6 +221,8 @@ entrance_conf_shutdown(void) PT(conf shutdown\n); entrance_conf_user_shutdown(); entrance_conf_main_shutdown(); + entrance_conf_theme_shutdown(); + entrance_conf_log_shutdown(); EINA_LIST_FREE(_entrance_conf-modules, conf) { eina_stringshare_del(conf-label); diff --git a/src/bin/entrance_conf_log.c b/src/bin/entrance_conf_log.c new file mode 100644 index 000..ab4a569 --- /dev/null +++ b/src/bin/entrance_conf_log.c @@ -0,0 +1,62 @@ +#include entrance_client.h + +static void _entrance_conf_log_begin(void); +static void _entrance_conf_log_end(void); +static Evas_Object *_entrance_conf_log_build(Evas_Object *obj); +static Eina_Bool _entrance_conf_log_check(void); +static void _entrance_conf_log_apply(void); + +static void +_entrance_conf_log_begin(void) +{ + +} + +static void +_entrance_conf_log_end(void) +{ + +} + +static Evas_Object * +_entrance_conf_log_build(Evas_Object *obj) +{ + Evas_Object *o; + /* Graphical Log */ + o = elm_label_add(obj); + elm_object_text_set(o, TODO Implement graphical Log !); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0); + evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL
Re: [E-devel] [EGIT] [misc/entrance] master 02/09: entrance: Updated the entrance_conf.c
yes libc give already some func, no need to add an algo for that. look for strrchr or memrchr. Last one is better 2014-04-07 16:44 GMT+02:00 Sebastian Dransfeld s...@tango.flipp.net: strrchr Sendt fra min iPad Den Apr 7, 2014 kl. 14:30 skrev Marcel Hollerbach marcel-hollerb...@t-online.de: I use them in entrance_conf_main.c and entrance_conf_user.c, so where should I put the macro ? The group has the name entrance/wallpaper/foo I just want to display foo so I need something which returns me foo ecore_file_file_get does that, but okay, I will do it different. On Mon, Apr 07, 2014 at 02:19:13PM +0200, Michaël Bouchaud wrote: nothing to do in a .h if you are using in one place. It's a design request. And a macro calling another macro is just a wrong design. Or you target is to write unmaintainable code. ecore_file is for file and nothing else ... Write a little algo to find last / ??? 2014-04-07 12:57 GMT+02:00 Marcel Hollerbach marcel-hollerb...@t-online.de : On Mon, Apr 07, 2014 at 10:42:20AM +0200, Michaël Bouchaud wrote: Please split you patch. why adding a macro used nowhere in this patch ? I am using this macro in the user settings and the general settings. Should I put them in the headers od the user and general settings ? And stop to cut and paste some code. A group isn't a file ... Try to give a better quality in your patch I never copy and paste that, I wanted to ecore_file_file_get cause it is just returning the last substring after the last /. Of course I can write a little algo to do the same. 2014-04-02 17:55 GMT+02:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=cf5c4cf46a598925bcd9549e04f141903c3871b4 commit cf5c4cf46a598925bcd9549e04f141903c3871b4 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Wed Apr 2 12:18:47 2014 +0200 entrance: Updated the entrance_conf.c - backgrounds are hold in pools, no need to generate them there - New Textes for the Items are used - Lets use the thumb style in the settings pane - There is a macro to get Entrance_Image structs to Entrance_Conf_Background struct (in lists) --- src/bin/entrance_conf.c | 121 +++- src/bin/entrance_conf.h | 16 ++- 2 files changed, 63 insertions(+), 74 deletions(-) diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c index 4d0623f..979c6a0 100644 --- a/src/bin/entrance_conf.c +++ b/src/bin/entrance_conf.c @@ -76,7 +76,44 @@ _entrance_conf_end(Evas_Object *win) _entrance_conf-current = NULL; } -static void +void +entrance_conf_background_title_gen(Entrance_Conf_Background *cbg) +{ + char buf[PATH_MAX]; + char *group_suffix = NULL, *result; + const char *filename = NULL; + + if (cbg-path) + { +filename = ecore_file_file_get(cbg-path); + } + + if (cbg-group) + { +group_suffix = ecore_file_file_get(cbg-group); + } + + if ((group_suffix) (filename)) + { +snprintf(buf, sizeof(buf), %s - %s, filename, group_suffix); + } + else if (group_suffix) + { +snprintf(buf, sizeof(buf), %s, group_suffix); + } + else if(filename) + { +snprintf(buf, sizeof(buf), %s, filename); + } + else + { +snprintf(buf, sizeof(buf), None); + } + + cbg-name = eina_stringshare_add(buf); +} + + static void _entrance_conf_promote(Entrance_Conf_Module *conf) { elm_naviframe_item_promote(conf-item); @@ -126,12 +163,15 @@ _entrance_conf_bg_content_get(void *data, Evas_Object *obj, const char *part) cbg = data; if (part !strcmp(elm.swallow.icon, part)) { -o = elm_image_add(obj); -elm_image_file_set(o, cbg-path, cbg-group); -elm_image_smooth_set(o, EINA_FALSE); -evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, - EVAS_HINT_EXPAND); -evas_object_show(o); +if (cbg-path || cbg-group) + { + o = elm_image_add(obj); + elm_image_file_set(o, cbg-path, cbg-group); + elm_image_smooth_set(o, EINA_FALSE); + evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, + EVAS_HINT_EXPAND); + evas_object_show(o); + } } return o; } @@ -160,7 +200,7 @@ entrance_conf_init(void) PT(conf init\n); _entrance_conf = calloc(1, sizeof(Entrance_Int_Conf)); _entrance_conf-background_fill = - entrance_fill_new(default, + entrance_fill_new(thumb, _entrance_conf_bg_text_get
Re: [E-devel] [EGIT] [misc/entrance] master 01/02: entrance: enrtance is able to load standart images like png and jpg
Please fix your algorithm, all condition is not covered by success var. 2014-03-18 9:32 GMT+00:00 Marcel Hollerbach marcel.hollerb...@stzedn.de: bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=70493a4fc8f30dce50f63dac3802720cbcb08924 commit 70493a4fc8f30dce50f63dac3802720cbcb08924 Author: Marcel Hollerbach marcel.hollerb...@stzedn.de Date: Tue Mar 18 10:17:00 2014 +0100 entrance: enrtance is able to load standart images like png and jpg - the set of the conf can now also be a deletion of a attribute like the group --- src/bin/entrance_gui.c | 57 ++ 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c index 1b80e3d..6dccf3f 100755 --- a/src/bin/entrance_gui.c +++ b/src/bin/entrance_gui.c @@ -460,16 +460,27 @@ entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf) { _gui-background_pool = conf-background_pool; _gui-icon_pool = conf-icon_pool; - if ((conf-bg.path) (*conf-bg.path) -(_gui-bg.path != conf-bg.path)) + //TODO free the pool if there was one before! + if (_gui-bg.path != conf-bg.path) { -eina_stringshare_replace(_gui-bg.path, conf-bg.path); +if ((conf-bg.path) (*conf-bg.path)) + eina_stringshare_replace(_gui-bg.path, conf-bg.path); +else + { + eina_stringshare_del(_gui-bg.path); + _gui-bg.path = NULL; + } _gui-changed = ENTRANCE_CONF_WALLPAPER; } - if ((conf-bg.group) (*conf-bg.group) -(_gui-bg.group != conf-bg.group)) + if (_gui-bg.group != conf-bg.group) { -eina_stringshare_replace(_gui-bg.group, conf-bg.group); +if ((conf-bg.group) (*conf-bg.group)) + eina_stringshare_replace(_gui-bg.group, conf-bg.group); +else + { + eina_stringshare_del(_gui-bg.group); + _gui-bg.group = NULL; + } _gui-changed = ENTRANCE_CONF_WALLPAPER; } @@ -565,33 +576,43 @@ _entrance_gui_update(void) EINA_LIST_FOREACH(_gui-screens, l, screen) { Evas_Object *bg = NULL; +Eina_Bool success = EINA_FALSE; if (_gui-changed ENTRANCE_CONF_WALLPAPER) { PT(Set background %s - %s\n, _gui-bg.path, _gui-bg.group); - if (_gui-bg.path) + if (_gui-bg.group) { - if (_gui-bg.group) + if (_gui-bg.path) { bg = elm_layout_add(screen-transition); - elm_layout_file_set(bg, _gui-bg.path, _gui-bg.group); + success = elm_layout_file_set(bg, _gui-bg.path, _gui-bg.group); } else { + bg = entrance_gui_theme_get(screen-transition, + entrance/background/default); +} + } + else if (_gui-bg.path) + { + if (eina_str_has_extension(_gui-bg.path,.edj)) +{ bg = elm_layout_add(screen-transition); - elm_layout_file_set(bg, _gui-bg.path, - entrance/background/default); + elm_layout_file_set(bg, _gui-bg.path, entrance/background/default); +} + else +{ + bg = elm_bg_add(screen-transition); + success = elm_bg_file_set(bg, _gui-bg.path, NULL); } } - if (!bg) + if (!success) { const char *path; const char *group; - if (_gui-bg.group) -bg = entrance_gui_theme_get(screen-transition, -_gui-bg.group); - else -bg = entrance_gui_theme_get(screen-transition, - entrance/background/default); + PT(Failed to load new background, fallback on the theme default! \n); + bg = entrance_gui_theme_get(screen-transition, + entrance/background/default); edje_object_file_get(elm_layout_edje_get(bg), path, group); eina_stringshare_replace(_gui-bg.path, path); eina_stringshare_replace(_gui-bg.group, group); -- -- Michaël Bouchaud (yoz) y...@efl.so -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition
Re: [E-devel] Entrance on e19
We recently have a issue with entrance since end of december, where entrance can't detect well the start of a window manager. And I think this is your problem. I do a recent commit to fix this one(tonight, a few minutes ago ^^). I really need a new laptop to be more reactive :P. So please update and tell me if something wrong ! 2014-03-06 22:17 GMT+00:00 Chris Seekamp cseek...@acm.org: I am trying to get the entrance display manager working on the Bodhi 3.0.0 alpha, which is e19. It appears to start X (I see a brief X appear) but I get a blank screen. I am unable to use Ctrl-Alt-F1...F6 to switch VTs once I start entrance. I used the debian pam.d file I believe. I see one error in the entrance.log which I don't understand. I downloaded the source from git in the last few days. I am attaching the entrance log file. The Xorg log file does not show any errors, but its existence implies that entrance is indeed starting X. I am able to use lightdm as a display manager just fine. I looked for configuration information on entrance, but did not find a lot. For example with other display managers you have to tell them to start enlightenment. I guess that isn't done with entrance because it assumes enlightenment? BTW, I tried configuring a default user and default login, but that did not work either. I would appreciate any tips on how to debug and/or configure entrance. Thanks in advance. -- Chris Seekamp cseek...@acm.org (sent using Thunderbird on my Lenovo Chromebook running Bodhi Linux) -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] dev access for entrance for marcel hollerbach?
huhu, I missed it. Yes times to spank me, if I don't make an atomic commit :P 2014-01-22 2:28 GMT+00:00 Daniel Juyung Seo seojuyu...@gmail.com: Great :) So.. now it's time to make entrance commit atomic and more readable? The time has come earlier than I expected. Daniel Juyung Seo (SeoZ) On Sat, Jan 18, 2014 at 4:25 AM, Andy Williams a...@andywilliams.me wrote: Agreed! His help has been great already. Andy Sent from my iPhone On 17 Jan 2014, at 05:46 pm, Chris Michael devilho...@comcast.net wrote: On 17/01/14 06:16, Carsten Haitzler (The Rasterman) wrote: marcel (bu5hm4n) seems to be quite active - especially on entrance. anyone object to giving him access for the purposes of working on entrance? No objections ... Would be nice to have a working Entrance :) dh -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] dev access for entrance for marcel hollerbach?
no objection :) 2014/1/17 Carsten Haitzler ras...@rasterman.com marcel (bu5hm4n) seems to be quite active - especially on entrance. anyone object to giving him access for the purposes of working on entrance? -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Enlightenment-intl] EFL 1.8.1
+1 up, any news ? 2013/12/11 Daniel Juyung Seo seojuyu...@gmail.com On Tue, Dec 3, 2013 at 3:06 AM, Daniel Juyung Seo seojuyu...@gmail.com wrote: As 1.8.1 is out, how about updating docs pages to search 1.8 not 1.7? http://web.enlightenment.org/p.php?p=docsl=en Any news about this idea? It still searches EFL 1.7 documentation which is relatively old. Thanks. Daniel Juyung Seo (SeoZ) Thanks in advance. Daniel Juyung Seo (SeoZ) On Mon, Dec 2, 2013 at 12:53 PM, Carsten Haitzler ras...@rasterman.com wrote: Due to a sneaky autofoo m4 macro issue, this resulted in library files being generated with -release names. this snuck past because i did full rebuilds including apps depending on efl and they just re-linked to the new releasename .so's. efl 1.8.1 is up now with this fixed. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk ___ Enlightenment-intl mailing list enlightenment-i...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-intl -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: many improvment * improve pam login * fix some profile mistake when login an user * use EINA_UNUSED * code refactoring * remove session log
Hi Daniel Juyung Seo, Don't take Raster for a good or a worse point. If you want, it's me to spanking never Raster. I have some old habit because my project is quite old. And sorry for you, I have a long period where I don't push my work for some personal reasons... I understand your point of view, and I will not forgeting it. But it's not the time to annoy someone else about that. I take care of anybody, specificaly You, Raster, my users, my devs and every people who using efl ... I just try to satisfy everyone. In the futur, I will try to do more atomic commit on entrance, but let me the time to merge my work for a primary request in the next month, not for an infinite time. Raster understood it. So please, don't take Raster for a guilty. If you want one, it's me ! My best regards 2013/11/8 Daniel Juyung Seo seojuyu...@gmail.com On Thu, Oct 31, 2013 at 11:52 AM, Carsten Haitzler ras...@rasterman.comwrote: On Thu, 31 Oct 2013 00:51:21 +0100 Michaël Bouchaud y...@efl.so said: I will try to find my best words. Sorry to annoy you with a huge commit. But as I say before, I'm the main dev of entrance and the only one to take care about it. And I do it in my free times, as my contribution to the efl libraries and enlightenment since a long time. Raster or cedric have made some contribution to entrance before. But it was a long time ago. The last diff I see, from another than me, is from raster, where is a diff is on a pam file (not C code). Raster don't see I provide a file for debian-ubuntu pam... umm actually i did a lot more than that: e51ff8cd2501304d3cee33621a3e520204e4f4b9 38f369b419e9fef8090dc75b1321fb3d0a61c07a c05de4d019d590157b2edabce1aa808e63f28da1 16d33cdc4df0cc9e5063bb9c8a0b5fb77d4dc7bc 530e75cf7453398c059f3d6bc487766b83591a6d 688276f3259eee7da29a3b7e046b0ab2c33365fd 4d4cdc967c08fcd126704ece6b2d2394b91f1b22 981bf81dbb1820e2e74536926ab00336b58b43a1 all on sept 4. :) but either way - not a lot. :) So I take this into account that an advanced user, who don't notice I provide this one. So I change my mind and today, I provide a debian pam file in first. (the second pam file is for gentoo or arch. Where I think user are welcome and get used to do some patch or custom cp for things to work, instead of ubuntu users...). But this is not the problem here. I just want you point out, I have some users who use entrance everyday and welcome to have the last revision to test it. We have migrated from svn to git. OK. They do it, and since I still have about 10 mails each months for entrance... as such entrance was in svn before and it's in git in the same way. thats how Hi raster, it was and how it continues. i think here is a little too much focus on rules and what i see as a desire to build more bureaucracy that everyone must follow the rules fill out form x get approval y. it's heading that way. and that's a good way to lose developers. just leave entrance alone. let entrance is in enlightenment public repository so I thought it will just follow general rules of enlightenment git commit convention. This one big commit is not allowed to efl/elementary and other public repos but I accept that we can have an exceptional cases like entrance. This explains all. *We have exceptions* Just don't get me wrong. I appreciate yoz's good job so far. I have seen his commits here and there. The only reason why I poked this commit was: - it's in the public enlightenment git not devs. - so not a personal toy project. - assumed that will follow enlightenment general commit convention. - or enlightenment project is messy with lots of inconsistency of commit policy. I put the same standard for all the public enlightenment repos to keep the project clean and look more professional not like toy projects. But as we agreed that entrance is exceptional. I would not bother it anymore. Thanks. Daniel Juyung Seo (SeoZ) it do its thing. if yoz wants to mess with it - fine. until it's up on enlightenment.org as a download tarball and something that the wider project is pushing/supporting, it doesn't much matter. ignore the commits on it unless *YOU* use it and those commits affect you. :) the day yoz wants to push entrance to become a released/up for download thing... lets deal with it then and maybe bring entrance under some more control. Now I have 4 choices. - First one, try to do atomic commit to pleased you and have some review from nobody...(maybe cedric for some commit not all, where he will say nothing...). As I said before, I don't want to spare my time for that. - Second choice, don't do atomic commit... and nobody can (want) review me. But I will annoy some people with my huge commit (where this people can configure mailing box to ignore it as said by kuri). i think just filtering (ignoring the commits) is the best way - if you don't care about the project.. ignore its commits
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: many improvment * improve pam login * fix some profile mistake when login an user * use EINA_UNUSED * code refactoring * remove session log
REALLY Thx to understand my point of view ! I never wanted to minimize your help on this project. I just used git log from my memories, to explain why I do this patch in this way (Without taking care futur review of others devs). In september, I know you have worked before, on entrance, to fix it. And I told you at this time, I'll be happy to merge your changes after my commit, based on old source code. Because, I know it's a lot of work, to understand and dissect source code changes. In the respect for everyone, I will try to reduce the noise in the futur, that I can do with this kind of patch. Don't worry when entrance will be ready. I would do a big noise, in order to encourage as many people I can, to test it. For systemd, my plan is to work on next month, then I could help you. But today, I don't use this init system :(. With my best regards 2013/10/31 Carsten Haitzler ras...@rasterman.com On Thu, 31 Oct 2013 00:51:21 +0100 Michaël Bouchaud y...@efl.so said: I will try to find my best words. Sorry to annoy you with a huge commit. But as I say before, I'm the main dev of entrance and the only one to take care about it. And I do it in my free times, as my contribution to the efl libraries and enlightenment since a long time. Raster or cedric have made some contribution to entrance before. But it was a long time ago. The last diff I see, from another than me, is from raster, where is a diff is on a pam file (not C code). Raster don't see I provide a file for debian-ubuntu pam... umm actually i did a lot more than that: e51ff8cd2501304d3cee33621a3e520204e4f4b9 38f369b419e9fef8090dc75b1321fb3d0a61c07a c05de4d019d590157b2edabce1aa808e63f28da1 16d33cdc4df0cc9e5063bb9c8a0b5fb77d4dc7bc 530e75cf7453398c059f3d6bc487766b83591a6d 688276f3259eee7da29a3b7e046b0ab2c33365fd 4d4cdc967c08fcd126704ece6b2d2394b91f1b22 981bf81dbb1820e2e74536926ab00336b58b43a1 all on sept 4. :) but either way - not a lot. :) So I take this into account that an advanced user, who don't notice I provide this one. So I change my mind and today, I provide a debian pam file in first. (the second pam file is for gentoo or arch. Where I think user are welcome and get used to do some patch or custom cp for things to work, instead of ubuntu users...). But this is not the problem here. I just want you point out, I have some users who use entrance everyday and welcome to have the last revision to test it. We have migrated from svn to git. OK. They do it, and since I still have about 10 mails each months for entrance... as such entrance was in svn before and it's in git in the same way. thats how it was and how it continues. i think here is a little too much focus on rules and what i see as a desire to build more bureaucracy that everyone must follow the rules fill out form x get approval y. it's heading that way. and that's a good way to lose developers. just leave entrance alone. let it do its thing. if yoz wants to mess with it - fine. until it's up on enlightenment.org as a download tarball and something that the wider project is pushing/supporting, it doesn't much matter. ignore the commits on it unless *YOU* use it and those commits affect you. :) the day yoz wants to push entrance to become a released/up for download thing... lets deal with it then and maybe bring entrance under some more control. Now I have 4 choices. - First one, try to do atomic commit to pleased you and have some review from nobody...(maybe cedric for some commit not all, where he will say nothing...). As I said before, I don't want to spare my time for that. - Second choice, don't do atomic commit... and nobody can (want) review me. But I will annoy some people with my huge commit (where this people can configure mailing box to ignore it as said by kuri). i think just filtering (ignoring the commits) is the best way - if you don't care about the project.. ignore its commits. - Third choice, as second choice don't do atomic commit, but my project go in my dev dir. Here my user will be annoyed, because he don't be noticed by recent changes and I lose my futur audience ... - Fourth choice, don't do atomic commit... and open my own github. And I will annoy my user for a last time and don't boring you again. i think this is the worst option. i think just keep entrance exactly as it is. keep doing your work. i sure am not going to review every commit to it even if they were perfectly scripted and gold plated with cherries on top. it's not important to at this time. if i use entrance, i will whack at its code to make it work if it does not. if a feature doesn't work right - i'll fix it. if it's missing something i need - i'll add it. pretty simple. commits can always be reverted. But in last, if the last choice comes to be the best one. I will be very sad to go away from this repositories, because I think entrance could be a good publicity. Further
Re: [E-devel] [EGIT] [misc/entrance] master 01/01: entrance: many improvment * improve pam login * fix some profile mistake when login an user * use EINA_UNUSED * code refactoring * remove session log
I will try to find my best words. Sorry to annoy you with a huge commit. But as I say before, I'm the main dev of entrance and the only one to take care about it. And I do it in my free times, as my contribution to the efl libraries and enlightenment since a long time. Raster or cedric have made some contribution to entrance before. But it was a long time ago. The last diff I see, from another than me, is from raster, where is a diff is on a pam file (not C code). Raster don't see I provide a file for debian-ubuntu pam... So I take this into account that an advanced user, who don't notice I provide this one. So I change my mind and today, I provide a debian pam file in first. (the second pam file is for gentoo or arch. Where I think user are welcome and get used to do some patch or custom cp for things to work, instead of ubuntu users...). But this is not the problem here. I just want you point out, I have some users who use entrance everyday and welcome to have the last revision to test it. We have migrated from svn to git. OK. They do it, and since I still have about 10 mails each months for entrance... Now I have 4 choices. - First one, try to do atomic commit to pleased you and have some review from nobody...(maybe cedric for some commit not all, where he will say nothing...). As I said before, I don't want to spare my time for that. - Second choice, don't do atomic commit... and nobody can (want) review me. But I will annoy some people with my huge commit (where this people can configure mailing box to ignore it as said by kuri). - Third choice, as second choice don't do atomic commit, but my project go in my dev dir. Here my user will be annoyed, because he don't be noticed by recent changes and I lose my futur audience ... - Fourth choice, don't do atomic commit... and open my own github. And I will annoy my user for a last time and don't boring you again. But in last, if the last choice comes to be the best one. I will be very sad to go away from this repositories, because I think entrance could be a good publicity. Further, entrance works like a charm for years, and I try to not b0rk it... In last, but I can't say ok, I go to my own dev dir and don't boring you again here. But I understand your point of view. So, I let you assume your remarks and futur decision. I'm not the one who have coded 90% percent of code of efl libs so I can't be a dictator to make some decision. I just want to have some arrangement with you on this point. PS: I never be remunerated for my contribution to efl libs or elementary, if I have succesfully imposed the efl and enlightenment in my last jobs. I always do my dev on the efl libraries on my free time as I do for entrance. If I had never considered to improve or debugging efl libraries and elementary, surely entrance would be in a better state today. And elementary in a worse state... as the efl libraries. Please take this into accounts. Regards 2013/10/30 Guillaume Friloux guillaume.fril...@gmail.com Hello guys, i dont put quotes as there would be too many things to quote and i want my mail to be short. Entrance is used by a bunch(maybe i should define 'bunch') of peoples, already using this git repo. The fact that yoz is the only active dev on it ATM doesnt makes it a personnal project. A project is defined personnal when there is only one user, not one dev. In my opinion, this project has enough users to be in /misc/ or /apps/, and not be isolated in /devs/ repo (or start to also move ecrire, ephoto, etc). It is also a very interesting project that needs audience, hidding it in /devs/ is BAD. You guys are asking rules to be respected on a project you dont even own (leading to lets put this out of repos). If his patches bothers you, while you are not even working on it, you can configure your mail client to filter those commits and mark them as read instead of making changes that would affect michael and all the entrance users. Michael already does atomic commits on all the /efl/ patches he does, so he doesnt have to be told about that. If you join his project and start working on it, then im pretty sure he will start to do a lot of nice things for you, even explaining his code and answering every question. Re-reading my mail, it can seem rude, but its not, its just 'clear'. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so
Re: [E-devel] [EGIT] [core/elementary] master 01/01: elementary: allow custom text part on item list
Sorry, but I don't finish my work to support theme change with customized text part. I will update changelog and news when I push this work. Surely tonight or tomorrow. 2013/9/17 ChunEon Park her...@naver.com conceptually this is acceptable to me, already all widgets support this kind of customized text set. -Regards, Hermet- -Original Message- From: Michaël Bouchaudy...@efl.so To: Enlightenment developer list enlightenment-devel@lists.sourceforge.net; Cc: g...@lists.enlightenment.org; Sent: 2013-09-16 (월) 22:14:56 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elementary: allow custom text part on item list Of course, I can check this. I will try to do it before tonight and fix it. 2013/9/16 Daniel Juyung Seo seojuyung2@gmail.com Hello Michael Bouchaud, does this really work? It's likely this works only in a very rare cases. It will be broken in many cases, especially theme change will break this. The label inside the list is managed by elm_list and it'll set the label when the theme is changed. And so on... Can you check this? Daniel Juyung Seo (SeoZ) On Mon, Sep 16, 2013 at 7:20 PM, Michaël Bouchaud - Enlightenment Git no-re...@enlightenment.org wrote: yoz pushed a commit to branch master. commit 5414fdba3c874451b43e0994df897bb3705b1f2d Author: Michaël Bouchaud (yoz) yoz@efl.so Date: Mon Sep 16 12:18:24 2013 +0200 elementary: allow custom text part on item list --- src/lib/elm_list.c 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index e193fdf..72d3e9f 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1405,7 +1405,11 @@ _item_text_set_hook(Elm_Object_Item *it, { Elm_List_Item *list_it = (Elm_List_Item *)it; - if (part strcmp(part, default)) return; + if (part strcmp(part, default)) + { +edje_object_part_text_escaped_set(VIEW(list_it), part, text); +return; + } if (!eina_stringshare_replace(list_it-label, text)) return; if (VIEW(list_it)) edje_object_part_text_escaped_set(VIEW(list_it), elm.text, text); -- -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) yoz@efl.so -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/elementary] master 01/01: elementary: allow custom text part on item list
Of course, I can check this. I will try to do it before tonight and fix it. 2013/9/16 Daniel Juyung Seo seojuyu...@gmail.com Hello Michael Bouchaud, does this really work? It's likely this works only in a very rare cases. It will be broken in many cases, especially theme change will break this. The label inside the list is managed by elm_list and it'll set the label when the theme is changed. And so on... Can you check this? Daniel Juyung Seo (SeoZ) On Mon, Sep 16, 2013 at 7:20 PM, Michaël Bouchaud - Enlightenment Git no-re...@enlightenment.org wrote: yoz pushed a commit to branch master. commit 5414fdba3c874451b43e0994df897bb3705b1f2d Author: Michaël Bouchaud (yoz) y...@efl.so Date: Mon Sep 16 12:18:24 2013 +0200 elementary: allow custom text part on item list --- src/lib/elm_list.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index e193fdf..72d3e9f 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1405,7 +1405,11 @@ _item_text_set_hook(Elm_Object_Item *it, { Elm_List_Item *list_it = (Elm_List_Item *)it; - if (part strcmp(part, default)) return; + if (part strcmp(part, default)) + { +edje_object_part_text_escaped_set(VIEW(list_it), part, text); +return; + } if (!eina_stringshare_replace(list_it-label, text)) return; if (VIEW(list_it)) edje_object_part_text_escaped_set(VIEW(list_it), elm.text, text); -- -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: be recursive on edje_object_scale_set
yes we need it only for GROUP and not for SWALLOW :). I Will change it this afternoon, if everybody are agreed. 2013/9/5 Cedric BAIL cedric.b...@free.fr On Wed, Sep 4, 2013 at 5:52 PM, Michaël Bouchaud y...@efl.so wrote: I reread the code and the code already do in this way. I don't change it... if ((ep-part-type == EDJE_PART_TYPE_BOX) || (ep-part-type == EDJE_PART_TYPE_TABLE)) { EINA_LIST_FOREACH(ep-typedata.container-items, l, o) edje_object_scale_set(o, scale); } } But I think too, we need to clarify this question. Wouldn't it be enough to just add ep-part-type == EDJE_PART_TYPE_GROUP to this list ? We want it for group not for swallow, right ? -- Cedric BAIL -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: be recursive on edje_object_scale_set
Grrr, you're right. I had forget edje cotnainer and their items are in subobjs. But we really need a recursive call here... If you have an edje with a part of type GROUP where the edje internaly loaded have a part GROUP too... I will think about a better fix... 2013/9/4 Gustavo Sverzut Barbieri barbi...@gmail.com i don't think we should recursively set(), rather we should invalidate them so they can recalculate based on parent. Your logic will broke if you have one CHILD widget explicitly set to ANOTHER scale... it will now be reset to parent's value. On Wed, Sep 4, 2013 at 7:06 AM, Michaël Bouchaud - Enlightenment Git no-re...@enlightenment.org wrote: yoz pushed a commit to branch master. commit 88cc896f06ef8975e24c6d8403aa259925339a79 Author: Michaël Bouchaud (yoz) y...@efl.so Date: Wed Sep 4 12:06:03 2013 +0200 edje: be recursive on edje_object_scale_set --- ChangeLog| 4 src/lib/edje/edje_util.c | 6 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a50d14..27c321a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-09-04 Michael Bouchaud (yoz) + +* fix edje_object_scale_set to be recursive + 2013-09-03 Tom Hacohen * Evas textblock: fixed an issue with markup_get and markup_to_utf8 diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c index ac65f54..ae925c0 100644 --- a/src/lib/edje/edje_util.c +++ b/src/lib/edje/edje_util.c @@ -363,7 +363,7 @@ _scale_set(Eo *obj, void *_pd, va_list *list) double scale = va_arg(*list, double); Eina_Bool *ret = va_arg(*list, Eina_Bool *); if (ret) *ret = EINA_TRUE; - Edje *ed, *ged; + Edje *ed; Evas_Object *o; Eina_List *l; unsigned int i; @@ -371,12 +371,10 @@ _scale_set(Eo *obj, void *_pd, va_list *list) ed = _pd; if (ed-scale == scale) return; ed-scale = FROM_DOUBLE(scale); - EINA_LIST_FOREACH(ed-groups, l, ged) - ged-scale = ed-scale; EINA_LIST_FOREACH(ed-subobjs, l, o) { const char *s = evas_object_type_get(o); -if ((s) (!strcmp(s, edje))) edje_object_calc_force(o); +if ((s) (!strcmp(s, edje))) edje_object_scale_set(o, scale); } for (i = 0; i ed-table_parts_size; i++) { -- -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk -- Gustavo Sverzut Barbieri -- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: be recursive on edje_object_scale_set
I reread the code and the code already do in this way. I don't change it... if ((ep-part-type == EDJE_PART_TYPE_BOX) || (ep-part-type == EDJE_PART_TYPE_TABLE)) { EINA_LIST_FOREACH(ep-typedata.container-items, l, o) edje_object_scale_set(o, scale); } } But I think too, we need to clarify this question. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_flip unexpected behavior
fixed now with rev 79535 2012/11/21 david.obo...@aliceadsl.fr: Hi everybody, I work in Enna, and after upgrade efl from 1.7.0 to 1.7.1, I have an unexpected behavior for the widget flip. When I go from the front side to back, I have the two side together. There are the same problem with the Flip Interactive test in elementary_test Oboeuf David -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_flip unexpected behavior
cool :) 2012/11/22 Jérôme Pinot ngc...@gmail.com: On 11/22/12 12:00, Michaël Bouchaud wrote: fixed now with rev 79535 I'm happy to say that this fixes too the problem I reported having with ePeriodique. Thanks! 2012/11/21 david.obo...@aliceadsl.fr: Hi everybody, I work in Enna, and after upgrade efl from 1.7.0 to 1.7.1, I have an unexpected behavior for the widget flip. When I go from the front side to back, I have the two side together. There are the same problem with the Flip Interactive test in elementary_test Oboeuf David -- Jérôme Pinot http://ngc891.blogdns.net/ -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] e17 alpha 2 and the current EFL tarballs
As anisse said, I've tryed to compil e at rev 79369 and the alpha-2 with efl 1.7.1 without issues 2012/11/16 Carsten Haitzler ras...@rasterman.com On Fri, 16 Nov 2012 11:57:23 +0100 Martin Jansa martin.ja...@gmail.com said: On Fri, Nov 16, 2012 at 07:43:55PM +0900, Carsten Haitzler wrote: On Fri, 16 Nov 2012 10:26:58 +0100 Vincent Torri vincent.to...@gmail.com said: Hey a french user tried to compile e17 with the latest tarballs (i've not tested myself), and he had undef ref during link. So I'm wondering if efl_version in e17 configure.ac should be bumped or not what undef symbol was it? it should work with 1.7.0 (and 1.7.1 and 1.7.2 - suggested 1.7.1 now and 1.7.2 on release to ensure bugs are gone). 1.7.x shouldnt be adding symbols after 1.7.0. I was building r75861 with 1.7.0 tarballs, r78377 with 1.7.1 tarballs and now r78871 with 1.7.1 tarballs as well as the same rev from 1.7 efl branches without any issues. thats good. and thanks for actually doing this testing too! :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] A Plea To Elementary Developers
I will take a look on it. And reassing some bugs to me. 2012/11/14 Iván Briano sachi...@gmail.com On Wed, Nov 14, 2012 at 9:06 AM, Vincent Torri vincent.to...@gmail.com wrote: On Wed, Nov 14, 2012 at 10:14 AM, Michael Blumenkrantz michael.blumenkra...@gmail.com wrote: Yes, it's very slow; I do the majority of work based on it, so you can imagine what a great mood I'm in when it stops loading. imagine something even worse : working with trac AND Windows, where i need ~1.30h to compile the EFL up to elementary... Plenty of time to grab a few lunches. But then you'll complain you are getting fat. Vincent -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/THEMES/dark/edje/edc
arf, one more bug to solve :P 2012/10/30 Carsten Haitzler ras...@rasterman.com On Mon, 29 Oct 2012 16:36:53 +0100 Michaël Bouchaud y...@efl.so said: yup! the message() func wasnt inherited (in the general script {} sectin not the script {} per program). Hum, I've fixed this bug in edje recently ... still here ? 2012/10/29 Enlightenment SVN no-re...@enlightenment.org Log: hmmm i found a bug in group in heritance... the embryo script section inst inherited! h! Author: raster Date: 2012-10-29 08:23:04 -0700 (Mon, 29 Oct 2012) New Revision: 78616 Trac: http://trac.enlightenment.org/e/changeset/78616 Modified: trunk/THEMES/dark/edje/edc/connman.edc Modified: trunk/THEMES/dark/edje/edc/connman.edc === --- trunk/THEMES/dark/edje/edc/connman.edc 2012-10-29 12:40:14 UTC (rev 78615) +++ trunk/THEMES/dark/edje/edc/connman.edc 2012-10-29 15:23:04 UTC (rev 78616) @@ -383,145 +383,132 @@ } } } - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT_SET) (id == 1)) { /* state + strength */ - new state = getarg(2); - new signl = getarg(3); - - /* Connecting if in association or configuration */ - if ((state == 2)) { -set_state(PART:led, default, 0.0); -run_program(PROGRAM:connecting); -return; - } - else if ((state == 3)) { /* ??? ignore */ -return; - } - else if ((state == 4)) { /* connected to network */ -set_state(PART:led, connected, 0.0); - } - else if ((state == 5)) { /* internet all working and happy */ -set_state(PART:led, online, 0.0); - } - else { /* ??? */ - set_state(PART:led, default, 0.0); - } - // - if (signl = 14) { - set_state(PART:wifi_1, default, 0.0); - set_state(PART:wifi_2, default, 0.0); - set_state(PART:wifi_3, default, 0.0); - } - else if (signl = 28) { - set_state(PART:wifi_1, partly, 0.0); - set_state(PART:wifi_2, default, 0.0); - set_state(PART:wifi_3, default, 0.0); - } - else if (signl = 42) { - set_state(PART:wifi_1, visible, 0.0); - set_state(PART:wifi_2, default, 0.0); - set_state(PART:wifi_3, default, 0.0); - } - else if (signl = 57) { - set_state(PART:wifi_1, visible, 0.0); - set_state(PART:wifi_2, partly, 0.0); - set_state(PART:wifi_3, default, 0.0); - } - else if (signl = 71) { - set_state(PART:wifi_1, visible, 0.0); - set_state(PART:wifi_2, visible, 0.0); - set_state(PART:wifi_3, default, 0.0); - } - else if (signl = 85) { - set_state(PART:wifi_1, visible, 0.0); - set_state(PART:wifi_2, visible, 0.0); - set_state(PART:wifi_3, partly, 0.0); - } - else { - set_state(PART:wifi_1, visible, 0.0); - set_state(PART:wifi_2, visible, 0.0); - set_state(PART:wifi_3, visible, 0.0); - } - // - if (signl = 20) { - set_state(PART:bt_1, default, 0.0); - set_state(PART:bt_2, default, 0.0); - } - else if (signl = 40) { - set_state(PART:bt_1, partly, 0.0); - set_state(PART:bt_2, default, 0.0); - } - else if (signl = 60) { - set_state(PART:bt_1, visible, 0.0); - set_state(PART:bt_2, default, 0.0); - } - else if (signl = 80) { - set_state(PART:bt_1, visible, 0.0); - set_state(PART:bt_2, partly, 0.0); - } - else { - set_state(PART:bt_1, visible, 0.0); - set_state(PART:bt_2, visible, 0.0); - } - // - if (signl = 11) { - set_state(PART:cell_1, default, 0.0); - set_state(PART:cell_2, default, 0.0); - set_state(PART:cell_3, default, 0.0); - set_state(PART:cell_4, default, 0.0); - } - else if (signl = 22
Re: [E-devel] E SVN: yoz IN trunk/edje: . src/lib
No spank, no b0rk ... backported :) 2012/10/27 Cedric BAIL cedric.b...@free.fr On Fri, Oct 26, 2012 at 12:15 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: fix scale set on box and table Seems like a valuable fix to backport. Could you take care of that ? -- Cedric BAIL -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/THEMES/dark/edje/edc
(PART:cell_3, visible, 0.0); \ +set_state(PART:cell_4, partly, 0.0); \ +} \ +else { \ +set_state(PART:cell_1, visible, 0.0); \ +set_state(PART:cell_2, visible, 0.0); \ +set_state(PART:cell_3, visible, 0.0); \ +set_state(PART:cell_4, visible, 0.0); \ +} \ +if ((state == 2)) { \ +set_state(PART:led, default, 0.0); \ +run_program(PROGRAM:connecting); \ +return; } \ +else if ((state == 3)) { return; } \ +else if ((state == 4)) { set_state(PART:led, connected, 0.0); } \ +else if ((state == 5)) { set_state(PART:led, online, 0.0); } \ +else { set_state(PART:led, default, 0.0); \ +} } } } + + SCRIPT_MESSAGE() programs { program { name: connecting; action: STATE_SET connected 0.0; @@ -600,6 +587,7 @@ group { name: e/modules/connman/icon/wifi; inherit: e/modules/connman/main; + SCRIPT_MESSAGE() programs { program { signal: load; source: ; @@ -615,6 +603,7 @@ group { name: e/modules/connman/icon/ethernet; inherit: e/modules/connman/main; + SCRIPT_MESSAGE() programs { program { signal: load; source: ; @@ -630,6 +619,7 @@ group { name: e/modules/connman/icon/bluetooth; inherit: e/modules/connman/main; + SCRIPT_MESSAGE() programs { program { signal: load; source: ; @@ -645,6 +635,7 @@ group { name: e/modules/connman/icon/cellular; inherit: e/modules/connman/main; + SCRIPT_MESSAGE() programs { program { signal: load; source: ; -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Michaël Bouchaud (yoz) y...@efl.so -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: yoz trunk/elementary/src/lib
When the genlist is still not completely builded... and you promote one item (for me the last one) :) I have changed my commit, I think it's better now 2012/10/26 Daniel Juyung Seo seojuyu...@gmail.com How this exception happens? Item should have its block until the item is removed. Daniel Juyung Seo (SeoZ) On Thu, Oct 25, 2012 at 6:55 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elementary: if no items block to del return Author: yoz Date: 2012-10-25 02:55:27 -0700 (Thu, 25 Oct 2012) New Revision: 78434 Trac: http://trac.enlightenment.org/e/changeset/78434 Modified: trunk/elementary/src/lib/elm_genlist.c Modified: trunk/elementary/src/lib/elm_genlist.c === --- trunk/elementary/src/lib/elm_genlist.c 2012-10-25 09:35:09 UTC (rev 78433) +++ trunk/elementary/src/lib/elm_genlist.c 2012-10-25 09:55:27 UTC (rev 78434) @@ -2611,6 +2611,7 @@ Item_Block *itb = it-item-block; Eina_Bool block_changed = EINA_FALSE; + if (!itb) return; itb-items = eina_list_remove(itb-items, it); itb-count--; itb-changed = EINA_TRUE; -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Michaël Bouchaud (yoz) y...@efl.so -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: lucas IN trunk/edbus/src: examples lib
Hum that smell the revert !!! you break api and abi of a released library 2012/10/16 Enlightenment SVN no-re...@enlightenment.org Log: edbus: Rename functions to obey EFL codding style Rename edbus_message_iter_append_basic to edbus_message_iter_basic_append. Rename edbus_message_iter_get_basic to edbus_message_iter_basic_get Patch by: Jos?\195?\169 Roberto de Souza zehortig...@profusion.mobi Author: lucas Date: 2012-10-16 08:07:11 -0700 (Tue, 16 Oct 2012) New Revision: 78067 Trac: http://trac.enlightenment.org/e/changeset/78067 Modified: trunk/edbus/src/examples/complex_types_server.c trunk/edbus/src/lib/edbus_message.c trunk/edbus/src/lib/edbus_message.h trunk/edbus/src/lib/edbus_proxy.c Modified: trunk/edbus/src/examples/complex_types_server.c === --- trunk/edbus/src/examples/complex_types_server.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/examples/complex_types_server.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -231,7 +231,7 @@ reply = edbus_message_method_return_new(msg); iter = edbus_message_iter_get(reply); variant = edbus_message_iter_container_new(iter, 'v', s); - edbus_message_iter_append_basic(variant, 's', resp2); + edbus_message_iter_basic_append(variant, 's', resp2); printf(get %s\n, resp2); edbus_message_iter_container_close(iter, variant); Modified: trunk/edbus/src/lib/edbus_message.c === --- trunk/edbus/src/lib/edbus_message.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_message.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -505,7 +505,7 @@ } EAPI Eina_Bool -edbus_message_iter_append_basic(EDBus_Message_Iter *iter, int type, ...) +edbus_message_iter_basic_append(EDBus_Message_Iter *iter, int type, ...) { Eina_Bool r; va_list vl; @@ -520,7 +520,7 @@ } EAPI void -edbus_message_iter_get_basic(EDBus_Message_Iter *iter, void *value) +edbus_message_iter_basic_get(EDBus_Message_Iter *iter, void *value) { EDBUS_MESSAGE_ITERATOR_CHECK(iter); EINA_SAFETY_ON_TRUE_RETURN(iter-writable); Modified: trunk/edbus/src/lib/edbus_message.h === --- trunk/edbus/src/lib/edbus_message.h 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_message.h 2012-10-16 15:07:11 UTC (rev 78067) @@ -125,7 +125,7 @@ /** * @brief Append a basic type to EDBus_Iterator. */ -EAPI Eina_Bool edbus_message_iter_append_basic(EDBus_Message_Iter *iter, int type, ...) EINA_ARG_NONNULL(1, 3); +EAPI Eina_Bool edbus_message_iter_basic_append(EDBus_Message_Iter *iter, int type, ...) EINA_ARG_NONNULL(1, 3); /** * @brief Set data to EDBus_Message_Iter. For each complete in signature * you need pass the value, in case of complex type a pointer to be allocated a @@ -181,7 +181,7 @@ /** * @brief Get a basic type from EDBus_Iterator. */ -EAPI void edbus_message_iter_get_basic(EDBus_Message_Iter *iter, void *value) EINA_ARG_NONNULL(1, 2); +EAPI void edbus_message_iter_basic_get(EDBus_Message_Iter *iter, void *value) EINA_ARG_NONNULL(1, 2); /** * @brief Returns the current signature of a message iterator. * Modified: trunk/edbus/src/lib/edbus_proxy.c === --- trunk/edbus/src/lib/edbus_proxy.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_proxy.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -521,10 +521,10 @@ sig[1] = 0; msg = edbus_proxy_method_call_new(get_properties_proxy(proxy), Set); iter = edbus_message_iter_get(msg); - edbus_message_iter_append_basic(iter, 's', proxy-interface); - edbus_message_iter_append_basic(iter, 's', name); + edbus_message_iter_basic_append(iter, 's', proxy-interface); + edbus_message_iter_basic_append(iter, 's', name); variant = edbus_message_iter_container_new(iter, 'v', sig); - edbus_message_iter_append_basic(variant, type, value); + edbus_message_iter_basic_append(variant, type, value); edbus_message_iter_container_close(iter, variant); pending = edbus_proxy_send(get_properties_proxy(proxy), msg, cb, data, -1); -- 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-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Michaël Bouchaud (yoz) y...@efl.so
Re: [E-devel] E SVN: lucas IN trunk/edbus/src: examples lib
ooops sorry ! 2012/10/16 Jose Souza zehortig...@profusion.mobi edbus was not released, e_dbus was. On Tue, Oct 16, 2012 at 5:11 PM, Michaël Bouchaud y...@efl.so wrote: Hum that smell the revert !!! you break api and abi of a released library 2012/10/16 Enlightenment SVN no-re...@enlightenment.org Log: edbus: Rename functions to obey EFL codding style Rename edbus_message_iter_append_basic to edbus_message_iter_basic_append. Rename edbus_message_iter_get_basic to edbus_message_iter_basic_get Patch by: Jos?\195?\169 Roberto de Souza zehortig...@profusion.mobi Author: lucas Date: 2012-10-16 08:07:11 -0700 (Tue, 16 Oct 2012) New Revision: 78067 Trac: http://trac.enlightenment.org/e/changeset/78067 Modified: trunk/edbus/src/examples/complex_types_server.c trunk/edbus/src/lib/edbus_message.c trunk/edbus/src/lib/edbus_message.h trunk/edbus/src/lib/edbus_proxy.c Modified: trunk/edbus/src/examples/complex_types_server.c === --- trunk/edbus/src/examples/complex_types_server.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/examples/complex_types_server.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -231,7 +231,7 @@ reply = edbus_message_method_return_new(msg); iter = edbus_message_iter_get(reply); variant = edbus_message_iter_container_new(iter, 'v', s); - edbus_message_iter_append_basic(variant, 's', resp2); + edbus_message_iter_basic_append(variant, 's', resp2); printf(get %s\n, resp2); edbus_message_iter_container_close(iter, variant); Modified: trunk/edbus/src/lib/edbus_message.c === --- trunk/edbus/src/lib/edbus_message.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_message.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -505,7 +505,7 @@ } EAPI Eina_Bool -edbus_message_iter_append_basic(EDBus_Message_Iter *iter, int type, ...) +edbus_message_iter_basic_append(EDBus_Message_Iter *iter, int type, ...) { Eina_Bool r; va_list vl; @@ -520,7 +520,7 @@ } EAPI void -edbus_message_iter_get_basic(EDBus_Message_Iter *iter, void *value) +edbus_message_iter_basic_get(EDBus_Message_Iter *iter, void *value) { EDBUS_MESSAGE_ITERATOR_CHECK(iter); EINA_SAFETY_ON_TRUE_RETURN(iter-writable); Modified: trunk/edbus/src/lib/edbus_message.h === --- trunk/edbus/src/lib/edbus_message.h 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_message.h 2012-10-16 15:07:11 UTC (rev 78067) @@ -125,7 +125,7 @@ /** * @brief Append a basic type to EDBus_Iterator. */ -EAPI Eina_Bool edbus_message_iter_append_basic(EDBus_Message_Iter *iter, int type, ...) EINA_ARG_NONNULL(1, 3); +EAPI Eina_Bool edbus_message_iter_basic_append(EDBus_Message_Iter *iter, int type, ...) EINA_ARG_NONNULL(1, 3); /** * @brief Set data to EDBus_Message_Iter. For each complete in signature * you need pass the value, in case of complex type a pointer to be allocated a @@ -181,7 +181,7 @@ /** * @brief Get a basic type from EDBus_Iterator. */ -EAPI void edbus_message_iter_get_basic(EDBus_Message_Iter *iter, void *value) EINA_ARG_NONNULL(1, 2); +EAPI void edbus_message_iter_basic_get(EDBus_Message_Iter *iter, void *value) EINA_ARG_NONNULL(1, 2); /** * @brief Returns the current signature of a message iterator. * Modified: trunk/edbus/src/lib/edbus_proxy.c === --- trunk/edbus/src/lib/edbus_proxy.c 2012-10-16 14:28:40 UTC (rev 78066) +++ trunk/edbus/src/lib/edbus_proxy.c 2012-10-16 15:07:11 UTC (rev 78067) @@ -521,10 +521,10 @@ sig[1] = 0; msg = edbus_proxy_method_call_new(get_properties_proxy(proxy), Set); iter = edbus_message_iter_get(msg); - edbus_message_iter_append_basic(iter, 's', proxy-interface); - edbus_message_iter_append_basic(iter, 's', name); + edbus_message_iter_basic_append(iter, 's', proxy-interface); + edbus_message_iter_basic_append(iter, 's', name); variant = edbus_message_iter_container_new(iter, 'v', sig); - edbus_message_iter_append_basic(variant, type, value); + edbus_message_iter_basic_append(variant, type, value); edbus_message_iter_container_close(iter, variant); pending = edbus_proxy_send(get_properties_proxy(proxy), msg, cb, data, -1); -- 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
Re: [E-devel] [Patch][Elementary]Map: Use proxy Clean up edc
in svn big big thx !!! 2012/10/12 Bluezery ohpo...@gmail.com Dear EFL developers, Before, map duplicated icons by copying icon object's properties. So It can only duplicate icon. I changed to use evas object proxy. So now, any evas object can be duplicated even when class icon is changed. Also I remove unused groups in map.edc and please remove map_item_1.png and map_item_2.png. This is not used anymore. Also please add map_item.png. It will be better use this instead of radio2.png . Currently, elm_map only support tile map and have it's own tile management engine. Next step, I will modify some plug-in interface for other engine support such as vector map engine. So elm_map have tile engine as it's default engine and support other engines. Please review this patch. -- BRs, Kim. -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [Patch][Elementary] Map: Remove unnecessary code Add prevent code
patch commited, thx ! 2012/10/9 Bluezery ohpo...@gmail.com Dear all, This patch remove unneeded code add some prevent code. Please review this patch. -- BRs, Kim. -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [Patch][elementary] elm_map: bug fix
in thx ! 2012/10/9 Bluezery ohpo...@gmail.com Dear EFL developers, Calculation of scale table size was wrong in elm_map. Maybe I have made this bug ;-D Ha... Please review this patch. -- BRs, Kim. -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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: billiob trunk/terminology/src/bin
Please add parenthesis :) 2012/10/6 Enlightenment SVN no-re...@enlightenment.org Log: terminology: fix vim issue Author: billiob Date: 2012-10-06 13:23:20 -0700 (Sat, 06 Oct 2012) New Revision: 77549 Trac: http://trac.enlightenment.org/e/changeset/77549 Modified: trunk/terminology/src/bin/termptyops.c Modified: trunk/terminology/src/bin/termptyops.c === --- trunk/terminology/src/bin/termptyops.c 2012-10-06 17:10:58 UTC (rev 77548) +++ trunk/terminology/src/bin/termptyops.c 2012-10-06 20:23:20 UTC (rev 77549) @@ -127,7 +127,7 @@ int e = ty-h; if (ty-state.scroll_y2 != 0) e = ty-state.scroll_y2; - if (ty-state.cy = e) + if (ty-state.cy = e ty-state.cy = ty-h) { _termpty_text_scroll(ty); ty-state.cy = e - 1; -- 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-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH][Entrance] Fix typo and compilation failure
Thank you very muchly patch in ! It seems entrance is broken with current svn. I go to fix it :) 2012/9/19 Igor Murzov e-m...@date.by Hi list. I have two patches for Entrance. The first patch just fixes typo in configure.ac. And the second one fixes compilation failure, when Entrance is configured with --enable-grub2. Also i'm not sure if entrance works at all -- it just starts and then silently exits with code 0. Here is the contents of the /var/log/entrance.log: http://pastebin.com/17XyMFbn -- Igor -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH][Entrance] Fix typo and compilation failure
hum race condition ... need time to fix it can't reproduce it tonight, sorry :( 2012/9/19 Michaël Bouchaud y...@efl.so Thank you very muchly patch in ! It seems entrance is broken with current svn. I go to fix it :) 2012/9/19 Igor Murzov e-m...@date.by Hi list. I have two patches for Entrance. The first patch just fixes typo in configure.ac. And the second one fixes compilation failure, when Entrance is configured with --enable-grub2. Also i'm not sure if entrance works at all -- it just starts and then silently exits with code 0. Here is the contents of the /var/log/entrance.log: http://pastebin.com/17XyMFbn -- Igor -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- Michaël Bouchaud (yoz) y...@efl.so -- 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: yoz trunk/edje/src/bin
Of course no time to do it properly yersteday :) 2012/9/18 Cedric BAIL cedric.b...@free.fr On Mon, Sep 17, 2012 at 6:37 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: edje: fix group inherit with script Can you backport it and properly document NEWS and ChangeLog ? Author: yoz Date: 2012-09-17 09:37:50 -0700 (Mon, 17 Sep 2012) New Revision: 76769 Trac: http://trac.enlightenment.org/e/changeset/76769 Modified: trunk/edje/src/bin/edje_cc_handlers.c Modified: trunk/edje/src/bin/edje_cc_handlers.c === --- trunk/edje/src/bin/edje_cc_handlers.c 2012-09-17 16:35:38 UTC (rev 76768) +++ trunk/edje/src/bin/edje_cc_handlers.c 2012-09-17 16:37:50 UTC (rev 76769) @@ -1098,6 +1098,8 @@ data_queue_copied_part_lookup(pc, (et2-id), (et-id)); else if (ep2-action == EDJE_ACTION_TYPE_ACTION_STOP) data_queue_copied_program_lookup(pc, (et2-id), (et-id)); +else if (ep2-action == EDJE_ACTION_TYPE_SCRIPT) + data_queue_copied_program_lookup(pc, (et2-id), (et-id)); else if (ep2-action == EDJE_ACTION_TYPE_DRAG_VAL_SET) data_queue_copied_part_lookup(pc, (et2-id), (et-id)); else if (ep2-action == EDJE_ACTION_TYPE_DRAG_VAL_STEP) @@ -2557,6 +2559,7 @@ cp-l2 = cp2-l2; cp-script = STRDUP(cp2-script); cd-is_lua = cd2-is_lua; +cd-shared = cd2-shared; cd-programs = eina_list_append(cd-programs, cp); data_queue_copied_anonymous_lookup(pc, (cp2-id), (cp-id)); } -- 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 -- Cedric BAIL -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] EFL 1.7 release - ATTENTION!!!
I have a patch on elm_calendar I need to add 2 api's to see a month without select a day. One for get and the other one for get. Just think about the name, and how to manage it ... Talk with you tomorrow on irc, If you are here 2012/8/28 Michael Blumenkrantz michael.blumenkra...@gmail.com definitely got some edje leaks somewhere, I sent them off to cedric On Tue, Aug 28, 2012 at 8:52 AM, Carsten Haitzler ras...@rasterman.com wrote: On Mon, 27 Aug 2012 21:08:24 +0900 (KST) ChunEon Park her...@naver.com said: About content, text_part_set maybe this will be fixed by tomorrow. is it ok? ok - i note no log from your end yet (commit log). :) -Regards, Hermet- -Original Message- From: Carsten Haitzlerras...@rasterman.com To: ChunEon Parkher...@naver.com; Cc: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Sent: 2012-08-27 (월) 18:32:04 Subject: Re: [E-devel] EFL 1.7 release - ATTENTION!!! On Mon, 27 Aug 2012 18:09:42 +0900 (KST) ChunEon Park hermet@ naver.com said: ah.. When I look the code, naviframe compatibility seems broken. it is? where/how? this needs fixing. Need to fix it before release. -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Carsten Haitzler (The Rasterman)ras...@rasterman.com; Sent: 2012-08-27 (월) 18:02:28 Subject: Re: [E-devel] EFL 1.7 release - ATTENTION!!! On 27/08/12 08:42, Carsten Haitzler (The Rasterman) wrote: Hey everyone! report in. Do you have any work pending for 1.7 release that MUST be done? I want to cut the release ASAP but I want things to be quiet and know what is going to be dumped in and when. So report in ASAP on any work/patches you have pending for release ... NOW! I have nothing, but I do have pending patches for after the freeze, so go on and release it already... :) -- Tom. -- 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 -- - 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so
Re: [E-devel] E SVN: yoz trunk/elementary/src/lib
No idea how to make it better. I have asked doxygen comunity, but no response for time... Le 3 juil. 2012 12:43, Daniel Willmann d.willm...@samsung.com a écrit : Hi, On 07/02/2012 10:20 AM, Enlightenment SVN wrote: Log: elementary: add since keyword to the signal documentation Author: yoz Modified: trunk/elementary/src/lib/elm_progressbar.h === --- trunk/elementary/src/lib/elm_progressbar.h2012-07-02 09:17:05 UTC (rev 73139) +++ trunk/elementary/src/lib/elm_progressbar.h2012-07-02 09:20:27 UTC (rev 73140) @@ -36,6 +36,7 @@ * This widget emits the following signals, besides the ones sent from * @ref Layout: * @li @c changed - when the value is changed + * @since 1.1 I have actually tried that. The problem for me was that the following paragraph (This widget has the following styles:...) is indented as if it is still part of the changed @li. Other variations, such as putting since in front of the changed @li did weird things to the formatting as well. I tried to contain it with the grouping symbols, but that didn't seem to work, either. Regards, Daniel Willmann -- 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 -- 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: cedric trunk/edje/src/bin
oops, sorry :) 2012/6/24 Enlightenment SVN no-re...@enlightenment.org Log: edje: Resistance is futile. The B0rk. Author: cedric Date: 2012-06-23 23:01:12 -0700 (Sat, 23 Jun 2012) New Revision: 72754 Trac: http://trac.enlightenment.org/e/changeset/72754 Modified: trunk/edje/src/bin/edje_cc_out.c Modified: trunk/edje/src/bin/edje_cc_out.c === --- trunk/edje/src/bin/edje_cc_out.c2012-06-24 05:35:49 UTC (rev 72753) +++ trunk/edje/src/bin/edje_cc_out.c2012-06-24 06:01:12 UTC (rev 72754) @@ -2144,15 +2144,15 @@ } else { - char *aliased; - aliased = eina_hash_find(part-pc-aliased, part-name); - if (!aliased) - aliased = part-name; + char *alias; + alias = eina_hash_find(part-pc-alias, part-name); + if (!alias) + alias = part-name; for (i = 0; i part-pc-parts_count; ++i) { ep = part-pc-parts[i]; - if ((ep-name) (!strcmp(ep-name, aliased))) + if ((ep-name) (!strcmp(ep-name, alias))) { handle_slave_lookup(part_slave_lookups, part-dest, ep-id); *(part-dest) = ep-id; @@ -2162,8 +2162,8 @@ if (i == part-pc-parts_count) { - ERR(%s: Error. Unable to find part name \%s\., - progname, part-name); + ERR(%s: Error. Unable to find part name \%s\ needed in group '%s'., + progname, alias, part-pc-part); exit(-1); } } -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH] elementary: Add elm_progressbar_maxunit_{set, get} functions
My mind isn't fixed, look svn ^^ but if you can provide a better example, I take it ! :) Your patch go in, thx ! 2012/6/22 Daniel Willmann d.willm...@samsung.com On 06/21/2012 11:34 PM, Michaël Bouchaud wrote: Sorry, but I really cannot identify your use case. The only utility that I see to emit a changed signal is to be noticed that the progressbar value has changed ... But we will not use the value later, but surely not to redefine a new format. format_func is here to do that. I agree that the example I have provided is dumb and redundant now that format_func exists. I still think a signal has its merits as you are not limited to changing the format function, but can do other stuff as well (change the icon depending on the speed, progress, ...). That said, I'm not going to follow up on this as it seems that your mind is set. Regards, Daniel 2012/6/20 Daniel Willmann d.willm...@samsung.com Hello, On 06/19/2012 11:57 PM, Michaël Bouchaud wrote: Damn !!! sorry raster, I've forget to send my draft answer. I have talked to the author on irc, but I don't warned you to not apply it just to clarify, raster asked me about the patch on irc and I told him that you already applied a modified version. The we discussed if the changed signal might have its own merits. I believe it does, since you are a lot more flexible with a signal. You could add a function that calculates the ETA based on the progress over time and displays that somewhere, changes the background, an icon, etc. I think it would make sense to have both features side-by-side, each for their own use case. Regards, Daniel 2012/6/19 Carsten Haitzlerras...@rasterman.com On Thu, 14 Jun 2012 15:04:40 +0100 Daniel Willmannd.willmann@samsung.** com d.willm...@samsung.com said: thanks! in svn it is! Some more discussion in IRC led to the conclusion that this should be a handled in a signal callback I've attached the new patch where I also updated the progress bar example. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH] elementary: Add elm_progressbar_maxunit_{set, get} functions
Sorry, but I really cannot identify your use case. The only utility that I see to emit a changed signal is to be noticed that the progressbar value has changed ... But we will not use the value later, but surely not to redefine a new format. format_func is here to do that. 2012/6/20 Daniel Willmann d.willm...@samsung.com Hello, On 06/19/2012 11:57 PM, Michaël Bouchaud wrote: Damn !!! sorry raster, I've forget to send my draft answer. I have talked to the author on irc, but I don't warned you to not apply it just to clarify, raster asked me about the patch on irc and I told him that you already applied a modified version. The we discussed if the changed signal might have its own merits. I believe it does, since you are a lot more flexible with a signal. You could add a function that calculates the ETA based on the progress over time and displays that somewhere, changes the background, an icon, etc. I think it would make sense to have both features side-by-side, each for their own use case. Regards, Daniel 2012/6/19 Carsten Haitzlerras...@rasterman.com On Thu, 14 Jun 2012 15:04:40 +0100 Daniel Willmannd.willmann@samsung.** com d.willm...@samsung.com said: thanks! in svn it is! Some more discussion in IRC led to the conclusion that this should be a handled in a signal callback I've attached the new patch where I also updated the progress bar example. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH] elementary: Add elm_progressbar_maxunit_{set, get} functions
Damn !!! sorry raster, I've forget to send my draft answer. I have talked to the author on irc, but I don't warned you to not apply it I've rewrited this patch in a diffferent way and it's already commited. Sorry for your waste of time to review it... but I must revert it. Sorry sorry sorry, I know you are a busy man Best regards 2012/6/19 Carsten Haitzler ras...@rasterman.com On Thu, 14 Jun 2012 15:04:40 +0100 Daniel Willmann d.willm...@samsung.com said: thanks! in svn it is! Some more discussion in IRC led to the conclusion that this should be a handled in a signal callback I've attached the new patch where I also updated the progress bar example. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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] Example for elm_progressbar_unit_format_function
in with a bit of fix, thx !!! 2012/6/15 Daniel Willmann d.willm...@samsung.com Hello, I have added an example for the unit format function to the progress bar example. Please see the attached patch. Regards, Daniel Willmann -- Michaël Bouchaud (yoz) y...@efl.so -- 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] Patch for ticket #855 (Elementary, Calendar widget)
Hum sorry but we have talked about it, and almost are agreed with me. We mustn't round the value of an event. If the day doesn't exist, we have no event ... But we understand too your use case. So I introduce a new mark repeat type - ELM_CALENDAR_LAST_DAY_OF_MONTH Hope you will be satisfied by it. See commit 72145 2012/6/8 Andrey Ivanenko lazy0f...@gmail.com Hello everyone, Please check the patch with the fix for ticket #855 (in attachment). WBR Andrey Ivanenko -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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: discomfitor trunk/efreet/src/lib
Hum ... if we support '_NAME' maybee we need to support too, the UBUNTU`s mess with po '.desktop' files Someone have some sugestion about it. I'm really disagreed with this approach, many stats to have only one translated string. But ubuntu is very popular ... :'( and they don't care about unity ^^ so did you mean we must care about X-Ubuntu-Gettext-Domain and translate strings with it 2012/6/11 Enlightenment SVN no-re...@enlightenment.org Log: the dicks at canonical like to break fdo .desktop file spec by adding invalid characters (underscores) to key names. we are not amused. Author: discomfitor Date: 2012-06-11 02:38:10 -0700 (Mon, 11 Jun 2012) New Revision: 71941 Trac: http://trac.enlightenment.org/e/changeset/71941 Modified: trunk/efreet/src/lib/efreet_desktop.c Modified: trunk/efreet/src/lib/efreet_desktop.c === --- trunk/efreet/src/lib/efreet_desktop.c 2012-06-11 09:05:35 UTC (rev 71940) +++ trunk/efreet/src/lib/efreet_desktop.c 2012-06-11 09:38:10 UTC (rev 71941) @@ -809,10 +809,11 @@ const char *not_show_in = NULL, *only_show_in = NULL; val = efreet_ini_localestring_get(ini, Name); +if (!val) val = efreet_ini_localestring_get(ini, _Name); if (val) desktop-name = strdup(val); else { -ERR(efreet_desktop_generic_fields_parse error: no Name); +ERR(efreet_desktop_generic_fields_parse error: no Name or _Name fields); return 0; } @@ -820,6 +821,7 @@ if (val) desktop-generic_name = strdup(val); val = efreet_ini_localestring_get(ini, Comment); +if (!val) val = efreet_ini_localestring_get(ini, _Comment); if (val) desktop-comment = strdup(val); val = efreet_ini_localestring_get(ini, Icon); -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] [PATCH] elementary: Add elm_progressbar_maxunit_{set, get} functions
Hum not really needed as is... We just need a format function here ... a progressbar is from 0.0 to 1.0. 2012/6/12 Daniel Willmann d.willm...@samsung.com Hello, updated version. I added the @since 1.1 mentioned by Stefan and mentioned the default value. Regards, Daniel These functions change the range of the value displayed on the progress bar with elm_progressbar_unit_format_set. At the moment the value displayed is in the range of 0 to 100. These functions allow you to change the upper range to something else. This is useful if the value represented by the progress bar is something else than percent, such as hours left. Signed-off-by: Daniel Willmann d.willm...@samsung.com --- trunk/elementary/ChangeLog |3 +++ trunk/elementary/src/lib/elm_progressbar.c | 27 +- trunk/elementary/src/lib/elm_progressbar.h | 29 3 files changed, 58 insertions(+), 1 deletion(-) -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
Ok I go with genlist :) 2012/5/26 Carsten Haitzler ras...@rasterman.com On Sat, 26 May 2012 01:16:36 +0200 Michaël Bouchaud y...@efl.so said: my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item i don't see the use of that really. ultimately make just genlist BE gengrid. so everything is elm_genlist* and elm_gengrid* api is just a wrapper left for compatibility (and calls genlist api's) and all you do is set the genlist layout mode to grid layout if you want to use the new api. gengrid STILl is a list - it's linear, just arranged in rows that wrap as opposed to a long list, 1 thing per line. :) 2012/5/26 Michaël Bouchaud y...@efl.so just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is the way how to patch it. I have a plan to make elm_genlist and elm_gengrid compliant with a elm_gen_item api, with some hooks (need to think about it... but really realisable with few work). And in few words, I want to use elm_genlist_item api as model. Think about a file manager and how he manage different layout they can take .. Le 25 mai 2012 11:29, Michaël Bouchaud y...@efl.so a écrit : So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so wrote: So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how
Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so wrote: So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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
Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is the way how to patch it. I have a plan to make elm_genlist and elm_gengrid compliant with a elm_gen_item api, with some hooks (need to think about it... but really realisable with few work). And in few words, I want to use elm_genlist_item api as model. Think about a file manager and how he manage different layout they can take .. Le 25 mai 2012 11:29, Michaël Bouchaud y...@efl.so a écrit : So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so wrote: So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so
Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item 2012/5/26 Michaël Bouchaud y...@efl.so just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is the way how to patch it. I have a plan to make elm_genlist and elm_gengrid compliant with a elm_gen_item api, with some hooks (need to think about it... but really realisable with few work). And in few words, I want to use elm_genlist_item api as model. Think about a file manager and how he manage different layout they can take .. Le 25 mai 2012 11:29, Michaël Bouchaud y...@efl.so a écrit : So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so wrote: So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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
Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
Sure, the code between these layouts will not be merged in my plan 2012/5/26 Michaël Bouchaud y...@efl.so my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item 2012/5/26 Michaël Bouchaud y...@efl.so just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is the way how to patch it. I have a plan to make elm_genlist and elm_gengrid compliant with a elm_gen_item api, with some hooks (need to think about it... but really realisable with few work). And in few words, I want to use elm_genlist_item api as model. Think about a file manager and how he manage different layout they can take .. Le 25 mai 2012 11:29, Michaël Bouchaud y...@efl.so a écrit : So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so wrote: So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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
Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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/e/src/bin
I really dislike these surprises :) This issue couldn't be reported to kernel devs ? Or this issue is from dsdt and acpi from vendors ? Not in view to remove the work around... 2012/5/25 Enlightenment SVN no-re...@enlightenment.org Log: work around ppurka's demented laptop. Author: raster Date: 2012-05-24 17:09:15 -0700 (Thu, 24 May 2012) New Revision: 71414 Trac: http://trac.enlightenment.org/e/changeset/71414 Modified: trunk/e/src/bin/e_acpi.c Modified: trunk/e/src/bin/e_acpi.c === --- trunk/e/src/bin/e_acpi.c2012-05-24 17:24:46 UTC (rev 71413) +++ trunk/e/src/bin/e_acpi.c2012-05-25 00:09:15 UTC (rev 71414) @@ -324,7 +324,25 @@ /* open the state file from /proc */ snprintf(buff, sizeof(buff), /proc/acpi/%s/%s/state, device, bus); - if (!(f = fopen(buff, r))) return E_ACPI_LID_UNKNOWN; + if (!(f = fopen(buff, r))) + { +/* hack around ppurka's Thinkpad (G460 + Linux) that reports lid + * state as /proc/acpi/button/lid/LID0/state but where the lid + * event says button/lid LID close. + * + * so let's take the base device name LID and add a numeric like + * 0, 1, 2, 3 so we have LID0, LID1, LID2 etc. - try up to LID9 + * and then give up. + */ +for (i = 0; i 10; i++) + { + snprintf(buff, sizeof(buff), /proc/acpi/%s%i/%s/state, + device, i, bus); + if ((f = fopen(buff, r))) break; + f = NULL; + } +if (!f) return E_ACPI_LID_UNKNOWN; + } /* read the line from state file */ buff[0] = '\0'; -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D yes. patch. soon please! :):):) that'd be awesome++! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Michaël Bouchaud (yoz) y...@efl.so -- 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 -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib
); - elm_smart_scroller_region_bring_in(item-wd-scr, - item-x * wd-item_width + minx, - item-y * wd-item_height + miny, - item-wd-item_width, - item-wd-item_height); + if (wd-horizontal) + elm_smart_scroller_region_bring_in(item-wd-scr, +((item-x - item-prev_group) * wd-item_width) + (item-prev_group * item-wd-group_item_width) + minx, +item-y * wd-item_height + miny, +item-wd-item_width, +item-wd-item_height); + else + elm_smart_scroller_region_bring_in(item-wd-scr, +item-x * wd-item_width + minx, +((item-y - item-prev_group)* wd-item_height) + (item-prev_group * item-wd-group_item_height) + miny, +item-wd-item_width, +item-wd-item_height); } -- Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ ___ 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 Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like genlist does for append/preppend funcs. And here you can name your item_class group_index again. I could provide a patch soon, if you want. Thats my mess :D -- Michaël Bouchaud (yoz) y...@efl.so -- 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
[E-devel] map issue
Hi About elementary release, one of mine dev notice me some problem about map widget. Localization about atof... french separator is , (comma) but common is .(dot) in float string :) maybee, we could use eina_convert_atod here. secondly if you use one scroller with the map widget, you could encounter some problems. I explain me, zoom the map widget, move to some point... now drag the second scoller, you have the issue :P. Don't know where is the problem... maybee some events race. If you click somewhere after dragging, everything goes well. See attached file. -- Michaël Bouchaud (yoz) y...@efl.so #include Elementary.h EAPI_MAIN int elm_main(int argc, char **argv) { Evas_Object *win, *bg, *box, *map, *label, *scroller; win = elm_win_add(NULL, map, ELM_WIN_BASIC); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(bg); map = elm_map_add(win); evas_object_size_hint_weight_set(map, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(map, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(map); box = elm_box_add(win); evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(box); elm_box_homogeneous_set(box, EINA_TRUE); elm_box_pack_end(box, map); label = elm_label_add(win); elm_box_pack_end(box, label); scroller = elm_scroller_add(win); evas_object_size_hint_weight_set(scroller, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(scroller); elm_object_content_set(scroller, box); elm_win_resize_object_add(win, scroller); evas_object_resize(win, 512, 512); evas_object_show(win); elm_run(); elm_shutdown(); return 0; } ELM_MAIN() -- 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] Elementary's new (internal) widget hierarchy
I'm really agreed about this idea, we could factorizing tons of annoying works after that. Like callback, but I think too about strings and contents widget. We have hooks for it, but none have a list of each string setted to widgets as her contents... Happy you bring the question 2012/4/25 Gustavo Chaves gl...@profusion.mobi Bump again. Both http://people.profusion.mobi/~glima/elm/group__Widget.html and http://git.profusion.mobi/cgit.cgi/glima/elementary/ are updated. Tom, there's an image there illustrating the old and new class schemas side by side, now. Enjoy. I'd be vary glad to have people testing and reviewing too. Tom, here's a (maybe outdated, by now, because of constant rebases) table on code reduction based on number of semi-colons. I used this metric to be more fair, taking in account that I wiped up all widgets, ecrustifying them and letting all fine, apart from porting. File Original code New code Reduction elm_bubble.c 186 67 63% elm_button.c 264 130 51% elm_check.c 249 126 49% elm_frame.c 174 90 48% elm_radio.c 265 162 39% elm_slider.c 562 385 31% Cheers. On Tue, Apr 3, 2012 at 3:06 PM, Gustavo Chaves gl...@profusion.mobi wrote: Just a bump on the matter: git repo for analisys rebased and updated. On Tue, Apr 3, 2012 at 10:40 AM, Tom Hacohen tom.haco...@samsung.com wrote: On 03/04/12 16:36, Gustavo Chaves wrote: Will be done, don't worry :) I'm not worried, but this is probably the easiest thing to review and gives a lot of info. I'll make # of semicolon comparisons per widget file, later. Yay, thanks. Perfectly working. Great. :) -- Tom. -- Gustavo Lima Chaves Senior Developer ProFUSION embedded systems http://profusion.mobi -- Gustavo Lima Chaves Senior Developer ProFUSION embedded systems http://profusion.mobi -- 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 -- Michaël Bouchaud (yoz) y...@efl.so -- 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] Introducing EFL Korean User Group
Mort de rire ! Raster, mais si on bouffe bien en france ! But you never have time to eat. Le 20 avr. 2012 17:10, Steven Le Roux ste...@le-roux.info a écrit : On Fri, Apr 20, 2012 at 2:22 PM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 20 Apr 2012 20:49:31 +0900 Jérôme Pinot ngc...@gmail.com said: On 04/20/12 20:11, Carsten Haitzler wrote: On Fri, 20 Apr 2012 20:05:19 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: On Apr 20, 2012 7:46 PM, Jérôme Pinot ngc...@gmail.com wrote: On 04/20/12 13:57, Daniel Juyung Seo wrote: Wow.. 10 years in Korea! That's great. I've tried ePeriodique before :) But I didn't notice it supports Korean though. Interesting. Did you translate that by yourself? Yes, but this was mostly lonely words, so it was not a big challenge :-) still great! ifound a typo about halogen though. :) my korean *IS* just typos. 치발! :) Btw, the Korean User Group is not limited to foreigners. It is just a blob of links about EFL information written in Korean. We may open up a forum later but as of now we have links only. Anyhow, it's great to know that you lived in Korean for 10 years. And I'm still here, mostly in Daejeon, sometimes in Seoul. wow that's a news! what do you do there? come to suwon and spank raster when you have time :) or come to seoul. i live in yongsan. maybe we should have regular monthly e/efl dinners now we have more people spread out? if you're in seoul sometimes... we might be able to arrange something. Yongsan is good for me, there is the train station near. And there are french restaurants at Itaewon :-P bah! the french don't know how to make food. you never discovered kimchi and pickles to be served at EVERY MEAL! if there isn't kimchi.. it isn't food! :-P :) putain si ! -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- 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 -- Steven Le Roux Jabber-ID : ste...@jabber.fr 0x39494CCB ste...@le-roux.info 2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB -- 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 -- 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
[E-devel] queue 2
Hi :) Now for elsa, a greater. I have experienced some race condition with x11 connection. I need to release x11 connection when the wm has took the hand on it for time, I catch ECORE_X_EVENT_WINDOW_CREATE. But for this I need to manage the root window (ecore_x_window_manage I'm wrong ?). If I'm still right, fluxbox doesn't work with this. He tries to manage before creating some windows :( Don't notice some signal about connection on x11. So I try to find some help ... Hope to find one -- Michaël Bouchaud (yoz) y...@efl.so -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Fwd: queue 1
-- Forwarded message -- From: Michaël Bouchaud y...@efl.so Date: 2012/4/18 Subject: queue 1 To: Enlightenment users discussion support enlightenment-us...@lists.sourceforge.net Hi all, I come here about release, I want made some changes to elm_calendar in future. Here is the problem about this widget. You have only two choice, user can't select a day, second one user has always selected a day. I want introduce a third choice, user could have not selected a day. So we go to release soon, near to freeze the beta and my patch isn't ready :(. So I think about futur. I just want deprecate elm_calendar_day_selecion_disabled_set and get func. So I replace it by elm_calendar_select_mode_set(Evas_object, Elm_Calendar_Select_Mode(enum)) / get func. Where mode are for now ELM_CALENDAR_SELECT_ALWAYS, ELM_CALENDAR_SELECT_NEVER. I will introduce in futur (soon, I hope) ELM_CALENDAR_SELECT_USER. What do you think? -- Michaël Bouchaud (yoz) y...@efl.so -- Michaël Bouchaud (yoz) y...@efl.so -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel