Re: [E-devel] Where is the edje preview program?
On Mon, 2009-04-27 at 10:40 +0800, Jianchun Zhou wrote: Hi, there: I am a beginner of EFL, from edje book ,I learned that there is a program named edje for previewing. But from the source tree, I don't find it Where is it? that book is rather old I guess. the edje program was removed a long time ago. You can preview edje files with either the edje_viewer or the edje_editor now. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Where is the edje preview program?
Thank you very much Viktor. But I am wondering is there any newer book for us beginners to learn EFL? Without good books, learning can be much more difficult. On Mon, Apr 27, 2009 at 2:14 PM, Viktor Kojouharov vkojouha...@gmail.comwrote: On Mon, 2009-04-27 at 10:40 +0800, Jianchun Zhou wrote: Hi, there: I am a beginner of EFL, from edje book ,I learned that there is a program named edje for previewing. But from the source tree, I don't find it Where is it? that book is rather old I guess. the edje program was removed a long time ago. You can preview edje files with either the edje_viewer or the edje_editor now. -- Best Regards -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Where is the edje preview program?
Thank you, I got it. On Mon, Apr 27, 2009 at 3:11 PM, Viktor Kojouharov vkojouha...@gmail.comwrote: On Mon, 2009-04-27 at 15:01 +0800, Jianchun Zhou wrote: Thank you very much Viktor. But I am wondering is there any newer book for us beginners to learn EFL? Without good books, learning can be much more difficult. The rest of the book should still apply. You probably won't learn the newer additions from it, but you'll get the basics. For everything else, look at all the .edc files in svn. Especially e/data/themes/default.edc (heavily documented for understanding) On Mon, Apr 27, 2009 at 2:14 PM, Viktor Kojouharov vkojouha...@gmail.com wrote: On Mon, 2009-04-27 at 10:40 +0800, Jianchun Zhou wrote: Hi, there: I am a beginner of EFL, from edje book ,I learned that there is a program named edje for previewing. But from the source tree, I don't find it Where is it? that book is rather old I guess. the edje program was removed a long time ago. You can preview edje files with either the edje_viewer or the edje_editor now. -- Best Regards -- Best Regards -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Problems handling a shelf on various resolutions
Hallo everyone, I'm having a hard time trying to figure out how to handle shelves extended to all the screen. I'm talking about shelves that are not automatically reduced to the contents size. Sorry I have an Italian system so I don't know how is this option called in reality.. Whatever, my problem is that I was trying to put some gadgets on the center of the shelf. I can freely move them of course, so, I positioned those gadgets on the center... then I added Itask on the left edge of the shelf and some modules on the right edge of the shelf. Now, this layout would be good for me, but as you know, I run a Linux distribution, therefore this should be a usable layout for everyone else too. But, when I resize my screen to a smaller resolution (to test it I'm using virtualbox, so I can just resize a window to see the screen resize as I wish), initially all gadgets are looking ok, the most important of all things is that the modules on the center are still on the center but... resizing the screen to a bigger resolution will mess everything up. ITask on the left keeps being on the left but the modules on the center move to the left side of the screen, staying attached to itask, and all of the modules on the right of the shelf move alone with those on the center too, leaving the right side of the shelf empty. Some times modules gets messed in a different way, like they all go on the right, or some stay on the left and others on the right... in general, changing resolution messes up their position. So, my question is, when using sheleves extended to the whole screen, is it impossible to handle gandgets so that they stay where they are in a relative position (rather than an absolute one) on every resolution? Is it imposdible to tell E17 that I'm putting a gadget on the CENTER of the screen and not on one side? All this, basically, makes shelves extended to the whole screen unusable in redistributable distros. If I'm missing something, please tell me how to solve this problems. Please see the attachments, I super compressed them so that they will not be too heavy. If you prefer me never to send pictures in the list, please tell me and next time I'll upload the pics on another server. Greets everyone, Luca -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Problems handling a shelf on various resolutions
2009/4/27 Luca De Marini luca.darkmas...@gmail.com Hallo everyone, I'm having a hard time trying to figure out how to handle shelves extended to all the screen. I'm talking about shelves that are not automatically reduced to the contents size. Sorry I have an Italian system so I don't know how is this option called in reality.. Whatever, my problem is that I was trying to put some gadgets on the center of the shelf. I can freely move them of course, so, I positioned those gadgets on the center... then I added Itask on the left edge of the shelf and some modules on the right edge of the shelf. Now, this layout would be good for me, but as you know, I run a Linux distribution, therefore this should be a usable layout for everyone else too. But, when I resize my screen to a smaller resolution (to test it I'm using virtualbox, so I can just resize a window to see the screen resize as I wish), initially all gadgets are looking ok, the most important of all things is that the modules on the center are still on the center but... resizing the screen to a bigger resolution will mess everything up. ITask on the left keeps being on the left but the modules on the center move to the left side of the screen, staying attached to itask, and all of the modules on the right of the shelf move alone with those on the center too, leaving the right side of the shelf empty. Some times modules gets messed in a different way, like they all go on the right, or some stay on the left and others on the right... in general, changing resolution messes up their position. So, my question is, when using sheleves extended to the whole screen, is it impossible to handle gandgets so that they stay where they are in a relative position (rather than an absolute one) on every resolution? Is it imposdible to tell E17 that I'm putting a gadget on the CENTER of the screen and not on one side? All this, basically, makes shelves extended to the whole screen unusable in redistributable distros. If I'm missing something, please tell me how to solve this problems. Please see the attachments, I super compressed them so that they will not be too heavy. If you prefer me never to send pictures in the list, please tell me and next time I'll upload the pics on another server. Sorry looks like my shots disappeared. Here are them uploaded on another server: http://opengeu.intilinux.com/screenshots/repositioning modules in shelf1.jpg http://opengeu.intilinux.com/screenshots/repositioning modules in shelf2.jpg http://opengeu.intilinux.com/screenshots/repositioning modules in shelf3.jpg Greets everyone, Luca -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Where is the edje preview program?
Hi, There are edje_viewer and edje_editor in trunk, edje_player in PROTO... Is it what you were looking for ? Regards Vincent Pomageot 2009/4/27 Zhou, Jianchun (周建春) jianchun.z...@asianux.com -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Replace Ecore_List2 with Eina_List
Sachiel is right, List2 is the same as Inlist, lists where the data is the node, you avoid a bit of memory fragmentation and also another pointer redirection (-data). They're better suited for elements that are always in a list (ie: Evas_Object always in evas), but you can still have them in other Eina_List (not inlist!) if you wish. The downside, at least at the moment, is that you don't have fast count operation, it need to walk the whole list in order to figure out how many elements exists. But you can append fast (O(1)) since it will keep a pointer to last element. On Sun, Apr 26, 2009 at 12:08 PM, Iván Briano (Sachiel) sachi...@gmail.com wrote: On Sun, Apr 26, 2009 at 6:09 AM, Albin Tonnerre albin.tonne...@gmail.com wrote: On Sun, Apr 26, 2009 at 10:48:40AM +0200, Vincent Torri wrote : On Sun, 26 Apr 2009, Albin Tonnerre wrote: Hello, The attached patches completely replace Ecore_List2 with Ecore_List. you mean with Eina_List ? Indeed. Thanks :) Ecore_List2 would probably be better replaced by Eina_Inlist. -- Albin Tonnerre -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn0JK8ACgkQIjAgwqfG8N9XKQCfYAkw4RDhUOM3DFGgGWpsAf9Q 3WUAnRGEBdY/FcnaVyk5MyVGaALP3iKF =G2mb -END PGP SIGNATURE- -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Replace Ecore_List2 with Eina_List
On Mon, Apr 27, 2009 at 09:18:39AM -0300, Gustavo Sverzut Barbieri wrote : Sachiel is right, List2 is the same as Inlist, lists where the data is the node, you avoid a bit of memory fragmentation. Eina_List can use the eina mempool, why Inlist can't, so I wouldn't say using Inlists reduce memory fragmentation. and also another pointer redirection (-data). That's the argument for using inlists in the kernel. I'm not sure how this applies to ecore. They're better suited for elements that are always in a list (ie: Evas_Object always in evas), but you can still have them in other Eina_List (not inlist!) if you wish. The downside, at least at the moment, is that you don't have fast count operation, it need to walk the whole list in order to figure out how many elements exists. But you can append fast (O(1)) since it will keep a pointer to last element. Eina_List too. Anyway, TBH I only did it this way because cedric advised me to do so. I'll change it to Eina_Inlists if you think that really would have a benefit, which I doubt. Regards, -- Albin Tonnerre signature.asc Description: Digital signature -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Replace Ecore_List2 with Eina_List
On Mon, Apr 27, 2009 at 10:15 AM, Albin Tonnerre albin.tonne...@gmail.com wrote: On Mon, Apr 27, 2009 at 09:18:39AM -0300, Gustavo Sverzut Barbieri wrote : Sachiel is right, List2 is the same as Inlist, lists where the data is the node, you avoid a bit of memory fragmentation. Eina_List can use the eina mempool, why Inlist can't, so I wouldn't say using Inlists reduce memory fragmentation. it does, since you'll always need the node itself, so you will always have that alloc. and also another pointer redirection (-data). That's the argument for using inlists in the kernel. I'm not sure how this applies to ecore. same. We're not as performance freaks, but easy savings where possible are always good ;-) They're better suited for elements that are always in a list (ie: Evas_Object always in evas), but you can still have them in other Eina_List (not inlist!) if you wish. The downside, at least at the moment, is that you don't have fast count operation, it need to walk the whole list in order to figure out how many elements exists. But you can append fast (O(1)) since it will keep a pointer to last element. Eina_List too. sure, I was actually saying that append is O(1) even if count is O(n). Usually they're the same, but not in inlist. Anyway, TBH I only did it this way because cedric advised me to do so. I'll change it to Eina_Inlists if you think that really would have a benefit, which I doubt. if they were using the inlist paradigm, then it's actually easier to use inlist... maybe you'll have to use some macros like EINA_INLIST_GET(), but that's C fault :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Replace Ecore_List2 with Eina_List
Albin Tonnerre schrieb: But you can append fast (O(1)) since it will keep a pointer to last element. Eina_List too. Anyway, TBH I only did it this way because cedric advised me to do so. I'll change it to Eina_Inlists if you think that really would have a benefit, which I doubt. Imho, the main benefit of Ecore_List2/Eina_Inlist is that you can remove an element with O(1) where as the same operation is O(n) for Eina_List, because you have to search the node for it first. Peter -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/emprint/src/bin
On Mon, 2009-04-27 at 14:52 -0700, Enlightenment SVN wrote: Log: Use eina_stringshare_replace. Free the cursor after it is set. Author: devilhorns Date: 2009-04-27 14:52:44 -0700 (Mon, 27 Apr 2009) New Revision: 40423 Modified: trunk/emprint/src/bin/main.c Modified: trunk/emprint/src/bin/main.c === --- trunk/emprint/src/bin/main.c 2009-04-27 21:33:49 UTC (rev 40422) +++ trunk/emprint/src/bin/main.c 2009-04-27 21:52:44 UTC (rev 40423) @@ -301,8 +301,7 @@ strftime(buf, sizeof(buf), %Y-%m-%d-%H%M%S.png, loctime); /* set the new filename */ snprintf(buf, sizeof(buf), %s/%s, opts-filename, strdup(buf)); - if (opts-filename) eina_stringshare_del(opts-filename); - opts-filename = eina_stringshare_add(buf); + eina_stringshare_replace(opts-filename, buf); return; } else @@ -373,8 +372,7 @@ } } /* set the new filename */ - if (opts-filename) eina_stringshare_del(opts-filename); - opts-filename = eina_stringshare_add(buf); + eina_stringshare_replace(opts-filename, buf); } static void @@ -464,8 +462,11 @@ ecore_x_keyboard_grab(input_window); /* set the mouse pointer */ - if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) - ecore_x_window_cursor_set(input_window, cursor); + if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) + { +ecore_x_window_cursor_set(input_window, cursor); +ecore_x_cursor_free(cursor); + } The ecore_x_cursor docs state that you should not free the cursor that you get with shape_get() /* setup handler to recieve key event */ key_hdl = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, @@ -517,8 +518,11 @@ _em_cb_mouse_down, NULL); /* set the mouse pointer */ - if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) - ecore_x_window_cursor_set(input_window, cursor); + if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) + { +ecore_x_window_cursor_set(input_window, cursor); +ecore_x_cursor_free(cursor); + } /* create the rubber band */ _em_band_show(); -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Why Epeg removed from EFL source tree?
hi, everybody: I found that Epeg was moved to OLD directory, does it mean that it will be removed some day? Is there any other lib can be used instead of Epeg? -- Best Regards -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel