Re: [E-devel] [Gadgets] cannot remove some modules
On Fri, Jan 9, 2009 at 11:54 AM, Dave Andreoli d...@gurumeditation.it wrote: - Atton Jonathan jonathan.at...@gmail.com ha scritto: no I don't have the right click menu because (I guess) the module doesn't defines an action on the right clic. Strange :/ it works here... can someone else try? Works for me too. 2009/1/9 Dave Andreoli d...@gurumeditation.it - Atton Jonathan jonathan.at...@gmail.com ha scritto: hello Some modules (as Settings) cannot be removed when they are add in the desktop as gadget. have you a solution ? this is a bug in the module ? in the gadget manager ? hmmm... I can remove the setting gadget from the desktop with the right-click menu. What's your problem? do you have the right-click menu? dave -- Regards. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: sachiel trunk/ecore/src/lib/ecore_x/xlib
On Sat, Jan 3, 2009 at 9:20 PM, Peter Wehrfritz peter.wehrfr...@web.de wrote: Enlightenment SVN schrieb: +#ifdef X_HAVE_UTF8_STRING e-key_compose = strdup(buf); +#else + e-key_compose = ecore_txt_convert(nl_langinfo(CODESET), UTF-8, buf); +#endif } } else @@ -739,7 +751,7 @@ { char *str; XSetICValues(_ecore_x_ic, XNFocusWindow, xevent-xfocus.window, NULL); - if ((str = Xutf8ResetIC(_ecore_x_ic))) + if ((str = Xmb8ResetIC(_ecore_x_ic))) XFree(str); XSetICFocus(_ecore_x_ic); Shouldn't here also Xutf8ResetIC be used, if available? Or doesn't this matter in this case? Doesn't matter, if I got this right. The different functions just change the encoding of the returned string. Peter -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: sachiel IN trunk/edje/src: bin lib
On Thu, Dec 18, 2008 at 7:20 AM, Cedric BAIL cedric.b...@free.fr wrote: On Thu, Dec 18, 2008 at 3:43 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: And finally, edje table goes in Author: sachiel Date: 2008-12-17 18:43:20 -0800 (Wed, 17 Dec 2008) New Revision: 38204 I perhaps missed it, but could you post an example on how to use this ? Sorry, committed late last night and forgot about it. This is simple and boring, I'll try to come up with something more interesting and showing a bit more during the day. -- Cedric BAIL -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel #include Ecore.h #include Evas.h #include Ecore_Evas.h #include Edje.h #include stdlib.h #include stdio.h #include string.h struct test_data { Ecore_Evas *ee; Evas *evas; Evas_Object *bg; Evas_Object *table; }; static struct test_data d; static void on_keydown(void *data, Evas *evas, Evas_Object *o, void *einfo) { struct test_data *test = data; Evas_Event_Key_Down *ev = einfo; if (strcmp(ev-keyname, Escape) == 0) ecore_main_loop_quit(); if (strcmp(ev-keyname, 1) == 0) edje_object_signal_emit(test-table, set,NONE, *); if (strcmp(ev-keyname, 2) == 0) edje_object_signal_emit(test-table, set,TABLE, *); if (strcmp(ev-keyname, 3) == 0) edje_object_signal_emit(test-table, set,ITEM, *); } static Evas_Object * table_new(Evas *evas, const char *name, int x, int y, int w, int h) { Evas_Object *o; o = edje_object_add(evas); edje_object_file_set(o, table.edj, DaTable); evas_object_move(o, x, y); evas_object_resize(o, w, h); evas_object_show(o); evas_object_name_set(o, name); return o; } static void on_resize(Ecore_Evas *ee) { int w, h; evas_output_viewport_get(d.evas, NULL, NULL, w, h); evas_object_resize(d.bg, w, h); evas_object_resize(d.table, w, h); } static void on_destroy(Ecore_Evas *ee) { ecore_main_loop_quit(); } int main(int argc, char *argv[]) { Ecore_Evas *ee; int w, h, i; Evas_Object *last; Evas_Object *o; struct table_elements { int enabled, col, row, cols, rows; } table_elements[9] = { {1, 0, 0, 1, 1}, {1, 1, 0, 2, 1}, {0, 2, 0, 1, 1}, {1, 0, 1, 1, 1}, {0, 1, 1, 1, 1}, {1, 2, 1, 1, 1}, {0, 0, 2, 1, 1}, {1, 1, 2, 1, 1}, {1, 2, 2, 1, 1} }; evas_init(); ecore_init(); ecore_evas_init(); edje_init(); ee = ecore_evas_new(NULL, 0, 0, 640, 480, NULL); ecore_evas_show(ee); d.ee = ee; d.evas = ecore_evas_get(ee); ecore_evas_callback_resize_set(ee, on_resize); ecore_evas_callback_destroy_set(ee, on_destroy); evas_output_viewport_get(d.evas, NULL, NULL, w, h); d.bg = evas_object_rectangle_add(d.evas); evas_object_resize(d.bg, w, h); evas_object_show(d.bg); evas_object_focus_set(d.bg, 1); evas_object_event_callback_add( d.bg, EVAS_CALLBACK_KEY_DOWN, on_keydown, d); d.table = table_new(d.evas, table, 0, 0, w, h); #if 0 for (i = 0; i sizeof(table_elements)/sizeof(struct table_elements); i++) { if (!table_elements[i].enabled) continue; o = last = evas_object_rectangle_add(d.evas); evas_object_resize(o, 50, 50); evas_object_color_set(o, 128*i/100, 128/(i+1), i*i, 128); evas_object_show(o); if (!edje_object_part_table_pack(d.table, Table, o, table_elements[i].col, table_elements[i].row, table_elements[i].cols, table_elements[i].rows)) return 1; evas_object_size_hint_min_set(o, 50-i*3, 50+i*3); } #endif /*o = evas_object_rectangle_add(d.evas); evas_object_resize(o, 10, 10); evas_object_color_set(o, 255, 0, 255, 255); evas_object_show(o); printf(inserting magenta before last\n); edje_object_part_box_insert_before(d.box, Box, o, last);*/ #if 0 o = evas_object_rectangle_add(d.evas); evas_object_resize(o, 10, 10); evas_object_color_set(o, 0, 255, 0, 255); evas_object_show(o); printf(inserting green at 3\n); edje_object_part_box_insert_at(d.box, Box, o, 3); #endif ecore_main_loop_begin(); edje_shutdown(); ecore_evas_shutdown(); ecore_shutdown(); evas_shutdown(); return 0; } collections { #define TABLE_ITEM(NAME, R, G, B, A) \ group { \ name: NAME; \ parts { \ part { \ name: it; \ type: RECT; \ repeat_events: 0; \ description { \ state: default 0.0; \ min: 50 50; \ rel1 { relative: 0.0
Re: [E-devel] Debug...
On Wed, Dec 3, 2008 at 9:45 AM, Anders Troback [EMAIL PROTECTED] wrote: Hi, E17 is crashing for me! I just start up E17, click on desktop to get main menu, moving the mouse over the menu and then it srgfault! Running FreeBSD 7.1-STABLE and the co from svn are about 2h old! gdb output: Program received signal SIGSEGV, Segmentation fault. eina_chained_mempool_malloc (data=0x28c052c0, size=20) at eina_chained_mempool.c:83 83 { (gdb) bt #0 eina_chained_mempool_malloc (data=0x28c052c0, size=20) at eina_chained_mempool.c:83 #1 0x288084be in eina_mempool_alloc (mp=0x28c0f250, size=20) at eina_inline_mempool.x:50 #2 0x288091a8 in _eina_list_mempool_list_new (list=0x2925c758) at eina_list.c:169 #3 0x28809089 in eina_list_append (list=0x2925c758, data=0x28c44950) at eina_list.c:527 #4 0x080aa59e in e_menu_idler_before () at e_menu.c:922 #5 0x0806c35b in _e_main_cb_idler_before (data=0x0) at e_main.c:1498 #6 0x287e83f2 in _ecore_idle_enterer_call () at ecore_idle_enterer.c:101 #7 0x287ecc2d in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:653 #8 0x287ebd5f in ecore_main_loop_begin () at ecore_main.c:88 #9 0x0806b10a in main (argc=1, argv=0xbfbfec38) at e_main.c:1048 Yes, this is a known and very weird issue that, as far as I know, happens only on FreeBSD. Thanks for you time and effort! Cheers, Anders Trobäck Sweden - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Debug...
On Wed, Dec 3, 2008 at 12:04 PM, Anders Troback [EMAIL PROTECTED] wrote: On Wed, 3 Dec 2008 10:33:55 -0200 Iván Briano (Sachiel) [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 9:45 AM, Anders Troback [EMAIL PROTECTED] wrote: Hi, E17 is crashing for me! I just start up E17, click on desktop to get main menu, moving the mouse over the menu and then it srgfault! Running FreeBSD 7.1-STABLE and the co from svn are about 2h old! gdb output: Program received signal SIGSEGV, Segmentation fault. eina_chained_mempool_malloc (data=0x28c052c0, size=20) at eina_chained_mempool.c:83 83 { (gdb) bt #0 eina_chained_mempool_malloc (data=0x28c052c0, size=20) at eina_chained_mempool.c:83 #1 0x288084be in eina_mempool_alloc (mp=0x28c0f250, size=20) at eina_inline_mempool.x:50 #2 0x288091a8 in _eina_list_mempool_list_new (list=0x2925c758) at eina_list.c:169 #3 0x28809089 in eina_list_append (list=0x2925c758, data=0x28c44950) at eina_list.c:527 #4 0x080aa59e in e_menu_idler_before () at e_menu.c:922 #5 0x0806c35b in _e_main_cb_idler_before (data=0x0) at e_main.c:1498 #6 0x287e83f2 in _ecore_idle_enterer_call () at ecore_idle_enterer.c:101 #7 0x287ecc2d in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:653 #8 0x287ebd5f in ecore_main_loop_begin () at ecore_main.c:88 #9 0x0806b10a in main (argc=1, argv=0xbfbfec38) at e_main.c:1048 Yes, this is a known and very weird issue that, as far as I know, happens only on FreeBSD. One strange thing, I'm running on other FreeBSD boxes without problems...! Then try to find any difference there, versions of programs/libraries, anything. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [RFC] Edje gustavo patch
On Wed, Nov 26, 2008 at 9:24 PM, Viktor Kojouharov [EMAIL PROTECTED] wrote: Sorry to resurrect this ancient thread, but I'm experiencing a problem, which I think has strong relations to the recalc modifications. Basically, from a couple of days ago, I've noticed that the ruler in elicit causes a segfault. The rather weird backtrace (first time I've seen anything like that) seems to repeat to infinity. Here's a snippet of the crash backtrace: #0 0xb7a111ec in _edje_image_recalc_apply () from /opt/e17/lib/libedje.so.0 #1 0xb7a13365 in _edje_part_recalc () from /opt/e17/lib/libedje.so.0 #2 0xb7a0db15 in _edje_recalc_do () from /opt/e17/lib/libedje.so.0 #3 0xb7a2c3f6 in edje_object_part_geometry_get () from /opt/e17/lib/libedje.so.0 #4 0x080507b7 in _smart_resize (o=0x96eb6d0, w=256, h=64) at ruler.c:521 #5 0xb793af3d in evas_object_resize () from /opt/e17/lib/libevas.so.0 #6 0xb7a1341c in _edje_part_recalc () from /opt/e17/lib/libedje.so.0 #7 0xb7a0db15 in _edje_recalc_do () from /opt/e17/lib/libedje.so.0 #8 0xb7a2c3f6 in edje_object_part_geometry_get () from /opt/e17/lib/libedje.so.0 #9 0x080507b7 in _smart_resize (o=0x96eb6d0, w=256, h=64) at ruler.c:521 #10 0xb793af3d in evas_object_resize () from /opt/e17/lib/libevas.so.0 #11 0xb7a1341c in _edje_part_recalc () from /opt/e17/lib/libedje.so.0 #12 0xb7a0db15 in _edje_recalc_do () from /opt/e17/lib/libedje.so.0 #13 0xb7a2c3f6 in edje_object_part_geometry_get () from /opt/e17/lib/libedje.so.0 #14 0x080507b7 in _smart_resize (o=0x96eb6d0, w=256, h=64) at ruler.c:521 #15 0xb793af3d in evas_object_resize () from /opt/e17/lib/libevas.so.0 #16 0xb7a1341c in _edje_part_recalc () from /opt/e17/lib/libedje.so.0 #17 0xb7a0db15 in _edje_recalc_do () from /opt/e17/lib/libedje.so.0 #18 0xb7a2c3f6 in edje_object_part_geometry_get () The _smart_resize in this case is the resize method for a smart object. I didn't get a backtrace, but adding printfs in e_shelf_move_resize showed a rather similar behaviour when the shelf is set to 32px, which is also stuck to that size and doesn't resize to fit its contents. On Fri, Nov 14, 2008 at 11:59 AM, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: On Fri, Nov 14, 2008 at 8:48 AM, Cedric BAIL [EMAIL PROTECTED] wrote: Hi, I have been using Gustavo patch, that delay edje_recalc as much as possible using the new infrastructure provided by Evas for smart object, since a few month. I did find a few issue and they are fixed in the attachment. This patch seems ready to be included from my point of view as it ease the use of edje and improve speed, it just need more users :-) So are you guy interested by another break ? :) I'm using it here at my laptop with success, let'a add it to SVN and see if it breaks or not. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Box object in Edje
On Fri, Nov 21, 2008 at 1:20 PM, Cedric BAIL [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 3:50 PM, Iván Briano (Sachiel) [EMAIL PROTECTED] wrote: Hello list, Attached is a patch that adds the Evas box functionality to Edje, allowing to define a box in themes, which can contain objects added by applications or other groups. It supports all the layouts defined in Evas by default and it can register custom layouts which the theme can also reference. snip Test at will, opinions are of course welcome, specially for the layout register. Just reading your patch, not tested yet. I have only one comment using hash for layout matching is not really a good option regarding memory consuption. It would be better to put them in a rbtree, it will do around 3 strcmp for all the current layout beeing fast enough without using too much memory. At the same time, you could setup a static array of Edje_Box_Layout with all default layout and initialize the rbtree from it (would make the code cleaner imho). Truth be told, I just checked in Eina the names of functions for things I already knew. I will look at the other stuff and follow your suggestion. The static array is a good idea, I wanted to avoid the mess in init, but that one didn't occurred to me. Anyway, it's really a good think seeing this stuff coming in edje. Table follows, stay tuned. -- Cedric BAIL - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Box object in Edje
Sourceforge dropped the theme, here it is now. collections { #define BOX_ITEM(NAME, R, G, B, A) \ group { \ name: NAME; \ parts { \ part { \ name: it; \ type: RECT; \ repeat_events: 0; \ description { \ state: default 0.0; \ min: 50 50; \ rel1 { relative: 0.0 0.0; }; \ rel2 { relative: 1.0 1.0; }; \ color: R G B A; \ } \ description { \ state: alternate 1.0; \ inherit: default 0.0; \ color: B R G A; \ } \ } \ } \ programs { \ program { \ name: set,alternate; \ signal: mouse,down,1; \ source: it; \ action: STATE_SET alternate 1.0; \ target: it; \ } \ program { \ name: set,default; \ signal: mouse,down,3; \ source: it; \ action: STATE_SET default 0.0; \ target: it; \ } \ } \ } BOX_ITEM(Item1, 0, 128, 128, 128) BOX_ITEM(Item2, 128, 0, 128, 128) BOX_ITEM(Item3, 128, 128, 0, 128) BOX_ITEM(Item4, 0, 0, 0, 128) group { name: DaBox; parts { part { name: Border; type: RECT; description { state: default 0.0; rel1 { relative: 0.0 0.0; }; rel2 { relative: 1.0 1.0; }; color: 0 0 0 255; } } part { name: Inside; type: RECT; description { state: default 0.0; color: 255 255 255 255; rel1 { offset: 5 5; to: Border; } rel2 { offset: -5 -5; to: Border; } } } part { name: Box; type: BOX; box { items { item { type: GROUP; source: Item1; min: 50 50; } item { type: GROUP; source: Item2; min: 25 25; padding: 0 0 3 3; } item { type: GROUP; source: Item3; min: 75 75; //weight: 1.0 1.0; } item { type: GROUP; source: Item4; //align: -1.0 -1.0; //min: 50 50; } } } description { state: default 0.0; rel1 { to: Inside; } rel2 { to: Inside; } box { layout: horizontal; padding: 1 1; align: 0.5 0.5; } } #define box_layout(NAME) description { \ state: NAME 0.0; \ inherit: default 0.0; \ box { \ layout: NAME; \ padding: 1 1; \ align: 0.5 0.5; \ } \ } box_layout(horizontal) box_layout(vertical) box_layout(horizontal_homogeneous) box_layout(vertical_homogeneous) box_layout(horizontal_max) box_layout(vertical_max) box_layout(horizontal_flow) box_layout(vertical_flow) box_layout(stack) box_layout(custom_layout) } } programs { #define set_layout(NAME) program { \ name: set,NAME; \ signal: set,NAME; \ source: *; \ action: STATE_SET NAME 0.0; \ target: Box; \ } set_layout(horizontal) set_layout(vertical) set_layout(horizontal_homogeneous) set_layout(vertical_homogeneous) set_layout(horizontal_max) set_layout(vertical_max) set_layout(horizontal_flow) set_layout(vertical_flow) set_layout(stack) set_layout(custom_layout) } } } - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore timer precision
On Thu, Nov 13, 2008 at 9:22 AM, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: Hi guys, Attached is a patch to add configurable precision for ecore timers, an idea that I got at ELC-E from various power saving talks and also after looking at my machine's powertop results with some effects running. Since timers can be delayed by the system itself, for example under heavy load, the idea here is to dispatch as much as possible the timers at the same time. If we have timers that abs(t1 - t2) = precision, then have the timer to expire in max(t1, t2) and then min(t1, t2) will be delayed up to precision amount. Maybe i was not too clear, attached is also a test case. I still don't have any code using it, but possible I'll add to some products. Please comment and I'll commit it to SVN this weekend. Only the test made it, it almost looks as if you've screwed up your mime types. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] RFC: enlightenment_start -locked
On Thu, Nov 13, 2008 at 8:41 AM, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 6:41 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008 17:28:42 -0200 Gustavo Sverzut Barbieri [EMAIL PROTECTED] babbled: On Tue, Nov 11, 2008 at 7:05 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Sat, 8 Nov 2008 06:19:46 -0200 Gustavo Sverzut Barbieri [EMAIL PROTECTED] babbled: (sorry - travelling...) um - i think it's a great idea. makes sense for auto-logins like with gsm (or if enrance gets one) or even more so for embedded devices - like phone/pda's etc. where the thing boots straight into x and e.. and you want to lock it with a pin # (desklock needs a way of adding some way to enter a password/pin number other than via a keyboard - a pin #, a virtual keyboard, or maybe some special shape you draw... main point is to make it flexible). Yes, for that I guess it's easier to abstract desklock or use an external desklock app (already supported, but I never tried). The former is better as it's faster and lower on resources. A virtual number keyboard would do for most devices. as such user-switching i think is best left to whatever launches e. leave that out of e. nb - i would say that this is best done as a config option in e_config lock_on_start and that should do quite nicely :) add to the desklock config yes, it's easy doable, but I guess fixing the show wallpaper is a worse problem ATM. yeah. the problem is - the desktop container is created and shown and filled with a bg pixmap - before the pin window can do anything, so it's a matter of either deferring the draw of the desktop until later, or creating, or having an early show hook. that forces something to be shown before anything else. let's draw desklock earlier, the faster the response the better! attached is a new patch with config dialog. Nope, nothing is attached. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Shading windows with no animation
Maybe it's not the proper fix, but the attached patch makes shading with no animation work again. I don't fully understand why, but keeping the two calls to edje_object_message_signal_process results in the sequence of events: shade - unshade - shade - unshade, which ends with shading not working when is not animated. Index: src/bin/e_border.c === --- src/bin/e_border.c (revision 37556) +++ src/bin/e_border.c (working copy) @@ -1734,7 +1734,6 @@ bd-need_shape_export = 1; } edje_object_signal_emit(bd-bg_object, e,state,shaded, e); -edje_object_message_signal_process(bd-bg_object); e_border_frame_recalc(bd); ev = calloc(1, sizeof(E_Event_Border_Resize)); ev-border = bd; @@ -1844,7 +1843,6 @@ bd-need_shape_export = 1; } edje_object_signal_emit(bd-bg_object, e,state,unshaded, e); -edje_object_message_signal_process(bd-bg_object); e_border_frame_recalc(bd); ev = calloc(1, sizeof(E_Event_Border_Resize)); ev-border = bd; - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster IN trunk/ecore: . src/lib/ecore
On Mon, Nov 3, 2008 at 8:46 AM, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: On Mon, Nov 3, 2008 at 3:42 AM, Enlightenment SVN [EMAIL PROTECTED] wrote: Log: add patch to add a pipe handler for glueing threads to the core main loop via pipes - makes it save for a thread to send a message to the main loop and not need lots of thread locks etc. ok, this code have some minor problems, I should have looked at it before, maybe I can fix it during my flight tomorrow, but: - read/write need to catch errors, be them EINTR and EAGAIN since fd is marked non-blocking. For EAGAIN we could either just retry or we must keep size and todo in Ecore_Pipe as well as an allocated buffer of required size, just dispatch when everything is read. (same for write). There was another patch that did check for errors. - for consistency, we should have handler() to return an int and return that int in _ecore_pipe_read(). - example contais code that does not even compile, I spotted at least ecore_pipe_write(pipe, arg0); but that function takes 3 parameters, last one must be sizeof(void *) since you're writing the pointer, but possible more stuff is missing. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Entrance and network manager not working
On Fri, Oct 31, 2008 at 5:21 AM, Luca De Marini [EMAIL PROTECTED] wrote: Uhm, I tried something, but I'm a bit confused.So, after the conversation we had, I tried to do something different, something to have dbus being loaded for every user. What I did was editing the file /usr/share/xsessions/enlightenment by default it is configured to execute directly enlightenment_start What I did was configuring this enlightenment file to run instead a file called opengeu_start I created. It is a script, with the following contents: #!/bin/bash export XDG_MENU_PREFIX=gnome- if test -z $DBUS_SESSION_BUS_ADDRESS; then eval `dbus-launch --sh-syntax --exit-with-session` fi exec /usr/bin/enlightenment_start I had to modify the last line from the contents Ross suggested me. In fact, even if strangely the default session worked, the last line was this: exec /usr/local/bin/enlightenment_start And I noticed I don't even have a /usr/local/bin/ folder, so it could not be correct... In any case, now my situation is quite weird. If I log in with the session enlightenment, I have a normal E session and NM does not working. But if I log in to a default session, enlightenment has Nm support!! What's weird is that I deleted the .xsession file you told me to create, more than that, shouldn't the default session be the last one I used and configured to be default, that is, in my case, enlightenment? What's different between the enlightenment and default session? Do you have any idea why one session gives me NM support and the other one not? I believed that the problem was dbus, but with my script it should be running... still I can't get what has the default session more than the enlightenment one... Take a look in /etc/X11 Greetings everyone and thanks for your help in this :) Bye, Luca - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: mcalamelli trunk/edje/doc
On Fri, Oct 31, 2008 at 12:02 PM, Vincent Torri [EMAIL PROTECTED] wrote: On Fri, 31 Oct 2008, Enlightenment SVN wrote: doc: all doc-clean + cat ../src/lib/Edje.h ./edje.dox I think that there was something missing in the Doxyfile. It's better to put Edje.h in the INPUT field of that file, rather than this 'cat'. I'm a cat killer. + cat `find ../src/lib -name *.c -fprint /dev/stdout | grep -v edje_edit.c` edje.dox same here. add ../src/lib/*.c in the INPUT field, it should work. I'm not sure ../src/lib/*.c will work, I think I tried and it errored, use ../src/lib instead. Vincent - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: mcalamelli trunk/edje/doc
On Fri, Oct 31, 2008 at 12:22 PM, Massimiliano Calamelli [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 31 Oct 2008 15:02:21 +0100 (CET) Vincent Torri [EMAIL PROTECTED] wrote: I think that there was something missing in the Doxyfile. It's better to put Edje.h in the INPUT field of that file, rather than this 'cat'. I'm a cat killer. Good idea! + cat `find ../src/lib -name *.c -fprint /dev/stdout | grep -v edje_edit.c` edje.dox same here. add ../src/lib/*.c in the INPUT field, it should work. Vincent Using ../src/lib/*.c i'll include edje_edit.c, that's removed from list by grep -v edje_edit.c Now i'm testing things, then i'll take a look if there's an option to skip something from INPUT Yep, you can use EXCLUDE Massimiliano - -- Massimiliano Calamelli http://mcalamelli.netsons.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJCxS/leGEL56NNP4RAm3LAKDJNp/vlpuBpsjka/ZSkZppB8BG2ACfT0XN bMp+E02JZ/ZKoV4B9LF4kAc= =kkn7 -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: mcalamelli trunk/edje/doc
On Fri, Oct 31, 2008 at 1:47 PM, Massimiliano Calamelli [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 31 Oct 2008 15:02:21 +0100 (CET) Vincent Torri [EMAIL PROTECTED] wrote: I think that there was something missing in the Doxyfile. It's better to put Edje.h in the INPUT field of that file, rather than this 'cat'. I'm a cat killer. + cat `find ../src/lib -name *.c -fprint /dev/stdout | grep -v edje_edit.c` edje.dox same here. add ../src/lib/*.c in the INPUT field, it should work. Vincent Damn, no good result for ../src/lib/*.c , just have Edje.h in INPUT The move needs a more skilled man :( Have you tried with ../src/lib alone? Massimiliano - -- Massimiliano Calamelli http://mcalamelli.netsons.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJCyiFleGEL56NNP4RAkpGAKDgXvFu+cM58PY/vWpAoeL0/g5jSwCgtsCq JLnRhC2PmHv8MmEbSTwh1L4= =shGX -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Entrance and network manager not working
On Thu, Oct 30, 2008 at 3:55 PM, Luca De Marini [EMAIL PROTECTED] wrote: Well but nm works with GDM or KDM... so there's something, maybe, that they do more than entrance when loggin in the user? Maybe they're launching dbus with the session, or running some other init scripts to set up the necessary environment. Entrance just checks the session file and runs it, anything else you will have to handle it yourself. There was a thread about running dbus at start time some days ago. 2008/10/30 Christopher Michael [EMAIL PROTECTED] I do not believe that this has anything todo with Entrance. Entrance just starts your desktop session (short version of explanation). Entrance has no control what-so-ever of nm-applet and as such would not be responsible for this error. devilhorns Luca De Marini wrote: OK, maybe this may have been asked before I subscribed to the list, but does any one know why network manager does not work if you use entrance? When I log in, I have no nm applet running (I have when I use GDM) and I get this error running nm-applet from terminal: ** (nm-applet:6593): WARNING **: WARN nma_dbus_init(): could not acquire its service. dbus_bus_acquire_service() says: 'Connection :1.26 is not allowed to own the service org.freedesktop.NetworkManagerInfo due to security policies in the configuration file' I'm sure you already know about it. How and why does it happen? Any fix? Please don't tell me to use things like exalt. OpenGEU is compatible with *buntu and it has to be like that. If I install exalt, I need to remove nm-applet and network manager and this leaves me with no compatibility with any Ubuntu. So, exalt is out of the options for me. Thanks and greetings everyone, Luca - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Fix selection in edje entry/evas textblock
Attached patch fixes getting selected text in an edje entry, both an infinite loop that caused a massive alloc and getting the right range of selected text. Index: src/lib/canvas/evas_object_textblock.c === --- src/lib/canvas/evas_object_textblock.c (revision 37263) +++ src/lib/canvas/evas_object_textblock.c (working copy) @@ -4345,7 +4345,7 @@ if ((n == n1) (n == n2)) { ps = n-text + cur1-pos; - pe = ps + index - cur1-pos + 1; + pe = ps + index - cur1-pos; } else if (n == n1) { @@ -4355,7 +4355,7 @@ else if (n == n2) { ps = n-text; - pe = ps + cur1-pos + 1; + pe = ps + cur2-pos + 1; } else { - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel