Re: [E-devel] Demo: Make a complete e17 module in 10 minutes
On Sun, Nov 8, 2009 at 3:22 AM, Thanatermesis thanatermesis.e...@gmail.com wrote: Now the skel module is a bit more documented, at least more useful for who try to look at its code for the first time and want to understand how that works? without previous knowledges of E/EFL Now there's only one thing needed to motivate new ppl to make e17 modules, something to see. The ppl dont' read, not much ppl at least... the ppl are lazy to download something and to try it, the best is a tutorial explaining the creation of an e17 module, but finally, what's better for that than a video that shows how we can build and customize an e17 module in less than 10 minutes ? :) http://www.youtube.com/watch?v=abNsVyYTSkU Hope you like it :) That's an excellent idea ! I like your video a lot. What kind of tool did you use to do the video ? We need more of this kind of content for edje and elementary :-) Anyway great work ! -- Cedric BAIL -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Demo: Make a complete e17 module in 10 minutes
all I can say is . @$#%ing RAD!!! thanks :) 2009/11/8 Thanatermesis thanatermesis.e...@gmail.com Now the skel module is a bit more documented, at least more useful for who try to look at its code for the first time and want to understand how that works? without previous knowledges of E/EFL Now there's only one thing needed to motivate new ppl to make e17 modules, something to see. The ppl dont' read, not much ppl at least... the ppl are lazy to download something and to try it, the best is a tutorial explaining the creation of an e17 module, but finally, what's better for that than a video that shows how we can build and customize an e17 module in less than 10 minutes ? :) http://www.youtube.com/watch?v=abNsVyYTSkU Hope you like it :) Thanatermesis -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Demo: Make a complete e17 module in 10 minutes
On Sun, 8 Nov 2009, Gustavo Sverzut Barbieri wrote: I'll add this and some other thing as entry in the official e blog. about that, if you want, i maintain a kind of ECN in french. Maybe you will be interested: http://fr.enlightenment.org/ Vincent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Demo: Make a complete e17 module in 10 minutes
On Sun, Nov 8, 2009 at 11:02 AM, Vincent Torri vto...@univ-evry.fr wrote: On Sun, 8 Nov 2009, Gustavo Sverzut Barbieri wrote: I'll add this and some other thing as entry in the official e blog. about that, if you want, i maintain a kind of ECN in french. Maybe you will be interested: http://fr.enlightenment.org/ http://trac.enlightenment.org/e/blog/welcoming-new-developers add something like that to fr.e.o :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] add python binding for elm_list_item_label_set
On Sat, Nov 7, 2009 at 13:19, Nicolas Cavallari batch...@free.fr wrote: This patch adds the python equivalent for elm_list_item_label_set() by adding the method label_set() to elementary.ListItem I've committed your patch and improved elementary.List. Thank you. -- Boris 'billiob' Faure -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary
On Sun, Nov 8, 2009 at 11:50 AM, Enlightenment SVN no-re...@enlightenment.org wrote: +if not callable(callback): +raise TypeError(callback is not callable) you should do this check when you register the callback, not when you call it. Compare: you add one item at most 1 time, but call it multiple (N) times. - self.item = elm_list_item_append(list.obj, label, icon_obj, end_obj, _list_callback, NULL) - self._create_mapping(callback, data) + self.cbt = (list, callback, data, self) + self.item = elm_list_item_append(list.obj, label, icon_obj, end_obj, + _list_callback, void*self.cbt) I did not look this carefully, but I bet this is wrong, specially: +self.cbt = (list, callback, data, self) what's the use of it? If you append 2 times with different parameters, just the last one is kept... worse than this, the old value pointer by elm_list_item_append (C/internal) is the object that will be garbage collected after you assign the new object and make the old loose its last reference. The best solution here is to create the Python object that reference Python function and parameters (your cbt), then Py_INCREF it, then set it as data for C elm_list_item_{append,prepend,insert_before,intert_after}(), then set it as data elm_list_item_del_cb_set(), where you'd Py_DECREF. Of course we need to make sure we're calling del cb for all paths in Elm_list... (on object destroy, clear, etc). Also, we need to review this in whole Elementary... it was complicate to get right for evas/edje/ecore, but they are correct now... you need to check them or ask me, if we start to spread minor errors like this then we'll have hard time tracking these beasts after some time. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] patch for ecore
On Sat, Nov 7, 2009 at 11:44 AM, Mathieu Taillefumier mathieu.taillefum...@free.fr wrote: Hello, herewith a patch for ecore that implement the eina_log inside ecore for logging messages. I have been using the patch for some time now and nothing happened since then. I double check the patch and everything should be compiling without error, but since nobody is perfect I can not warranty the win modules will compile (normally they should). I think all main libraries are converted already. I still have to work on edje, emotion and e itself. sorry taking so long to reply, but here it goes: first of all, ecore-config is deprecated... so no need to really convert it, but it doesn't hurt much either. + ERR(ipc.prop.set(%s-%s,\%s\) = %d\n, theme ? theme-identifier : , + key, val, ret); good, you're using ERR() and should have no problems with win32... but the trailing \n is still there and eina log adds it as well :-/ +# define D(fmt,args...) do { if(DEBUG=0) DBG(fmt,## args); } while(0); +# define E(lvl,args...) do { if(DEBUG=(lvl)) ERR(## args); } while(0) these are bit useless, no need to do these in app/lib since it's done in eina. + WRN(you are using ecore_config structures. These are very young); + WRN( and not complete - you have been warned); similarly to previous where you left \n, this one was expected to be printed as one single phrase using previous debug, but now are 2 lines with prefix repeated... you better make it a single WRN() Last, make log domain variable -1 after unregister it: eina_log_domain_unregister(_ecore_imf_log_dom); + _ecore_imf_log_dom = -1; so we catch people calling module functions after it was shutdown. Eina log should not crash if you don't, but in some cases another domain may be registered with the same id and then you'll get wrong prefix and all. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: caro trunk/edje/src/lib
2009/11/7 Peter Wehrfritz peter.wehrfr...@web.de Gustavo Sverzut Barbieri wrote: On Tue, Nov 3, 2009 at 7:26 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: * rename _edje_strbuf_append to _edje_strbuf_append1 and _edje_strbuf_append2 in edje_util.c and edje_textblock_styles.c respectiveley (for amalgamation. See next commit) well, I really think strbuf should be in eina, this would remove similar code from edje, evas and others... but since we don't have it, why not move it to a common edje_strbuf.x and include it in both, doing a single include in amalgamation? Rephorm added ecore_strbuf along time ago to ecore. I think his intention was to use it in efreet, but I don't think it is used anywhere. I tryed to use ecore_strbuf, some weeks ago, I then switched to another implementation because it was buggy... Some times the string loose the last char. Maybe we should remove the strbuf code from ecore. DaveMDS Peter -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Edje] Animations in Edje
Hi all, i'm overriding the style for some elementary widgets. I want to change the style for toggles, i want a toggle like this: http://www.honeyrunapiaries.com/store/images/toggle_switch.jpg So i've made easly tha state changing at every mouse click thanks to Embryo, but noe i want to animate the change between on and off state. Here's a my button0 part with states for animation: part { name: button0; mouse_events: 1; description{ state: default 0.0; align:0.0 0.5; min:40 70; max:40 70; fixed:1 1; rel1.to:bg; rel2.to:bg; image.normal: toggle_0.png; } description{ state: step1 0.0; inherit: default 0.0; image.normal: toggle_1.png; } description{ state: step2 0.0; inherit: default 0.0; image.normal: toggle_2.png; } description{ state: step3 0.0; inherit: default 0.0; image.normal: toggle_3.png; } description{ state: step4 0.0; inherit: default 0.0; image.normal: toggle_4.png; } } And these are the scripts to manages the click and the animations of the button: program { name: switch; signal: mouse,down,1; source: button0; script{ new st[31]; new Float:vl; get_state(PART:button0, st, 30, vl); if(!strcmp(st, default)) run_program(PROGRAM:_anim_down_1); else run_program(PROGRAM:_anim_up_1); } } program { name: _anim_down_1; source: button0; action: STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_2; } program{ name: _anim_down_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_3; } program{ name: _anim_down_3; action:STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_4; } program{ name: _anim_down_4; action:STATE_SET step4 0.0; target: button0; transition: LINEAR 0.02; } program { name: _anim_up_1; source: button0; action: STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_2; } program{ name: _anim_up_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_3; } program{ name: _anim_up_3; action:STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_4; } program{ name: _anim_up_4; action:STATE_SET default 0.0; target: button0; transition: LINEAR 0.02; } I'm expecting that every click anims the button once down and once up, but it anims button down at EVERY click. What's wrong with my theme. Thank you, also for helping me on irc, you're great guys! -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary
On Sun, Nov 8, 2009 at 15:09, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Sun, Nov 8, 2009 at 11:50 AM, Enlightenment SVN no-re...@enlightenment.org wrote: + if not callable(callback): + raise TypeError(callback is not callable) you should do this check when you register the callback, not when you call it. Compare: you add one item at most 1 time, but call it multiple (N) times. Of course! - self.item = elm_list_item_append(list.obj, label, icon_obj, end_obj, _list_callback, NULL) - self._create_mapping(callback, data) + self.cbt = (list, callback, data, self) + self.item = elm_list_item_append(list.obj, label, icon_obj, end_obj, + _list_callback, void*self.cbt) I did not look this carefully, but I bet this is wrong, specially: + self.cbt = (list, callback, data, self) what's the use of it? If you append 2 times with different parameters, just the last one is kept... worse than this, the old value pointer by elm_list_item_append (C/internal) is the object that will be garbage collected after you assign the new object and make the old loose its last reference. The best solution here is to create the Python object that reference Python function and parameters (your cbt), then Py_INCREF it, then set it as data for C elm_list_item_{append,prepend,insert_before,intert_after}(), then set it as data elm_list_item_del_cb_set(), where you'd Py_DECREF. Of course we need to make sure we're calling del cb for all paths in Elm_list... (on object destroy, clear, etc). I've rewritten it, not exactly as you said, but i think it's ok. Also, we need to review this in whole Elementary... it was complicate to get right for evas/edje/ecore, but they are correct now... you need to check them or ask me, if we start to spread minor errors like this then we'll have hard time tracking these beasts after some time. I'll try to keep that in mind. -- Boris 'billiob' Faure -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] E17 - Virtual Desktop Settings - Independent Control Needed for Wrap Desktops (horizontal vertical)
Guys, Currently you have the ability to either wrap the virtual desktops in both the horizontal and vertical directions, --or-- your only other option is to turn wrap off which causes loss of, and all benefits provided by wrapping. On my 2 desktop 4 screen area setup (2 high x 4 wide), I want wrap on the left and right screen edges. but I don't want to wrap up on the top edge of desktop 1 or on the bottom edge of desktop 2. I simply want to be able to switch from desktop 1 -- desktop 2 by going down with the mouse, and I want to be able to switch from desktop 2 -- desktop 1 by going up with the mouse, but not have the vertical wrap frop the top of desktop 1 to the bottom of desktop 2 by ging up or wrap from the bottom of desktop 2 to the top of desktop 1. In other words I was the ability to wrap horizontally, but the ability to turn off the wrap in the vertical direction. In the Virtual Desktop Seeting dialog, the user should be able to independently choose whether to wrap in the vertical direction. the horizontal direction, or wrap in both directions. Then the user could constrain the mouse to NOT wrap UP from the top area and not wrap down below the bottom desktop, while maintaining the ability to wrap left--right from desktop area 1 -- 4 or 4 -- 1, respectively. I don't know how difficult it would be to split the 'wrap on/off' into 'wrap horizontal on/off' and 'wrap vertical on/off', but just thinking through it , it seems like something that sould be fairly easy. Please give it some thought. That would add flexibility and user control while eliminating some of the problems of using auto-hide on the shelfs at the bottom of the screen (where you attempt to look at (unhide) your itask or ibar and end up wrapping down to the next desktop. Thank you for all your hard work :-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] patch for ecore
On Sat, Nov 7, 2009 at 11:44 AM, Mathieu Taillefumier mathieu.taillefum...@free.fr wrote: Hello, herewith a patch for ecore that implement the eina_log inside ecore for logging messages. I have been using the patch for some time now and nothing happened since then. I double check the patch and everything should be compiling without error, but since nobody is perfect I can not warranty the win modules will compile (normally they should). I think all main libraries are converted already. I still have to work on edje, emotion and e itself. sorry taking so long to reply, but here it goes: first of all, ecore-config is deprecated... so no need to really convert it, but it doesn't hurt much either. + ERR(ipc.prop.set(%s-%s,\%s\) = %d\n, theme ? theme-identifier : , + key, val, ret); good, you're using ERR() and should have no problems with win32... but the trailing \n is still there and eina log adds it as well :-/ Learn it from converting evas to eina_log :-). +# define D(fmt,args...) do { if(DEBUG=0) DBG(fmt,## args); } while(0); +# define E(lvl,args...) do { if(DEBUG=(lvl)) ERR(## args); } while(0) these are bit useless, no need to do these in app/lib since it's done in eina. I cleaned up my previous patch and corrected some errors I did not spot the first time. the list of changes is the following : - the messages have been suppressed when necessary. - the ecore_config file was changed following the suggestions of Gustavo :-). - finally add some additional line _ecore_module_name_log_dom = -1; after unregistering a log domain. I applied this to all the modules (including the windows one) Best Mathieu -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary
Gustavo Sverzut Barbieri a écrit : Also, we need to review this in whole Elementary... it was complicate to get right for evas/edje/ecore, but they are correct now... you need to check them or ask me, if we start to spread minor errors like this then we'll have hard time tracking these beasts after some time. on a totally unrelated note, coincidentally, Today i discovered a crash in my python-elementary application related to callbacks : randomly, i would get uncaught exceptions (like TypeError: 'edje.c_edje.Edje' object is not callable) and/or segfaults in the _hoversel_callback function which is similar to this _list_callback. After adding some print-debugging, i found out there must be a problems with the callback system : The objects that i get from the self.cbs object are completely changed and unrelated to the original. I get string and objects that are used somewhere else, or strange tuples of null objects from hell. Some examples : cbt is ((NULL, NULL, NULL, NULL), 'p', Direction left object, 'o') Traceback (most recent call last): File elementary.c_elementary_hoversel.pxi, line 29, in elementary.c_elementary._hoversel_callback (elementary/elementary.c_elementary.c:14693) TypeError: 'str' object is not callable Segmentation Fault printing the id of the objects (only two items on this hoversel) cbt : 159092164 (159122508, 159089004, 159284544, 159110764) cbt : 159092244 (159122508, 159092204, 159284736, 159110732) and when crashing, it is : cbt : 159092244 (159092164, 3077584800, 159114892, 3077688544) so the cbt seems to have it's objects overwritten. this crash can be triggered by adding a callback in hoversel's test, launching it, using lots of other test, then using the hoversel test. i'm out of idea on this one. maybe it's just my system (using debian sid and python 2.5.4). -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E17 - Virtual Desktop Settings - Independent Control Needed for Wrap Desktops (horizontal vertical)
On Sun, 2009-11-08 at 14:25 -0600, David C. Rankin wrote: Guys, Currently you have the ability to either wrap the virtual desktops in both the horizontal and vertical directions, --or-- your only other option is to turn wrap off which causes loss of, and all benefits provided by wrapping. On my 2 desktop 4 screen area setup (2 high x 4 wide), I want wrap on the left and right screen edges. but I don't want to wrap up on the top edge of desktop 1 or on the bottom edge of desktop 2. I simply want to be able to switch from desktop 1 -- desktop 2 by going down with the mouse, and I want to be able to switch from desktop 2 -- desktop 1 by going up with the mouse, but not have the vertical wrap frop the top of desktop 1 to the bottom of desktop 2 by ging up or wrap from the bottom of desktop 2 to the top of desktop 1. In other words I was the ability to wrap horizontally, but the ability to turn off the wrap in the vertical direction. In the Virtual Desktop Seeting dialog, the user should be able to independently choose whether to wrap in the vertical direction. the horizontal direction, or wrap in both directions. Then the user could constrain the mouse to NOT wrap UP from the top area and not wrap down below the bottom desktop, while maintaining the ability to wrap left--right from desktop area 1 -- 4 or 4 -- 1, respectively. I don't know how difficult it would be to split the 'wrap on/off' into 'wrap horizontal on/off' and 'wrap vertical on/off', but just thinking through it , it seems like something that sould be fairly easy. Please give it some thought. That would add flexibility and user control while eliminating some of the problems of using auto-hide on the shelfs at the bottom of the screen (where you attempt to look at (unhide) your itask or ibar and end up wrapping down to the next desktop. Thank you for all your hard work :-) this should already be possible if you go to the edge bindings dialog and delete the wrap bindings for the top and bottom edges -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: billiob trunk/BINDINGS/python/python-elementary/elementary
On Sun, Nov 8, 2009 at 22:09, Nicolas Cavallari batch...@free.fr wrote: Gustavo Sverzut Barbieri a écrit : Also, we need to review this in whole Elementary... it was complicate to get right for evas/edje/ecore, but they are correct now... you need to check them or ask me, if we start to spread minor errors like this then we'll have hard time tracking these beasts after some time. on a totally unrelated note, coincidentally, Today i discovered a crash in my python-elementary application related to callbacks : randomly, i would get uncaught exceptions (like TypeError: 'edje.c_edje.Edje' object is not callable) and/or segfaults in the _hoversel_callback function which is similar to this _list_callback. After adding some print-debugging, i found out there must be a problems with the callback system : The objects that i get from the self.cbs object are completely changed and unrelated to the original. I get string and objects that are used somewhere else, or strange tuples of null objects from hell. Some examples : cbt is ((NULL, NULL, NULL, NULL), 'p', Direction left object, 'o') Traceback (most recent call last): File elementary.c_elementary_hoversel.pxi, line 29, in elementary.c_elementary._hoversel_callback (elementary/elementary.c_elementary.c:14693) TypeError: 'str' object is not callable Segmentation Fault printing the id of the objects (only two items on this hoversel) cbt : 159092164 (159122508, 159089004, 159284544, 159110764) cbt : 159092244 (159122508, 159092204, 159284736, 159110732) and when crashing, it is : cbt : 159092244 (159092164, 3077584800, 159114892, 3077688544) so the cbt seems to have it's objects overwritten. this crash can be triggered by adding a callback in hoversel's test, launching it, using lots of other test, then using the hoversel test. i'm out of idea on this one. maybe it's just my system (using debian sid and python 2.5.4). You've found a bug! I should have fixed in my latest commits. You need to update both elementary and python-elementary. -- Boris 'billiob' Faure -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Add 'print' key binding as default for screenshot
Guys, Working through the key bindings, one that I had do add was the 'print' key for ksnapshot (or gsnapshot, grab, etc..). Maybe it could be added by default attached to e-something that would take a screenshot. Also, I noticed that the 'win' key isn't utilized. I have added win+(up,down,left,right) (iconify, flip desktop down, window moving: to previous, window moving: to next) These to could make convenient defaults. Thanks! -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Add 'print' key binding as default for screenshot
David C. Rankin wrote: Guys, Working through the key bindings, one that I had do add was the 'print' key for ksnapshot (or gsnapshot, grab, etc..). Maybe it could be added by default attached to e-something that would take a screenshot. Also, I noticed that the 'win' key isn't utilized. I have added win+(up,down,left,right) (iconify, flip desktop down, window moving: to previous, window moving: to next) These to could make convenient defaults. Thanks! You could bind this key to 'emprint' if you have that library installed. It's like scrot, but updated to use EFL libraries. dh -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Edje] Animations in Edje
Why not use a tween? You'd end up having something like this, part {button {state: off } {state: animon tween} state: on } {state: animoff tween} } But of course, a bit more correct. And you can imagine the proram{} parts. Sorry if this is wrong or incorrect, I just woke up. -Toma. 2009/11/9 Carlo Ascani carlo.r...@gmail.com: Hi all, i'm overriding the style for some elementary widgets. I want to change the style for toggles, i want a toggle like this: http://www.honeyrunapiaries.com/store/images/toggle_switch.jpg So i've made easly tha state changing at every mouse click thanks to Embryo, but noe i want to animate the change between on and off state. Here's a my button0 part with states for animation: part { name: button0; mouse_events: 1; description{ state: default 0.0; align:0.0 0.5; min:40 70; max:40 70; fixed:1 1; rel1.to:bg; rel2.to:bg; image.normal: toggle_0.png; } description{ state: step1 0.0; inherit: default 0.0; image.normal: toggle_1.png; } description{ state: step2 0.0; inherit: default 0.0; image.normal: toggle_2.png; } description{ state: step3 0.0; inherit: default 0.0; image.normal: toggle_3.png; } description{ state: step4 0.0; inherit: default 0.0; image.normal: toggle_4.png; } } And these are the scripts to manages the click and the animations of the button: program { name: switch; signal: mouse,down,1; source: button0; script{ new st[31]; new Float:vl; get_state(PART:button0, st, 30, vl); if(!strcmp(st, default)) run_program(PROGRAM:_anim_down_1); else run_program(PROGRAM:_anim_up_1); } } program { name: _anim_down_1; source: button0; action: STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_2; } program{ name: _anim_down_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_3; } program{ name: _anim_down_3; action:STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_4; } program{ name: _anim_down_4; action:STATE_SET step4 0.0; target: button0; transition: LINEAR 0.02; } program { name: _anim_up_1; source: button0; action: STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_2; } program{ name: _anim_up_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_3; } program{ name: _anim_up_3; action:STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_4; } program{ name: _anim_up_4; action:STATE_SET default 0.0; target: button0; transition: LINEAR 0.02; } I'm expecting that every click anims the button once down and once up, but it anims button down at EVERY click. What's wrong with my theme. Thank you, also for helping me on irc, you're great guys! -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net
[E-devel] elock does not unlock on openSuSE, works fine on Arch Linux - I can't figure it out??
Guys, Dmitry I have now installed e16 and e17 on 9 (4 Arch Linux, 5 openSuSE) boxes and one thing is clear, there is a problem with the screen lock on all the openSuSE boxes. In the prior posts the general consensus was that there is some problem with the unlock interface with pam or other auth package on suse. No matter what I do, there is no way to unlock the suse boxes other than ctrl+f1 and killing X and restarting. Currently I am running E17-svn_20091012_r43036-3.2 (from the X11/Enlightenment) repository for the suse boxes. (Dmitry, the same problem effected your packages as well) The issue effects both i586 and x86_64 packages, so it is a generic authorization issue. I am currently in the process of downloading the latest suse rpms and I will check there and report back (E17-svn_20091012_r43036-3.4.i586.rpm) In contrast, all of the Arch Linux boxes unlock perfectly. On Arch, the package version is: e-svn 43431-1. I don't know if the lock issue was fixed between snapshots 43036 and 43431 (if I'm reading the version info correctly), but it is a significant issue if you have updates running or something and the screen locks (I know about presentation mode). Being new to the list, I don't know what the policy (historical norms) are for issues like this and whether you want a bug opened or if you would like to flesh the issue out a bit before a bug gets posted (I don't mind doing the footwork to author the repot, if needed). Thus my post. What say the developers? What additional informtation would you like to see, and do you want me to open a ticket or discuss the issue here to see if we can get a better handle on it? Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Fix everything module compilation
this patch fix compilation of everything module after cedric's changes on ecore_thread API. -- Nicolas Aguirre Mail: aguirre.nico...@gmail.com Web: http://www.digital-corner.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Edje] Animations in Edje
edje doesn't make any assumptions on how exactly to produce the change between the two image normals. you will have to do that manually, and to do that the most used method is to have two image parts with same-name states (like default and active) with your method of transition (sliding or changing the color between the two states) On Sun, 2009-11-08 at 19:51 +0100, Carlo Ascani wrote: Hi all, i'm overriding the style for some elementary widgets. I want to change the style for toggles, i want a toggle like this: http://www.honeyrunapiaries.com/store/images/toggle_switch.jpg So i've made easly tha state changing at every mouse click thanks to Embryo, but noe i want to animate the change between on and off state. Here's a my button0 part with states for animation: part { name: button0; mouse_events: 1; description{ state: default 0.0; align:0.0 0.5; min:40 70; max:40 70; fixed:1 1; rel1.to:bg; rel2.to:bg; image.normal: toggle_0.png; } description{ state: step1 0.0; inherit: default 0.0; image.normal: toggle_1.png; } description{ state: step2 0.0; inherit: default 0.0; image.normal: toggle_2.png; } description{ state: step3 0.0; inherit: default 0.0; image.normal: toggle_3.png; } description{ state: step4 0.0; inherit: default 0.0; image.normal: toggle_4.png; } } And these are the scripts to manages the click and the animations of the button: program { name: switch; signal: mouse,down,1; source: button0; script{ new st[31]; new Float:vl; get_state(PART:button0, st, 30, vl); if(!strcmp(st, default)) run_program(PROGRAM:_anim_down_1); else run_program(PROGRAM:_anim_up_1); } } program { name: _anim_down_1; source: button0; action: STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_2; } program{ name: _anim_down_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_3; } program{ name: _anim_down_3; action:STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_down_4; } program{ name: _anim_down_4; action:STATE_SET step4 0.0; target: button0; transition: LINEAR 0.02; } program { name: _anim_up_1; source: button0; action: STATE_SET step3 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_2; } program{ name: _anim_up_2; action:STATE_SET step2 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_3; } program{ name: _anim_up_3; action:STATE_SET step1 0.0; target: button0; transition: LINEAR 0.02; after: _anim_up_4; } program{ name: _anim_up_4; action:STATE_SET default 0.0; target: button0; transition: LINEAR 0.02; } I'm expecting that every click anims the button once down and once up, but it anims button down at EVERY click. What's wrong with my theme. Thank you, also for helping me on irc, you're great guys! -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Re: [E-devel] [Edje] Animations in Edje
2009/11/9 Tom Haste tomha...@gmail.com Why not use a tween? You'd end up having something like this, Cause tween is intended for looping animation, if i have learn correctly. I need an animation between two differente images, playing only once at time. Anyway animations (up and down) work, the problem is in the script that should alternate them... -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Edje] Animations in Edje
Not always, tween is for animating stuff that needs multiple images. Look at the click tween in the pointer code in the theme. It is however used for the busy animation that loops in the theme as well. If its working for you now, then I guess you can fix it. http://wiki.enlightenment.org/index.php/Embryo/Examples/counting This example isnt exactly the same, buts its just 1 way you could go about it. Also you could have a program structure like this... program{ click, (if int=0)animate, set_int 1 click, (if int=1)animate, set_int 0 } Hope this is helpful... -Toma 2009/11/9 Carlo Ascani carlo.r...@gmail.com: 2009/11/9 Tom Haste tomha...@gmail.com Why not use a tween? You'd end up having something like this, Cause tween is intended for looping animation, if i have learn correctly. I need an animation between two differente images, playing only once at time. Anyway animations (up and down) work, the problem is in the script that should alternate them... -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Edje] Animations in Edje
On Mon, 9 Nov 2009 01:24:20 +0100 Carlo Ascani carlo.r...@gmail.com said: luck for you, i saw this one coming a mile off years ago. edje has a feature precisely for this. notice with the descriptiosn of states u have that mysetious 0.0 value after the name and have always wondered what the hell is that? useless waste of my typing!. well.. wonder no more. part { name: switch; description { state: default 0.0; image.normal: im0.png; } description { state: default 0.2; image.normal: im1.png; } description { state: default 0.4; image.normal: im2.png; } description { state: default 0.6; image.normal: im3.png; } description { state: default 0.8; image.normal: im4.png; } description { state: default 1.0; image.normal: im5.png; } } and you know how u can set state: action: STATE_SET default 0.0; well the 0.0 now can be N where N is 0.0 to 1.0 - you can use ANY value you like. edje automatically choses the state with that name and the closest VALUE. you define a set of N values (1 or more - suggestion is to include 0.0 and 1.0 and then more values in between). so set state to default 0.13187 and it will see the closest is 0.2 - and use that. you can use transitions that make this value go from 0.0 to 1.0 for example and it will tween and choose the states in between as it goes. or should. you can use embryo (or now lua too) to set the state and programmatically determine the value to use (from 0.0 to 1.0). cpufreq in e17's theme uses this for instance :) 2009/11/9 Tom Haste tomha...@gmail.com Why not use a tween? You'd end up having something like this, Cause tween is intended for looping animation, if i have learn correctly. I need an animation between two differente images, playing only once at time. Anyway animations (up and down) work, the problem is in the script that should alternate them... -- Carlo Ascani La politica pratica consiste nell'ignorare i fatti. (Henry Adams) C programmers never die. They are just cast into void. - msn: bradw...@hotmail.it cell: 320 2915799 Visita www.ptondo.it -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elock does not unlock on openSuSE, works fine on Arch Linux - I can't figure it out??
On Sunday 08 November 2009 18:32:45 David C. Rankin wrote: Guys, Dmitry I have now installed e16 and e17 on 9 (4 Arch Linux, 5 openSuSE) boxes and one thing is clear, there is a problem with the screen lock on all the openSuSE boxes. In the prior posts the general consensus was that there is some problem with the unlock interface with pam or other auth package on suse. No matter what I do, there is no way to unlock the suse boxes other than ctrl+f1 and killing X and restarting. Currently I am running E17-svn_20091012_r43036-3.2 (from the X11/Enlightenment) repository for the suse boxes. (Dmitry, the same problem effected your packages as well) The issue effects both i586 and x86_64 packages, so it is a generic authorization issue. I am currently in the process of downloading the latest suse rpms and I will check there and report back (E17-svn_20091012_r43036-3.4.i586.rpm) In contrast, all of the Arch Linux boxes unlock perfectly. On Arch, the package version is: e-svn 43431-1. I don't know if the lock issue was fixed between snapshots 43036 and 43431 (if I'm reading the version info correctly), but it is a significant issue if you have updates running or something and the screen locks (I know about presentation mode). Being new to the list, I don't know what the policy (historical norms) are for issues like this and whether you want a bug opened or if you would like to flesh the issue out a bit before a bug gets posted (I don't mind doing the footwork to author the repot, if needed). Thus my post. What say the developers? What additional informtation would you like to see, and do you want me to open a ticket or discuss the issue here to see if we can get a better handle on it? Thanks. Hi, Please look at this ticket: http://trac.enlightenment.org/e/ticket/257 I am sure the devs would appreciate any debug log that you can provide. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Fix everything module compilation
this patch fix compilation of everything module after cedric's changes on ecore_thread API. I don't think that the patch is attached Vincent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Fix everything module compilation
On Mon, 9 Nov 2009, Nicolas Aguirre wrote: this patch fix compilation of everything module after cedric's changes on ecore_thread API. on the other hand, this is fixed: http://trac.enlightenment.org/e/changeset?new=43503%40trunk%2Fe%2Fsrc%2Fmodules%2Feverything%2Fsources%2Fevry_plug_dir_browse.cold=42921%40trunk%2Fe%2Fsrc%2Fmodules%2Feverything%2Fsources%2Fevry_plug_dir_browse.c are you sure that you also installed ecore ? Vincent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel