Re: [E-devel] [PATCH] etk_scrolled_view.c: make scrolled_view + viewport draggable again
On Tuesday 09 December 2008 13:47:13 Carsten Haitzler wrote: On Tue, 9 Dec 2008 13:34:03 +0100 Michael 'Mickey' Lauer mic...@vanille-media.de babbled: do not consider elementary and guarana separate entities, they're for now, but we'll merge soon, just need time, but xmas is there for this kind of thing ;-) Wow, that's good news! quietly behind the scenes we have agreed we need to merge and be 1 - they are close enough in structure and gaols that this is not a technical problem - and it's definitely not a political one. we both very much want a merge. it is simply that both started development in separate pools for separate goals and reasons that they are not the same right now - but this will change, so expect in the future to see a merge. the real questions are more like what the hell will we do with the api? ie grn_* vs elm_* ... or will we maintain both or use #defines (for now) to at least keep codebases mostly building with minor changes... who knows - but the will to merge is there on both sides. the technical ability is there as they share the same core infra - edje and evas, and even the same packing concepts with evas min/max/align/weight properties. I wonder what's the status of that merge? Cheers, Mickey. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [e_dbus] [patch] adding getters to e_dbus_object
This patch adds some get functions (dbus_connection, object_path and interfaces) to e_dbus_object. Index: src/lib/dbus/E_DBus.h === --- src/lib/dbus/E_DBus.h (revision 40459) +++ src/lib/dbus/E_DBus.h (working copy) @@ -9,6 +9,7 @@ #include dbus/dbus.h #include Ecore.h +#include Eina.h #ifdef EAPI #undef EAPI @@ -86,6 +87,9 @@ EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const char *object_path, void *data); EAPI void e_dbus_object_free(E_DBus_Object *obj); EAPI void *e_dbus_object_data_get(E_DBus_Object *obj); + EAPI const E_DBus_Connection *e_dbus_object_conn_get(E_DBus_Object *obj); + EAPI const char *e_dbus_object_path_get(E_DBus_Object *obj); + EAPI const Eina_List *e_dbus_object_interfaces_get(E_DBus_Object *obj); EAPI void e_dbus_object_property_get_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Get_Cb func); EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Set_Cb func); Index: src/lib/dbus/e_dbus_object.c === --- src/lib/dbus/e_dbus_object.c (revision 40459) +++ src/lib/dbus/e_dbus_object.c (working copy) @@ -1,6 +1,6 @@ #include E_DBus.h #include e_dbus_private.h -#include Ecore_Data.h +#include Eina.h #include stdio.h #include stdlib.h #include string.h @@ -274,6 +274,36 @@ } /** + * @brief Get the dbus connection of a dbus object + * @param obj the dbus object + */ +EAPI const E_DBus_Connection * +e_dbus_object_conn_get(E_DBus_Object *obj) +{ + return obj-conn; +} + +/** + * @brief Get the path of a dbus object + * @param obj the dbus object + */ +EAPI const char * +e_dbus_object_path_get(E_DBus_Object *obj) +{ + return obj-path; +} + +/** + * @brief Get the interfaces of a dbus object + * @param obj the dbus object + */ +EAPI const Eina_List * +e_dbus_object_interfaces_get(E_DBus_Object *obj) +{ + return obj-interfaces; +} + +/** * @brief Sets the callback to fetch properties from an object * @param obj the object * @param func the callback -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [e_dbus] [patch] adding getters to e_dbus_object
in svn. On Wed, Apr 29, 2009 at 2:38 PM, Bruno Dilly bdi...@profusion.mobi wrote: This patch adds some get functions (dbus_connection, object_path and interfaces) to e_dbus_object. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [RFC] background panning when changing desks
Hi, I've been playing around with the making the bg_object pan on desk switch, instead of using transitions. To illustrate what I'm talking about, I made a rather crappy screencast (istanbul only seems to make 10fps screencasts, anyone have an alternative program?): http://www.youtube.com/watch?v=glYLH3GSikE The idea is that the background slides depending on its size relative to the geometry of all desks, as well as a user specified factor. E.g.: if you have 2 horizontal desks of size 640x480, and a bg of size 1280x480, the background will slide at most by a half of its size. If the user specifies a factor below 1.0, the offset of the bg is smaller, creating a parallax effect. If the bg size is smaller, the total offset will be smaller, thus not causing the bg to scroll off boundary. I've currently implemented it with this patch. It is toggable by an option in the virtual desks settings dialog, which will override any preselected transition (since it doesn't use the same function). Speed is not blazing fast, but I'm not sure if it can be faster with just using the software engine (using the gl engine for the container is flicker free though). So what do you guys think of this idea? Index: src/bin/e_zone.c === --- src/bin/e_zone.c (revision 40414) +++ src/bin/e_zone.c (working copy) @@ -235,6 +235,8 @@ e_zone_move(E_Zone *zone, int x, int y) zone-x = x; zone-y = y; evas_object_move(zone-bg_object, x, y); + if (zone-bg_scrollframe) + evas_object_move(zone-bg_scrollframe, x, y); evas_object_move(zone-bg_event_object, x, y); evas_object_move(zone-bg_clip_object, x, y); @@ -287,6 +289,8 @@ e_zone_resize(E_Zone *zone, int w, int h) zone-w = w; zone-h = h; evas_object_resize(zone-bg_object, w, h); + if (zone-bg_scrollframe) + evas_object_resize(zone-bg_scrollframe, w, h); evas_object_resize(zone-bg_event_object, w, h); evas_object_resize(zone-bg_clip_object, w, h); @@ -345,9 +349,13 @@ e_zone_move_resize(E_Zone *zone, int x, int y, int zone-h = h; evas_object_move(zone-bg_object, x, y); + if (zone-bg_scrollframe) + evas_object_move(zone-bg_scrollframe, x, y); evas_object_move(zone-bg_event_object, x, y); evas_object_move(zone-bg_clip_object, x, y); evas_object_resize(zone-bg_object, w, h); + if (zone-bg_scrollframe) + evas_object_resize(zone-bg_scrollframe, w, h); evas_object_resize(zone-bg_event_object, w, h); evas_object_resize(zone-bg_clip_object, w, h); @@ -939,6 +947,8 @@ _e_zone_free(E_Zone *zone) { E_Container *con; Eina_List *l; + Ecore_Animator *anim; + void *data; int x, y; /* Delete the edge windows if they exist */ @@ -988,9 +998,14 @@ _e_zone_free(E_Zone *zone) con = zone-container; if (zone-name) eina_stringshare_del(zone-name); con-zones = eina_list_remove(con-zones, zone); + anim = evas_object_data_get(zone-bg_object, switch_animator); + if (anim) ecore_animator_del(anim); + data = evas_object_data_get(zone-bg_object, switch_animator_params); + if (data) E_FREE(data); evas_object_del(zone-bg_event_object); evas_object_del(zone-bg_clip_object); evas_object_del(zone-bg_object); + evas_object_del(zone-bg_scrollframe); if (zone-prev_bg_object) evas_object_del(zone-prev_bg_object); if (zone-transition_object) evas_object_del(zone-transition_object); Index: src/bin/e_zone.h === --- src/bin/e_zone.h (revision 40414) +++ src/bin/e_zone.h (working copy) @@ -48,6 +48,7 @@ struct _E_Zone Evas_Object *bg_event_object; Evas_Object *bg_clip_object; Evas_Object *prev_bg_object; + Evas_Object *bg_scrollframe; Evas_Object *transition_object; int desk_x_count, desk_y_count; Index: src/bin/e_config.c === --- src/bin/e_config.c (revision 40414) +++ src/bin/e_config.c (working copy) @@ -622,6 +622,9 @@ e_config_init(void) E_CONFIG_VAL(D, T, desk_flip_animate_mode, INT); E_CONFIG_VAL(D, T, desk_flip_animate_interpolation, INT); E_CONFIG_VAL(D, T, desk_flip_animate_time, DOUBLE); + E_CONFIG_VAL(D, T, desk_flip_pan_bg, UCHAR); + E_CONFIG_VAL(D, T, desk_flip_pan_x_axis_factor, DOUBLE); + E_CONFIG_VAL(D, T, desk_flip_pan_y_axis_factor, DOUBLE); E_CONFIG_VAL(D, T, wallpaper_import_last_dev, STR); E_CONFIG_VAL(D, T, wallpaper_import_last_path, STR); @@ -915,6 +918,12 @@ e_config_load(void) e_config-screensaver_ask_presentation_timeout = 30.0; IFCFGEND; +IFCFG(0x0133); +COPYVAL(desk_flip_pan_bg); +COPYVAL(desk_flip_pan_x_axis_factor); +COPYVAL(desk_flip_pan_y_axis_factor); +IFCFGEND; + e_config-config_version = E_CONFIG_FILE_VERSION; _e_config_free(tcfg); } @@ -1017,6 +1026,9 @@
Re: [E-devel] [RFC] background panning when changing desks
On Wed, Apr 29, 2009 at 4:31 PM, Viktor Kojouharov vkojouha...@gmail.com wrote: Hi, I've been playing around with the making the bg_object pan on desk switch, instead of using transitions. To illustrate what I'm talking about, I made a rather crappy screencast (istanbul only seems to make 10fps screencasts, anyone have an alternative program?): http://www.youtube.com/watch?v=glYLH3GSikE The idea is that the background slides depending on its size relative to the geometry of all desks, as well as a user specified factor. E.g.: if you have 2 horizontal desks of size 640x480, and a bg of size 1280x480, the background will slide at most by a half of its size. If the user specifies a factor below 1.0, the offset of the bg is smaller, creating a parallax effect. If the bg size is smaller, the total offset will be smaller, thus not causing the bg to scroll off boundary. I've currently implemented it with this patch. It is toggable by an option in the virtual desks settings dialog, which will override any preselected transition (since it doesn't use the same function). Speed is not blazing fast, but I'm not sure if it can be faster with just using the software engine (using the gl engine for the container is flicker free though). So what do you guys think of this idea? Wow, very nice effect! Now I'm thinking if it would be possible to have a wallpaper with many layers, and some of them scroll more than others. This way you would have an effect as if the near mountains move faster than the far ones (giving an idea of depth)... -- Rafael Antognolli -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [RFC] background panning when changing desks
On Wed, 2009-04-29 at 18:58 -0300, Rafael Antognolli wrote: On Wed, Apr 29, 2009 at 4:31 PM, Viktor Kojouharov vkojouha...@gmail.com wrote: Hi, I've been playing around with the making the bg_object pan on desk switch, instead of using transitions. To illustrate what I'm talking about, I made a rather crappy screencast (istanbul only seems to make 10fps screencasts, anyone have an alternative program?): http://www.youtube.com/watch?v=glYLH3GSikE The idea is that the background slides depending on its size relative to the geometry of all desks, as well as a user specified factor. E.g.: if you have 2 horizontal desks of size 640x480, and a bg of size 1280x480, the background will slide at most by a half of its size. If the user specifies a factor below 1.0, the offset of the bg is smaller, creating a parallax effect. If the bg size is smaller, the total offset will be smaller, thus not causing the bg to scroll off boundary. I've currently implemented it with this patch. It is toggable by an option in the virtual desks settings dialog, which will override any preselected transition (since it doesn't use the same function). Speed is not blazing fast, but I'm not sure if it can be faster with just using the software engine (using the gl engine for the container is flicker free though). So what do you guys think of this idea? Wow, very nice effect! Now I'm thinking if it would be possible to have a wallpaper with many layers, and some of them scroll more than others. This way you would have an effect as if the near mountains move faster than the far ones (giving an idea of depth)... If there's any way to communicate the direction, duration and distance to edje, then maybe it could be possible. Not sure how much info one could give with an edje signal. And the performance might degrade. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: davemds trunk/web/www/p/docs
On Wed, 29 Apr 2009, Enlightenment SVN wrote: Log: another wiki link Author: davemds Date: 2009-04-29 15:41:36 -0700 (Wed, 29 Apr 2009) New Revision: 40471 Modified: trunk/web/www/p/docs/en-body Modified: trunk/web/www/p/docs/en-body === --- trunk/web/www/p/docs/en-body 2009-04-29 22:21:15 UTC (rev 40470) +++ trunk/web/www/p/docs/en-body 2009-04-29 22:41:36 UTC (rev 40471) @@ -46,7 +46,7 @@ /p p - There is also a a href=http://wiki.enlightenment.org;wiki/a + There is also a a href=http://trac.enlightenment.org/e/wiki;wiki/a available. /p i don't think that it is a good idea to remove completely all the links to the old wiki, as the move of the old wiki pages is not complete. Vincent -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel