Re: [E-devel] Windows EFL leaking Handles
See attached file. This is the output from the codeproject application. I also went to ecore and printed to see how ecore was calling evil time. Maybe those handles are not being closed? Clueless at this point. I will send you the ddraw test case in sometime. On Sat, Mar 3, 2012 at 12:49 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 8:15 AM, HariHara Sudhan h...@emo2.com wrote: I tried running the ecore animator example as is. No modifications and the problem persists. The problem is as follows: - TImer is created - Timer continuously creates handles - TImer is deleted - handle creation process comes to a stop If the timer is allowed to continue, Handles are still leaking and real bad. If you let things run with 5 or 6 timers for a couple of hours the computer pretty much grinds to a halt. but does the codeproject program report some useful informations, like the GDI functions that are leaking ? If not, this program is of no use --- Also again any ideas on the directdraw problem? Anyone? As I said, if the user changes the screen orientation. The drirectdraw canvas dies. Blacks out. I am assuming it is because the graphics device is taken over by windows to change the screen orientation. The ddraw canvas is unable to get the device back once the screen orientation is changed. a bug in the directdraw engine. Do you have a minimal test case ? Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan --Mail Slot HANDLE -- 0x5e1540 C:\Windows\system32\MSCTF.dll C:\Windows\system32\MSCTF.dll C:\Windows\system32\MSCTF.dll C:\Windows\system32\MSCTF.dll C:\Windows\system32\MSCTF.dll C:\Windows\system32\MSCTF.dll C:\Windows\system32\IMM32.DLL C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\system32\USER32.dll C:\Windows\SYSTEM32\ntdll.dll C:\Windows\system32\USER32.dll - -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
Please find attached the test case for checking ddraw bug. On Sat, Mar 3, 2012 at 1:36 PM, HariHara Sudhan h...@emo2.com wrote: See attached file. This is the output from the codeproject application. I also went to ecore and printed to see how ecore was calling evil time. Maybe those handles are not being closed? Clueless at this point. I will send you the ddraw test case in sometime. On Sat, Mar 3, 2012 at 12:49 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 8:15 AM, HariHara Sudhan h...@emo2.com wrote: I tried running the ecore animator example as is. No modifications and the problem persists. The problem is as follows: - TImer is created - Timer continuously creates handles - TImer is deleted - handle creation process comes to a stop If the timer is allowed to continue, Handles are still leaking and real bad. If you let things run with 5 or 6 timers for a couple of hours the computer pretty much grinds to a halt. but does the codeproject program report some useful informations, like the GDI functions that are leaking ? If not, this program is of no use --- Also again any ideas on the directdraw problem? Anyone? As I said, if the user changes the screen orientation. The drirectdraw canvas dies. Blacks out. I am assuming it is because the graphics device is taken over by windows to change the screen orientation. The ddraw canvas is unable to get the device back once the screen orientation is changed. a bug in the directdraw engine. Do you have a minimal test case ? Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan -- Regards HariHaraSudhan attachment: logo.png #include Ecore.h #include Ecore_Evas.h #includeEvil.h #include Evas.h Ecore_Timer *timer; int times = 0; Eina_Bool timer_cb(void *data) { if (times++ == 1000) { printf(Don Don \n); fflush(stdout); ecore_timer_del(timer); return EINA_FALSE; } return EINA_TRUE; } int main(int argc, char *argv[]) { Ecore_Evas *ee; Evas *evas; ecore_evas_init(); ee = ecore_evas_new(software_ddraw, 0, 0, 700, 500, NULL); ecore_evas_show(ee); evas = ecore_evas_get(ee); Evas_Object *obj; obj = evas_object_rectangle_add(evas); evas_object_color_set(obj, 255, 255, 255, 255); evas_object_move(obj, 100, 100); evas_object_resize(obj, 100, 100); evas_object_show(obj); obj = evas_object_image_add(evas); evas_object_image_file_set(obj, logo.png, NULL); evas_object_image_filled_set(obj, EINA_TRUE); evas_object_move(obj, 300, 50); evas_object_resize(obj, 300, 300); evas_object_show(obj); timer = ecore_timer_add(.03, timer_cb, NULL); ecore_main_loop_begin(); return 0; } -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor trunk/elementary/src/bin
On 03/03/2012 02:29 AM, Daniel Juyung Seo wrote: Hello, On Fri, Mar 2, 2012 at 5:34 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: Since the order is important, why not use single select and dnd to sort the list? Like this, the reason for multiselect isn't communicated at all. Only people who know that elm has fallbacks could conclude this. Agreed. This is a better solution :) Daniel Juyung Seo (SeoZ) Agreed. dh 2012/3/1 Enlightenment SVNno-re...@enlightenment.org: Log: @68591: multiselect here is intentional to allow for theme overlays try asking in irc or mailing list before randomly changing things like this. Author: discomfitor Date: 2012-03-01 12:16:28 -0800 (Thu, 01 Mar 2012) New Revision: 68592 Trac: http://trac.enlightenment.org/e/changeset/68592 Modified: trunk/elementary/src/bin/config.c Modified: trunk/elementary/src/bin/config.c === -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz IN trunk/elementary/src: bin lib
Hi Dan, Could you also export this callback in the introspection? See the other widgets for callback description. On Saturday, March 3, 2012, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elm multibuttonentry: Revised codes. 1. fixed formatting. 2. renamed smart callback shrank - contracted I just renamed this smart callback without backport because multibuttonentry committed recently and backport will be removed in a couple of days (elm 1.0 api freeze) Signed-off-by: Daniel Juyung Seo seojuy...@gmail.com Author: seoz Date: 2012-03-02 22:11:50 -0800 (Fri, 02 Mar 2012) New Revision: 68639 Trac: http://trac.enlightenment.org/e/changeset/68639 Modified: trunk/elementary/src/bin/test_multibuttonentry.c trunk/elementary/src/lib/elc_multibuttonentry.c trunk/elementary/src/lib/elc_multibuttonentry.h Modified: trunk/elementary/src/bin/test_multibuttonentry.c === --- trunk/elementary/src/bin/test_multibuttonentry.c2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/bin/test_multibuttonentry.c2012-03-03 06:11:50 UTC (rev 68639) @@ -94,11 +94,11 @@ // contracted smart callback static void -_shrank_cb(void *data __UNUSED__, +_contracted_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - printf(shrank!\n); + printf(contracted!\n); } // contracted,state,changed smart callback @@ -164,7 +164,7 @@ evas_object_smart_callback_add(mbe, unfocused, _mbe_unfocused_cb, NULL); evas_object_smart_callback_add(mbe, expanded, _expanded_cb, NULL); - evas_object_smart_callback_add(mbe, shrank, _shrank_cb, NULL); + evas_object_smart_callback_add(mbe, contracted, _contracted_cb, NULL); evas_object_smart_callback_add(mbe, shrink,state,changed, _shrink_state_changed_cb, NULL); evas_object_resize(mbe, 220, 300); Modified: trunk/elementary/src/lib/elc_multibuttonentry.c === --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-03 06:11:50 UTC (rev 68639) @@ -113,10 +113,10 @@ static Evas_Coord _calculate_item_max_height(Evas_Object *box, Evas_Object_Box_Data *priv, int obj_index); static void _box_layout_cb(Evas_Object *o, Evas_Object_Box_Data *priv, void *data); static void _item_text_set_hook(Elm_Object_Item *it, - const char *part, - const char *label); -static const char * _item_text_get_hook(const Elm_Object_Item *it, -const char *part); +const char *part, +const char *label); +static const char *_item_text_get_hook(const Elm_Object_Item *it, + const char *part); // XXX: use evas_object_smart_callback_descriptions_set for smart callbacks. @@ -254,7 +254,7 @@ evas_object_geometry_get(wd-box, NULL, NULL, w, h); if (wd-h_box h) evas_object_smart_callback_call (data, expanded, NULL); - else if (wd-h_box h) evas_object_smart_callback_call (data, shrank, NULL); + else if (wd-h_box h) evas_object_smart_callback_call (data, contracted, NULL); wd-w_box = w; wd-h_box = h; @@ -534,7 +534,7 @@ } static void -_set_label(Evas_Object *obj, const char* str) +_set_label(Evas_Object *obj, const char *str) { Widget_Data *wd = elm_widget_data_get(obj); @@ -573,7 +573,7 @@ } static void -_set_guidetext(Evas_Object *obj, const char* str) +_set_guidetext(Evas_Object *obj, const char *str) { Widget_Data *wd = elm_widget_data_get(obj); Modified: trunk/elementary/src/lib/elc_multibuttonentry.h === --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-03 06:11:50 UTC (rev 68639) @@ -16,9 +16,8 @@ * - @c focused - when multibuttonentry is focused. * - @c unfocused - when multibuttonentry is unfocused. * - @c expanded - when multibuttonentry is expanded. - * XXX: shrank - contracted - * - @c shrank - when multibuttonentry is shrank. - * - @c shrank,state,changed - when shrink mode state of multibuttonentry is + * - @c contracted - when multibuttonentry is contracted. + * - @c shrink,state,changed - when shrink mode state of multibuttonentry is * changed. * * Default text parts of the multibuttonentry widget that you can use for are: -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing
Re: [E-devel] : Elementary: Elm_colorpalette - New widget patch
What is your take on my initial review? Merging this with color selector and automatically change between modes, with an option to fix a mode. This would provide us with more flexibility. For instance most of palette users (apps) will need to handle color selection. Then there is code to write to toggle between them and exchange values. Also, this more I suggest could take different compile or runtime option to be smart and present both at the same time if screen size allows (desktop or tablet). Or do a transition and layout more familiar to the platform, providing greater consistency. Alternatively we could have these 2 in separate and then a 3 one elc to combine them, but we did this for others and now we all suffer the pain :-/ On Friday, March 2, 2012, Carsten Haitzler ras...@rasterman.com wrote: On Tue, 28 Feb 2012 13:05:33 +0900 ChunEon Parkher...@naver.com said: well my comment still stands - without being able to load a named palettes, save it. you didnt address # 6 - where u get an object item returned then u use color number (index) to address it. thats a bit inconsistent. Here is a Shilpa’s mail forwarded(shilpa.si...@samsung.com) Hi, Please find attached updated patch of new widget colorpalette with review comment fixes. Change Description: New widget elm_colorpalette is added. ColorPalette is a color selection widget. It allows the user to set a series of colors. The colors can be picked by user from the color set by clicking on individual color item. All the review comments given below from 1-7 have been fixed. 3. support totally custom colorset (clear+add/change your colors) Fixed.[ elm_colorpalette_color_add, elm_colorpalette_clear APIs are supported ] 4. use a better layout (flow/wrap - yes, i know.. there is a bug there that elm test brings out - u can expand, but not contract horizontally) Fixed. 5. imho most likely needs the idea of a selected color - so when u click/select that color becomes the current selected color - much like a list has a selected item... this nicely allows for keyboard control too :) Fixed. 1. have a default color set in USER config (_elm_config or somewhere else maybe) loaded from user config files etc. and saved back to them on editing. 2. it'd have to also support custom palettes - but handle the saving/loading for you - eg just give palette a name (default by default, or photos or painting etc..) or a full path to save it in. Currently reading colors from config and writing back to it has not been supported, this needs some more analysis, this enhancement will be supported in next patch. Thanks Regards Shilpa Singh -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
On Sat, Mar 3, 2012 at 9:06 AM, HariHara Sudhan h...@emo2.com wrote: See attached file. This is the output from the codeproject application. hmm, useless. Are you sure that you compiled the EFL with -g ? If yes, that program is of no use Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
On Sat, Mar 3, 2012 at 9:14 AM, HariHara Sudhan h...@emo2.com wrote: Please find attached the test case for checking ddraw bug. one question : what do you mean by changing the screen orientation ? Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
The whole of EFL? no. I don't have a version handy with the -g option. Can you try it instead (if you have it), or I will have to compile and try. On Sat, Mar 3, 2012 at 3:57 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 9:06 AM, HariHara Sudhan h...@emo2.com wrote: See attached file. This is the output from the codeproject application. hmm, useless. Are you sure that you compiled the EFL with -g ? If yes, that program is of no use Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
On Sat, Mar 3, 2012 at 11:33 AM, HariHara Sudhan h...@emo2.com wrote: The whole of EFL? no. I don't have a version handy with the -g option. Can you try it instead (if you have it), or I will have to compile and try. when debugging, you have to compile the libraries (here, the EFL) and the test program with -g, otherwise, the debugging programs (like gdb, and maybe the codeproject one) can't give useful informations please do it, i have no time (private life...) Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
What I mean is rotate the windows desktop by 90 degree or 180 degrees. Either by using the EnumDisplaySettings function or by using the ctrl+alt+arrrow keys on the keyboard or by setting an option in their graphic cards management utility. Like ATI catalyst or Nvidia control center. or by using something like - http://www.softpedia.com/progDownload/iRotate-Download-17093.html On Sat, Mar 3, 2012 at 3:58 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 9:14 AM, HariHara Sudhan h...@emo2.com wrote: Please find attached the test case for checking ddraw bug. one question : what do you mean by changing the screen orientation ? Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
OK done. I will check and configure with -g option. I will send you the new output. Thanks for the help. On Sat, Mar 3, 2012 at 4:07 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 11:33 AM, HariHara Sudhan h...@emo2.com wrote: The whole of EFL? no. I don't have a version handy with the -g option. Can you try it instead (if you have it), or I will have to compile and try. when debugging, you have to compile the libraries (here, the EFL) and the test program with -g, otherwise, the debugging programs (like gdb, and maybe the codeproject one) can't give useful informations please do it, i have no time (private life...) Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: tasn IN trunk/ecrire: . cmake cmake/Modules data po src/bin
On Sat, 3 Mar 2012 05:43:09 -0800 Enlightenment SVN no-re...@enlightenment.org wrote: Log: Ecrire: Add cmake. Everything works except for gettext (I'm using some useless plugin). FindEina/Edje/etc modules are good but not perfect. We should ship them with core EFL anyway. It may be useful for others. Yes, that might be useful to me later when I try to add EFL to a large existing cmake project. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] (no subject)
2012/3/3 Michael Blumenkrantz michael.blumenkra...@gmail.com: On Sat, 3 Mar 2012 13:19:24 +0900 Bluezery ohpo...@gmail.com wrote: Hello, This patch is for reading socks version5 proxy from global variables. This is almost same as previous socks version4. discomfitor can help to review this patch. Thanks. hmm I could be reading this wrong, but it looks to me that this does not allow for socks4a (proxy DNS lookups) inheritance from global proxies? other than that it looks good I add checking socks4a protocol. I cannot find exactly what is socks5h protocol. But I think that socks5h (CURLPROXY_SOCKS5_HOSTNAME) may be enhanced sock5 for resolving such as socks4a. So socks5h checking is also added. Anyway, I am sorry for no title and duplicated mail. :( -- BRs, Kim. Index: src/lib/ecore_con/ecore_con_url.c === --- src/lib/ecore_con/ecore_con_url.c (리비전 68637) +++ src/lib/ecore_con/ecore_con_url.c (작업 사본) @@ -151,6 +151,8 @@ ecore_con_url_pipeline_get(void) return EINA_FALSE; } +extern Ecore_Con_Socks *_ecore_con_proxy_global; + EAPI Ecore_Con_Url * ecore_con_url_new(const char *url) { @@ -182,22 +184,41 @@ ecore_con_url_new(const char *url) return NULL; } + // Read socks proxy url_con-proxy_type = -1; - if (_ecore_con_proxy_global) + if (_ecore_con_proxy_global _ecore_con_proxy_global-ip + (_ecore_con_proxy_global-version == 4 || +_ecore_con_proxy_global-version == 5)) { -if (_ecore_con_proxy_global-ip) +char proxy[256]; +char host[256]; + +if (_ecore_con_proxy_global-version == 5) { - char host[128]; - if (_ecore_con_proxy_global-port 0 - _ecore_con_proxy_global-port = 65535) - snprintf(host, sizeof(host), socks4://%s:%d, -_ecore_con_proxy_global-ip, -_ecore_con_proxy_global-port); - else - snprintf(host, sizeof(host), socks4://%s, -_ecore_con_proxy_global-ip); - ecore_con_url_proxy_set(url_con, host); + if (_ecore_con_proxy_global-lookup) +snprintf(host, sizeof(host), socks5h://%s, + _ecore_con_proxy_global-ip); + else snprintf(host, sizeof(host), socks5://%s, + _ecore_con_proxy_global-ip); + } +else if (_ecore_con_proxy_global-version == 4) + { + if (_ecore_con_proxy_global-lookup) +snprintf(host, sizeof(host), socks4a://%s, + _ecore_con_proxy_global-ip); + else snprintf(host, sizeof(host), socks4://%s, + _ecore_con_proxy_global-ip); } + +if (_ecore_con_proxy_global-port 0 +_ecore_con_proxy_global-port = 65535) + snprintf(proxy, sizeof(proxy), %s:%d, host, +_ecore_con_proxy_global-port); +else snprintf(proxy, sizeof(proxy), %s, host); + +ecore_con_url_proxy_set(url_con, proxy); +ecore_con_url_proxy_username_set(url_con, + _ecore_con_proxy_global-username); } ret = curl_easy_setopt(url_con-curl_easy, CURLOPT_ENCODING, gzip,deflate); @@ -1118,17 +1139,20 @@ ecore_con_url_proxy_set(Ecore_Con_Url *u if (vers-version_num 0x71507) { url_con-proxy_type = CURLPROXY_HTTP; - if (strstr(proxy, socks4)) url_con-proxy_type = CURLPROXY_SOCKS4; - else if (strstr(proxy, socks4a)) + if (strstr(proxy, socks4a)) url_con-proxy_type = CURLPROXY_SOCKS4A; - else if (strstr(proxy, socks5)) - url_con-proxy_type = CURLPROXY_SOCKS5; + else if (strstr(proxy, socks4)) + url_con-proxy_type = CURLPROXY_SOCKS4; else if (strstr(proxy, socks5h)) url_con-proxy_type = CURLPROXY_SOCKS5_HOSTNAME; - res = curl_easy_setopt(url_con-curl_easy, CURLOPT_PROXYTYPE, url_con-proxy_type); + else if (strstr(proxy, socks5)) + url_con-proxy_type = CURLPROXY_SOCKS5; + res = curl_easy_setopt(url_con-curl_easy, CURLOPT_PROXYTYPE, +url_con-proxy_type); if (res != CURLE_OK) { - ERR(curl proxy type setting failed: %s, curl_easy_strerror(res)); + ERR(curl proxy type setting failed: %s, + curl_easy_strerror(res)); url_con-proxy_type = -1; return EINA_FALSE; } @@ -1253,6 +1277,7 @@ _ecore_con_url_event_url_complete(Ecore_ if (curlmsg (curlmsg-data.result == CURLE_OK)) curl_easy_getinfo(curlmsg-easy_handle, CURLINFO_RESPONSE_CODE, status); + else ERR(Curl message have errors: %d,
Re: [E-devel] E SVN: tasn IN trunk/ecrire: . cmake cmake/Modules data po src/bin
why adding cmake ? You're going to maintain 2 build systems that only the devs will use (the tarballs will just contain the Makefile, so...) Vincent On Sat, Mar 3, 2012 at 2:43 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: Ecrire: Add cmake. Everything works except for gettext (I'm using some useless plugin). FindEina/Edje/etc modules are good but not perfect. We should ship them with core EFL anyway. It may be useful for others. Author: tasn Date: 2012-03-03 05:43:09 -0800 (Sat, 03 Mar 2012) New Revision: 68648 Trac: http://trac.enlightenment.org/e/changeset/68648 Added: trunk/ecrire/CMakeLists.txt trunk/ecrire/cmake/ trunk/ecrire/cmake/Modules/ trunk/ecrire/cmake/Modules/FindEcore.cmake trunk/ecrire/cmake/Modules/FindEdje.cmake trunk/ecrire/cmake/Modules/FindEet.cmake trunk/ecrire/cmake/Modules/FindEfreet.cmake trunk/ecrire/cmake/Modules/FindEina.cmake trunk/ecrire/cmake/Modules/FindElementary.cmake trunk/ecrire/cmake/Modules/FindEvas.cmake trunk/ecrire/cmake/Modules/GettextTranslate.cmake trunk/ecrire/cmakeconfig.h.in trunk/ecrire/data/CMakeLists.txt trunk/ecrire/po/CMakeLists.txt trunk/ecrire/src/bin/CMakeLists.txt -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] about cmake
Hey i've already had that kind of discussion before about cmake (see last Tom's commit), and I want to be clear: if cmake hits svn in the core EFL, i'll leave the project. I actually don't care about ecrire (i won't look at that code now, that's all) Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz IN trunk/elementary/src: bin lib
Hello Barbieri, On Sat, Mar 3, 2012 at 6:14 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Hi Dan, Could you also export this callback in the introspection? See the other widgets for callback description. Sure, that's on my todo list. And I even added below comment already. // XXX: use evas_object_smart_callback_descriptions_set for smart callbacks. Thanks for the remind. Daniel Juyung Seo (SeoZ) On Saturday, March 3, 2012, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elm multibuttonentry: Revised codes. 1. fixed formatting. 2. renamed smart callback shrank - contracted I just renamed this smart callback without backport because multibuttonentry committed recently and backport will be removed in a couple of days (elm 1.0 api freeze) Signed-off-by: Daniel Juyung Seo seojuy...@gmail.com Author: seoz Date: 2012-03-02 22:11:50 -0800 (Fri, 02 Mar 2012) New Revision: 68639 Trac: http://trac.enlightenment.org/e/changeset/68639 Modified: trunk/elementary/src/bin/test_multibuttonentry.c trunk/elementary/src/lib/elc_multibuttonentry.c trunk/elementary/src/lib/elc_multibuttonentry.h Modified: trunk/elementary/src/bin/test_multibuttonentry.c === --- trunk/elementary/src/bin/test_multibuttonentry.c 2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/bin/test_multibuttonentry.c 2012-03-03 06:11:50 UTC (rev 68639) @@ -94,11 +94,11 @@ // contracted smart callback static void -_shrank_cb(void *data __UNUSED__, +_contracted_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - printf(shrank!\n); + printf(contracted!\n); } // contracted,state,changed smart callback @@ -164,7 +164,7 @@ evas_object_smart_callback_add(mbe, unfocused, _mbe_unfocused_cb, NULL); evas_object_smart_callback_add(mbe, expanded, _expanded_cb, NULL); - evas_object_smart_callback_add(mbe, shrank, _shrank_cb, NULL); + evas_object_smart_callback_add(mbe, contracted, _contracted_cb, NULL); evas_object_smart_callback_add(mbe, shrink,state,changed, _shrink_state_changed_cb, NULL); evas_object_resize(mbe, 220, 300); Modified: trunk/elementary/src/lib/elc_multibuttonentry.c === --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-03 06:11:50 UTC (rev 68639) @@ -113,10 +113,10 @@ static Evas_Coord _calculate_item_max_height(Evas_Object *box, Evas_Object_Box_Data *priv, int obj_index); static void _box_layout_cb(Evas_Object *o, Evas_Object_Box_Data *priv, void *data); static void _item_text_set_hook(Elm_Object_Item *it, - const char *part, - const char *label); -static const char * _item_text_get_hook(const Elm_Object_Item *it, - const char *part); + const char *part, + const char *label); +static const char *_item_text_get_hook(const Elm_Object_Item *it, + const char *part); // XXX: use evas_object_smart_callback_descriptions_set for smart callbacks. @@ -254,7 +254,7 @@ evas_object_geometry_get(wd-box, NULL, NULL, w, h); if (wd-h_box h) evas_object_smart_callback_call (data, expanded, NULL); - else if (wd-h_box h) evas_object_smart_callback_call (data, shrank, NULL); + else if (wd-h_box h) evas_object_smart_callback_call (data, contracted, NULL); wd-w_box = w; wd-h_box = h; @@ -534,7 +534,7 @@ } static void -_set_label(Evas_Object *obj, const char* str) +_set_label(Evas_Object *obj, const char *str) { Widget_Data *wd = elm_widget_data_get(obj); @@ -573,7 +573,7 @@ } static void -_set_guidetext(Evas_Object *obj, const char* str) +_set_guidetext(Evas_Object *obj, const char *str) { Widget_Data *wd = elm_widget_data_get(obj); Modified: trunk/elementary/src/lib/elc_multibuttonentry.h === --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-03 06:11:45 UTC (rev 68638) +++ trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-03 06:11:50 UTC (rev 68639) @@ -16,9 +16,8 @@ * - @c focused - when multibuttonentry is focused. * - @c unfocused - when multibuttonentry is unfocused. * - @c expanded - when multibuttonentry is expanded. - * XXX: shrank - contracted - * - @c shrank - when multibuttonentry is shrank. - * - @c shrank,state,changed - when shrink mode state of multibuttonentry is + * - @c contracted - when multibuttonentry is contracted. + * - @c shrink,state,changed - when shrink mode state of multibuttonentry is *
Re: [E-devel] LDFLAGS with -Wl,-z,defs
Hum... I have not see any change in the timeline and I still having the same problem here (at least for libevas, which is the one that i just tried) Thanatermesis 2012/2/27 Carsten Haitzler ras...@rasterman.com On Sun, 26 Feb 2012 20:13:45 +0100 Thanatermesis thanatermesis.e...@gmail.com said: compiles now. :) Aparently if you add the option -Wl,-z,defs to your LDFLAGS, there's some libs that doesn't compile, like evas and e_dbus, there's some logs: evas: .libs/module_la-evas_engine.o: In function `gl_lib_init': evas_engine.c:(.text+0x2912): undefined reference to `dlopen' edbus: $ make V=1 make all-recursive make[1]: Entering directory `/mkdeb/build/libedbus/libedbus' Making all in src make[2]: Entering directory `/mkdeb/build/libedbus/libedbus/src' Making all in lib make[3]: Entering directory `/mkdeb/build/libedbus/libedbus/src/lib' Making all in dbus make[4]: Entering directory `/mkdeb/build/libedbus/libedbus/src/lib/dbus' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/mkdeb/build/libedbus/libedbus/src/lib/dbus' Making all in bluez make[4]: Entering directory `/mkdeb/build/libedbus/libedbus/src/lib/bluez' /bin/bash ../../../libtool --tag=CC --mode=link ccache gcc -g -O2 -Wshadow -version-info 2:99:1 -fvisibility=hidden -fdata-sections -Wl,--as-needed -Wl,--gc-sections -Wl,-O1 -Wl,-z,defs -o libebluez.la -rpath /usr/local/lib e_bluez.lo e_bluez_element.lo e_bluez_manager.lo e_bluez_adapter.lo e_bluez_device.lo e_bluez_devicefound.lo ../../../src/lib/dbus/libedbus.la libtool: link: ccache gcc -shared -fPIC -DPIC .libs/e_bluez.o .libs/e_bluez_element.o .libs/e_bluez_manager.o .libs/e_bluez_adapter.o .libs/e_bluez_device.o .libs/e_bluez_devicefound.o -Wl,-rpath -Wl,/mkdeb/build/libedbus/libedbus/src/lib/dbus/.libs ../../../src/lib/dbus/.libs/libedbus.so -O2 -Wl,--as-needed -Wl,--gc-sections -Wl,-O1 -Wl,-z -Wl,defs -pthread -Wl,-soname -Wl,libebluez.so.1 -o .libs/libebluez.so.1.1.99 .libs/e_bluez.o: In function `_e_bluez_system_name_owner_exit': /mkdeb/build/libedbus/libedbus/src/lib/bluez/e_bluez.c:93: undefined reference to `ecore_event_add' .libs/e_bluez.o: In function `e_bluez_manager_sync_elements': /mkdeb/build/libedbus/libedbus/src/lib/bluez/e_bluez.c:84: undefined reference to `eina_log_print' .libs/e_bluez.o: In function `_e_bluez_system_name_owner_enter': /mkdeb/build/libedbus/libedbus/src/lib/bluez/e_bluez.c:102: undefined reference to `eina_log_print' /mkdeb/build/libedbus/libedbus/src/lib/bluez/e_bluez.c:114: undefined reference to `ecore_event_add' /mkdeb/build/libedbus/libedbus/src/lib/bluez/e_bluez.c:105: undefined reference to `eina_log_print' Thanatermesis -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
On 03/03/12 16:35, Vincent Torri wrote: i've already had that kind of discussion before about cmake (see last Tom's commit), and I want to be clear: if cmake hits svn in the core EFL, i'll leave the project. I actually don't care about ecrire (i won't look at that code now, that's all) Dear Vincent, I also want to be clear: Ecrire is not part of core EFL and I decided to use it there because I find it nicer and I want to further play with it. It's sad to see you are so anti-cmake. At least in ecrire I implemented everything that was done in the autotools equiv in a couple of lines. The FindEina.cmake and the rest are just my attempt to make default cmake files that we can ship with core EFL (we should do that, people *do* use cmake in the outside world, and shipping does could be nice for them). It's sad to see you are trying hard to veto progression. I don't really know which is better, cmake or autotools. From my little experience with cmake, it is easier to work with. But either way, we should go with what's better, doesn't matter what it'll end up to be. Also, I'm very disappointed you won't look at ecrire's code because of such nonsense hate for cmake. Best regards, Tom. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Fwd: [nox: [PATCH] build fix for emotion with libxine 1.2.x]
On Sat, Mar 3, 2012 at 1:52 AM, thomasg tho...@gstaedtner.net wrote: The attached patch fixes build for emotion with libxine 1.2.x. I only forward this for nox, who is not subscribed (and seems to have trouble getting in the moderation queue). All credits to him. This patch is already in. cippp pointed it to me yesterday. -- Cedric BAIL -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
On 03/03/12 20:10, Vincent Torri wrote: that's my last mail about cmake: 0) If you read my previous message, i talked about cmake in the core EFL. I know that Ecrire is not part of them... thank you... I know you talked about it in the core efl, but as we both pointed out, ecrire is not part of the core efl, so there was no reason for you to raise the subject. 1) build systems are for developpers. 99.9% of users don't care about build systems as they use the packages of their distro. So people *do* use cmake in the outside world, and shipping does could be nice for them is not a good argument imho. I'm sorry for not being clear enough in my previous email, I said shipping FindEina.cmake and the such would be nice (they are like pkg-config for cmake) as other developers who write code create their projects using cmake (me for example?) and it would be easier for them to do find_pkg(Eina) instead of using the pkg_config wrapping cmake macros. 2) maintaining 2 build systems is STUPID : it is more work. We have to sync them. We are not enough to even finish e17, so loosing time in maintaining another build system is a waste of time. I have participated in several projects using both autotools and cmake and it has always been a mess. But maybe you just want to replace the autotools by cmake... No one every said anything about maintaining two build systems. I just said, if that's where progress will take us to at some point, so be it. Maybe it won't, maybe we'll use scones ;P 3) the autotools are already here and are working Again, not arguing about core efl, but that's not a strong enough point. 4) i've never successfully succeeded in using cmake on Windows. I have, and many others have (not efl). 5) to add the same functionalities than the autotools you have to add plenty of stuff (just distcheck and help...). So it's error prone. Only distcheck and dist I think, but either way, it's not that hard to do. And if someone wants to do it, it's their choice. 6) cmake is less portable than autotools : autotools basically need a shell and some widely used programs (awk and/or perl, iirc). Cmake depends on nothing and is available for all platforms, autofoo on the other hand is not, and perl is not that standard on all platforms. 7) I'm not the only one who think the same about cmake. I don't really have a strong opinion either way, I just think personally that cmake is better and I'd like to give it a chance. Also, I don't like eliminating possibly better options just because. And it's not a veto. The project has started without me and can be finished without me. Or not finish and continue forever? :P But anyhow, it's still a veto because we want you on the team, and this change will probably not be done with your statement still holding. Also, I'm very disappointed you won't look at ecrire's code because of such nonsense hate for cmake. just read the last thread about cmake and my pov. That's not the first time that this discussion has been started and it will more or less explain my decision. I read it at the time (too long to read it again just for that), but I don't get why you wouldn't want to send patches for the C files (a.k.a code) just because there are a couple of cmake files in the repo. I plan on adding the Cmake pkg-config stuff to core EFL, and I hope you won't be mad about it (if you will, please let me know and I won't do it). It's there for *other projects* using cmake that may be interested in EFL (Samsung heavily uses cmake). If you have no objections, I plan on doing it in the next couple of days. -- Tom. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Emotion buffer size patch
Hi, here is a patch for emotion, it add a new function to retrive the status of the buffer while playing online stream. It is implemented only for the gstreamer backend, the xine one do not play at all here. What about the generic one? ** * @brief Get the percentual size of the buffering cache. * * @param obj The emotion object * @return The buffer percent size, ranging from 0.0 to 1.0 * * The buffer size is returned as a number between 0.0 and 1.0, 0.0 means * the buffer if empty, 1.0 means full. * If no buffering is in progress 1.0 is returned. In all other cases (maybe * the backend don't support buffering) 1.0 is returned, thus you can always * check for buffer_size 1.0 to know if buffering is in progress. * * @warning xine backends don't implement this (will return 1.0). */ EAPI double emotion_object_buffer_size_get(const Evas_Object *obj); the patch its at: http://pastebin.ca/2123878 I'm not really sure about the func name, maybe could be: emotion_object_buffer_percent_get() What do you think? thanks davemds -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] (no subject)
On Sat, 3 Mar 2012 23:02:58 +0900 Bluezery ohpo...@gmail.com wrote: 2012/3/3 Michael Blumenkrantz michael.blumenkra...@gmail.com: On Sat, 3 Mar 2012 13:19:24 +0900 Bluezery ohpo...@gmail.com wrote: Hello, This patch is for reading socks version5 proxy from global variables. This is almost same as previous socks version4. discomfitor can help to review this patch. Thanks. hmm I could be reading this wrong, but it looks to me that this does not allow for socks4a (proxy DNS lookups) inheritance from global proxies? other than that it looks good I add checking socks4a protocol. I cannot find exactly what is socks5h protocol. But I think that socks5h (CURLPROXY_SOCKS5_HOSTNAME) may be enhanced sock5 for resolving such as socks4a. So socks5h checking is also added. Anyway, I am sorry for no title and duplicated mail. :( Good patch, committed. You are correct, socks5h is just socks5 with proxy DNS. It is not an actual protocol, just the name that the author of cURL gave to socks5 with hostname lookup because there is no name since it is just part of base socks5. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Windows EFL leaking Handles
I found this explanation on msdn. Seems like a solution. http://msdn.microsoft.com/en-us/library/aa919861.aspx I am not sure where I should add this code. On Sat, Mar 3, 2012 at 1:44 PM, HariHara Sudhan h...@emo2.com wrote: Please find attached the test case for checking ddraw bug. On Sat, Mar 3, 2012 at 1:36 PM, HariHara Sudhan h...@emo2.com wrote: See attached file. This is the output from the codeproject application. I also went to ecore and printed to see how ecore was calling evil time. Maybe those handles are not being closed? Clueless at this point. I will send you the ddraw test case in sometime. On Sat, Mar 3, 2012 at 12:49 PM, Vincent Torri vincent.to...@gmail.comwrote: On Sat, Mar 3, 2012 at 8:15 AM, HariHara Sudhan h...@emo2.com wrote: I tried running the ecore animator example as is. No modifications and the problem persists. The problem is as follows: - TImer is created - Timer continuously creates handles - TImer is deleted - handle creation process comes to a stop If the timer is allowed to continue, Handles are still leaking and real bad. If you let things run with 5 or 6 timers for a couple of hours the computer pretty much grinds to a halt. but does the codeproject program report some useful informations, like the GDI functions that are leaking ? If not, this program is of no use --- Also again any ideas on the directdraw problem? Anyone? As I said, if the user changes the screen orientation. The drirectdraw canvas dies. Blacks out. I am assuming it is because the graphics device is taken over by windows to change the screen orientation. The ddraw canvas is unable to get the device back once the screen orientation is changed. a bug in the directdraw engine. Do you have a minimal test case ? Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards HariHaraSudhan -- Regards HariHaraSudhan -- Regards HariHaraSudhan -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
Hi Tom, in case you want to widen your choices, attached is a wscript file to build Ecrire using the Waf build system. You only need python , the waf script from here: http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 (rename to 'waf' then chmod a+x) and the wscript in ecrire root source directory. Sample commands: cd path/to/ecrire cp path_to/wscript . wget -o waf http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 chmod a+x waf ./waf configure ./waf build ./waf install --destdir=$PWD/dist ./waf distcheck Enjoy. Lionel On Sat, Mar 3, 2012 at 7:20 PM, Tom Hacohen t...@stosb.com wrote: On 03/03/12 20:10, Vincent Torri wrote: that's my last mail about cmake: 0) If you read my previous message, i talked about cmake in the core EFL. I know that Ecrire is not part of them... thank you... I know you talked about it in the core efl, but as we both pointed out, ecrire is not part of the core efl, so there was no reason for you to raise the subject. 1) build systems are for developpers. 99.9% of users don't care about build systems as they use the packages of their distro. So people *do* use cmake in the outside world, and shipping does could be nice for them is not a good argument imho. I'm sorry for not being clear enough in my previous email, I said shipping FindEina.cmake and the such would be nice (they are like pkg-config for cmake) as other developers who write code create their projects using cmake (me for example?) and it would be easier for them to do find_pkg(Eina) instead of using the pkg_config wrapping cmake macros. 2) maintaining 2 build systems is STUPID : it is more work. We have to sync them. We are not enough to even finish e17, so loosing time in maintaining another build system is a waste of time. I have participated in several projects using both autotools and cmake and it has always been a mess. But maybe you just want to replace the autotools by cmake... No one every said anything about maintaining two build systems. I just said, if that's where progress will take us to at some point, so be it. Maybe it won't, maybe we'll use scones ;P 3) the autotools are already here and are working Again, not arguing about core efl, but that's not a strong enough point. 4) i've never successfully succeeded in using cmake on Windows. I have, and many others have (not efl). 5) to add the same functionalities than the autotools you have to add plenty of stuff (just distcheck and help...). So it's error prone. Only distcheck and dist I think, but either way, it's not that hard to do. And if someone wants to do it, it's their choice. 6) cmake is less portable than autotools : autotools basically need a shell and some widely used programs (awk and/or perl, iirc). Cmake depends on nothing and is available for all platforms, autofoo on the other hand is not, and perl is not that standard on all platforms. 7) I'm not the only one who think the same about cmake. I don't really have a strong opinion either way, I just think personally that cmake is better and I'd like to give it a chance. Also, I don't like eliminating possibly better options just because. And it's not a veto. The project has started without me and can be finished without me. Or not finish and continue forever? :P But anyhow, it's still a veto because we want you on the team, and this change will probably not be done with your statement still holding. Also, I'm very disappointed you won't look at ecrire's code because of such nonsense hate for cmake. just read the last thread about cmake and my pov. That's not the first time that this discussion has been started and it will more or less explain my decision. I read it at the time (too long to read it again just for that), but I don't get why you wouldn't want to send patches for the C files (a.k.a code) just because there are a couple of cmake files in the repo. I plan on adding the Cmake pkg-config stuff to core EFL, and I hope you won't be mad about it (if you will, please let me know and I won't do it). It's there for *other projects* using cmake that may be interested in EFL (Samsung heavily uses cmake). If you have no objections, I plan on doing it in the next couple of days. -- Tom. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel wscript Description: Binary data -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of
Re: [E-devel] Windows EFL leaking Handles
On Sat, Mar 3, 2012 at 10:03 PM, HariHara Sudhan h...@emo2.com wrote: I found this explanation on msdn. Seems like a solution. http://msdn.microsoft.com/en-us/library/aa919861.aspx I am not sure where I should add this code. well, that's Windows CE API, not Windows XP one. Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
On 04/03/12 00:31, Lionel Orry wrote: Hi Tom, in case you want to widen your choices, attached is a wscript file to build Ecrire using the Waf build system. You only need python , the waf script from here: http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 (rename to 'waf' then chmod a+x) and the wscript in ecrire root source directory. Sample commands: cd path/to/ecrire cp path_to/wscript . wget -o waf http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 chmod a+x waf ./waf configure ./waf build ./waf install --destdir=$PWD/dist ./waf distcheck Thanks a lot. I went through the syntax, it looks pretty elegant. How widely used is it? The main problem, I guess, is that it's not as easy to use as windows (and other platforms?) such as cmake (because of the python dep). That's one of the things I liked about cmake (but far from only). Also, what about out of source builds? I've heard about Waf before (mostly in a negative context), and maybe the python dep makes it a no go (though it's also alluring), but I'd still like to hear more if you care to provide. It's fun easily being able to do whatever python does. :) Does it create windows VS project files? or Makefiles in general? Also, what I don't like about cmake (which is an issue that seems to exist with Waf as well, but heck, I don't know enough about both to know if it's even true), is not being able to create a configure script so the source tarball will be dep free. Thanks again, Tom. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
On Sun, Mar 4, 2012 at 12:02 AM, Tom Hacohen t...@stosb.com wrote: On 04/03/12 00:31, Lionel Orry wrote: Hi Tom, in case you want to widen your choices, attached is a wscript file to build Ecrire using the Waf build system. You only need python , the waf script from here: http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 (rename to 'waf' then chmod a+x) and the wscript in ecrire root source directory. Sample commands: cd path/to/ecrire cp path_to/wscript . wget -o waf http://code.google.com/p/waf/downloads/detail?name=waf-1.6.11 chmod a+x waf ./waf configure ./waf build ./waf install --destdir=$PWD/dist ./waf distcheck Thanks a lot. I went through the syntax, it looks pretty elegant. thanks for having a look. I made this one very quickly (15 minutes) so it could be much better but anyway. How widely used is it? Not sure exactly, but it's quite addictive. I use it in all my professional projects now (mainly for C/C++). But apart from the small me, the most widely known waf users around are Samba and Node.js projects. The main problem, I guess, is that it's not as easy to use as windows (and other platforms?) such as cmake (because of the python dep). That's one of the things I liked about cmake (but far from only). About the python dep, it's unfortunately needed for all steps (configure, build, install, whatever else) since the wscript is simply a python script evaluated in a specific context. So yes, the python dep might be a no-go for windows (unless we create a waf executable embedding the python runtime, I think there are scripts to transform a python script to a .exe). Unlike CMake, waf is not a makefile generator, it is a build system by itself with its own dependency tracking and other useful features. Also, what about out of source builds? I've heard about Waf before (mostly in a negative context), and maybe the python dep makes it a no go (though it's also alluring), but I'd still like to hear more if you care to provide. It's fun easily being able to do whatever python does. :) Does it create windows VS project files? I heard about some efforts towards VS project files and I think it does work quite correctly though I've not tested: see http://code.google.com/p/waf/source/browse/waflib/extras/msvs.py There also is an eclipse project generator (http://code.google.com/p/waf/source/browse/waflib/extras/eclipse.py) and a XCode project generator (http://code.google.com/p/waf/source/browse/waflib/extras/xcode.py). or Makefiles in general? it could theoretically be used to generate a Makefile easily, but I think it should also be used to generate a configure file too, since the configure step is important in the build process as designed by waf. it is close to the autotools in this regard. That being said, I've not seen a Makefile generator yet (probably because it would need other external scripts such as a configure). Also, what I don't like about cmake (which is an issue that seems to exist with Waf as well, but heck, I don't know enough about both to know if it's even true), is not being able to create a configure script so the source tarball will be dep free. well for waf the configure step is in python, so if you know of a way to translate python code to bash code you might be my hero, but I doubt it is easily feasible. :P more seriously, configure scripts use bash and gnu-like tools (sed, awk, grep, whatever) so I don't consider that configure scripts are dependency-free. This is a question of point of view. Of course, if you attempt to build a software project, you often tend to have such an environment ready so that your ./configure; make; make install works (think msys for mingw or cygwin for windows for example, and on MacOS I heard about packages to get a GNU-ready environment). So as I stated above, it may not be harder to generate a self-executable file embedding the python vm and the waf script (would be waf.exe on windows for example) and ship it in a way or another. Then, absolutely no dependency (other than compilation tools themselves) is needed, meaning the waf script could be executed from a cmd.exe. I tried to place myself from the windows POV since I know it better than MacOS or another OS, but you get the point. If you want to build a software, there's a environment to set up. Installing python or downloading a waf.exe file is IMHO easier than setting up a GNU-like environment (like msys/mingw) when you're not used to unixes. Thanks again, Tom. You're welcome, Lionel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net
Re: [E-devel] [patch] elm_genlist - add item flip set/get
As discussed in irc, i modified and removed draggable in flip mode. @@ -975,6 +975,8 @@ _mouse_move(void*data, if (ady 0) ady = -dy; minw /= 2; minh /= 2; + if (it-flipped) + return; if ((adx minw) || (ady minh)) { it-dragging = EINA_TRUE; What do you think about it? If it's not a good idea, i think flip mode should have only one item. On Sat, Mar 3, 2012 at 1:39 PM, Hyoyoung Chang hyoyo...@gmail.com wrote: On Fri, Mar 2, 2012 at 7:39 PM, Daniel Juyung Seo seojuyu...@gmail.com wrote: Thanks for your patch. Everything is fine but I still see the floating item bug. Could you tell me how to reproduce? i tried several times but i can't see it And if the item is on dragging, it should not be unrealized. As far as I know, when an item is on dragging, unrealizing the item will cause unexpected problems. I don't remember what it is exactly. So I politely recommend you to solve this bug with another solution. dragging is enabled by mouse_move (except group item) If then how about to define flipped item would not draggable? Or as i think we should restrict to only one flipped mode item. What do you think so? Thanks. Daniel Juyung Seo (SeoZ) On Fri, Mar 2, 2012 at 5:14 PM, Hyoyoung Chang hyoyo...@gmail.com wrote: I attached improved version of flip patch Thanks On Thu, Mar 1, 2012 at 10:52 PM, Hyoyoung Chang hyoyo...@gmail.com wrote: First of all, thanks for detailed review On Thu, Mar 1, 2012 at 3:01 PM, Daniel Juyung Seo seojuyu...@gmail.com wrote: Thanks Hyoyoung, overall it looks good :) I have some comments. 1. diff option Create a diff with -x -up optoin. It shows c function name for each changes. This makes review so much easier and faster. $ svn diff -x -up *.c 2. remove default properties from edc. - mouse_events: 1 - rel1.relative: 0 0 - rel2.relative: 1 1 3. use elm_win_util_standard_add elm_win_add + elm_bg_add is ok but I encourage you to use elm_win_util_standard_add in normal cases. It does elm_win_add + elm_bg_add and reduces 6 lines of code. I didn't know it. I'll apply 4. formatting There are some wrong formatted codes. In or edc? 5. build warnings test_genlist.c: In function ‘_flip_icon_clicked_cb’: test_genlist.c:2495:82: warning: unused parameter ‘event_info’ test_genlist.c: In function ‘gl16_content_get’: test_genlist.c:2516:17: warning: unused variable ‘ic’ test_genlist.c: In function ‘test_genlist16’: test_genlist.c:2553:39: warning: unused variable ‘bt’ test_genlist.c:2553:33: warning: unused variable ‘bx2’ Yeah, It should be removed 6. In _flip_icon_clicked_cb, you can just do: tit-checked = !tit-checked However, I would recommend to use elm_genlist_item_flip_get() instead of remembering tit-checked. This covers more API usage and it's useful example. And without checked, you don't even need to use tit array, you can just pass (void *)(long) i as an item data. If you don't prefer to use that casting trick, you can just use tit but without checked member. U're right :) 7. const to getters. Yes, add const to getters. EAPI Eina_Bool elm_genlist_item_flip_get(const Elm_Object_Item *it); Yeah i'll add it 8. in elm_genlist_item_flip_set Instead of _it-flipped = EINA_TRUE / EINA_FALSE; You can do _it-flipped = flip; 9. floating item bug a. flip many items b. scroll Then I can see floating items bug. I attached screenshot. This also happens easily in this case: a. flip many items b. drag flipped item and scroll it out of viewport. 10. if statement in elm_genlist_item_flip_set You already checked if _it-flipped equals to flip, so you do not need to check _it-flipped again. if (_it-flipped == flip) return; you already checked it if (flip) else { if (_it-flipped) do not need to check this else } First checking is to verify changed. Second checking is about previous status. So It leaves at it is. I don't think it's good or clean code either. But checking is right. Maybe it should be re-written to make clean code. These are just trivial comments. Please apply them. Otherwise, this patch looks good :) Thanks. you're always passionate. Thanks very much for detail review. Daniel Juyung Seo (SeoZ) On Wed, Feb 29, 2012 at 9:17 PM, Hyoyoung Chang hyoyo...@gmail.com wrote: Dear all. I made a patch to introduce new genlist item mode. Two public apis are added. +EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool flip); +EAPI Eina_Bool elm_genlist_item_flip_get(Elm_Object_Item *it); It provides on-the-flying item change. It works like that a new item added on existed item. In elementary test, you can test it. It's useful at adding widgets or show buttons in genlist item. Thanks. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing
[E-devel] Spello in eet doc
A small typo in eet doc: Index: eet/src/lib/Eet.h === --- eet/src/lib/Eet.h (revision 68652) +++ eet/src/lib/Eet.h (working copy) @@ -30,7 +30,7 @@ Eet is extremely fast, small and simple. Eet files can be very small and highly compressed, making them very optimal for just sending across the internet without having to archive, compress or decompress and install them. - They allow for lightning-fast random-acess reads once created, making them + They allow for lightning-fast random-access reads once created, making them perfect for storing data that is written once (or rarely) and read many times, but the program does not want to have to read it all in at once. -- Jérôme Pinot http://ngc891.blogdns.net/ signature.asc Description: Digital signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] about cmake
On Sat, Mar 3, 2012 at 7:20 PM, Tom Hacohen t...@stosb.com wrote: I'm sorry for not being clear enough in my previous email, I said shipping FindEina.cmake and the such would be nice (they are like pkg-config for cmake) as other developers who write code create their projects using cmake (me for example?) and it would be easier for them to do find_pkg(Eina) instead of using the pkg_config wrapping cmake macros. I plan on adding the Cmake pkg-config stuff to core EFL, and I hope you won't be mad about it (if you will, please let me know and I won't do it). It's there for *other projects* using cmake that may be interested in EFL (Samsung heavily uses cmake). If you have no objections, I plan on doing it in the next couple of days. why not adding it in another subdir, like i did for the autotools ? (http://trac.enlightenment.org/e/browser/trunk/PROTO/autotools) Vincent -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel