Re: [E-devel] Happy New year E crowd
Carsten Haitzler wrote on Mon 2/01/23 11:11: > So ... Happy new year and what not. > Happy new year! Is anyone going to FOSDEM this year? https://fosdem.org/2023/ Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Issues with documentation on enlightenment.org
Hi, there are some issues on the documentation pages on enlightenment.org. For the 'stable C API' on http://www.enlightenment.org/develop/legacy/api/c/start#widgetslist.html some items like Elm_Ctxpopup Elm_Entry Elm_List don't have a link to their API description. For others like 'Menu', if I follow the link on the Widget List http://www.enlightenment.org/develop/legacy/api/c/start#widgetslist.html I land somewhere at the bottom of the page http://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__Menu.html If I call http://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__Menu.html directly it shows the top of the page. Similar problem on http://www.enlightenment.org/develop/legacy/api/c/start#containerslist.html for example: Elm_Gengrid Elm_Genlist Elm_Box don't have links. Also, the page of the C++-API does not exist: https://docs.enlightenment.org/auto/group__Efl__Cxx__API.html -> Not Found Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Enlightenment Foundation Libraries 1.25 Release
Stefan Schmidt wrote on Wed 23/09/20 13:10: > === Enlightenment Foundation Libraries 1.25 Release === > > In comparison 1.25 was a very calm release cycle. In the last five months we > saw 567 commits from 38 contributors: > > Carsten Haitzler, Stefan Schmidt, Marcel Hollerbach, JunsuChoi, Vincent > Torri, Ali Alzyod, Daniel Kolesa, Mike Blumenkrantz, Elyes HAOUAS, Hermet > Park, Christopher Michael, Xavi Artigas, Subhransu Mohanty, Shinwoo Kim, > Taehyub Kim, Woochanlee, Myoungwoon Roy, Kim, Alastair Poole, Jaehyun Cho, > Wonki Kim, João Paulo Taylor Ienczak Zanette, AbdullehGhujeh, Wander Lairson > Costa, WooHyun Jung, Yeongjong Lee, Bowon Ryu, Hosang Kim, Ali, Boris Faure, > Felipe Magno de Almeida, SangHyeon Jade Lee, Youngbok Shin, Joao Antonio > Cardoso, Lucas, Lucas Cavalcante de Sousa, ali, ali198724, nerdopolis > Thank you :) Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.24 first abi checker results (beta2)
Jean Rene Dawin wrote on Wed 22/04/20 19:19: > Stefan Schmidt wrote on Wed 22/04/20 14:05: > > Hello Jean Rene. > > > > On 22.04.20 08:27, Jean Rene Dawin wrote: > > > Stefan Schmidt wrote on Wed 15/04/20 15:48: > > > > Hello. > > > > > > > If my code has this: > > > > > > Efl_Canvas_Text *bla; > > > > > > it compiles well with 1.23.3 but 1.24 gives > > > > > > unknown type name 'Efl_Canvas_Text' > > > > > > > Thanks a lot for bringing this to our attention. Sorry for missing it in the > > first place. After some discussion with Marcel Ali came up with a patch that > > should fix the problem for you. > > > > This should fix your problem: > > https://phab.enlightenment.org/D11744 > > > > I am going to push this now. Please let us know if it is working correctly > > afterwards for you. > > > > regards > > Stefan Schmidt > > Thanks. Honestly I don't have code that is affected right now. > I just was curious if the warnings of the ABI checker were all harmless and > did a test > with the code above. > > Regards, > Jean Rene Ok, with f619a2fbad2dcc81085f14cedaea4fc0df8f2837 Efl_Canvas_Text is fixed. I'm still not sure if a program is supposed to use these types directly in the first place. Similar issues occur with these types: Efl_Canvas_Vg_Container Efl_Canvas_Vg_Node Efl_Text_Cursor_Cursor Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.24 first abi checker results (beta2)
Stefan Schmidt wrote on Wed 22/04/20 14:05: > Hello Jean Rene. > > On 22.04.20 08:27, Jean Rene Dawin wrote: > > Stefan Schmidt wrote on Wed 15/04/20 15:48: > > > Hello. > > > > > If my code has this: > > > > Efl_Canvas_Text *bla; > > > > it compiles well with 1.23.3 but 1.24 gives > > > > unknown type name 'Efl_Canvas_Text' > > > > Thanks a lot for bringing this to our attention. Sorry for missing it in the > first place. After some discussion with Marcel Ali came up with a patch that > should fix the problem for you. > > This should fix your problem: > https://phab.enlightenment.org/D11744 > > I am going to push this now. Please let us know if it is working correctly > afterwards for you. > > regards > Stefan Schmidt Thanks. Honestly I don't have code that is affected right now. I just was curious if the warnings of the ABI checker were all harmless and did a test with the code above. Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.24 first abi checker results (beta2)
Stefan Schmidt wrote on Wed 15/04/20 15:48: > Hello. > > I hoped the alpha and beta release are getting picked up by the abi-tracker > website directly. That was not the case. Not sure why this is not the case, > but I took this as a nudge to setup abi-tracker/upstream-tracker just for > efl on my machine. > > I uploaded the first results now and I would hoep everybody could have a > look and see if we have problems here for 1.24 > > http://www.enlightenment.org/~stefan/abi-tracker/timeline/efl/ Hi, are the warnings like efl_canvas_text_eo.legacy.h, libevas.so.1.23.3 - evas_object_textblock_visible_range_get ( Efl_Canvas_Text* obj, Efl_Text_Cursor_Cursor* start, Efl_Text_Cursor_Cursor* end ) + evas_object_textblock_visible_range_get ( Efl_Canvas_Textblock* obj, Efl_Text_Cursor_Handle* start, Efl_Text_Cursor_Handle* end ) really not a problem? If my code has this: Efl_Canvas_Text *bla; it compiles well with 1.23.3 but 1.24 gives unknown type name 'Efl_Canvas_Text' Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EDD2019: Thank you all and pictures
Hi, Xavi Artigas wrote on Tue 26/11/19 12:11: > Hi people, > > First off, thank you all for coming to Barcelona. I hope you enjoyed your > stay :) Yes, still enjoying. > > I would like to ask if everybody is OK with using this picture: > https://www.enlightenment.org/_media/news/edd2019_pic1.jpg no objections :) Regards, Jean Rene ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] eina_safety check ERRs
Hello, since about commit b0e0fcf3d60eac53229ce107b01c6d31ce8aa817 elementary_test, elementary_config, terminology throw lots of verbose eina_safety ERR messages (see below). Just wanted to ask if these messages point to real errors (and how to fix them) or if they are maybe false positives. The tests below were done with efl from commit 6fa8c581b564cf85eba89cbb61ebaa067f7da051 With earlier commit 3c8bc31e75478137c08ea9492c685cb4261a9499 the ERR messages were gone or less verbose. 1. Run elementary_test 2. Click "Lyayot2" 3. Close Layout2 window. Output: ERR<28170>:eina_safety lib/evas/canvas/evas_callbacks.c:539 evas_object_event_callback_del_full() safety check failed: obj == NULL ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF /usr/local/lib/libeina.so.1 0x7f1fb57c8462 0x7f1fb5795000 ... 1. Run elementary_config 2. Close window Output: ERR<28279>:eina_safety lib/elementary/elm_main.c:1760 elm_object_signal_emit() safety check failed: obj == NULL ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF /usr/local/lib/libeina.so.1 0x7f7c7a8e8462 0x7f7c7a8b5000 ... 1. Run terminology 2. Right Click 3. Click Settings Output: CRI<27896>:eina_log ../src/bin/win.c:1762 win_new() unknown log domain -1, original message level was: WRN ERR<27896>:eo lib/eo/eo.c:2113 efl_data_scope_get() Eo ID 0x55ddef262c10 is not a valid object. Current thread: main. This ID has probably been deleted or this was never a valid object ID. (domain=2, current_do main=0, local_domain=0, available_domains=[0 1], generation=10, id=98b, ref=1) ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF /usr/local/lib/libeina.so.1 0x7fb0e87f4462 0x7fb0e87c1000 ... ERR<28445>:eina_safety lib/evas/canvas/evas_callbacks.c:539 evas_object_event_callback_del_full() safety check failed: obj == NULL ## Copy & Paste the below (until EOF) into a terminal, then hit Enter ... Regards, Jean Rene -- 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
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=24520928baa0f4f7cdae127ed3d48f4754d0e284 commit 24520928baa0f4f7cdae127ed3d48f4754d0e284 Author: Jean Rene Dawin Date: Wed Feb 22 15:42:47 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index 2e4a465..ed69ad5 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -1,6 +1,6 @@ ~~Title: A knob theme for the Elementary slider widget (work in progress)~~ - Make an Elementary slider behave like a knob =(work in progress)=== + Make an Elementary slider behave like a knob (work in progress) Here is an example for an edje theme which makes an Elementary slider widget look and behave like a knob. --
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=f775d385720db48474ac590ccfc05d342b327603 commit f775d385720db48474ac590ccfc05d342b327603 Author: Jean Rene Dawin Date: Wed Feb 22 15:41:58 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index 4a5577b..2e4a465 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -1,6 +1,6 @@ -~~Title: A knob theme for the Elementary slider widget~~ +~~Title: A knob theme for the Elementary slider widget (work in progress)~~ - Make an Elementary slider behave like a knob + Make an Elementary slider behave like a knob =(work in progress)=== Here is an example for an edje theme which makes an Elementary slider widget look and behave like a knob. --
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=b6fb55ca6e88b3b70e1e8fecbe0e9e25febc8063 commit b6fb55ca6e88b3b70e1e8fecbe0e9e25febc8063 Author: Jean Rene Dawin Date: Wed Feb 22 15:40:19 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 144 ++ 1 file changed, 144 insertions(+) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index b7ed9f6..4a5577b 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -107,4 +107,148 @@ Here each state is associated with one image (position) of the knob. image.normal: "0060.png"; } } + +The following ''part'' is needed so we can set the value of the knob from the C source via elm_slider_value_set. + + part{ + //The real slider for elm_slider + name: "elm.dragable.slider"; + scale: 1; + dragable.x: 1 1 0; + dragable.y: 1 1 0; + type: RECT; + description{ + state: "default" 0.0; + visible: 0; + } + dragable{ + x: 1 1 0; + y: 1 1 0; + } + } + +This ''part'' named "dragger" is the actually draggable part of the slider. +It's invisible but will measure how much the knob has been turned (or dragged). + + part{ + name: "dragger"; + type: RECT; + description{ + state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + color: 0 0 0 0; + } + description{ + state: "hoki" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + color: 0 0 0 0; + } + dragable{ + x: 0 0 0; + y: 1 1 0; + } + } + } + +Now the ''parts'' block is finished and we continue with the ''programs'' block which contains small scripts which control the behaviour of our knob. The programs are called when a certain signal +from a certain source is received. Signals can be emitted from inside this edje +or from outside (C source). + + programs{ + +The script part of the ''program'' named "on_drag_move" runs when the +signal "drag" from source "dragger" (the part defined above) is received. + + program{ + name: "on_drag_move"; + signal: "drag"; + source: "dragger"; + script{ + new Float:p1; + new Float:p2; + +//The drag value is subtracted from the last knob position +//because a drag upwards yields negative values. + + get_drag(PART:"dragger", p1, p2); + set_float(knob_pos, get_float(knob_last) - p2); + + new px, py, pw, ph; + get_geometry(PART:"knob", px, py, pw, ph); + if(get_float(knob_pos) > ph) set_float(knob_pos, ph); + if(get_float(knob_pos) < 0) set_float(knob_pos, 0); + + update_knob_state(get_float(knob_pos)); + new Float:sl_val = get_float(knob_pos)/ph; + + set_int(signal_from_dragger, 1); +
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=7d7457ff92ad7690ef2c310127d80549372fb70b commit 7d7457ff92ad7690ef2c310127d80549372fb70b Author: Jean Rene Dawin Date: Wed Feb 22 15:20:10 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 103 +- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index 6a46ce0..b7ed9f6 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -6,4 +6,105 @@ Here is an example for an edje theme which makes an Elementary slider widget loo It will look like this {{:themes:edje-knob.png?nolink}} and works by displaying one of 60 images, depending on how much you drag the knob (up and down). Each of the images corresponds to a different rotation of the knob. -The edc file for this theme will be described below. +The important parts of the edc file for this theme will be described below. +In the ''group'' block we define the name we will later use to load the theme from within a C program. + +collections{ + group{ + name: "elm/slider/horizontal/knob"; + alias: "elm/slider/horizontal/default"; + min: 64 64; + +Next we list the ''images'' we will be using + + images{ + image: ".png" COMP; + image: "0001.png" COMP; + image: "0002.png" COMP + +//Similar for 0003.png to 0059.png. + + image: "0060.png" COMP; + image: "knobbg.png" COMP; + } + +The ''script'' block contains global variables and functions. The function ''update_knob_state'' is used to load new images when the knob is turned. The variables are used to store the state of the knob. + +script{ + public knob_pos; + public knob_ref; + public knob_last; + public knob_move; + public signal_from_dragger; + + + public update_knob_state(Float:frac){ + +new px, py, pw, ph; +get_geometry(PART:"knob", px, py, pw, ph); + new Float:step = ph/60; + if(frac > ph) { set_state(PART:"knob", "60", 0.0); return;} + if(frac <= 0) { set_state(PART:"knob", "default", 0.0); return;} + if(frac < step) { set_state(PART:"knob", "1", 0.0); return;} + if(frac < 2*step) { set_state(PART:"knob", "2", 0.0); return;} + +//Similar "if" statments for frac < 3*step to 59*step. + + if(frac < 60*step) { set_state(PART:"knob", "60", 0.0); return;} + + } + + public reset_dragger(){ + set_drag(PART:"dragger", 0.0, 0.0); + set_int(signal_from_dragger, 0); + } + } + +The ''parts'' block contains the functional parts of the knob. +These are mostly geometric objects that may be moveable and/or visible. +They may also emit signals which will be important in the ''programs'' block below. + + parts{ + part{ + name: "knobbase"; + scale: 1; + description{ + state: "default" 0.0; + min: 64 64; + image.normal: "knobbg.png"; + } + } + +Each part has a one or more descriptions, which represent states of the part. +Here each state is associated with one image (position) of the knob. + + part{ + name: "knob"; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + min: 64 64; + rel.to: "knobbase"; + image.normal: ".png
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=89c6cd81bd949cabef8dc179aa546003133e3cfb commit 89c6cd81bd949cabef8dc179aa546003133e3cfb Author: Jean Rene Dawin Date: Wed Feb 22 14:54:27 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index 1076989..6a46ce0 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -2,4 +2,8 @@ Make an Elementary slider behave like a knob -Here is an example for an edje theme which makes an Elementary slider widget look and behave like a knob. It will look like this: +Here is an example for an edje theme which makes an Elementary slider widget look and behave like a knob. + +It will look like this {{:themes:edje-knob.png?nolink}} and works by displaying one of 60 images, depending on how much you drag the knob (up and down). Each of the images corresponds to a different rotation of the knob. + +The edc file for this theme will be described below. --
[EGIT] [website/www-content] master 01/01: Wiki media themes:edje-knob.png uploaded by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=2f6a2892e1565095f7c8041d4b8ff6c1534a commit 2f6a2892e1565095f7c8041d4b8ff6c1534a Author: Jean Rene Dawin Date: Wed Feb 22 14:45:38 2017 -0800 Wiki media themes:edje-knob.png uploaded by Jean Rene Dawin --- media/themes/edje-knob.png | Bin 0 -> 2290 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/media/themes/edje-knob.png b/media/themes/edje-knob.png new file mode 100644 index 000..f97fa94 Binary files /dev/null and b/media/themes/edje-knob.png differ --
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=f3f1d1e5f7bd61188e72f2f9c193d8a2f2e1d51b commit f3f1d1e5f7bd61188e72f2f9c193d8a2f2e1d51b Author: Jean Rene Dawin Date: Wed Feb 22 14:44:08 2017 -0800 Wiki page knob_example changed with summary [] by Jean Rene Dawin --- pages/themes/knob_example.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt index 4af10bd..1076989 100644 --- a/pages/themes/knob_example.txt +++ b/pages/themes/knob_example.txt @@ -1,5 +1,5 @@ ~~Title: A knob theme for the Elementary slider widget~~ - Elementary slider behaving like a knob + Make an Elementary slider behave like a knob -Here is an example for an edje theme for a knob-like behaviour of an elementary slider widget. +Here is an example for an edje theme which makes an Elementary slider widget look and behave like a knob. It will look like this: --
[EGIT] [website/www-content] master 01/01: Wiki page knob_example changed with summary [created] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=d38790b2520ae1ee3909b820e9a37e29517bf1f0 commit d38790b2520ae1ee3909b820e9a37e29517bf1f0 Author: Jean Rene Dawin Date: Wed Feb 22 13:48:22 2017 -0800 Wiki page knob_example changed with summary [created] by Jean Rene Dawin --- pages/themes/knob_example.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/pages/themes/knob_example.txt b/pages/themes/knob_example.txt new file mode 100644 index 000..4af10bd --- /dev/null +++ b/pages/themes/knob_example.txt @@ -0,0 +1,5 @@ +~~Title: A knob theme for the Elementary slider widget~~ + + Elementary slider behaving like a knob + +Here is an example for an edje theme for a knob-like behaviour of an elementary slider widget. --
[EGIT] [website/www-content] master 01/01: Wiki page docs changed with summary [] by Jean Rene Dawin
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=46bf7ac786161555f2d28d44f1cf08a213d7bfd7 commit 46bf7ac786161555f2d28d44f1cf08a213d7bfd7 Author: Jean Rene Dawin Date: Wed Feb 22 13:41:05 2017 -0800 Wiki page docs changed with summary [] by Jean Rene Dawin --- pages/docs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/docs.txt b/pages/docs.txt index 2fbf3d2..470c18a 100644 --- a/pages/docs.txt +++ b/pages/docs.txt @@ -45,6 +45,7 @@ A core part of Enlightenment and EFL is the design/theme abstraction layer. This * [[about-eflete|Eflete]] - GUI Theme design tool * [[about-enventor|Enventor]] GUI Edje file design tool * [[themes/start|Getting started]] with Edje and themes at the EDC file level + * [[themes/knob_example|Edje theme example]] A knob theme for the Elementary slider widget === Debugging === --
Re: [E-devel] Enlightenment Developer Day 2015 Europe Schedule
Stefan Schmidt wrote on Thu 10/09/15 10:17: > Hello. > > The Call for Papers ended last Sunday and we now are able to present a > schedule for the Enlightenment Developer Day. > > 11:15 - 11:40 Escwyp - A Synthesizer Audio Program That Uses EFL/Elementary The sources for Escwyp can now be downloaded at http://laukitespauskite.de/escwyp.html Documentation is still a bit sparse, but it will grow. > Further details on location address, dinner, etc will be updated once we > have them. Are there any news regarding the location? Thanks, Jean Rene -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Blog about EO
Daniel Kolesa wrote on Thu 11/09/14 12:09: > 2014-09-11 12:00 GMT+01:00 Jean Rene Dawin : > > > On Mon, Sep 08, 2014 at 04:42:04PM +0300, Daniel Zaoui wrote: > > > Hi, > > > > > > On 09/08/14 16:16, Jean Rene Dawin wrote: > > > > On Sat, Aug 16, 2014 at 02:36:10PM +0900, Carsten Haitzler wrote: > > > >> About time i got back to blogging about EFL etc. > > > >> > > > >> > > https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/ > > > >> > > > > Hi, > > > > > > > > thanks for the explanations. Trying to reproduce the steps, the result > > of my tst.c > > > > differd a bit, though. I didn't get > > > > > > > > EOLIAN static void > > > > _tst_eo_base_constructor(Eo *obj, Tst_Data *pd) > > > > { > > > >eo_do_super(obj, TST_CLASS, eo_constructor()); > > > > } > > > > > > > > EOLIAN static void > > > > _tst_eo_base_destructor(Eo *obj, Tst_Data *pd) > > > > { > > > >eo_do_super(obj, TST_CLASS, eo_destructor()); > > > > } > > > > > > > > but instead > > > > > > > > EOLIAN static void > > > > _tst_class_constructor(Eo_Class *klass) > > > > { > > > > } > > > > EOLIAN static void > > > > _tst_class_destructor(Eo_Class *klass) > > > > { > > > > } > > > > > > > > Is there a more detailed documentation of the Eo-Syntax and API > > somewhere? > > > > Becuase the one on docs.enlightenment.org is not so verbose or maybe > > outdated. > > > > Is this because there will be more changes to Eo and things are not > > fixed yet? > > > > > > > > Thanks for your help, > > > > > > > > Jean Rene Dawin > > > > > > > > > > You should try with Base.constructor instead of class.constructor (same > > > for the destructor). > > > > > > You can look at https://phab.enlightenment.org/w/eolian/ for more docs > > > on the syntax. > > > > > > One of all the EFL Daniels > > > > Hi, > > > > thanks for the answers. The site you mentioned is indeed very informative > > about eo-file syntax. But what I'm more interested in is the whole > > mechanics of eo_add, eo_do and eo_add_custom and all those functions. For > > example I tried to do this > > > > #define EFL_BETA_API_SUPPORT > > #define EFL_EO_API_SUPPORT > > #include > > EAPI_MAIN int > > elm_main(int argc, char **argv){ > > eo_init(); > > Eo *win = eo_add(ELM_WIN_CLASS, NULL); > > eo_do(win, > > elm_obj_win_title_set("Nikotinamiddinukleotidphosphat") > > ); > > elm_run(); > > return 0; > > } > > ELM_MAIN() > > > > and while it compiled fine it threw runtime errors like > > > > ERR<818>:eo lib/eo/eo.c:1572 eo_error_set_internal() Error with obj > > '0x9500b30' at elm_win.c:3510. > > ERR<818>:elementary elm_win.c:3511 _elm_win_eo_base_constructor() only > > custom constructor can be used with 'Elm_Win' class > > ERR<818>:eo lib/eo/eo.c:953 _eo_add_internal_end() Object of class > > 'Elm_Win' - Not all of the object constructors have been executed. > > > > as I'm obviously using Eo/Elementary in a wrong manner, but I find it > > quite hard to understand from the source files like Eo.h, how it would be > > done the right way. > > So, I guess I will have to try harder :) > > > > You're supposed to use elm_win_add at this point to create the object. The > base constructor is explicitly overloaded to trigger this error. > Alternatively, you can use "eo_add_custom(ELM_WIN_CLASS, NULL, > elm_obj_win_constructor("foo", ELM_WIN_BASIC));". But that's pretty much > identical to what the "elm_win_add" function does. Ah, ok. Does "at this point" mean at the current state of the Eo implementation for Elementary? Is it planned to replace functions like evas_object_show() with Eo style functions, or are they planned to coexist? Thanks for the explanations, Jean Rene Dawin -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Blog about EO
On Mon, Sep 08, 2014 at 04:42:04PM +0300, Daniel Zaoui wrote: > Hi, > > On 09/08/14 16:16, Jean Rene Dawin wrote: > > On Sat, Aug 16, 2014 at 02:36:10PM +0900, Carsten Haitzler wrote: > >> About time i got back to blogging about EFL etc. > >> > >> https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/ > >> > > Hi, > > > > thanks for the explanations. Trying to reproduce the steps, the result of > > my tst.c > > differd a bit, though. I didn't get > > > > EOLIAN static void > > _tst_eo_base_constructor(Eo *obj, Tst_Data *pd) > > { > >eo_do_super(obj, TST_CLASS, eo_constructor()); > > } > > > > EOLIAN static void > > _tst_eo_base_destructor(Eo *obj, Tst_Data *pd) > > { > >eo_do_super(obj, TST_CLASS, eo_destructor()); > > } > > > > but instead > > > > EOLIAN static void > > _tst_class_constructor(Eo_Class *klass) > > { > > } > > EOLIAN static void > > _tst_class_destructor(Eo_Class *klass) > > { > > } > > > > Is there a more detailed documentation of the Eo-Syntax and API somewhere? > > Becuase the one on docs.enlightenment.org is not so verbose or maybe > > outdated. > > Is this because there will be more changes to Eo and things are not fixed > > yet? > > > > Thanks for your help, > > > > Jean Rene Dawin > > > > You should try with Base.constructor instead of class.constructor (same > for the destructor). > > You can look at https://phab.enlightenment.org/w/eolian/ for more docs > on the syntax. > > One of all the EFL Daniels Hi, thanks for the answers. The site you mentioned is indeed very informative about eo-file syntax. But what I'm more interested in is the whole mechanics of eo_add, eo_do and eo_add_custom and all those functions. For example I tried to do this #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT #include EAPI_MAIN int elm_main(int argc, char **argv){ eo_init(); Eo *win = eo_add(ELM_WIN_CLASS, NULL); eo_do(win, elm_obj_win_title_set("Nikotinamiddinukleotidphosphat") ); elm_run(); return 0; } ELM_MAIN() and while it compiled fine it threw runtime errors like ERR<818>:eo lib/eo/eo.c:1572 eo_error_set_internal() Error with obj '0x9500b30' at elm_win.c:3510. ERR<818>:elementary elm_win.c:3511 _elm_win_eo_base_constructor() only custom constructor can be used with 'Elm_Win' class ERR<818>:eo lib/eo/eo.c:953 _eo_add_internal_end() Object of class 'Elm_Win' - Not all of the object constructors have been executed. as I'm obviously using Eo/Elementary in a wrong manner, but I find it quite hard to understand from the source files like Eo.h, how it would be done the right way. So, I guess I will have to try harder :) Regards, Jean Rne Dawin -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Blog about EO
On Sat, Aug 16, 2014 at 02:36:10PM +0900, Carsten Haitzler wrote: > About time i got back to blogging about EFL etc. > > https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/ > Hi, thanks for the explanations. Trying to reproduce the steps, the result of my tst.c differd a bit, though. I didn't get EOLIAN static void _tst_eo_base_constructor(Eo *obj, Tst_Data *pd) { eo_do_super(obj, TST_CLASS, eo_constructor()); } EOLIAN static void _tst_eo_base_destructor(Eo *obj, Tst_Data *pd) { eo_do_super(obj, TST_CLASS, eo_destructor()); } but instead EOLIAN static void _tst_class_constructor(Eo_Class *klass) { } EOLIAN static void _tst_class_destructor(Eo_Class *klass) { } Is there a more detailed documentation of the Eo-Syntax and API somewhere? Becuase the one on docs.enlightenment.org is not so verbose or maybe outdated. Is this because there will be more changes to Eo and things are not fixed yet? Thanks for your help, Jean Rene Dawin -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] High CPU load with elementary slider widget
On Fri, Jun 27, 2014 at 05:56:09PM +0200, Cedric BAIL wrote: > Hello, > > On Sun, Jun 22, 2014 at 10:56 AM, wrote: > > since version 1.10 of elementary I experience high CPU loads (up to 99%) in > > applications > > that use the slider widget. An example is src/examples/slider_example.c > > from the elementary repo. > > Even if the the sliders are not visible by omitting evas_object_show() the > > load doesn't change. > > > > I only tried to do some stupid debugging in the hope it might be helpful. > > Otherwise I would be glad for suggestions how to find the cause of the > > problem. > > > > A run with callgrind suggested an increased number of calls (about a factor > > of 100) to > > _eo_call_resolve compared to a program without sliders. > > Also _edje_part_recalc is called more often (about a factor of 100). > > > > >From the EINA_LOG there are plenty (4000 for a ten second run) of messages > > >like: > > > > DBG<31365>:eo lib/eo/eo_base_class.c:908 _eo_base_constructor() 0x8004c464 > > - Eo_Base. > > DBG<31365>:eo lib/eo/eo_base_class.c:918 _eo_base_destructor() 0x8004c062 - > > Eo_Base. > > > > where for a comparable program without sliders there are only 100. > > > > The tests were run with version 1.10.99.10261 of Elementary and > > 1.10.99.26364 of EFL. > > With 1.9.5 this problem doesn't show up. > > Could you open a task on phab and attach your callgrind and other > information to it, please ? It may get lost here. Ok, I will do that. Regards, Jean Rene Dawin -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel